Metadata-Version: 2.4
Name: haiku.rag-slim
Version: 0.34.1
Summary: Opinionated agentic RAG powered by LanceDB, Pydantic AI, and Docling - 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: cachetools>=7.0.2
Requires-Dist: docling-core>=2.67.1
Requires-Dist: haiku-skills>=0.8.0
Requires-Dist: httpx>=0.28.1
Requires-Dist: jsonpatch>=1.33
Requires-Dist: lancedb==0.29.2
Requires-Dist: pathspec>=1.0.4
Requires-Dist: pydantic-ai-slim[ag-ui,fastmcp,logfire,openai]>=1.66.0
Requires-Dist: pydantic-monty>=0.0.8
Requires-Dist: pydantic>=2.12.5
Requires-Dist: python-dotenv>=1.2.2
Requires-Dist: pyyaml>=6.0.3
Requires-Dist: rich>=14.3.3
Requires-Dist: typer<0.22.0,>=0.21.0
Requires-Dist: watchfiles>=1.1.1
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.20.7; extra == 'cohere'
Provides-Extra: docling
Requires-Dist: docling>=2.76.0; extra == 'docling'
Requires-Dist: opencv-python-headless>=4.13.0.92; 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: jina
Requires-Dist: torch>=2.0.0; extra == 'jina'
Requires-Dist: transformers>=4.40.0; extra == 'jina'
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: tui
Requires-Dist: textual-image>=0.8.5; extra == 'tui'
Requires-Dist: textual>=8.0.2; extra == 'tui'
Provides-Extra: vertexai
Requires-Dist: pydantic-ai-slim[vertexai]; extra == 'vertexai'
Provides-Extra: voyageai
Requires-Dist: pydantic-ai-slim[voyageai]; extra == 'voyageai'
Provides-Extra: zeroentropy
Requires-Dist: zeroentropy>=0.1.0a11; extra == 'zeroentropy'
Description-Content-Type: text/markdown

# haiku.rag-slim

Opinionated agentic RAG powered by LanceDB, Pydantic AI, and Docling - 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), and reranker 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


```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

## 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
