A real-time, multi-agent voice AI dashboard powered by Smallest.ai Atoms SDK and Next.js. It features high-performance voice interactions with specialized agents for gaming and utility.
First, you need to set up your voice agents on the Smallest.ai platform:
- Visit Smallest.ai Atoms.
- Create three agents: one for Weather, one for Tic-Tac-Toe, and one for Hacker News.
- Configure their voices, system prompts, and tools as detailed in the
agents-configfolder. Each agent requires specific tool definitions (API calls, parameters, and query mappings) to function correctly.
- Node.js (v20+)
- A Smallest.ai API Key
git clone https://github.com/sosumit001/agent-smallest-ai.git
cd agent-smallest-ai
npm installCreate a .env.local file in the root directory:
# Smallest.ai API Key
SMALLESTAI_API_KEY=your_api_key_here
# Agent IDs from Smallest.ai dashboard
TICTACTOE_AGENT_ID=your_tictactoe_agent_id
WEATHER_AGENT_ID=your_weather_agent_id
HACKERNEWS_AGENT_ID=your_hackernews_agent_idNote: The
TICTACTOE_AGENT_ID,WEATHER_AGENT_ID, andHACKERNEWS_AGENT_IDare the unique IDs for the agents you created in Step 1.
npm run devOpen http://localhost:3000.
Configure these tools in your Smallest.ai dashboard for the Tic-Tac-Toe agent:
- Method:
POST - URL:
/api/tictactoe/new-game
- Method:
POST - URL:
/api/tictactoe/make-move - Parameters:
gameId(String),position(Number, 0-8)
- Method:
GET - URL:
/api/tictactoe/get-state - Parameters:
gameId(String)
Configure this tool in your Smallest.ai dashboard for the Hacker News agent:
- Method:
GET - URL:
/api/hackernews/top
This project is optimized for deployment on Vercel:
- Push your code to a GitHub repository.
- Link the repository to a new project on Vercel.
- Add your Environment Variables in the Vercel Dashboard.
MIT License. Feel free to use and modify for your own voice-enabled applications!

