pyrite

A second brain for you, your agents, and your teams. Knowledge-as-Code: markdown + YAML in git, schema-validated, with semantic search and a three-tier MCP server. CLI, REST API, web UI, and plugin system. Zero running cost locally

A new way for AI to search for data
View on GitHub
14GitHub stars
1,753commits on dev
60forks
v0.26.0latest release, 2026-10-23

Python 91.9%, TypeScript 4.5%, Svelte 3.2%, Shell 0.3% · created 2026-02-23 · last push 2026-10-28

What XERJ indexed

Snapshot

1,707 files · 9.8 MB

Only changelog.d, extensions/cascade/src/pyrite_cascade, extensions/cascade/tests, extensions/journalism-investigation/src/pyrite_journalism_investigation, extensions/journalism-investigation/tests at commit 2817f28953 (2026-09-21). dev is 640 commits ahead.

Selected work

Gbemi Akadiri
@makiaveli1

“page cascade_network and investigation_network in both dir…”. 6 files, 275 lines in extensions.

Licence

The repository

MIT

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

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-11. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

ai-agentscligitknowledge-as-codeknowledge-baseknowledge-managementmarkdownmcp

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for pyrite-wiki/pyrite on 2026-10-31, and the LICENSE file at commit 2817f28953 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Gbemi Akadiri (@makiaveli1) has 1 selected repository on the hub.

Using XERJ with pyrite

The prompt

Paste it into your AI agent. It clones pyrite-wiki/pyrite at the pinned commit and indexes it on your machine.

Search the GitHub repository pyrite-wiki/pyrite with XERJ (https://hub.xerj.org/corpus/pyrite-wiki--pyrite).
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/pyrite-wiki/pyrite pyrite && git -C pyrite checkout 2817f28953334b434e4bb2d6e49438157f3521c2
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./pyrite --url http://127.0.0.1:9200 --prefix pyrite --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: MIT. Keep the copyright notice and credit the authors.

Related

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