-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Display Name
Observagent
Category
Tooling
Sub-Category
Tooling: Usage Monitors
Primary Link
https://github.com/darshannere/observagent/
Author Name
Darshan Nere
Author Link
License
Apache-2.0
Other License
No response
Description
Local-first observability for Claude Code sessions with zero-config hook setup. It captures tool calls and subagent lifecycle events in real time, tracks token and cost data from local Claude JSONL transcripts, and provides live and history dashboards for debugging latency, failures, and spend.
Validate Claims
Quick validation flow (about 5 minutes):
-
Install and start:
npm install -g @darshannere/observagentobservagent initobservagent start
-
Open
http://localhost:4999. -
In Claude Code, run the exact demo prompt from the “Specific Prompt(s)” field in this submission.
(This generates the live tool events, error event, and subagent events ObservAgent is meant to show.) -
Confirm on
/live:- tool log updates live without refresh
- rows include enriched summaries (command/path/pattern/task description)
- failed Bash command is highlighted
- subagent activity appears in the agent view/timeline
-
Confirm on
/history:- sessions are listed
- export works for JSONL and CSV
If npm registry install fails, install directly from GitHub source:
git clone https://github.com/darshannere/observagent.git
cd observagent
npm install
npm --prefix frontend install
npm --prefix frontend run build
npm linkThen run:
observagent init
observagent start
Runtime network behavior:
- ObservAgent does not require outbound external network calls.
- Server binds to
127.0.0.1.
Specific Task(s)
Run a short mixed-tool Claude Code workflow that includes:
- Bash, Read, Grep, Write, and Task (subagent) tool usage
- one intentionally failing Bash command
- one session export from the history page
Specific Prompt(s)
In this repository, do the following in order:
- Run
pwdandls. - Read
README.md. - Search for "Context" in
README.md. - Create a file named
observagent_demo.txtwith 3 bullet points summarizing this project. - Run
cat /tmp/this_file_does_not_existto trigger one failed Bash command. - Spawn one subagent to summarize the Quick Start section of
README.mdin 5 bullets. - Delete
observagent_demo.txt. - End with a short summary of what was done.
Additional Comments
Install:
npm install -g @darshannere/observagentobservagent initobservagent start
Uninstall:
npm uninstall -g @darshannere/observagent- Remove ObservAgent hook commands from
~/.claude/settings.json(entries that callrelay.py) - Remove
~/.claude/observagent/relay.py - Optional cleanup: remove local DB at
~/.local/share/observagent/observagent.db(or%APPDATA%/observagent/observagent.dbon Windows)
Security and permissions:
- Does not require
--dangerously-skip-permissions - Local-only default bind (
127.0.0.1) - No telemetry pipeline
Recommendation Checklist
- I have checked that this resource hasn't already been submitted
- It has been over one week since the first public commit to the repo I am recommending
- All provided links are working and publicly accessible
- I do NOT have any other open issues in this repository
- I am primarily composed of human-y stuff and not electrical circuits