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

A new way for AI to search for data
View on GitHub
39GitHub stars
77commits on main
14forks
v0.5.1latest release, 2026-10-28

Rust 80.8%, TypeScript 16.2%, Shell 2.3%, Python 0.3% · created 2026-10-18 · last push 2026-10-31

What XERJ indexed

Snapshot

261 files · 1.9 MB

The whole repository at commit ef0cf52e2c. main is 67 commits ahead.

Selected work

William Chang
@hsuanshao

“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

Apache-2.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Apache-2.0, with credit

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

Inside the indexed corpus

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

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

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.