a4agent
a4agent(0.4.0 起由 a4api 是「八端 AI 编程工具管理台 + 本地大模型推理控制台」:为 Claude Code、Codex、dsh(DeepSeek Harness)、ZCode、pi、Qoder、OpenCode 与 WorkBuddy 提供统一的技能管理与 MCP 管理,为 Claude Code 和 Codex 提供服务商一键切换,内置 llama.cpp 本地大模型推理服务,并把七端(除 WorkBuddy)的无头任务下发与手机 / 桌面通知提醒也做进了同一应用中。本文章为文档库入口,概述项目定位、功能全景、安装与快速开始,并给出全部功能文档的导航。
What XERJ indexed
Snapshot
The whole repository at commit af36d376b4 (2026-10-09). master is 59 commits ahead.
Selected work

“dsh 会话钩子接入与全站下拉 layui 渲染统一”. 15 files, 1,390 lines in backend, resources, tools.
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-10. 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-toolsclaude-codecodexdshzcodeqoder
Example questions
- How does a4agent implement ai-tools?
- Where does a4agent handle “dsh 会话钩子接入与全站下拉 layui 渲染统一”?
- What does backend do in a4agent?
Inside the indexed corpus
- 139 files, 4.5 MB in total, about 32.8 KB per file.
- The selected commit changed 15 of those files (10.8%).
- Languages by size: Python 73.5%, JavaScript 20.3%, CSS 3.9%, HTML 1.8%, Inno Setup 0.5%.
- On GitHub since 2026-08-08, last push 2026-10-30, 134 commits on master.
- The pin is 59 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for eogee/a4agent on 2026-10-31, and the LICENSE file at commit af36d376b4 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
eogee (@eogee) has 1 selected repository on the hub.
Using XERJ with a4agent
- A local search tool for Codex and Cursor a4agent is tagged claude-code 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 eogee/a4agent at the pinned commit and indexes it on your machine.
Search the GitHub repository eogee/a4agent with XERJ (https://hub.xerj.org/corpus/eogee--a4agent). 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/eogee/a4agent a4agent && git -C a4agent checkout af36d376b41e1e30961cebd1d0e1b3a40afed397 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./a4agent --url http://127.0.0.1:9200 --prefix a4agent --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
eogeeAI, prompts and agents corporaagent-managerjuanitourquiza/shipframeCruxExperts/LocalSetupAisland-SJL/dsh-usage
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.