Skip to main content

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 (or DOC_SERVE_URL env var)
  • --json - Output as JSON for scripting

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_brain_cli-1.1.0-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

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

Hashes for agent_brain_cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 fe54ced2e97062894614f86d0c95876cd1684ac5bb6c898ce0d1bc0aab4a6f81
MD5 7957a9c7f1b265e1cdaa5f2a9b521322
BLAKE2b-256 e487794c12a96c4d1bf15970f722475b99d28be24c568f1619e39d4dbc34d72e

See more details on using hashes here.

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

Hashes for agent_brain_cli-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cc930731cf00941ea8856a2aafc97dd5c1e9cd7b8d72efa68fb47e0a7ba8c2c
MD5 741169d9a0ed1a672a384d0e5168db92
BLAKE2b-256 ef5a9ff7000e159a115c35863d4a069ac31febd05f0bb19d6a063d27a77c7197

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page