General-purpose open-source RAG engine with multi-LLM, hybrid retrieval, GraphRAG, and MCP support
Project description
Your documents, answerable. On your hardware.
Drop in PDFs, code, spreadsheets, or URLs โ ask anything, get cited answers from a local LLM.
Nothing leaves your machine.
๐ค Why Axon?
Most RAG tools make you choose between cloud power and data privacy. Axon runs entirely on your hardware โ full capability, zero egress.
- ๐ Private by default โ all inference runs locally via Ollama or vLLM. No API key, no upload, no telemetry.
- ๐ Ingest anything โ 54 file formats (PDF, DOCX, Jupyter, code, images, URLs) in one command. SHA-256 dedup skips unchanged files.
- ๐ค Works in your tools โ
@axonin Copilot Chat, MCP for Claude Code / Codex / Gemini CLI / Cursor, Graph panel in VS Code or your browser. - ๐ค Built for teams โ share your knowledge base with signed, revocable read-only keys. Per-user permissions, full audit trail, no extra infrastructure.
- ๐ธ๏ธ See your knowledge as a graph โ interactive 3D entity-relationship graph. Embedded webview in VS Code; opens in your browser everywhere else. Click any node to jump to the exact source line.
- ๐ฌ Production-grade retrieval โ hybrid search, reranking, HyDE, multi-query expansion, and automatic web fallback. Zero manual tuning.
โจ Capabilities
๐ Retrieval
|
๐ง Graph Intelligence
|
๐ฅ Ingest Everything
|
๐ง LLMs & Embeddings
|
๐๏ธ Projects & Privacy
|
๐ก๏ธ Governance & Agents
|
โก Quick Start
pip install -e . # requires Python 3.10+ and Ollama
axon # launches the interactive REPL
โ Full installation guide with VS Code, MCP, and cloud provider setup
๐ Entry Points
| Command | Starts | Default Port | Best For |
|---|---|---|---|
axon |
Interactive REPL | โ | Day-to-day exploration, power users |
axon-api |
FastAPI REST server | 8000 |
Agents, scripts, CI pipelines |
axon-mcp |
MCP stdio server | โ | Any MCP-compatible agent (Claude Code, Codex, Gemini CLI, Cursor, Copilotโฆ) |
axon-ui |
Streamlit UI | 8501 |
Browser-based exploration |
๐ VS Code + GitHub Copilot
Install the bundled VSIX to unlock the @axon chat participant, Knowledge Graph panel, Code Graph panel, and Governance dashboard โ directly inside VS Code alongside Copilot.
Extensions panel โ "..." โ Install from VSIX...
โ run `axon-ext` (or install from VSIX manually)
Or connect via MCP for Copilot agent mode โ point .vscode/mcp.json at axon-mcp and all 30 tools appear in the agent hammer menu automatically.
๐ Documentation
Getting started
| Guide | What it covers | |
|---|---|---|
| ๐ | Getting Started | First-time walkthrough โ ingest, query, settings |
| โ๏ธ | Setup Guide | Install, models, VS Code extension, MCP connection |
| ๐ง | Troubleshooting | Common errors and platform-specific fixes |
Reference
| Guide | What it covers | |
|---|---|---|
| ๐ | Admin Reference | Every endpoint, REPL command, CLI flag, and config option |
| โก | Quick Reference | Commands and flags at a glance |
| ๐ก | API Reference | Full REST endpoint reference with request/response schemas |
| ๐ | MCP Tools | All 30 MCP tool signatures with parameter defaults |
Deep dives
| Guide | What it covers | |
|---|---|---|
| ๐ค | Model Guide | Choosing LLM and embeddings; per-provider config examples |
| ๐ฌ | Advanced RAG | HyDE, RAPTOR, GraphRAG, CRAG-Lite โ how each technique works |
| ๐ | Web Search | Brave Search integration, CRAG-Lite fallback setup |
| ๐๏ธ | Offline / Air-gap Guide | Full air-gap setup, model pre-download, local-assets-only mode |
| ๐ป | Code RAG Guide | Code graph retrieval and structural search |
| ๐ค | AxonStore | Multi-user sharing, revocation, and the lease lifecycle |
| ๐ | Governance Console | Audit trail, maintenance runbook, session management |
| ๐ | Evaluation Guide | RAGAS metrics, running evals, building testsets |
| ๐ ๏ธ | Development Guide | Tests, contributing, pre-commit hooks |
๐ Security
Ingestion is sandboxed to a configurable base directory (RAG_INGEST_BASE). Requests outside it are rejected with 403. See SECURITY.md.
๐ License
MIT โ see LICENSE.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file axon_rag-0.1.0.tar.gz.
File metadata
- Download URL: axon_rag-0.1.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b4b95751bd2946462630b7fc30c28195b154ad030c3682cf2eab472eb7372a8
|
|
| MD5 |
12fa67937daa7190b109c71cf6731298
|
|
| BLAKE2b-256 |
3d2434877add5b313df2957e0418d2d5a72accc731b94358f26eb6ac062afc8a
|
File details
Details for the file axon_rag-0.1.0-py3-none-any.whl.
File metadata
- Download URL: axon_rag-0.1.0-py3-none-any.whl
- Upload date:
- Size: 784.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9409946eb82a101576e545d64dfef0dda9d7ee19688222b221b564ba50dbd7d
|
|
| MD5 |
97eecf64fa01be71c805f891ae925e8d
|
|
| BLAKE2b-256 |
eebeae86de2353511519ffed55c33c546611020ca13ba83b4d4ee5fe16dc950f
|