Skip to main content

Agent Observatory

CI PyPI Python 3.11+ OpenTelemetry OTLP Local first

See what your agents are doing, live. Agent Observatory watches local Codex and Claude Code sessions, receives OpenTelemetry from instrumented agents, and brings tasks, tool calls, MCP, traces, tokens, errors, and host activity into one terminal cockpit and local web dashboard.

Animated preview of the Agent Observatory terminal cockpit with agents, MCP calls, traces, and host processes

Short demo using synthetic example data. No real session logs or user prompts are included.

Start in one command

Requires Python 3.11+. Install uv if needed, then:

uv tool install agent-observatory-cli
agent-observatory

Or install it into the active Python environment with python -m pip install agent-observatory-cli.

The terminal cockpit discovers recent local Codex and Claude Code sessions automatically. Press b to open the local web dashboard. It listens on 127.0.0.1:14318.

Already cloned the repository? Run the installer for your shell:

./scripts/install.sh
.\scripts\install.ps1

These install the checkout as an isolated uv tool. Re-run the script after pulling an update. No administrator access is needed.

What you get

  • Agents: distinct sessions, project, current task, model, recent actions, and activity state.
  • Activity: readable user/assistant messages, shell commands, file changes, browser events, model use, and tool results.
  • MCP: server and tool calls with readable arguments and results, an Errors filter, latency, and direct links to the execution span.
  • Traces: parent/child spans, model usage, errors, and evidence for each operation.
  • Host: known local agent processes and basic resource use, shown separately from sessions.
  • Web dashboard: searchable live activity with the same local receiver.

The cockpit adapts from compact terminals to wide workspaces. Search stays with each view, Enter inspects a row, e expands the details, and Esc returns to the list. Drag to highlight inspector text and press Ctrl+C to copy it; c copies the current details. Activity, MCP Calls, and Traces include Older / Newer / Latest controls for stored history, and Alt+Left returns from a linked trace to the event you were reading.

The receiver stores data in a local SQLite file. Native session capture is bounded and redacts recognizable credentials on a best-effort basis. Choose metadata-only capture with --metadata-only. See Privacy and capture boundaries.

Connect other agents

Send OpenTelemetry traces, logs, and metrics over OTLP/HTTP, or use the Python and JavaScript clients:

Develop

git clone https://github.com/abhishekash/agent-observatory.git
cd agent-observatory
uv tool install --editable .
python -m unittest discover -s tests -v

Contributions and bug reports are welcome. See CONTRIBUTING.md and open an issue.

Maintainers can follow the PyPI publishing guide to release a version with Trusted Publishing.

License

Agent Observatory is distributed under the MIT License.

Metadata

Release files for agent-observatory-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-observatory-cli 0.1.0
File Size Uploaded
agent_observatory_cli-0.1.0.tar.gz 122.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-observatory-cli 0.1.0
File Interpreter ABI Platform
agent_observatory_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 242.5 kB

Release files / agent_observatory_cli-0.1.0.tar.gz

Download URL agent_observatory_cli-0.1.0.tar.gz
Size 122.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d064750015e700a7e937885a9a9f115fb139daa3040b4c94464bbf12bb3e3539
BLAKE2b-256 checksum
How to use checksums
a2a04ce59a7a11eb686c9a9366b71dafab31f724d320bf27e1f3c1c287f66be8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / agent_observatory_cli-0.1.0-py3-none-any.whl

Download URL agent_observatory_cli-0.1.0-py3-none-any.whl
Size 120.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11cc5f98d3ebfa4b986a969874839a75e6e8cd85d8df28fc745df98c1ac2fa4d
BLAKE2b-256 checksum
How to use checksums
5cfa9023477878d234b4d8c465a4777c76f2272cd510cf9898912df1816cbbd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page