Welcome to the future of conversational research. This guide will help you get your Knowl Voice Agents up and running on your local machine.
Before you begin, ensure you have the following installed:
- Node.js 20.x or later
- npm
- Git
git clone https://github.com/Shankar-105/knowl.git
cd knowlnpm installCreate a .env file in the root directory and add the following keys.
| Variable | Description | Where to find |
|---|---|---|
NEXT_PUBLIC_VAPI_PUBLIC_KEY |
Public key for Vapi.ai | Vapi Dashboard |
ELEVEN_LABS_API_KEY |
API key for high-fidelity voices | ElevenLabs Profile |
| Variable | Description | Where to find |
|---|---|---|
GEMINI_API_KEY |
Powers AI research & synthesis | Google AI Studio |
MONGODB_URL |
Database for your research nodes | MongoDB Atlas |
| Variable | Description | Where to find |
|---|---|---|
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY |
Auth provider | Clerk Dashboard |
CLERK_SECRET_KEY |
Secret auth key | Clerk Dashboard |
BLOB_READ_WRITE_TOKEN |
For PDF & image storage | Vercel Blob |
npm run devOpen http://localhost:3000 with your browser to start building.
- Voice Agent Not Connecting: Ensure your Vapi,ElevenLabs public key is correct
- Microphone Permissions: Browsers often block mic access on non-HTTPS local dev environments. Use
localhostor set up a local proxy if needed. - Database Errors: Verify that your MongoDB IP whitelist includes your current IP address.
Developed with ❤️ for the future of live research with voice agents.