mbachaud

Cymatix-Context: Deterministic RAG for Agents on SQLite

Cymatix Context is a local-first, deterministic retrieval system for AI agents, built on SQLite FTS5 BM25. It serves grounded context through a CLI, HTTP API, or MCP, without an LLM call on the retrieval path.

ActivePythonApache-2.0AI AgentsRAGMCP
Stars
7
Forks
1
Stars, last 30 days
+1
Last commit
12 days ago
Contributors
3

Our take

Activeregular commits and releases

Health score

58/100

How it is scored
Activity
81
Community
17
Issues
48
Pull requests
85

+1 stars in the last 30 days

  • Merges more pull requests than 98% of the projects we track
  • Releases more often than 78% of the projects we track
  • Fewer contributors than 81% of the projects we track

This is an actively maintained, specialized agent-retrieval project with a clearly stated deterministic design, but its evidence also shows uneven retrieval results and substantial dependence on one contributor.

Good fit if

  • Your agent needs local code or document retrieval and can use a CLI, HTTP API, or MCP integration.
  • You want retrieval to avoid LLM calls and need responses to distinguish a grounded result from a miss.
  • Your team can evaluate the retrieval quality on its own corpus and configure the synonym map when needed.

Look elsewhere if

  • Your workload depends on consistently strong retrieval across varied corpora. The project reports weak results on some benchmarks, including financial filings and library documentation.
  • You need a sharded setup for accuracy-sensitive search, since the README reports a substantial recall gap versus the unsharded engine.
  • You need a project whose development is distributed across a larger contributor base; measured activity is highly concentrated in one person.
All health signals
Last commit2026-10-27 (12 days ago)
Commits, last 90 days100+
Releases, last 12 months28 (latest v0.11.3, 2026-10-11)
Contributors3 (top contributor: 97% of commits)
Issues closed, last 90 days6+ (typically closed in 13 days)
Pull requests merged, last 90 days97 (typically merged in 0 days)
Project age7 months

Checked on 2026-11-09 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 17, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

8

Forks

1

Change since Dec 3, 2026: 0 stars·0 forks

Overview

Cymatix Context is a local-first retrieval-augmented generation (RAG) system for agents, built on SQLite FTS5 BM25. It indexes code and documents in one local knowledge store, then retrieves and assembles context without calling an LLM on the retrieval path. Its know / miss response contract helps agents distinguish grounded context from a retrieval miss.

It provides CLI, HTTP, and MCP interfaces over the same retrieval primitives. Dense recall using BGE-M3 is optional rather than part of the default pipeline; the project also uses spaCy for ingest tagging when that extra is installed.

Key Features

  • Ingest code and documents into a local SQLite knowledge store.
  • Search with FTS5 BM25, tags, synonym expansion, and ranking signals; optional BGE-M3 dense recall is available.
  • Return an explicit know or miss result so agents can respond or escalate instead of treating every retrieval as reliable.
  • Assemble and compress retrieved material into agent context, with configurable packet budgets.
  • Use the same retrieval system through a command-line interface, HTTP API, or Model Context Protocol (MCP) server.
  • Apply freshness checks that can downgrade stale, cold, or superseded results to a miss.

Use Cases

  • Give coding agents searchable context from a repository, using the CLI for scripts or MCP for supported agent clients.
  • Provide a local document or knowledge search service to an agent through the HTTP API, without adding a model call to retrieval.
  • Build agent workflows that need an explicit signal when the knowledge store did not return grounded context.
  • Keep retrieval data on a developer’s own machine when a local SQLite store and local-first setup suit the workflow.

What you need

Detected in the repository

  • Python >=3.11 (from pyproject.toml)
  • A test suite and automated checks on GitHub Actions

License in plain words

Apache-2.0permissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license, the NOTICE file and a note of your changes
  • Share your changes: no
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Python 3.11 or later is required. For a working CLI and MCP setup:

pip install "cymatix-context[cpu,mcp]"
python -m spacy download en_core_web_sm
cymatix ingest path/to/your/project/ --recursive
cymatix query "how does this project work?"

See the README and Getting Started guide for configuration and other installation options.

Alternatives

  • ragtime: Ragtime offers RAG through vector indexes and model providers, while Cymatix-Context uses deterministic SQLite FTS5 retrieval without an LLM call.
  • ReMe: ReMe captures and refines agent memories in Markdown, while Cymatix-Context focuses on deterministic retrieval from a local knowledge base.
  • cq: cq stores and validates reusable lessons for coding agents, while Cymatix-Context provides general-purpose retrieval over local knowledge.
  • Onyx: Onyx indexes connected apps with source permissions and adds web research and agents, while Cymatix-Context centers on local SQLite retrieval.
ProjectLanguageLicenseStarsStatus
Cymatix-ContextPythonApache-2.07Active
ragtimePythonMIT34Active
ReMePythonApache-2.03.7kActive
cqGoApache-2.01.3kActive
OnyxPython–32.7kActive

Considerations

  • The project is active, with regular commits and frequent releases, but measured contributor activity is concentrated in one of three contributors. This makes long-term maintenance more dependent on one person.
  • The default retrieval path is LLM-free, but optional dense recall pulls in PyTorch through the embeddings extra. The recommended CPU and MCP install does not include that extra.
  • The README cautions that the confidence value in the know / miss contract is still being recalibrated. Treat found and reason as the more dependable signals.
  • Retrieval quality varies by corpus. The README identifies weak benchmark results as open problems, and notes that the sharded path trails the unsharded engine.
  • The cymatics term-spectrum feature is described as experimental and not yet isolated against control methods. Do not treat it as a demonstrated retrieval advantage.

Found this useful?

Share it with someone who would like Cymatix-Context.

Comparisons