mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
- Consolidate memory tools into single unified surface - Rename IChingTool → ZenTool across agent tools - Rename tool files: proc_tool→exec_tool, net_tool→fetch_tool, vcs_tool→git_tool, todo_tool→tasks_tool - Add hanzo_tool.py for unified Hanzo API surface - Add workspace_tool.py for config management - Add hanzo-tools-ui package with GitHub API integration - Add unified.py core tool dispatcher - Update IAM client to RFC-compliant OAuth endpoints - Fix pytest-asyncio plugin conflict: pin <1.0.0, fix addopts double-registration, and align test APIs to current signatures - Fix integration tests: PermissionManager API, ReviewProtocol focus values, AgentTool parameter names, mock llm module for CI
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 onlyproject- Project-specific (default)global- Across all projects
License
MIT