kontext
Runtime security for AI agents: discover agents, map their permissions, and enforce what they can do
What XERJ indexed
Snapshot
Only internal/managedobserve at commit 73d071e874 (2026-10-26). main is 49 commits ahead.
Selected work

“isolate launchd heal and socket-owner check…”. 7 files, 374 lines in internal/managedobserve.
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-27. 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-agentsaudit-logginggolangsecuritysecurity-toolskontextaideveloper-tools
Example questions
- How does kontext implement ai-agents?
- What does internal/managedobserve do in kontext?
- Show the audit-logging code in kontext.
Inside the indexed corpus
- 679 files, 209.4 MB in total, about 315.9 KB per file.
- The selected commit changed 7 of those files (1.0%).
- Languages by size: Go 97.4%, Python 1.5%, Shell 1%, Assembly 0%, Makefile 0%.
- On GitHub since 2026-04-05, last push 2026-10-31, 452 commits on main.
- The pin is 49 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for kontext-security/kontext on 2026-10-31, and the LICENSE file at commit 73d071e874 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Tobias (@hashkode) has 1 selected repository on the hub.
Using XERJ with kontext
- Batch lookup CVE and GHSA IDs offline in one query kontext is tagged security on GitHub.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones kontext-security/kontext at the pinned commit and indexes it on your machine.
Search the GitHub repository kontext-security/kontext with XERJ (https://hub.xerj.org/corpus/kontext-security--kontext). 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/kontext-security/kontext kontext && git -C kontext checkout 73d071e874f994a269e605fb3660844ba0778f73 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./kontext --url http://127.0.0.1:9200 --prefix kontext --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
TobiasAI, prompts and agents corporagosec-ruleskicssmallstep-certificatesauthorizerdev/authorizerb070nd/cvewatchgorkemguler/Kanca
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.