Real-time monitoring and visualization for OpenCode agents.
curl -fsSL https://bun.sh/install | bash./scripts/setup.sh./scripts/start-system.shOpens:
- Dashboard: http://localhost:5173
- API: http://localhost:4000
This installs a global plugin that tracks ALL your OpenCode sessions across ALL projects.
Restart OpenCode to activate.
- Bun 1.0+
- OpenCode (the AI agent)
- Linux, WSL, or macOS
- Tool executions (before/after)
- Session lifecycle (created, idle, error, stopped)
- Messages and permissions
- Full I/O capture with JSON details
OpenCode → Plugin → HTTP POST → Bun Server → SQLite → WebSocket → Vue Dashboard
Optional environment variables:
# Server (apps/server/.env)
PORT=4000
DB_PATH=./data/events.db
# Plugin (.env.opencode.observability)
OPENCODE_OBSERVABILITY_URL=http://localhost:4000Inspired by claude-code-hooks-multi-agent-observability by @disler.
MIT
