-
Notifications
You must be signed in to change notification settings - Fork 3
Command Verify
Rick Hightower edited this page Feb 2, 2026
·
1 revision
name: agent-brain-verify description: Verify Agent Brain installation and configuration parameters: [] skills:
- configuring-agent-brain
Performs a comprehensive verification of the Agent Brain installation, checking that all components are properly installed, configured, and functioning. This command provides a quick health check and identifies any issues that need attention.
/agent-brain-verify
Run the following verification steps in sequence:
agent-brain --version
python -c "import agent_brain_cli; print(agent_brain_cli.__version__)" 2>/dev/null
python -c "import agent_brain_server; print(agent_brain_server.__version__)" 2>/dev/nullpython --versionecho "OPENAI_API_KEY: ${OPENAI_API_KEY:+SET}"
echo "ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:+SET}"ls -la .claude/agent-brain/config.json 2>/dev/nullagent-brain statuscurl -s http://127.0.0.1:$(cat .claude/agent-brain/runtime.json 2>/dev/null | python -c "import sys,json; print(json.load(sys.stdin).get('port', 8000))")/health 2>/dev/null || echo "Server not running"Agent Brain Verification
========================
Installation
------------
[OK] agent-brain-cli: 1.2.0
[OK] agent-brain-rag: 1.2.0
[OK] Python: 3.11.4 (>= 3.10 required)
Configuration
-------------
[OK] OPENAI_API_KEY: Set
[OK] ANTHROPIC_API_KEY: Set (optional)
Project Setup
-------------
[OK] Project initialized: .claude/agent-brain/
[OK] Config file: .claude/agent-brain/config.json
Server Status
-------------
[OK] Server running on port 49321
[OK] Health: healthy
[OK] Documents indexed: 150
[OK] Chunks: 750
Verification Complete!
======================
All checks passed. Agent Brain is ready to use.
Quick commands:
Search: agent-brain query "your query"
Index: agent-brain index /path/to/docs
Status: agent-brain status
Agent Brain Verification
========================
Installation
------------
[OK] agent-brain-cli: 1.2.0
[OK] agent-brain-rag: 1.2.0
[OK] Python: 3.11.4
Configuration
-------------
[OK] OPENAI_API_KEY: Set
[--] ANTHROPIC_API_KEY: Not set (optional)
Project Setup
-------------
[!!] Project not initialized
Server Status
-------------
[!!] Server not running
Verification Summary
====================
Issues Found: 2
1. Project not initialized
Fix: agent-brain init
2. Server not running
Fix: agent-brain start --daemon
Run /agent-brain-setup to fix all issues automatically.
For quick reference, the verification can also output as a checklist:
Agent Brain Verification Checklist
===================================
Packages:
[x] agent-brain-cli installed
[x] agent-brain-rag installed
[x] Python >= 3.10
API Keys:
[x] OPENAI_API_KEY set
[ ] ANTHROPIC_API_KEY set (optional)
Project:
[x] .claude/agent-brain/ exists
[x] config.json present
Server:
[x] Server running
[x] Health check passed
[x] Documents indexed (150)
Status: Ready (5/6 checks passed)
[!!] agent-brain-cli: NOT FOUND
The Agent Brain CLI is not installed.
Fix:
pip install agent-brain-cli agent-brain-rag
Or run: /agent-brain-install
[!!] Python: 3.8.10 (requires >= 3.10)
Python 3.10 or higher is required.
Fix:
1. Install Python 3.10+: https://python.org/downloads/
2. Use pyenv: pyenv install 3.11
3. Use conda: conda create -n agent-brain python=3.11
[!!] OPENAI_API_KEY: NOT SET
The OpenAI API key is required for semantic search.
Fix:
export OPENAI_API_KEY="sk-proj-..."
Or run: /agent-brain-config
[!!] Project not initialized
No .claude/agent-brain/ directory found.
Fix:
agent-brain init
Or run: /agent-brain-init
[!!] Server not running
The Agent Brain server is not running.
Fix:
agent-brain start --daemon
After starting, verify with:
agent-brain status
[!!] Server unhealthy
Server is running but health check failed.
Diagnostics:
1. Check server logs
2. Verify API key is valid
3. Restart: agent-brain stop && agent-brain start --daemon
[--] Documents indexed: 0
No documents have been indexed yet.
To index documents:
agent-brain index /path/to/docs
This is not an error, but search will return no results
until documents are indexed.
If verification fails, suggest the automated fix:
Verification found 3 issues.
Quick fix: Run /agent-brain-setup to resolve all issues automatically.
Or fix manually:
1. pip install agent-brain-cli agent-brain-rag
2. export OPENAI_API_KEY="your-key"
3. agent-brain init
4. agent-brain start --daemon
- Design-Architecture-Overview
- Design-Query-Architecture
- Design-Storage-Architecture
- Design-Class-Diagrams
- GraphRAG-Guide
- Agent-Skill-Hybrid-Search-Guide
- Agent-Skill-Graph-Search-Guide
- Agent-Skill-Vector-Search-Guide
- Agent-Skill-BM25-Search-Guide
Search
Server
Setup
- Pluggable-Providers-Spec
- GraphRAG-Integration-Spec
- Agent-Brain-Plugin-Spec
- Multi-Instance-Architecture-Spec