agentwatch: Monitor AI Agent Activity Locally

Summary
agentwatch combines logs from multiple coding agents into a local timeline with event details, cost tracking, alerts, and search. It suits developers who run several agents and want visibility without sending data to a cloud service.
At a glance
- Language
- TypeScript
- License
- MIT
- Stars
- 15
- Forks
- 0
- Added to OSRepos
- October 6, 2026
- Last analyzed
- October 6, 2026
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
agentwatch is a local observability tool for developers running multiple AI agents on one machine. It reads agent session and configuration files and brings supported activity into a shared timeline, helping users investigate unexpected actions, compare costs, and understand what happened across separate sessions.
It is most useful when switching between agents makes their independent logs difficult to follow. It is a viewer rather than an agent runner or background capture service, and its terminal interface can launch a local web UI for deeper inspection.
Key Features
- Combines supported agent events in a live terminal timeline, with a local web interface for session details.
- Tracks token usage and estimated costs, including cache accounting for supported models.
- Provides event details, session search, exports, and subagent drilldown where the source data supports it.
- Flags cost, duration, and token outliers, as well as repeated event loops.
- Supports configurable session and daily budget alerts and user-defined notification triggers.
- Offers an MCP server for querying session history and an optional OpenTelemetry exporter.
- Reads local agent logs and settings; the project states it has no telemetry and makes no network calls unless an OTLP endpoint is configured.
Use Cases
- Developers using Claude Code alongside Codex, Gemini CLI, or other supported agents can review activity in one timeline instead of checking separate logs.
- A developer investigating a surprising file change or command can inspect event details and session history to trace what the agent did.
- Users managing agent spend can monitor session and daily budgets and investigate unusually costly turns.
- Teams or individuals diagnosing repeated agent retries can use anomaly indicators to spot likely loops.
- Developers with an observability stack can optionally export agent events as OpenTelemetry spans.
Getting Started
Requires Node.js 20 or later and macOS or Linux. Install and run:
npm i -g @misha_misha/agentwatch
agentwatch
See the README for agent coverage, configuration, and usage details.
Alternatives
- agenttrail: Agenttrail maps file changes and agent activity in a 3D task view, while agentwatch focuses on searchable event timelines, costs, and alerts.
Considerations
- It captures activity while the TUI is running. It is not a background daemon, and startup backfill is bounded.
- Agent coverage varies. Cursor activity is limited to configuration data, while some other agents do not persist all event details that the tool can display.
- Windows is out of scope for the current v0.x release; documented support is for macOS and Linux.
- Node.js 20 or later is required. The repository describes the project as v0.0.3 in its agent coverage notes, so capabilities and support may evolve.
- Cost and token-attribution figures can involve estimates for some categories. The README notes that its tokenizer is approximate for Claude, while usage records provide exact model-reported input, cache, and output counts where available.
Found this useful?
Share it with someone who would like agentwatch.
Source repository
Open the original repository on GitHub.
Related repositories
Similar repositories that may be relevant next.

image-blaster: Turn Images into 3D Environments and Assets
October 5, 2026
image-blaster uses Claude skills and external generation services to turn an image into a 3D environment, object meshes, and sound effects. It is designed to quickly create starting points for game, 3D, and web projects.

OrcaReplay: Record and Replay AI Agent Runs
October 2, 2026
OrcaReplay records AI agent runs so developers can inspect what happened, replay interactions offline, and fork a run from a checkpoint onto another model. It is a TypeScript CLI for debugging and comparing agent behavior without modifying the agent.

openmake_llm: Coordinate AI Models, Agents, and Tools
October 1, 2026
OpenMake is a self-hosted AI workspace that coordinates chat models, agents, and tools in one place. It suits people who want multi-step AI workflows with local or open-weight models, while keeping infrastructure and model choices under their control.

zennotes: Manage Markdown Notes with Keyboard-First Tools
October 1, 2026
ZenNotes is a local-first Markdown notes app for people who prefer plain files, keyboard navigation, and Vim motions. It runs as an Electron desktop app or a self-hosted web app, with search, diagrams, CLI, and MCP integrations.