Agent Brain CLI - Command-line interface for managing AI agent memory and knowledge retrieval
Project description
Agent Brain CLI
Command-line interface for managing AI agent memory and knowledge retrieval with the Agent Brain RAG server.
Installation
pip install agent-brain-cli
Quick Start
agent-brain init # Initialize project
agent-brain start # Start server
agent-brain index ./docs # Index documents
agent-brain query "search term"
Note: The legacy command
doc-svr-ctlis still available but deprecated. Please useagent-brainfor new installations.
Development Installation
cd agent-brain-cli
poetry install
Usage
# Check server status
agent-brain status
# Search documents
agent-brain query "how to use python"
# Index documents from a folder
agent-brain index ./docs
# Reset/clear the index
agent-brain reset --yes
Configuration
Set the server URL via environment variable:
export AGENT_BRAIN_URL=http://localhost:8000
Or use the --url flag:
agent-brain --url http://localhost:8000 status
Note: The legacy environment variable
DOC_SERVE_URLis still supported for backwards compatibility.
Commands
| Command | Description |
|---|---|
init |
Initialize project for Agent Brain |
start |
Start the Agent Brain server |
stop |
Stop the running server |
list |
List all running Agent Brain instances |
status |
Check server health and indexing status |
query |
Search indexed documents |
index |
Start indexing documents from a folder |
reset |
Clear all indexed documents |
Options
All commands support:
--url- Server URL (orAGENT_BRAIN_URL/DOC_SERVE_URLenv var)--json- Output as JSON for scripting
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_brain_cli-1.2.0.tar.gz.
File metadata
- Download URL: agent_brain_cli-1.2.0.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.3 Darwin/25.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a9b20d68c2b8e747d17a1925f2aca7d431b333b3fef6763dff516f0d749485a
|
|
| MD5 |
2e458467dd904d219aae3296d2fe7978
|
|
| BLAKE2b-256 |
dae19c79e9259bcbe0708b6f8d5cf3f9f4db3da6095168cf4a6413b96c1c1cfd
|
File details
Details for the file agent_brain_cli-1.2.0-py3-none-any.whl.
File metadata
- Download URL: agent_brain_cli-1.2.0-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.3 Darwin/25.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c7aa2257d2103c20997624da9759285d9212205d7ec48900b206b52a214faa5
|
|
| MD5 |
dd57f0adbeaaf740b7c4eb22cb58e947
|
|
| BLAKE2b-256 |
96c019a4018c83db2257eb8017baff2b0cb553e5e206ae4aba7eb664f8206135
|