swift-claw

Your AI. Your machine. Always on. A personal assistant in one pure-Swift binary

A new way for AI to search for data
View on GitHub
15GitHub stars
1,282commits on main
1forks
v0.16.2latest release, 2026-10-27

Swift 98.5%, Python 0.7%, Shell 0.7% · created 2026-06-17 · last push 2026-10-30

What XERJ indexed

Snapshot

1,171 files · 14.4 MB

The whole repository at commit d77b26fbdd (2026-10-03). main is 36 commits ahead.

Selected work

Ivan Magda
@ivan-magda

“improve readability across Sources”. 257 files, 5,449 lines in Sources.

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-07. 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-agentai-assistantllmlocal-aiopenaipersonal-assistantself-hostedself-hosted-ai

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for ivan-magda/swift-claw on 2026-10-31, and the LICENSE file at commit d77b26fbdd was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Ivan Magda (@ivan-magda) has 1 selected repository on the hub.

Using XERJ with swift-claw

The prompt

Paste it into your AI agent. It clones ivan-magda/swift-claw at the pinned commit and indexes it on your machine.

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