Skip to main content
All experiments
Agents
Draft

Mastra Dashboard

Design for a visual dashboard layered on top of the Mastra Orchestrator multi-agent routing system. Draft: orchestrator and 10-tool API run on the VPS; the dashboard UI is specified but not yet exported as an embeddable artifact on this page.

The Mastra Orchestrator is a TypeScript-based multi-agent routing layer deployed on a Hetzner VPS and managed by PM2. A router agent reads incoming tasks, classifies them by reasoning depth and latency requirements, and dispatches to the best-fit model: Claude Opus for deep reasoning, Gemini Flash for fast search queries, and local models for drafting and summarization. The orchestrator and its 10-tool API are live on the VPS.

The dashboard layer is the unfinished part. As designed, it would visualize the agent registry in real time: current task queue, per-agent latency histograms, message passing graph, and consensus state for tasks requiring multi-agent agreement. None of those views currently ship as embeddable artifacts on this page. The project lives at the API and rsync layer, not yet at the visualization layer.

Agent state is already synced to /opt/david-sync via rsync every 60 seconds, making it readable from the Mac-side inbox system. This creates the two-way async channel: inbox directives flow from Mac to VPS, agent observations and task completions flow back. That is what the planned dashboard would visualize.

Highlights

  • Routes tasks across Claude Opus (reasoning), Gemini Flash (search), and local models (drafting)
  • 10-tool API: backlog, vault search, dispatch, outbox, VPS health
  • Async two-way channel via rsync: inbox directives in, agent observations out
  • Dashboard UI is designed but not yet built. Currently a backend + API, not a visualization

Stack

  • TypeScript
  • Mastra
  • React
  • OpenRouter
  • PM2