ai-jail

Multi-OS sandbox to run AI agents with better constraints (it is not 100% secure, but enough)

A new way for AI to search for data
View on GitHub
1,529GitHub stars

Rust

What XERJ indexed

Snapshot

Whole repository

Only src at commit 97fe5cd917 (2026-10-13).

Selected work

André Ramos
@andrelramos

“allow Codex app server startup in Seatbelt”. 4 files, 367 lines in src/sandbox, 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-11-10. 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

Example questions

The prompt

Paste it into your AI agent. It clones akitaonrails/ai-jail at the pinned commit and indexes it on your machine.

Search the GitHub repository akitaonrails/ai-jail with XERJ (https://hub.xerj.org/corpus/akitaonrails--ai-jail).
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/akitaonrails/ai-jail ai-jail && git -C ai-jail checkout 97fe5cd9171f0495a8b2e3a963a39427391223bd
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./ai-jail --url http://127.0.0.1:9200 --prefix ai-jail --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

Selected work and consent: the XERJ registry.