/agent-brain:agent-brain-listfrom agent-brain
Lists all running Agent Brain server instances across projects, displaying project name, URL, PID, mode, and health status. Supports --all and --json flags.
Ships in agent-brain. Installing the plugin adds it to Claude Code.
Displays all running Agent Brain server instances across all projects. Shows each instance's project name, URL, process ID, mode, and health status by scanning the global registry.
/agent-brain:agent-brain-list [--all] [--json]
Run the following command to list all instances:
agent-brain list
agent-brain list # List running instances only
agent-brain list --all # Include stale/unhealthy instances
agent-brain list -a # Short form of --all
agent-brain list --json # Output as JSON for scripting
Agent Brain Instances
Project URL PID Mode Status
my-project http://127.0.0.1:8000 12345 project running
api-docs http://127.0.0.1:8001 12678 project running
2 running, 0 stale/unhealthy
agent-brain list --json
{
"instances": [
{
"project_root": "/home/user/my-project",
"project_name": "my-project",
"base_url": "http://127.0.0.1:8000",
"pid": 12345,
"mode": "project",
"status": "running",
"started_at": "2026-01-31T10:30:00Z"
}
],
"total": 1
}
Format the result as a table with the following columns:
| Column | Description |
|---|---|
| Project | Project directory name |
| URL | Server base URL (e.g., http://127.0.0.1:8000) |
| PID | Process ID of the server |
| Mode | Instance mode: project or shared |
| Status | Health status: running, unhealthy, stale |
Stale entries are automatically removed from the global registry when agent-brain list runs. By default, only running instances are shown. Use --all to include stale and unhealthy instances.
| Error | Cause | Resolution |
|---|---|---|
| No running instances found | No servers have been started | Run agent-brain init and agent-brain start |
| Permission Error | Cannot read registry or signal processes | Check file permissions |
| Connection refused | Server crashed or was killed externally | Clean up with agent-brain stop |
# For each stopped instance, clean up its state
cd /path/to/project
agent-brain stop
# Or check system processes directly
ps aux | grep agent-brain
~/.local/state/agent-brain/registry.json/health/ endpointWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub spillwavesolutions/agent-brain --plugin agent-brain30 commands in this plugin
/agent-brain-bm25Search using BM25 keyword matching for exact terms/agent-brain-cacheView embedding cache metrics or clear the cache/agent-brain-config12-step wizard to configure all Agent Brain settings — providers, storage, GraphRAG, reranking, caching, file watcher, chunking, and server deployment/agent-brain-embeddingsConfigure the embedding provider for vector search/agent-brain-foldersManage indexed folders — list, add, or remove/agent-brain-graphSearch using GraphRAG for relationship and dependency queriesOther plugins' commands for the same job