A conversational AI agent built on pi.dev.
1. Install dependencies
npm install2. Configure credentials
cp .env.example .envEdit .env and set your API key for one of the supported providers:
| Provider | Env var |
|---|---|
| Anthropic | ANTHROPIC_API_KEY |
| OpenAI | OPENAI_API_KEY |
GEMINI_API_KEY |
|
| DeepSeek | DEEPSEEK_API_KEY |
Optionally set PROVIDER (e.g. deepseek) and MODEL (e.g. deepseek-v4-flash).
If omitted, the provider is auto-detected from the first present API key and the
model defaults to the provider's recommended model.
Run in development mode (no build step required):
npm run devOr build first, then run:
npm run build
npm startType a message and press Enter. Type exit to quit.
Pika agent ready (anthropic/claude-sonnet-4-6). Type your message, or "exit" to quit.
You: Hello!
Pika: Hi! How can I help you today?
You: exit