python-agent-harness

A lightweight, hackable mini-OpenCode written in Python

A new way for AI to search for data
View on GitHub
1GitHub stars
866commits on main
0forks
v1.5.6.6latest release, 2026-10-24

Python 99.3%, Shell 0.7%, Makefile 0.1% · created 2026-08-05 · last push 2026-10-30

What XERJ indexed

Snapshot

150 files · 2.1 MB

The whole repository at commit df727f4e3e (2026-10-15). main is 40 commits ahead.

Selected work

陈虎明
@beacoder

“Fix potential bug.”. 14 files, 865 lines in tests, python_agent_harness.

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-16. 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

coding-agentmini-opencodeagent-harnessagent-runtimeharness-engineeringai-agen

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for beacoder/python-agent-harness on 2026-10-31, and the LICENSE file at commit df727f4e3e was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

陈虎明 (@beacoder) has 1 selected repository on the hub.

Using XERJ with python-agent-harness

The prompt

Paste it into your AI agent. It clones beacoder/python-agent-harness at the pinned commit and indexes it on your machine.

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