Create a .env file in the project root:
| Variable | Required | Description |
|---|
ANTHROPIC_API_KEY | Yes | Anthropic API key for Claude |
GITHUB_TOKEN | No | GitHub token for private repositories |
| Variable | Required | Description |
|---|
TELEGRAM_BOT_TOKEN | For Telegram | Bot token from @BotFather |
PORT | No | REST API port (default: 3000) |
| Variable | Default | Description |
|---|
DAILY_BUDGET_LIMIT | unlimited | Max daily API cost in USD |
MONTHLY_BUDGET_LIMIT | unlimited | Max monthly API cost in USD |
| Variable | Default | Description |
|---|
LOG_LEVEL | info | Logging level: debug, info, warn, error |
Agents are configured via YAML files in config/.
name: string # Unique identifier
description: string # Used for routing decisions
provider: anthropic # LLM provider
name: string # Model ID (e.g., claude-sonnet-4-20250514)
temperature: number # 0-1, default 0.7
max_tokens: number # Max response tokens, default 4096
system_prompt: string # Instructions for the agent
tools: # List of enabled tool names
description: General-purpose assistant for everyday tasks
name: claude-sonnet-4-20250514
You are a helpful personal assistant. Be concise and helpful.
Use tools when they would help answer the user's question.
Be friendly but professional.
description: Programming and code execution via Claude Code
name: claude-sonnet-4-20250514
You are a coding assistant. Help users with programming tasks.
Use the claude_code tool to read files, write code, and run commands.
Always explain what you're doing before executing code.
description: Routes requests to specialized agents
name: claude-sonnet-4-20250514
You are an orchestrator. Analyze user requests and route them
to the most appropriate specialized agent.
Available agents will be provided in the context.
Respond with the agent name that should handle the request.
| Model ID | Description |
|---|
claude-sonnet-4-20250514 | Fast, capable |
claude-opus-4-20250514 | Most capable |
claude-haiku-3-20240307 | Fastest, cheapest |
| Value | Use Case |
|---|
| 0.0-0.3 | Factual, consistent responses |
| 0.4-0.6 | Balanced creativity |
| 0.7-1.0 | Creative, varied responses |
| Tool | Description |
|---|
calculator | Math expression evaluation |
datetime | Current time with timezone |
clone_project | Clone git repository |
switch_project | Change active project |
list_projects | List cloned projects |
current_project | Show active project |
claude_code | Execute coding tasks |
create_agent | Create dynamic agent |
update_agent | Modify agent config |
list_agents | List all agents |
get_agent | Get agent details |
delete_agent | Remove dynamic agent |
Only enable tools an agent needs:
├── config/ # Agent YAML files
│ ├── personal-assistant.yaml
├── data/ # SQLite database (auto-created)
├── logs/ # Log files (auto-created)
├── projects/ # Cloned repositories (auto-created)
├── .env # Environment configuration
All data directories (data/, logs/, projects/) are gitignored.