This directory contains example scripts demonstrating various features of haiku.rag.
Directory: docker/
Complete Docker setup for running haiku.rag with all services:
- Continuous ingestion from a watched directory via
haiku-ingester - MCP server for AI assistant integration
See docker/README.md for setup instructions.
Script: custom_agent.py
Uses the RAG skill with SkillToolset to build a conversational agent.
uv run python examples/custom_agent.py /path/to/db.lancedbScript: custom_agent_agui.py
A Starlette app that serves an AG-UI streaming endpoint using the RAG skill with SkillToolset.
DB_PATH=/path/to/db.lancedb uv run uvicorn examples.custom_agent_agui:app --reload --port 8000