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

A new way for AI to search for data
View on GitHub
1GitHub stars
537commits on develop/v1.0
0forks

Rust 98.4%, Shell 1.2%, Python 0.4% · created 2026-10-11 · last push 2026-10-31

What XERJ indexed

Snapshot

397 files · 9.1 MB

The whole repository at commit 0d973ba42d (2026-10-23). develop/v1.0 is 197 commits ahead.

Selected work

DrapNard
@DrapNard

“Bind prepared source provenance atomically to inactive RAG candidates”. 7 files, 681 lines in src/evolution, tests, src.

Licence

The repository

GPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

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

Inside the indexed corpus

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

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

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.