Multi-Project Setup
Configure multiple projects with different model stacks, budgets, and tracking. This is useful when you have separate teams, environments, or products sharing a single VoiceGateway instance.Configuration
Using Projects in Code
default_project: prod (or whichever) in voicegw.yaml and skip the set_project call entirely.
Querying Per-Project Costs
Via the CLI
Via the HTTP API
Project Accent Colors
The dashboard assigns accent colors based on the project’s first tag:| Tag Contains | Color |
|---|---|
prod | Green |
stag | Yellow |
dev or test | Blue |
| (anything else) | Pink |
Budget Behavior by Project
| Project | Budget | Action | What Happens When Exceeded |
|---|---|---|---|
| prod | $50/day | throttle | Raises BudgetThrottleSignal — app falls back to local models |
| staging | $10/day | warn | Logs a warning, request proceeds normally |
| dev | $5/day | block | Raises BudgetExceededError — request is rejected |
Dynamic Project Management
Projects can also be created and updated at runtime through the dashboard or MCP server, without editingvoicegw.yaml:
managed_projects SQLite table and merged with YAML-defined projects at startup and after each write.
SQL Views for Reporting
Theproject_daily_costs view aggregates costs by project and day: