Files
python-sdk/pkg/hanzo-tools-memory
zeekay 1725d71492 feat(tools): bidirectional HIP-0300 action sync across Python/TS/Rust
Sync all tool actions across all three language implementations:
- code: +8 actions (search_symbol, outline, metrics, exports, types, hierarchy, rename, grep_replace)
- fetch: +2 actions (request, open)
- think: restructured to 12 action-based handlers
- tasks: +12 actions (stats, search, batch, archive, move, prioritize, assign, subtasks, notes, export, import, delete)
- plan: +13 actions (create, show, list, next, archive, add_step, remove_step, estimate, visualize, clone, cancel, notes, progress)
- mode: +3 actions (switch alias, list_presets, select_preset)
- memory: +10 actions (search, stats, clear, export, import, merge, tag, untag, namespaces, history)
- fs: +1 action (mv)
- git: +21 actions (blame, show, stash, tag, remote, merge, rebase, cherry_pick, reset, clean, init, clone, fetch, pull, push, config, worktree, reflog, shortlog, rev_parse, describe, bisect)
2026-03-10 21:57:50 -07:00
..

hanzo-tools-memory

Memory and knowledge management tools for Hanzo MCP.

Installation

pip install hanzo-tools-memory

Tools

memory - Memory Management

Single tool surface with action-based operations.

Recall memories:

memory(action="recall", query="project architecture")
memory(action="recall", queries=["user preferences", "coding standards"])

Create memories:

memory(action="create", content="User prefers dark mode")

Update memories:

memory(action="update", id="mem_123", content="Updated fact")

Delete memories:

memory(action="delete", ids=["mem_123", "mem_456"])

Knowledge bases:

memory(action="facts", query="API endpoints", kb="api_docs")
memory(action="store", facts=["Rate limit: 100/hour"], kb="api_docs")
memory(action="kb", kb_action="list")  # List knowledge bases

Summarize:

memory(
    action="summarize",
    content="Long discussion about API design...",
    tags=["api", "design"]
)

Backend selection (optional):

memory(action="recall", query="project auth flow", backend="auto")   # local-first (default)
memory(action="recall", query="project auth flow", backend="local")  # markdown only
memory(action="recall", query="project auth flow", backend="cloud")  # cloud/vector only
memory(action="recall", query="project auth flow", backend="hybrid") # local + cloud

Scopes

  • session - Current session only
  • project - Project-specific (default)
  • global - Across all projects

License

MIT