Skip to main content

🧠 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.

A real task

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 tests that cover them — before the agent edits a file.

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

From the repo (development):

git clone https://github.com/JSNavas/novus-rag.git
cd novus-rag && ./install.sh

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 the part that is hard to replace with a generic code search. 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.

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.

Do not use it for a small, uniform repository, a one-off edit, or a codebase with no documentation and no conventions to protect. The index has a cost to build and keep fresh; if the context is small enough for the agent to read directly, the RAG adds little.

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.

See docs/ORCHESTRATION.md.

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

MIT

Metadata

Release files for novus-rag 11.9.186

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for novus-rag 11.9.186
File Size Uploaded Provenance Actions
novus_rag-11.9.186.tar.gz 637.4 kB With provenance Details for novus_rag-11.9.186.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for novus-rag 11.9.186
File Interpreter ABI Platform Actions
novus_rag-11.9.186-py3-none-any.whl Python 3 none any Details for novus_rag-11.9.186-py3-none-any.whl

Total release size: 1.2 MB

Release files / novus_rag-11.9.186.tar.gz

Download URL novus_rag-11.9.186.tar.gz
Size 637.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1f94ed7f7fc51b0037b37e94340c393faad79f1ad823d0c528344560145558fd
BLAKE2b-256 checksum
How to use checksums
6f50b04ba7d272187ce71ab8babc05aa5a3e6360cfb7bed3cc7191c4b400281b
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 1, 2026.

Transparency log

Release files / novus_rag-11.9.186-py3-none-any.whl

Download URL novus_rag-11.9.186-py3-none-any.whl
Size 543.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
441baba2467d8500c8bc81cf2db235edecaa91fdf9f050000c738cf77f574472
BLAKE2b-256 checksum
How to use checksums
2c82aece2fb4081ef2451cf05c52e11c9e8dd16321a9769cf07a712970f5b190
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 1, 2026.

Transparency log

Security for novus-rag 11.9.186

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.

Select from 2 files

Attestation for novus_rag-11.9.186.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 1, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

11.9.186 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page