DevTools Dashboard

Real-time agent observability built into every app-mode project.

Quick start

cd my-project-app
agentvoy dev

This starts your agent server with hot-reload and opens the DevTools dashboard at http://localhost:8080/dev.

What you see

Real-time event feed
WebSocket-powered stream showing every agent action as it happens
Event timeline
agent_start, llm_call, tool_call, guard_check, pipeline_stage, agent_complete
Pipeline visualization
See multi-agent stages progress in real time with status bars
Detail inspector
Click any event to see full payload — model, tokens, latency, tool I/O

API Endpoints

MethodPathDescription
GET/devDevTools dashboard UI
WS/ws/traceReal-time trace event stream
GET/dev/eventsAll events as JSON
POST/runRun your agent
GET/healthHealth check

Trace events

All 7 framework adapters are instrumented out of the box. The tracer collects:

EventData captured
agent_startAgent name, prompt, model
llm_callModel, latency, tokens in/out
tool_callTool name, input, output, latency
guard_checkCheck type (input/output), pass/fail
pipeline_stageStage name, index, status
agent_completeAgent name, result preview

Using the WebSocket stream

Connect programmatically to receive trace events in real time:

import json
import websockets

async def stream_events():
    async with websockets.connect("ws://localhost:8080/ws/trace") as ws:
        async for message in ws:
            event = json.loads(message)
            print(f"[{event['event']}] {event.get('data', {})}")

Fetch all events as JSON

curl http://localhost:8080/dev/events | python -m json.tool

Enabling tracing

Tracing is enabled by default in app-mode projects. To configure it, edit agent.guard.yml:

observability:
  tracing: true       # Enable/disable tracing
  log_level: info     # debug | info | warn | error
  cost_tracking: true # Track API costs per session