🧠 NOVUS RAG
The context of your projects, available to your coding agent.
NOVUS RAG is an MCP server that analyses your repositories and gives Codex, Claude Code, Cursor and
other agents a structural map of the code: real dependencies, routes, tables, documented business
rules and the project's own conventions. Every fact comes with a verifiable path:line.
It is not a generic code search engine. When you change project or start a task, it tells the agent what to change and what can break; with the optional Engram memory it also recovers decisions and pending tasks from earlier sessions. Spanish README: README.es.md. Start with the Quickstart.
Illustrative example
Ask “add order cancellation”. NOVUS returns the methods involved, their callers and exposed routes, the tables the change reads and writes, the documented rules and the related tests (a file found is not a coverage claim) — before the agent edits a file. This is a condensed example, not a captured transcript.
TASK: add order cancellation
PROJECT: orders-api (main)
ROUTES: PATCH /orders/:id/cancel -> OrdersController.cancel [src/orders/orders.controller.ts:84]
CALLERS: OrdersService.cancel [src/orders/orders.service.ts:132], PaymentsClient.refund [...]
TABLES: orders (status, cancelled_at), order_lines (read), refunds (insert)
RULES: docs/ORDERS.md#cancellation (30-day window)
RELATED TESTS: src/orders/orders.service.spec.ts
The agent edits only the confirmed paths. After editing, review_change runs the project's compiler
or linter and checks the naming pattern, security and operations; it lists other callers and the
tests that were not touched.
Quickstart
PyPI, no clone:
uv tool install novus-rag
novus-rag init
novus-rag mcp-config claude
cd /path/to/your-project && novus-rag sync
From the repo (development):
git clone https://github.com/JSNavas/novus-rag.git
cd novus-rag && ./install.sh
cd /path/to/your-project && novus-rag sync
sync is progressive: the structural index (AST, schema, business rules) is queryable in about a
minute; summaries, graph and conventions continue in the background and an interrupted run resumes
where it stopped. novus-rag status shows the level per pillar and whether the background is still
running.
Working across projects
This is one of its clearest differentiators. The index follows a route from the frontend through the gateway to the service and down to the tables it writes, including the callers on the other side and the shared tables.
When two projects use the same table or call each other over HTTP, the answer says which project owns the operation and which side consumes it. The optional Engram memory adds the decisions behind that boundary: which project is the front of which back and why the split exists.
What comes from where
| Source | What it provides | Needs an LLM? |
|---|---|---|
| Structural index (AST + graph) | dependencies, routes, tables, callers, literal bodies, naming patterns | No |
| LLM pass | file summaries, conventions, business-rule sections | Yes |
| Engram (optional) | tasks and their state, decisions, user conventions, project relations | No |
Literal facts always carry a path:line. Anything a model wrote is marked as such, and a user rule
stored in Engram wins over the pattern measured from the code. That separation is deliberate: you can
tell what was extracted, what was inferred and what you configured. Processing depends on the LLM
and embeddings providers you choose; both can be local when the provider supports it. Only what
those endpoints receive leaves the machine. See SECURITY.md.
Freshness and trust
The index describes one committed branch, not your working tree. The answer header says which branch and commit it used, and when it no longer matches reality.
| Situation | What the answer says | What to do |
|---|---|---|
| Index at the branch tip | fresh RAG | trust it |
| Uncommitted files on the indexed branch | fresh RAG + file list | re-read only those files before editing |
| Different branch | other branch, verified against the index | use it as reference |
| Branch tip moved without re-indexing | no answer, with both commits | novus-rag update or sync |
When to use it
Use it when the project has real dependencies between modules or services, documented rules, or conventions an agent keeps breaking. Repeated tasks in the same codebase benefit the most, because the index and the memory are already prepared.
It may not pay off for a small, uniform repository, a one-off edit, or a codebase with no documentation or conventions to protect. Size alone does not decide it: repeated use, complex rules and the cost of an agent breaking conventions matter more than the file count.
Stacks and limits
Validated with real tasks: NestJS, Symfony, Laravel (+ DDD), Remix, Vue and KrakenD. Also indexed, but not yet validated with the same battery: Next.js, React Router 7, React, Angular, Nuxt, Svelte, Express, Python and Rust.
The full matrix and what each level means is in docs/STACKS.md. The index is not a compiler and not a runtime tracer: it reads the repository, its AST, its graph and its documented rules; it does not execute the application.
Benchmark
These are measurements on the repository's own demo tasks, not a universal claim:
| What the run measured | Result |
|---|---|
| Models that stopped a task the memory had postponed (7 of 7) | 7 / 7 |
| Activity-log feature: 11 files, compiled, reviewed, merged, by a small model | $0 in that run |
| Small models reaching big-model quality on the same tasks | all 7 |
The free models used in those runs (beam-free, hy4-flash-free) are no longer served by OpenCode
Go. The current default, hy4-flash, is billed by token or plan quota; local embeddings remain free.
Method and conditions: docs/BENCHMARK.md.
Advanced
Planner and sub-agents
A planner can split a feature into subtasks, each with a cached guide, and hand them to sub-agents that run in their own threads and copies of the project. Roles, tickets, the cached guide and the commit style travel inside the brief. Sub-agents commit on their own branch and never merge into the main branch.
Memory details (Engram)
Engram stores tasks and their state, postponements, decisions, your conventions and relations
between projects. NOVUS RAG reads and writes it through remember, forget and project_memory;
Engram's own MCP is optional for direct inspection.
See docs/ENGRAM.md.
Documentation
| Doc | What you will find |
|---|---|
| docs/INSTALL.md | Requirements, providers, MCP registration, verification, troubleshooting |
| docs/OPERATIONS.md | Daily flow, freshness and git hooks, layered configuration, exclusions |
| docs/STACKS.md | Supported stacks and languages |
| docs/COMMANDS.md | Command reference |
| docs/ARCHITECTURE.md | Components, chunk types, the six pillars, pipeline, stack detection |
| docs/MCP-TOOLS.md | The twelve tools, modes and intent catalog |
| docs/ORCHESTRATION.md | A planner and its sub-agents: roles, tickets, the cached guide |
| docs/BENCHMARK.md | Small models as executors, with and without the RAG |
| docs/AGENT-CONTRACT.md | The contract every agent follows, guarantee markers |
| docs/INTERNALS.md | Hang protection, versioned caches |
| docs/ENGRAM.md | Optional memory across sessions |
| docs/DECISIONS.md | The non-obvious whys, with measurements |
Compatibility
- Python 3.13-3.14 · macOS and Linux
- MCP clients: Claude Code · Codex · OpenCode · Cursor · Cline · Antigravity
Contributing
Bug reports with a reproducible task are the most valuable contribution. See CONTRIBUTING.md and, for security issues, SECURITY.md.
License
Metadata
Release files for novus-rag 11.9.188
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| novus_rag-11.9.188.tar.gz | 637.8 kB | With provenance | Details for novus_rag-11.9.188.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| novus_rag-11.9.188-py3-none-any.whl | Python 3 | none | any | Details for novus_rag-11.9.188-py3-none-any.whl |
Total release size: 1.2 MB
Release files / novus_rag-11.9.188.tar.gz
| Download URL | novus_rag-11.9.188.tar.gz |
|---|---|
| Size | 637.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3a31e9d33c4f1ab7d22386446d0a6573322bbca448372edd6337328e36352d1
|
|
BLAKE2b-256 checksum How to use checksums |
b0726efee7bacbad65a282bff01f84df96f4da3477be19c6ffe7b39e5c634f10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logRelease files / novus_rag-11.9.188-py3-none-any.whl
| Download URL | novus_rag-11.9.188-py3-none-any.whl |
|---|---|
| Size | 543.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bcb9c5ab2cc0a45182849822c4d8c241b491b9e077197def951fbdc5323aa605
|
|
BLAKE2b-256 checksum How to use checksums |
522da0b0e727e6206d3cca077422a6021b8d83a7beff293994efb5918eb5ec5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logSecurity for novus-rag 11.9.188
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for novus_rag-11.9.188.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.