CLI management tool for agent-brain-rag server
Project description
doc-svr-ctl
Command-line interface for managing the Doc-Serve document indexing and search server.
Installation
pip install doc-serve-cli
Quick Start
doc-svr-ctl init # Initialize project
doc-svr-ctl start # Start server
doc-svr-ctl index ./docs # Index documents
doc-svr-ctl query "search term"
Development Installation
cd doc-svr-ctl
poetry install
Usage
# Check server status
doc-svr-ctl status
# Search documents
doc-svr-ctl query "how to use python"
# Index documents from a folder
doc-svr-ctl index ./docs
# Reset/clear the index
doc-svr-ctl reset --yes
Configuration
Set the server URL via environment variable:
export DOC_SERVE_URL=http://localhost:8000
Or use the --url flag:
doc-svr-ctl --url http://localhost:8000 status
Commands
| Command | Description |
|---|---|
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 (orDOC_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
agent_brain_cli-1.1.0.tar.gz
(15.3 kB
view details)
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.1.0.tar.gz.
File metadata
- Download URL: agent_brain_cli-1.1.0.tar.gz
- Upload date:
- Size: 15.3 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 |
fe54ced2e97062894614f86d0c95876cd1684ac5bb6c898ce0d1bc0aab4a6f81
|
|
| MD5 |
7957a9c7f1b265e1cdaa5f2a9b521322
|
|
| BLAKE2b-256 |
e487794c12a96c4d1bf15970f722475b99d28be24c568f1619e39d4dbc34d72e
|
File details
Details for the file agent_brain_cli-1.1.0-py3-none-any.whl.
File metadata
- Download URL: agent_brain_cli-1.1.0-py3-none-any.whl
- Upload date:
- Size: 24.2 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 |
0cc930731cf00941ea8856a2aafc97dd5c1e9cd7b8d72efa68fb47e0a7ba8c2c
|
|
| MD5 |
741169d9a0ed1a672a384d0e5168db92
|
|
| BLAKE2b-256 |
ef5a9ff7000e159a115c35863d4a069ac31febd05f0bb19d6a063d27a77c7197
|