Roadmap
ZeroBot build phases — from foundation to production
Phase 0 Foundation
Completed
D1/R2/KV storage, schema, config, Workers AI + Claude routing, cost tracking, basic API.
  • D1 schema (conversations, messages, llm_calls, priorities, security_events)
  • R2 bucket for identity + knowledge files
  • KV namespace for session cache
  • Workers AI (Llama 3.3 70B) + Claude via AI Gateway
  • Complexity-based routing (simple/complex)
  • Cost tracking with $25/day budget
  • /health, /api/chat, /api/cost endpoints
Phase 1 Multi-Tenancy + Documentation
Completed
Per-bot isolation via bot_id column, developer documentation.
  • bot_id column on all D1 tables
  • Per-bot cost queries and isolation
  • /docs/ directory with architecture decisions
  • Multi-tenancy design (DO SQLite + D1 bot_id + R2/KV prefixes)
Phase 2 Agent + Personality
Completed
KitAgent Durable Object with Agents SDK, R2 personality system, WebSocket support.
  • KitAgent DO extending Agent
  • @callable() chat() method with full conversation lifecycle
  • R2 personality loader (SOUL.md, USER.md, CONTEXT.md)
  • 24-hour KV cache for personality files
  • WebSocket onConnect/onMessage handlers
  • Identity files for Kit (character, user profile, context)
Phase 3 Messaging + Morning Briefing
Completed
Slack events, Discord slash commands, scheduled morning briefings.
  • Slack event handler (DMs, @mentions, thread replies)
  • Discord Interactions API (/kit slash command)
  • HMAC-SHA256 + Ed25519 signature verification
  • Morning briefing via Agents SDK schedule()
  • Per-channel conversation persistence
Phase 4 MCP + Skills (Switchboard)
Completed
Real Gmail, Calendar, Drive access. Email triage, meeting prep, enhanced briefing.
  • Switchboard MCP JSON-RPC client
  • Claude tool_use loop (16 tool definitions)
  • Gmail: search, read, draft, send, inbox summary
  • Calendar: list, search, details, create, free/busy
  • Drive: search, read, list
  • Email triage (4-tier: Red Phone, Tier 2, Normal, Auto-filtered)
  • Meeting prep (attendees, emails, docs, talking points)
  • Enhanced morning briefing with real data
Phase 4.5 Heartbeat Monitoring
Completed
Silent hourly monitoring. Alerts only when something needs attention. Quiet hours.
  • Heartbeat skill (meeting alerts, priority email nudges)
  • Quiet hours support (configurable via USER.md)
  • Red Phone email bypass (always alerts for family/VIPs)
  • /api/heartbeat for manual testing
Phase 4.6 Multi-Provider LLM Routing
Completed
Gemini + Perplexity providers. 5-way routing: tools, search, creative, simple, complex.
  • Gemini 2.5 Flash via AI Gateway
  • Perplexity sonar-pro via AI Gateway
  • 5-way router (tools > search > creative > simple > complex)
  • Zero-secret LLM auth via AI binding
  • Model-specific cost tracking
Phase 4.7 Extended Routing + Image Gen
Completed
Claude Opus for code, Gemini 3 Pro for copy, image generation with R2 storage.
  • Claude Opus 4.6 for code/dev tasks
  • Gemini 3 Pro for long-form content
  • Gemini 3 Pro Image Preview for image generation
  • 8-way router (tools > search > image > code > copy > creative > simple > complex)
  • R2 image pipeline (/images/ route)
Phase 5 Multi-Agent + Security
Completed
4 agents, channel routing, inter-agent RPC, bearer token auth, rate limiting, audit logging.
  • 4 registered agents: Kit, Scout, Closer, Sentinel
  • Channel-to-agent routing (Slack + Discord)
  • Agent-to-agent RPC (askAgent, notifyAgent)
  • ask_agent tool for Claude delegation
  • Bearer token auth (SHA-256, bootstrappable)
  • KV rate limiting (60 req/min sliding window)
  • D1 audit logging (security events)
  • Per-agent budgets and cron jobs
Phase 6 Web UI + Polish
In Progress
Browser-based chat, dashboard, settings, admin panel. Roadmap + changelog. P0 fixes.
  • Real-time chat with agent selector (WebSocket)
  • Dashboard with agent grid, costs, activity feed
  • Settings with documented connections
  • Admin panel (tokens, audit log, channels, agents)
  • Roadmap + Changelog pages
  • P0 fixes: Slack dedup, Content-Type validation
  • Responsive design (mobile + desktop)