Files
zeekay 4ebf26df3e feat(mcp): unify tool surfaces, rename iching→zen, fix test infrastructure
- 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
2026-03-06 03:13:54 -08:00

1.4 KiB

hanzo-tools-agent

Agent orchestration tools for Hanzo MCP.

Installation

pip install hanzo-tools-agent

# Optional: API mode
pip install hanzo-tools-agent[api]

# Optional: High-performance
pip install hanzo-tools-agent[perf]

Tools

agent - Unified Agent Runner

Run various AI CLI agents with auto-backgrounding.

# Run with default agent
agent(action="run", prompt="Explain this code")

# Run specific agent
agent(action="run", name="gemini", prompt="Review this PR")

# List available agents
agent(action="list")

# Check agent status
agent(action="status", name="claude")

Available Agents:

  • claude - Anthropic Claude Code CLI
  • codex - OpenAI Codex CLI
  • gemini - Google Gemini CLI
  • grok - xAI Grok CLI
  • qwen - Alibaba Qwen CLI
  • vibe - Vibe coding agent
  • code - Hanzo Code agent
  • dev - Hanzo Dev agent

Direct API Mode

Configure agents for direct API calls without CLI:

// ~/.hanzo/agents/custom.json
{
    "endpoint": "https://api.openai.com/v1/chat/completions",
    "api_type": "openai",
    "model": "gpt-4",
    "env_key": "OPENAI_API_KEY"
}

zen - Hanzo Zen Guidance

zen(challenge="How should I approach this refactoring?")

review - Code Review

review(
    focus="FUNCTIONALITY",
    work_description="Implemented auto-import feature",
    file_paths=["/path/to/file.py"]
)

License

MIT