Metadata-Version: 2.4
Name: haiku.rag-slim
Version: 0.14.1
Summary: Agentic Retrieval Augmented Generation (RAG) with LanceDB - Minimal dependencies
Author-email: Yiorgis Gozadinos <ggozadinos@gmail.com>
License: MIT
License-File: LICENSE
Keywords: RAG,lancedb,mcp,ml,vector-database
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: Operating System :: Microsoft :: Windows :: Windows 11
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: docling-core==2.50.1
Requires-Dist: httpx>=0.28.1
Requires-Dist: lancedb==0.25.2
Requires-Dist: pathspec>=0.12.1
Requires-Dist: pydantic-ai-slim[fastmcp,logfire,openai]>=1.11.1
Requires-Dist: pydantic>=2.12.3
Requires-Dist: python-dotenv>=1.2.1
Requires-Dist: pyyaml>=6.0.3
Requires-Dist: rich>=14.2.0
Requires-Dist: tiktoken>=0.12.0
Requires-Dist: typer<0.20.0,>=0.19.2
Requires-Dist: watchfiles>=1.1.1
Provides-Extra: a2a
Requires-Dist: fasta2a>=0.1.0; extra == 'a2a'
Requires-Dist: pydantic-ai-slim[a2a]; extra == 'a2a'
Provides-Extra: anthropic
Requires-Dist: pydantic-ai-slim[anthropic]; extra == 'anthropic'
Provides-Extra: bedrock
Requires-Dist: pydantic-ai-slim[bedrock]; extra == 'bedrock'
Provides-Extra: cohere
Requires-Dist: cohere>=5.0.0; extra == 'cohere'
Provides-Extra: docling
Requires-Dist: docling==2.61.1; extra == 'docling'
Provides-Extra: google
Requires-Dist: pydantic-ai-slim[google]; extra == 'google'
Provides-Extra: groq
Requires-Dist: pydantic-ai-slim[groq]; extra == 'groq'
Provides-Extra: mistral
Requires-Dist: pydantic-ai-slim[mistral]; extra == 'mistral'
Provides-Extra: mxbai
Requires-Dist: mxbai-rerank>=0.1.6; extra == 'mxbai'
Provides-Extra: vertexai
Requires-Dist: pydantic-ai-slim[vertexai]; extra == 'vertexai'
Provides-Extra: voyageai
Requires-Dist: voyageai>=0.3.5; extra == 'voyageai'
Provides-Extra: zeroentropy
Requires-Dist: zeroentropy>=0.1.0a6; extra == 'zeroentropy'
Description-Content-Type: text/markdown

# haiku.rag-slim

Retrieval-Augmented Generation (RAG) library built on LanceDB - Core package with minimal dependencies.

`haiku.rag-slim` is the core package for users who want to install only the dependencies they need. Document processing (docling), rerankers, and A2A support are all optional extras.

**For most users, we recommend installing [`haiku.rag`](https://pypi.org/project/haiku.rag/) instead**, which includes all features out of the box.

## Installation

**Python 3.12 or newer required**

### Minimal Installation

```bash
uv pip install haiku.rag-slim
```

Core functionality with OpenAI/Ollama support, MCP server, and Logfire observability. Document processing (docling) is optional.

### With Document Processing

```bash
uv pip install haiku.rag-slim[docling]
```

Adds support for 40+ file formats including PDF, DOCX, HTML, and more.

### Available Extras

**Document Processing:**
- `docling` - PDF, DOCX, HTML, and 40+ file formats

**Embedding Providers:**
- `voyageai` - VoyageAI embeddings

**Rerankers:**
- `mxbai` - MixedBread AI
- `cohere` - Cohere
- `zeroentropy` - Zero Entropy

**Model Providers:**
- OpenAI/Ollama - included in core (OpenAI-compatible APIs)
- `anthropic` - Anthropic Claude
- `groq` - Groq
- `google` - Google Gemini
- `mistral` - Mistral AI
- `bedrock` - AWS Bedrock
- `vertexai` - Google Vertex AI

**Agent Protocol:**
- `a2a` - Agent-to-Agent protocol

```bash
# Common combinations
uv pip install haiku.rag-slim[docling,anthropic,mxbai]
uv pip install haiku.rag-slim[docling,groq,logfire]
```

## Usage

See the main [`haiku.rag`](https://github.com/ggozad/haiku.rag) repository for:
- Quick start guide
- CLI examples
- Python API usage
- MCP server setup
- A2A agent configuration

## Documentation

Full documentation: https://ggozad.github.io/haiku.rag/

- [Installation](https://ggozad.github.io/haiku.rag/installation/) - Provider setup
- [Configuration](https://ggozad.github.io/haiku.rag/configuration/) - YAML configuration
- [CLI](https://ggozad.github.io/haiku.rag/cli/) - Command reference
- [Python API](https://ggozad.github.io/haiku.rag/python/) - Complete API docs
