Skip to content
Monitoring
MCP

agents-observe

Ships with agents-observe: Real-time observability dashboard for Claude Code and Codex agents. Includes powerful filtering, searching, and visualization of multi-agent sessions with full replay and token…

From plugin
agents-observe
7351 skill28 hooks1 MCP

Claude Code

> /plugin marketplace add simple10/agents-observe
> /plugin install agents-observe@agents-observe

From the README

What can you do with agents-observe?

  • Watch tool calls stream in as they happen (PreToolUse → PostToolUse with results)

  • See the full agent hierarchy

    which subagent was spawned by which parent

  • Filter by agent, tool type, or search across all events

  • Expand any event to see the full payload, command, and result

  • Click timeline icons to jump to specific events in the stream

  • Browse historical sessions with human-readable names (e.g., "twinkly-hugging-dragon")

Security report

Info

Not enough data

  • Known flaws

    Not published

  • Signed build

    Not published

  • Maintained

    Sep 4, 2026

    Last push

  • Licence

    MIT

  • Runs as

    Local process

    On your machine

  • Deprecated

    Not published

Signals from public registries, not an audit. Checked Nov 19, 2026.

agents-observe README

Agents Observe

Real-time observability dashboard for Claude Code and Codex agents.

Includes powerful filtering, searching, and visualization of multi-agent sessions with full replay and token usage stats.

Agents Observe Dashboard Demo

Demo video

Agents Observe Dashboard Screenshot - Expanded Row

Version 0.9.7 adds token usage and cost breakdowns in session stats.

Agents Observe Session Token Usage

Quick Start

Install as a claude code plugin:

# Add this repo as a marketplace
claude plugin marketplace add simple10/agents-observe

# Install the plugin
claude plugin install agents-observe

# Then just run claude
# The plugin will auto start the MCP server and capture events
claude

# Use the /observe skill in claude to check status, restart the server, etc.
> /observe status
> /observe debug
> /observe logs
> /observe restart

# Open the dashboard UI in a browser
open http://localhost:4981

Default dashboard URL: http://localhost:4981

Data Location

By default, the SQLite DB and logs live under:

  • $CLAUDE_PLUGIN_DATA when running as a Claude plugin. Claude Code names this dir <plugin>-<marketplace> — so a marketplace install lands at ~/.claude/plugins/data/agents-observe-agents-observe/, and a --plugin-dir install lands at ~/.claude/plugins/data/agents-observe-inline/.
  • ~/.agents-observe/ when running outside Claude (Codex, manual CLI, dev).

The DB sits at <root>/data/observe.db, logs at <root>/logs/.

To pin the location somewhere else — e.g. an external volume — set AGENTS_OBSERVE_LOCAL_DATA_ROOT in your ~/.claude/settings.json:

  // ~/.claude/settings.json
  "env": {
    "AGENTS_OBSERVE_LOCAL_DATA_ROOT": "/path/to/your/dir"
  },

Upgrading the plugin preserves your DB automatically. If you're upgrading from a pre-fix version (≤ 0.9.8) the server scans for a DB under the old version-scoped install dir on first start and copies it into the stable location. See <root>/data/.migrated-from.json for the record.


Prerequisites

  • Docker — the server runs as a container
  • Node.js — hook scripts run via node
  • Bash - hooks are configured to use hooks.sh for fast fire and forget event logging

If docker, node, or bash are not installed on your host, the plugin will fail to properly load.

Use the /observe debug claude command to help troubleshoot and fix installation issues.

Plugin Skills

SkillDescription
/observe viewOpen the current session in the dashboard
/observe statsOpen the current session's stats modal in the dashboard
/observeOpen the dashboard URL and check if the server is running
/observe statusShow server health, version, runtime, and config details
/observe startStart the server
/observe stopStop the server
/observe restartRestart the MCP server
/observe logsShow recent Docker container logs
/observe debugDiagnose server issues (health, docker logs, mcp.log, cli.log)

Why observability matters

When Claude Code runs autonomously — spawning subagents, calling tools, reading files, executing commands — you have no visibility into what's actually happening. The terminal shows a fraction of the activity. Subagents are invisible. Tool calls blur together. And when something goes wrong three agents deep in a parallel execution, you're left reading through logs after the fact.

Agents Observe captures every hook event as it happens and streams it to a live dashboard. You see exactly what each agent is doing, which tools it's calling, what files it's touching, and how subagents relate to their parents. In real time.

This matters because:

  • Multi-agent work is opaque. A coordinator spawns a code reviewer, a test runner, and a documentation agent in parallel. Without observability, you only see the final result. With it, you watch each agent work and catch problems as they happen.
  • Tool calls are the ground truth. The assistant's text output is a summary. The actual tool calls — the Bash commands, file reads, edits, grep patterns — tell you what Claude is really doing. Agents Observe shows you both.
  • Debugging is time travel. When a subagent makes a bad edit or runs a destructive command, you need to trace back through the exact sequence of events. The event stream gives you that timeline with full payloads.
  • Sessions are ephemeral, but patterns aren't. By capturing events across sessions, you can see how agents behave over time, which tools they favor, and where they get stuck.

What you can do

  • Watch tool calls stream in as they happen (PreToolUse → PostToolUse with results)
  • See the full agent hierarchy — which subagent was spawned by which parent
  • Filter by agent, tool type, or search across all events
  • Expand any event to see the full payload, command, and result
  • Click timeline icons to jump to specific events in the stream
  • Browse historical sessions with human-readable names (e.g., "twinkly-hugging-dragon")

Architecture

Claude Code Hooks  →  observe_cli.mjs  →  API Server (SQLite)  →  React Dashboard
  (agent-lib build)     (HTTP POST)        (parse + store)        (WebSocket live)

observe_cli.mjs reads the raw event from stdin and dispatches to an agent-class-specific lib (hooks/scripts/lib/agents/<class>.mjs) whose buildHookEvent() constructs the envelope — including agent-class-aware flags like meta.isNotification / meta.clearsNotification — then POSTs it to the server. The server applies those flags mechanically to its stored state (e.g. pending_notification_ts) and forwards events to subscribed WebSocket clients; it stays agent-class-neutral. The React dashboard derives all agent state (status, event counts, timing) from the event stream.

Standalone Installation

For development or running without the plugin. If you installed via the plugin above, skip this section.

1. Clone and install dependencies

git clone https://github.com/simple10/agents-observe.git agents-observe
cd agents-observe

# Install just if needed
brew install just

# Start the docker container
just start

# Or start local dev servers
just install
just dev

See justfile for additional commands.

2. Configure Claude Code hooks

Copy the hooks from .claude/settings.json into your project's settings.in this repo into your target project's Claude Code settings:

  • Project-level (recommended): .claude/settings.json in your project root
  • User-level (all projects): ~/.claude/settings.json

Update the $CLAUDE_PROJECT_DIR paths to point to your agents-observe install location.

Environment variables set in the config:

A few commonly used ones:

VariableDefaultDescription
AGENTS_OBSERVE_SERVER_PORT4981Server port.
AGENTS_OBSERVE_NOTIFICATION_ON_EVENTSNotificationComma-separated hook events that trigger the bell. Empty string disables bells.
AGENTS_OBSERVE_PROJECT_SLUG(auto-detected)Project slug shown in the dashboard URL. If not set, derived from the session transcript path.
AGENTS_OBSERVE_API_BASE_URLhttp://127.0.0.1:4981/apiFull URL for the events endpoint.

See docs/ENVIRONMENT.md for the full list.

3. Verify it works

# Check the server is running
just health

# Send a test event
just test-event

Navigate to http://localhost:5174 (dev) or http://localhost:4981 (Docker). You should see the test event appear. Start a Claude Code session in your configured project and events will stream in automatically.

Standalone Commands

If you have just installed:

# Development:
just install      # Install all dependencies
just dev          # Start server + client in dev mode (hot reload)
just test         # Run all tests (server + client)
just test-event   # Send a test event to the server
just fmt          # Format all source files

# Server (Docker):
just build        # Build the Docker image locally
just start        # Start the server (same path as plugin MCP)
just stop         # Stop the server
just restart      # Restart the server
just logs         # Follow Docker container logs
just start-local  # Start server locally without Docker

# Utilities:
just health              # Check server health
just health              # Check server health
just db-reset            # Delete the events database
just cli <command>       # Run CLI directly (hook, health, start, stop, restart, logs)
just open                # Open the dashboard in browser

Project structure

app/
  server/                    # Node server — Hono routes, SQLite, WebSocket
  client/                    # React 19 + shadcn dashboard
hooks/
  hooks.json                 # Plugin hook definitions
  scripts/                   # CLI, MCP server, and shared libs
skills/                      # /observe skills
scripts/                     # Release tooling
test/                        # Integration tests
docs/                        # Plans and demo assets
.claude-plugin/              # Plugin + marketplace manifests
.env                         # Env config options used by cli & local server
.mcp.json                    # MCP server configuration
Dockerfile                   # Production container image
docker-compose.yml           # Container orchestration - not used by the plugin
justfile                     # Task runner commands
start.mjs                    # Local server entrypoint (non-Docker)
vitest.config.ts             # Test configuration
package.json                 # Version metadata and workspace scripts

How it works

Hooks fire on every Claude Code event (tool calls, prompts, stops, subagent lifecycle). observe_cli.mjs reads the raw event from stdin and dispatches through hooks/scripts/lib/agents/<class>.mjs — each agent class's buildHookEvent() builds the envelope (project metadata plus agent-class-aware flags like meta.isNotification / meta.clearsNotification) and the CLI POSTs it to the server. If the server needs additional data (like the session's human-readable slug), it responds with a request — the hook reads it from the local transcript file and sends it back.

Server receives raw events, extracts structural fields (type, tool name, agent ID), stores agent metadata (name, description, type, parentage), and saves everything in SQLite. Events are forwarded to WebSocket clients subscribed to the relevant session — each browser tab only receives events for the session it's viewing. The server tracks session status (active/stopped) but does not track agent status.

Client fetches events via REST API on initial load, then receives real-time updates via WebSocket (events are appended to the local cache — no refetching). All agent state (status, event counts, timing) is derived from the event stream. Tool events are deduped client-side (PreToolUse + PostToolUse merged into a single row). The emoji icon mapping and summary generation are editable config files.

Dev vs Production

In dev mode, the client and server run as separate processes with separate ports.

@simple10
Ships withagents-observe
7351 skill1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
735
Star history of simple10/agents-observe on GitHub, a chart by star-history.com

More MCP servers from other plugins.

claude-flow

claude-flow

MCP

Coordinates swarms of AI agents and orchestrates multi step automated development workflows and task pipelines.

ruview2d104k
@ruvnet@ruvnetInstall MCP
kubeshark

kubeshark

MCP

Ships with kubeshark: eBPF-powered network observability for Kubernetes. Indexes L4/L7 traffic with full K8s context, decrypts…

@kubeshark@kubesharkInstall MCP
sentrux

sentrux

MCP

Ships with sentrux: Real-time architectural sensor that helps AI agents close the feedback loop, enabling recursive…

sentrux8mo3.3k
@sentrux@sentruxInstall MCP

Questions about agents-observe.

Which coding agents can use agents-observe?
agents-observe works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
How do I add agents-observe to Claude Code?
Run these in order, one at a time. 1. In Claude Code: /plugin marketplace add simple10/agents-observe 2. In Claude Code: /plugin install agents-observe@agents-observe