python-agent-harness
A lightweight, hackable mini-OpenCode written in Python
What XERJ indexed
Snapshot
The whole repository at commit df727f4e3e (2026-10-15). main is 40 commits ahead.
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-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
- How does python-agent-harness implement coding-agent?
- Where does python-agent-harness handle “Fix potential bug.”?
- What does python_agent_harness do in python-agent-harness?
Inside the indexed corpus
- 150 files, 2.1 MB in total, about 14.2 KB per file.
- The selected commit changed 14 of those files (9.3%).
- Languages by size: Python 99.3%, Shell 0.7%, Makefile 0.1%.
- On GitHub since 2026-08-05, last push 2026-10-30, 866 commits on main.
- The pin is 40 commits behind main; the corpus answers from the pinned code, not the newest.
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
- A local search tool for Codex and Cursor python-agent-harness is tagged coding-agent on GitHub.
- Local code search MCP that uses fewer tokens than grep
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Best MCP servers for local code search in 2026, compared
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
陈虎明AI, prompts and agents corporagpt-engineeraiderxobotyi--cc-foundry-the-codernurmdrafi/pi-nativesutradharhq/sutradharAntarsoft/morphness
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.
