Skip to content
Agent Memory
Command

/agent-brain-verify

Verify Agent Brain installation and configuration

BOOST
From plugin
agent-brain
11944 skills9 agents44 commands
Install
> /plugin marketplace add SpillwaveSolutions/agent-brain
> /plugin install agent-brain@agent-brain-marketplace

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/agent-brain-verify

Context preview

What this command does when you run it.

Verify Agent Brain installation and configuration

Command definition

agent-brain-verify.md
name: agent-brain-verify
description: Verify Agent Brain installation and configuration
parameters: []
context: fork
agent: setup-assistant
skills:
  - configuring-agent-brain
last_validated: 2026-03-16

Verify Agent Brain Setup

Purpose

Performs a comprehensive verification of the Agent Brain installation, checking that all components are properly installed, configured, and functioning. This is a plugin-level workflow that runs multiple CLI commands to produce a consolidated health check report.

Usage

/agent-brain:agent-brain-verify

Execution

Run the following verification steps in sequence:

Step 1: Check Package Installation

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/null

Step 2: Check Python Version

python --version

Step 3: Check Provider Configuration

# Show active provider config
agent-brain config show 2>/dev/null || echo "Config not available"

Step 4: Check Project Initialization

ls -la .agent-brain/config.json 2>/dev/null

Step 5: Check Server Status (if running)

agent-brain status

Step 6: Run Health Check (if server running)

agent-brain status --json 2>/dev/null || echo "Server not running"

Output

All Checks Passing

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: .agent-brain/
[OK] Config file: .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:agent-brain-search "your query"
  Index:  /agent-brain:agent-brain-index /path/to/docs
  Status: /agent-brain:agent-brain-status

Some Checks Failing

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

Run /agent-brain:agent-brain-setup to fix all issues automatically.

Checklist Format

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] .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)

Error Handling

Packages Not Installed

[!!] 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:agent-brain-install

Python Version Too Low

[!!] 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

API Key Not Set

[!!] 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:agent-brain-config

Project Not Initialized

[!!] Project not initialized

No .agent-brain/ directory found.

Fix:
  agent-brain init

Or run: /agent-brain:agent-brain-init

Server Not Running

[!!] Server not running

The Agent Brain server is not running.

Fix:
  agent-brain start

After starting, verify with:
  agent-brain status

Server Unhealthy

[!!] 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

No Documents Indexed

[--] 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.

Quick Fix Mode

If verification fails, suggest the automated fix:

Verification found 3 issues.

Quick fix: Run /agent-brain: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
Read more
Ships withagent-brain

A RAG-based (Retrieval-Augmented Generation) document indexing and semantic search system for AI agents and applications. Agent Brain enables intelligent querying of documentation and source code using natural language.

Get the whole plugin

Other commands on agent-brain.