Hetu
本地优先的 AI 知识与 Agent 工作台:Markdown 笔记 + 对话/编码会话,配向量检索、知识图谱、Wiki、记忆、看板与工作流,支持 MCP / 技能 / 多模型 · Local-first AI knowledge & agent workspace with semantic search, knowledge graph, memories, kanban, workflows & MCP
What XERJ indexed
Snapshot
The whole repository at commit ff847b5866 (2026-10-21). main is 127 commits ahead.
Selected work

“代理转发补全输出/缓存 token 用量统计并记录上游错误”. 4 files, 258 lines in src/Hetu.Api, src/Hetu.Core.
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-22. 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
aiai-agentaspnet-corecoding-agentdotnetknowledge-graphknowledge-managementllm
Example questions
- How does Hetu implement ai?
- Where does Hetu handle “代理转发补全输出/缓存 token 用量统计并记录上游错误”?
- What does src/Hetu.Api do in Hetu?
Inside the indexed corpus
- Languages by size: C# 51.2%, TypeScript 43.5%, HTML 3.4%, CSS 0.9%, Rust 0.5%.
- On GitHub since 2026-06-19, last push 2026-10-31, 912 commits on main.
- The pin is 127 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for wosledon/Hetu on 2026-10-31, and the LICENSE file at commit ff847b5866 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
ledon (@wosledon) has 1 selected repository on the hub.
Using XERJ with Hetu
- Code search MCP for Claude Code: cite file:line, not grep Hetu is tagged mcp on GitHub.
- What is an MCP memory server?
- A local search tool for Codex and Cursor Hetu is tagged coding-agent on GitHub.
- Local code search MCP that uses fewer tokens than grep
The prompt
Paste it into your AI agent. It clones wosledon/Hetu at the pinned commit and indexes it on your machine.
Search the GitHub repository wosledon/Hetu with XERJ (https://hub.xerj.org/corpus/wosledon--hetu). 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/wosledon/Hetu Hetu && git -C Hetu checkout ff847b5866e325e54a437bd9f0bebd6c8a6a5e43 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./Hetu --url http://127.0.0.1:9200 --prefix hetu --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: Apache-2.0. Keep the copyright notice and credit the authors.
Related
ledonAI, prompts and agents corporadunorth595--ai-agent-memoryavroxobotyi--cc-foundry-the-workflow-claude-mdYusenZhang0601/context-canopyiAlirezaaa/second-brainRobinson-AI-Lab/FridayOS1.0
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.