base-agent
Base-Aug-Agent的重构版本,采用极简三态自动机驱动,历史交给sessions,能力交给code_run,经验交给memeory,内核只控制流本身,交互过程中进行五级信息压缩,把上下文控制在30k以内,具备RAG能力,可以从skill库学习和检索,并自动蒸馏使用过程中的经验形成新的skill,在使用中形成个性化的各项能力,具备成长性
What XERJ indexed
Snapshot
The whole repository at commit bfb04fe0c3 (2026-10-24). main is 40 commits ahead.
Selected work

“主/辅助/OCR 模型按类型显示第二路径(gguf→mmproj / onnx→tokenizer)”. 6 files, 239 lines in src/agent.
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-28. 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
- Where does base-agent handle “主/辅助/OCR 模型按类型显示第二路径(gguf→mmproj / onnx→tokenizer)”?
- What does src/agent do in base-agent?
Inside the indexed corpus
- 124 files, 9.1 MB in total, about 74.7 KB per file.
- The selected commit changed 6 of those files (4.8%).
- Languages by size: Python 99.9%, Shell 0.1%.
- On GitHub since 2026-10-17, last push 2026-10-31, 189 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 GPL-3.0 for arlenecc/base-agent on 2026-10-31, and the LICENSE file at commit bfb04fe0c3 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
arlenecc (@arlenecc) has 1 selected repository on the hub.
Using XERJ with base-agent
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones arlenecc/base-agent at the pinned commit and indexes it on your machine.
Search the GitHub repository arlenecc/base-agent with XERJ (https://hub.xerj.org/corpus/arlenecc--base-agent). 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/arlenecc/base-agent base-agent && git -C base-agent checkout bfb04fe0c302199f0bd3d01ec48402ea39b8c42f 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./base-agent --url http://127.0.0.1:9200 --prefix base-agent --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
arleneccAI, prompts and agents corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.