agent-registry
Skill396 starsChanged 6 months agoMITView on GitHub
Local Agent Registry — a standalone, dependency-free service that tracks running Claude Code (and other) agent instances. Agents self-register on startup and heartbeat while alive; the Electron overlay and Sutando dashboard read the live list. Use when you need to know which coding agents are running, where, and since when.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- ek33450505/claude-agent-teamtheir own version, first seen Oct 25, 2026
- bakhod1r/awesome-agentstheir own version, first seen Oct 15, 2026
- 9thLevelSoftware/legiontheir own version, first seen May 5, 2026
- srinandan/agent-registry-skilltheir own version, first seen Apr 20, 2026
- MaTriXy/Agent-Registrytheir own version, first seen Feb 15, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- 9thLevelSoftware/legion★ 76same name
- MaTriXy/Agent-Registry★ 9same name
- ek33450505/claude-agent-team★ 8same name
- srinandan/agent-registry-skill★ 4same name
- bakhod1r/awesome-agents★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-activitySkill
- agent-room-opsSkill
- answer-formatSkill
- audio-transcribeSkill
- bee-actionsSkill
- bot2bot-postSkill
- call-diagnosticsSkill
- claude-codexSkill
- claude-geminiSkill
- claude-piSkill
- claude-routerSkill
- collaboration-intelligenceSkill
- connect-appsSkill
- context-dropSkill
- context-reconstructSkill
- db-browserSkill
- deal-finderSkill
- doc-ingestSkill
- electron-overlay-dimmingSkill
- email-findSkill
- engine-conflict-resolveSkill
- gemini-ttsSkill
- image-generationSkill
- import-claude-contextSkill
- local-workspace-serverSkill
- macos-toolsSkill
- macos-useSkill
- make-viral-videoSkill
- marketplaceSkill
- media-transcriptSkill
- meeting-prepSkill
- meeting-schedulerSkill
- mention-gateSkill
- model-switchSkill
- morning-briefingSkill
- ms365-connectSkill
- observeSkill
- obsidian-vaultSkill
- openai-ttsSkill
- open-sutando-refSkill
- overlay-appsSkill
- phone-conversationSkill
- proactive-loopSkill
- pr-shepherd-contractSkill
- quota-trackerSkill
- regression-searchSkill
- relaySkill
- releaseSkill
- report-feedbackSkill
- review-preflightSkill
- room-collabSkill
- schedule-cronsSkill
- screen-companionSkill
- screen-recordSkill
- self-diagnoseSkill
- self-upgradeSkill
- session-recapSkill
- skill-usage-reportSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 45
Add the SessionStart hook to .claude/settings.json:
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Registry
A thin local service that tracks running agent instances. Claude Code instances register themselves on startup (via a SessionStart hook) and heartbeat while alive; consumers read the live list over a localhost HTTP API.
This is not the AG2 Workforce Hub app. It is a small local service that can
optionally mirror its state to an AG2 hub using the hub connection layer
(ag2_workforce.hub.client) — see "Optional: AG2 Hub mirroring" below — but the
core service has zero third-party dependencies and works entirely offline.
Components
skills/agent-registry/
├── scripts/registry-service.py # the HTTP service + SQLite store
├── scripts/registry-client.py # CLI: register / heartbeat / deregister / list / watch
└── hooks/session-start.sh # Claude Code SessionStart hook- DB:
<workspace>/data/agent-registry.db(SQLite, auto-created) - Discovery file:
<workspace>/state/agent-registry.json— written by the service with the bound port so clients find it without a hardcoded port. - Port: binds
127.0.0.1, first free port from7847upward.
Running the service
It is startable by Sutando three ways, in order of preference:
- Auto-start (default). Any
registry-client.pycall with--autostartlaunches the service detached if it is not already running. The SessionStart hook passes--autostart, so the first Claude Code session to start brings the registry up. - From
startup.sh. For an always-on registry, add tosrc/startup.sh:python3 skills/agent-registry/scripts/registry-service.py & - By hand:
python3 skills/agent-registry/scripts/registry-service.py
Registering Claude Code instances
Add the SessionStart hook to .claude/settings.json:
{
"hooks": {
"SessionStart": [
{ "hooks": [
{ "type": "command",
"command": "bash skills/agent-registry/hooks/session-start.sh" }
] }
]
}
}On session start the hook backgrounds registry-client.py watch, which
registers the instance, heartbeats every 30s, and deregisters when the session
ends. If it is killed ungracefully the entry ages out via heartbeat staleness
(> 90s → stale; stopped/stale rows are pruned after 1h).
HTTP API
| Method | Path | Body | Returns |
| POST | /register | {name, cwd, pid, host?, meta?} | {id} |
| POST | /heartbeat | {id} | {ok, status} |
| POST | /deregister | {id} | {ok} |
| GET | /agents | — | {agents:[...], count} |
| GET | /health | — | {ok, count, uptime} |
Each agent record: id, name, cwd, pid, host, started_at, last_heartbeat,
heartbeat_age, status, meta. status is active / stale / stopped.
CLI quick reference
C=skills/agent-registry/scripts/registry-client.py
python3 $C list # show the registry
python3 $C register --name claude-code --pid $$ # register (prints id)
python3 $C heartbeat --id <ID>
python3 $C deregister --id <ID>
python3 $C watch --name claude-code --pid <PID> --autostart # used by the hookOther agents (Kimi Code, etc.)
The service is agent-agnostic — name is free-form, so any agent registers the
same way (--name kimi-code). What is agent-specific is the registration
trigger: Claude Code uses a SessionStart hook; another agent needs its own
equivalent (a startup hook, plugin, or a launch-command wrapper that runs
registry-client.py watch).
Optional: AG2 Hub mirroring
To announce registry state to an AG2 hub, a future extension can open a
RemoteHubClient (ag2_workforce.hub.client) and post agent join/leave events.
This is deliberately not in the core service — it stays dependency-free and
local-first. Add it as a separate module that subscribes to registry changes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

