Skip to main content

DARWIN — Local-first RAG engine with API + ONNX embedding support

Project description

Darwin RAG

Local-first RAG engine. Ingest documents, index them with BM25 and embeddings, and search via hybrid/semantic/keyword retrieval. Runs as an MCP server for AI agent integration or via CLI. All local, all offline-capable.

Built by BrightDotDev.

License: MIT with Attribution


Setup

Internet is required for first-time setup to download and validate models. After that, everything runs offline.

Interactive (guided)

Detects your hardware, shows available models, lets you pick. Takes about 2 minutes.

pip install darwin-rag
darwin-admin setup interactive

One-shot: required (embedding only)

Downloads and configures only the embedding model. No prompts, no choices. Fastest path to a working install.

darwin-admin setup --preset required

One-shot: recommended (embedding + reranker + OCR)

Also downloads a reranker and OCR model. Better search quality out of the box.

darwin-admin setup --preset recommended

After setup, start the MCP server:

darwin mcp --http --port 8765

For a full setup walkthrough including Docker, from source, and API key configuration, see docs/setup.md.


Connecting your agent

# Generate config for Claude Desktop, Cursor, etc.
darwin config claude

# Generate config for all clients
darwin config all --copy

Or point any MCP client directly:

  • SSE: http://localhost:8765/sse
  • HTTP: http://localhost:8765/mcp

Commands

darwin — user CLI (mcp, config)

darwin-admin — power-user CLI (setup, models, store, pipeline, search, logs, system, uninstall, status)

See docs/admin.md for the full command reference.


Documentation

Doc What
setup.md Full setup walkthrough
architecture.md For developers and contributors
mcp.md MCP server, tools, resources
admin.md Admin CLI reference
storage.md DarwinStore
pipeline.md Ingestion & indexing
retrieval.md Search engine
models.md Model registry & inference
logger.md Structured logging
orchestrators.md High-level business logic

License

MIT with Attribution — see LICENSE.

Core architecture and implementation by BrightDotDev.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

darwin_rag-0.2.8.tar.gz (292.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

darwin_rag-0.2.8-py3-none-any.whl (345.9 kB view details)

Uploaded Python 3

File details

Details for the file darwin_rag-0.2.8.tar.gz.

File metadata

  • Download URL: darwin_rag-0.2.8.tar.gz
  • Upload date:
  • Size: 292.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for darwin_rag-0.2.8.tar.gz
Algorithm Hash digest
SHA256 39df2e12d5e5d2339921a0e002bc0613f5924330d8d710c8e0f4efc230ff8f40
MD5 3085b8083e10c96dbcdfea5957f3c5a3
BLAKE2b-256 7d16f5e379fb7b81fdcc3cc5f380d37bbb9c0764641bd47a37ef97cc2ffe1ae9

See more details on using hashes here.

File details

Details for the file darwin_rag-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: darwin_rag-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 345.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for darwin_rag-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c535eca9fb8b5d6e18106dd74bfccdceb7e031a0a4a90a072c41006df354ee62
MD5 ebfe5af5f0a3e5f3d166280cabd565af
BLAKE2b-256 15d3c6e910b58c29c50aaafe27729dfea673e63f3665f5935426073c4433fb5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page