Files
python-sdk/pkg/hanzo-tools-memory
zooqueenandHanzo Dev 3e974c1135 fix(lint): resolve all ruff + black errors across all packages
Fix 35 ruff errors (E722, F841, B904, B905, B007, E741, S202, S310,
S306, S110, TID251, UP042, F401) and run black on 526 files.

Co-authored-by: Hanzo Dev <[email protected]>
2026-02-21 23:32:32 -08:00
..
2025-12-27 15:00:11 -08:00

hanzo-tools-memory

Memory and knowledge management tools for Hanzo MCP.

Installation

pip install hanzo-tools-memory

Tools

memory - Unified Memory Management

Single tool with multiple actions for memory operations.

Recall memories:

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

Create memories:

memory(action="create", data={"content": "User prefers dark mode"})
memory(action="create", statements=["Fact 1", "Fact 2"])

Update memories:

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

Delete memories:

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

Knowledge bases:

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

Summarize:

memory(
    action="summarize",
    content="Long discussion about API design...",
    topic="API Design Decisions"
)

Scopes

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

License

MIT