Skip to content
thebrownprojectPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpeechKit

Voice-first AI agent with sandboxed tool execution. Talk to an LLM that can run shell commands in an isolated Sprite VM.

Stack

Layer Tech
Frontend Next.js 15 + LiveKit Components React
Transport LiveKit Cloud (WebRTC)
Agent Python livekit-agents 1.4.x
STT Deepgram Nova-3
LLM OpenRouter (OpenAI-compatible)
TTS Deepgram Aura-2
Sandbox Sprites.dev Firecracker microVM

Setup

1. Environment

Copy .env.example to .env and fill in your keys:

cp .env.example .env

Keys needed:

2. Create the Sprite sandbox

The agent expects a sprite named by SPRITES_NAME to already exist:

sprites create speechkit-sandbox

3. Python agent

cd agent
python -m venv .venv
source .venv/bin/activate
pip install -e .

Copy the root .env into agent/ or export env vars before running.

Run in dev mode (auto-reconnects):

python agent.py dev

4. Next.js frontend

cd app
cp ../.env .env.local
npm install
npm run dev

Open http://localhost:3000.

Development

Run both in parallel:

# Terminal 1
cd agent && python agent.py dev

# Terminal 2
cd app && npm run dev

Architecture

Browser (Next.js)
    ↕ WebRTC audio/data (LiveKit room)
Python Agent (livekit-agents)
    ↕ sprites-py SDK
Sprite VM (Fly.io / Firecracker)

The agent connects to the LiveKit room as a participant. It listens to the user's microphone (Deepgram STT), thinks (OpenRouter LLM), responds with voice (Deepgram Aura-2 TTS), and can execute tools in the Sprite sandbox.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages