Skip to content

A simple framework to build voice agents powered by SOLA.

License

Notifications You must be signed in to change notification settings

TheSolaAI/nexa-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0bce580 · Jan 23, 2025

History

1 Commit
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025
Jan 23, 2025

Repository files navigation

NEXA ToolKit

A simple framework to build voice agents powered by SOLA.

Follow the steps below to get started.

Installation

  1. Clone the repository

    git clone https://github.com/sola-ai/sola-voice-agent-kit.git
  2. Install the dependencies

    npm install
  3. Create a agent

    const agent = new SolaAgent(
        "private-key",
        "rpc-url",
        "open-ai-key"
      );
  4. Follow examples/basic.tsx for a ui demo.

  5. 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>
    );