Skip to content

apuodesu/agentboard-oss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🦞 AgentBoard β€” OpenClaw Fleet Dashboard

Real-time monitoring dashboard for your OpenClaw AI agents. See what every agent is doing, track token usage, monitor costs, and catch issues before they burn your budget.

AgentBoard Screenshot

Why?

OpenClaw logs everything, but there's no easy way to see it. If you're running agents on a VPS, you're flying blind. AgentBoard gives you:

  • Fleet Overview β€” All agents, their status, sessions, and models at a glance
  • Token & Cost Tracking β€” Input/output tokens, cost breakdown by model and agent
  • Real-time Updates β€” WebSocket-powered, refreshes every 2 seconds
  • Usage Analytics β€” Hourly/daily/weekly/monthly breakdowns
  • Health Monitoring β€” Session file sizes, warnings for bloated logs

Quick Start

# Clone
git clone https://github.com/openclaw/agentboard.git
cd agentboard

# Install & run
cd server && bun install && bun run dev
# β†’ API on http://localhost:4001

# In another terminal
cd dashboard && bun install && bun run dev
# β†’ Dashboard on http://localhost:4002

Open http://localhost:4002 and see your agents.

Requirements

  • Bun v1.0+
  • OpenClaw running on the same machine
  • That's it.

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          AgentBoard Dashboard           β”‚
β”‚         (SvelteKit + Tailwind)          β”‚
β”‚            localhost:4002               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚ HTTP + WebSocket
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          AgentBoard API Server          β”‚
β”‚            (Hono + Bun)                 β”‚
β”‚            localhost:4001               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚ File system read
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚      ~/.openclaw/agents/                β”‚
β”‚  β”œβ”€β”€ main/sessions/                     β”‚
β”‚  β”‚   β”œβ”€β”€ sessions.json                  β”‚
β”‚  β”‚   └── *.jsonl                        β”‚
β”‚  β”œβ”€β”€ worker-1/sessions/                 β”‚
β”‚  └── worker-N/sessions/                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

API Endpoints

Method Path Description
GET /api/agents List all agents with status, tokens, sessions
GET /api/agents/:id/sessions Sessions for a specific agent
GET /api/agents/:id/costs Cost breakdown for an agent
GET /api/costs/summary Aggregated costs across all agents
GET /api/usage Detailed usage: by model, by agent, hourly
GET /api/health Health check: file sizes, warnings
WS /ws Real-time agent status updates (2s interval)

Configuration

Environment variables:

Variable Default Description
PORT 4001 API server port
OPENCLAW_AGENTS_PATH ~/.openclaw/agents Path to OpenClaw agent data

Deploy as systemd service

# Copy the service file
sudo cp agentboard.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now agentboard

# Check status
sudo systemctl status agentboard

Stack

  • API: Hono + Bun
  • Dashboard: SvelteKit + Tailwind CSS
  • Real-time: WebSocket (native Bun)
  • Data: Reads OpenClaw's native session files (no database needed)

Contributing

PRs welcome! This project is MIT licensed and open to contributions.

License

MIT β€” see LICENSE


Built with 🦞 by OpenClaw

About

🦞 Real-time monitoring dashboard for OpenClaw AI agents. Track tokens, costs, and agent status.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors