Command Line Interface
The haiku-rag
CLI provides complete document management functionality.
Document Management
List Documents
Add Documents
From text:
From file or URL:
Get Document
Delete Document
Search
Basic search:
With options:
Question Answering
Ask questions about your documents:
The QA agent will search your documents for relevant information and provide a comprehensive answer.
Server
Start the MCP server:
# HTTP transport (default)
haiku-rag serve
# stdio transport
haiku-rag serve --stdio
# SSE transport
haiku-rag serve --sse
Options
All commands support:
- --db
- Specify custom database path
- -h
- Show help for specific command
Example: