A simple framework to build voice agents powered by SOLA.
Follow the steps below to get started.
-
Clone the repository
git clone https://github.com/sola-ai/sola-voice-agent-kit.git
-
Install the dependencies
npm install
-
Create a agent
const agent = new SolaAgent( "private-key", "rpc-url", "open-ai-key" );
-
Follow
examples/basic.tsx
for a ui demo. -
Add the component to your main file , ie,
main.tsx
import React from "react"; import ReactDOM from "react-dom/client"; import App from ".path/to/your/agent/component"; ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( <React.StrictMode> <App /> </React.StrictMode> );