haiku.rag

Из публичных источников

Agentic RAG для локального и самохостируемого поиска по документам: гибридный поиск, переранжирование и мультимодальный RAG на встроенной LanceDB, с парсингом через Docling и MCP-сервером

Машинный перевод · Показать оригинал

Agentic RAG for local and self-hosted document search: hybrid retrieval, reranking and multimodal RAG on embedded LanceDB, with Docling parsing and an MCP server

MCP-серверКатегория: MCP-серверы · ИИ и память · Файлы и документы · Поиск и знанияOpen sourceданные проверены 15 окт. 2026 г.

Обзор

  • ag-ui
  • agentic-rag
  • code-execution
  • code-mode
  • cross-encoder
  • docling
  • document-ai
  • document-ingestion
  • document-parsing
  • hallucination-prevention

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    ggozad.github.io/haiku.rag/ ↗
  • Реестр пакетов языкаpythonИз публичных источниковиз манифеста пакета — публикация в реестре не проверена
    pipx install haiku-rag

    Не проверено: перед установкой убедитесь, что пакет в реестре принадлежит этому проекту.

    pypi.org/project/haiku-rag/ ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/ggozad/haiku.rag ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
Claude (web & desktop)Неизвестно———
Claude CodeНеизвестно———
CursorНеизвестно———
VS CodeНеизвестно———
WindsurfНеизвестно———
ChatGPTНеизвестно———
PythonСовместимо—манифест пакета: pyproject.toml name0.60

Релизы

проверено 29 окт. 2026 г.
v0.103.0Последний29 окт. 2026 г.Официальный источник ↗

Файлы версии 0.103.0

К релизу не приложены файлы.

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 15 окт. 2026 г.
Оценка качества97
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 0 days ago
Документация · 1515
README 6466 chars, description present
Готовность к использованию · 1515
install instructions: yes; releases: yes
Метаданные · 1010
4/4 of description, homepage, license, topics
Релизы · 1010
10 release(s), latest 3 days ago
Точность категории · 1010
classifier confidence 0.97
Популярность · 107
629 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX MIT
Сообщество · 55
issues enabled, 53 forks

Лицензия

MIT
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/ggozad/haiku.ragОсновной★ 629 звёздактивность 15 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

unstractПохожий
Извлечение неструктурированных данных с помощью LLM — создано для развёртывания API и рабочих процессов ETL-конвейеровAGPL-3.0 · MCP-серверы
pipeshub-aiПохожий
Открытый слой контекста для ИИ-агентов. PipesHub превращает знания вашей компании (Slack, Drive, Jira, GitHub, Microsoft 365 и более 40 коннекторов) в рабочее пространство с учётом прав доступа, в котором агенты могут искать, выполнять grep, перемещаться и ссылаться на источники. MCP, SDK и встроенные агенты. Самостоятельное развёртывание.Apache-2.0 · MCP-серверы
reaПохожий
Обратный инжиниринг чего угодно с помощью агентов: от поведения приложений до нативных бинарных файлов.MIT · MCP-серверы
browser-useПохожий
Библиотека Python с открытым исходным кодом для ИИ-агентов, работающих в браузере, а также Browser Use Cloud: скрытные браузеры и хостируемый API агентов.MIT · MCP-серверы
worldmonitorПохожий
Панель глобальной аналитики в реальном времени. Агрегация новостей с помощью ИИ, мониторинг геополитической обстановки и отслеживание инфраструктуры в едином интерфейсе ситуационной осведомлённостиAGPL-3.0 · MCP-серверы
ScraplingПохожий
🕷️ Адаптивный фреймворк для веб-скрапинга, который справляется со всем — от одиночного запроса до масштабного краулинга! Не стесняйтесь, присоединяйтесь здесь: https://discord.gg/EMgGbDceNQ и подписывайтесь здесь, чтобы получать ежедневные советы и хитрости: https://x.com/Scrapling_devBSD-3-Clause · MCP-серверы

README

Из ggozad/haiku.rag · лицензия MIT · загружено 29 окт. 2026 г.

haiku.rag

[PyPI] [Python] [Downloads] [Docs] [Tests] [codecov]

Agentic RAG that answers questions about your own documents with citations to page numbers and section headings. It runs on an embedded LanceDB database with open models through Ollama by default, so no server or API key is needed. Any provider Pydantic AI supports works in their place, and the same database can live on S3, GCS, Azure or LanceDB Cloud.

Built on LanceDB, Pydantic AI and Docling. Documentation: ggozad.github.io/haiku.rag.

Features

  • Ingest PDFs, office documents, HTML, Markdown and images with Docling, in-process or on docling-serve. The stored DoclingDocument keeps headings, tables, pictures and page provenance.
  • Search with hybrid vector and full-text retrieval, optional reranking (cross-encoders, Jina, Cohere, Zero Entropy, vLLM, OpenRouter), section-aware context expansion, and image search with a multimodal embedder (vLLM, OpenRouter, VoyageAI, Cohere). Across several named databases at once.
  • Answer with the RAG capability: it searches, runs sandboxed Python over the documents for counting and aggregation, and cites page numbers and headings. Vision models receive the figures. Optional capabilities compact earlier evidence in long conversations and require every answer to declare its grounding.
  • Check a citation by drawing its chunk on the page image, from the CLI, the chat TUI or Python.
  • Integrate through the Python API, native Pydantic AI capabilities, plugin hooks that observe document writes and transform searches, an MCP server for Claude Code, Codex and Claude Desktop, and a reference web app.
  • Operate with the haiku-ingester service (filesystem, HTTP, S3 and WebDAV sources, a SQLite or Postgres job queue with retries, a control plane and dashboard), tags and rollback, vacuum, and haiku-rag doctor health checks.

Installation

Python 3.12 or newer.

pip install haiku.rag        # Docling, the VoyageAI and Cohere embedders, every reranker, the TUI
pip install haiku.rag-slim   # the core, with extras chosen by you

The ingester, S3 access and model providers other than Ollama and OpenAI-compatible endpoints are extras. See Installation.

Quick start

The default configuration uses Ollama for embeddings and answers. The quickstart covers the models to pull and using OpenAI instead.

haiku-rag init                                  # create the database
haiku-rag add-src paper.pdf                     # index a file, URL or directory
haiku-rag search "attention mechanism"
haiku-rag ask "What datasets were used for evaluation?"
haiku-rag ask "How many documents mention transformers?"
haiku-rag ask "Does this figure match the spec?" --image figure.png
haiku-rag chat                                  # multi-turn chat in the terminal

Continuous ingestion from configured sources runs as a separate service, with the ingester extra (pip install 'haiku.rag[ingester]'):

haiku-ingester serve

Python API

from haiku.rag.client import HaikuRAG

async with HaikuRAG("knowledge.lancedb", create=True) as rag:
    await rag.create_document_from_source("paper.pdf")
    await rag.create_document_from_source("https://arxiv.org/pdf/1706.03762")

    results = await rag.search("self-attention")
    for result in results:
        print(f"{result.score:.2f} | p.{result.page_numbers} | {result.content[:100]}")

    answer, citations = await rag.ask("What is the complexity of self-attention?")
    print(answer)
    for cite in citations:
        print(f"  [{cite.chunk_id}] p.{cite.page_numbers}: {cite.content[:80]}")

To compose your own agent, see Capabilities.

MCP server

haiku-rag mcp --stdio

The server gives an assistant search, document reading and a Python sandbox over the documents. In Claude Code, the plugin registers it with a skill:

claude plugin marketplace add ggozad/haiku.rag
claude plugin install haiku-rag

Codex and Claude Desktop setup is in the MCP docs.

Examples

Documentation

License

MIT.

mcp-name: io.github.ggozad/haiku-rag

Открыть репозиторий ↗