# ===========================================
# LLM Configuration (Required)
# ===========================================
llm:
provider: anthropic # Required: 'openai', 'anthropic', 'openrouter', 'ollama'
model: claude-3-5-haiku-20241022 # Required: Model name for the provider
apiKey: $ANTHROPIC_API_KEY # Required: API key via environment variable
maxIterations: 50 # Optional: Max iterations for agentic loops (default: 50)
baseURL: https://api.anthropic.com/v1 # Optional: Custom API base URL
# ===========================================
# Evaluation LLM (Optional)
# ===========================================
evalLlm:
provider: anthropic # Optional: Separate LLM for evaluation/reflection
model: claude-3-7-sonnet-20250219 # Optional: Non-thinking model for evaluation
apiKey: $ANTHROPIC_API_KEY # Optional: Can use same or different API key
# ===========================================
# System Prompt (Required)
# ===========================================
systemPrompt: |
You are an AI programming assistant focused on coding and reasoning tasks. You excel at:
- Writing clean, efficient code
- Debugging and problem-solving
- Code review and optimization
- Explaining complex technical concepts
- Reasoning through programming challenges
# ===========================================
# MCP Servers Configuration (Optional)
# ===========================================
mcpServers:
filesystem: # Server name (any identifier)
type: stdio # Connection type: 'stdio', 'sse', 'http'
command: npx # Command to launch server
args: # Arguments array
- -y
- '@modelcontextprotocol/server-filesystem'
- .
env: # Environment variables for server
HOME: /Users/username
timeout: 30000 # Connection timeout (default: 30000ms)
connectionMode: lenient # 'strict' or 'lenient' (default: lenient)
web_browser: # Additional MCP server example
type: stdio
command: uvx
args:
- '@truffle-ai/puppeteer-server'
timeout: 60000
connectionMode: strict
# ===========================================
# Session Management (Optional)
# ===========================================
sessions:
maxSessions: 100 # Maximum concurrent sessions (default: 100)
sessionTTL: 3600000 # Session TTL in milliseconds (default: 1 hour)