https://github.com/developersdigest/tavus-demo
https://github.com/developersdigest/tavus-demo
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/developersdigest/tavus-demo
- Owner: developersdigest
- Created: 2025-06-01T02:32:32.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-07-14T11:56:50.000Z (8 months ago)
- Last Synced: 2025-09-30T17:03:26.852Z (5 months ago)
- Language: JavaScript
- Size: 237 KB
- Stars: 5
- Watchers: 0
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tavus AI Assistant
A Next.js application that creates AI-powered conversational agents using the Tavus API.
## Prerequisites
- Node.js 18+
- API keys from:
- [Tavus](https://tavus.io)
- [Firecrawl](https://www.firecrawl.dev/)
- [OpenAI](https://platform.openai.com) or [Google AI](https://makersuite.google.com)
## Quick Start
1. **Clone and install:**
```bash
git clone
cd tavus-demo
npm install
```
2. **Set up environment variables:**
```bash
cp .env.example .env
# Add your API keys to .env
```
3. **Create a knowledge base:**
```bash
npm run tavus-cli create
```
4. **Start the app:**
```bash
npm run dev
```
## Environment Variables
```env
# Required
TAVUS_API_KEY=your_tavus_api_key
TAVUS_REPLICA_ID=your_replica_id
FIRECRAWL_API_KEY=your_firecrawl_key
# Choose one
OPENAI_API_KEY=your_openai_key
# OR
GOOGLE_AI_API_KEY=your_google_ai_key
# Client-side
NEXT_PUBLIC_TAVUS_API_KEY=your_tavus_api_key
NEXT_PUBLIC_TAVUS_REPLICA_ID=your_replica_id
```
## Deployment
```bash
vercel
```
## License
MIT