tabelhamem keeps one shared memory store for your coding agents:
~/agent-memory/<project>/, plain markdown with YAML frontmatter. Claude Code
reaches it through a symlink (transparent file I/O); OpenCode reaches it
through a .tabelhamem.md pointer file plus a native plugin that injects
memory into the system prompt, captures tool activity, and writes structured
session digests with token/cost usage — no LLM call, zero extra cost. A
terminal UI (OpenTUI + Solid) browses, searches, and links projects, and a
scriptable tamem ipc ... --json CLI covers automation.
tamem ipc link project=<slug> repo=<path>migrates existing Claude Code memory into the shared store, symlinks Claude's memory dir to it, writes the.tabelhamem.mdpointer (never touchesAGENTS.md), and gitignores the pointer. Works across every git worktree of the repo.tamem ipc migrate project=<slug> path=<dir> [--dry-run]adopts the real Claude memory dirs of any path (repo or not, every config dir) into the shared store without overwriting anything, backs them up, and symlinks them; runlinkafterwards for repos to get the pointer.- The OpenCode plugin (
packages/plugin/src/opencode.js, installed to~/.config/opencode/plugins/) injects the shared memory into each model call, exposesmemory_search/memory_writetools, and records a session digest onsession.idle/session.compacted/session.deleted. - The TUI (
tamem, no args) lists auto-discovered projects grouped by directory, shows bridge health, searches memory, and toggles bridges withe.
Stack: TypeScript monorepo (turborepo), Bun as runtime and package manager.
bun install
bun run build
bun run testThe tamem command is a wrapper around packages/ipc/src/cli.ts
(see ~/.local/bin/tamem). The OpenCode plugin installs with
packages/plugin/install.sh.
Other useful commands:
tamem ipc list --json # discovered projects
tamem ipc search query=x # full-text search across memory
tamem ipc health # bridge health for every projectStack and commands: see Running locally above. Tests:
bun run test # unit + e2e (vitest) + tui smoke tests (bun test)See CHANGELOG.md for the version history.
-
Global: ko-fi.com/ianptkcs
-
Brazil (Pix): scan the QR below or copy the code
Pix code (copy)
00020126580014BR.GOV.BCB.PIX01365ad933b0-dcdc-4525-a736-0759902aeec65204000053039865802BR5925Ian Patrick da Costa Soar6009SAO PAULO62140510tQA85x6Dov63041FB6
AGPL-3.0 — strong copyleft: you may use, modify and even host tabelhamem commercially, but any modified version, including one running as a network service (SaaS), has to stay open source under the same license.