cognitive-fabric
Cognitive Fabric is a local, resource-bounded framework for coordinating language models, deterministic tools, and versioned skills. The runtime is written in Rust and uses Tokio, FlatBuffers, SQLite, and replaceable OpenAI-compatible inference backends
What XERJ indexed
Snapshot
The whole repository at commit 0d973ba42d (2026-10-23). develop/v1.0 is 197 commits ahead.
Selected work

“Bind prepared source provenance atomically to inactive RAG candidates”. 7 files, 681 lines in src/evolution, tests, src.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-24. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
interferencejev-alternativeopenaiopencode
Example questions
- How does cognitive-fabric implement interference?
- Where does cognitive-fabric handle “Bind prepared source provenance atomically to inactive RAG candidates”?
- What does src/evolution do in cognitive-fabric?
Inside the indexed corpus
- 397 files, 9.1 MB in total, about 23.6 KB per file.
- The selected commit changed 7 of those files (1.8%).
- Languages by size: Rust 98.4%, Shell 1.2%, Python 0.4%.
- On GitHub since 2026-10-11, last push 2026-10-31, 537 commits on develop/v1.0.
- The pin is 197 commits behind develop/v1.0; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-3.0 for DrapNard/cognitive-fabric on 2026-10-31, and the LICENSE file at commit 0d973ba42d was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
DrapNard (@DrapNard) has 1 selected repository on the hub.
Using XERJ with cognitive-fabric
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones DrapNard/cognitive-fabric at the pinned commit and indexes it on your machine.
Search the GitHub repository DrapNard/cognitive-fabric with XERJ (https://hub.xerj.org/corpus/drapnard--cognitive-fabric). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/DrapNard/cognitive-fabric cognitive-fabric && git -C cognitive-fabric checkout 0d973ba42d0ff644edaadd36cfe4e7373c25a802 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./cognitive-fabric --url http://127.0.0.1:9200 --prefix cognitive-fabric --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: GPL-3.0. Read it for the approach only, do not copy code.
Related
DrapNardAI, prompts and agents corporaaiderdistilabelpromptifyfelipesotero/opencode-hard-limitbujosa/usofarion1231/cc-switch
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.