TeamAgentMemory
Self-hosted memory service for AI agents that work in teams, written in Rust: layered L0→L3 memory, async LLM distillation, hybrid BM25 + vector recall, and department/team/member isolation. SQLite or Postgres, any OpenAI-compatible LLM
What XERJ indexed
Selected work

“migrate an install from SQLite to PostgreSQL”. 9 files, 1,482 lines in crates/memory-infrastructure, the project root, crates/memory-server.
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-21. 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-agent-memorydockerpostgresqlrustsqliteclaude-codeclaude-code-plugin
Example questions
- How does TeamAgentMemory implement ai?
- Where does TeamAgentMemory handle “migrate an install from SQLite to PostgreSQL”?
- What does crates/memory-infrastructure do in TeamAgentMemory?
Inside the indexed corpus
- 261 files, 1.9 MB in total, about 7.4 KB per file.
- The selected commit changed 9 of those files (3.4%).
- Languages by size: Rust 80.8%, TypeScript 16.2%, Shell 2.3%, Python 0.3%, Dockerfile 0.3%.
- On GitHub since 2026-10-18, last push 2026-10-31, 77 commits on main.
- The pin is 67 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub did not match the LICENSE file of hsuanshao/TeamAgentMemory to a standard licence on 2026-10-31 (NOASSERTION). At commit ef0cf52e2c it was reviewed as Apache-2.0, and that is the licence the corpus uses.
Contributors
William Chang (@hsuanshao) has 4 selected repositories on the hub.
Their other repository pages: hsuanshao/protoc-gen-gofilter, hsuanshao/golibs, hsuanshao/ctx.
Using XERJ with TeamAgentMemory
- A local search tool for Codex and Cursor TeamAgentMemory is tagged claude-code on GitHub.
- Local code search MCP that uses fewer tokens than grep
- What is agentic memory? A plain answer TeamAgentMemory is tagged agent-memory on GitHub.
- XERJ vs Mem0, Zep, Letta and Cognee for agent memory
The prompt
Paste it into your AI agent. It clones hsuanshao/TeamAgentMemory at the pinned commit and indexes it on your machine.
Search the GitHub repository hsuanshao/TeamAgentMemory with XERJ (https://hub.xerj.org/corpus/hsuanshao--teamagentmemory). 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/hsuanshao/AgentMemory AgentMemory && git -C AgentMemory checkout ef0cf52e2c39367f2ebbe1f7efc08115b2d6ff20 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./AgentMemory --url http://127.0.0.1:9200 --prefix agentmemory --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
William ChangAI, prompts and agents corporaxobotyi--cc-foundry-infrastructurexerj-blogpostsxobotyi--cc-foundry-the-workflow-debriefdevYRPauli/loomajeonjw85/kenfoldliliang-cn/cortexdb
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.