Files
hanzo-dev a7c7be41a1 fix: restore 'version = ' prefix in 7 axis pyproject.toml files
The earlier patch-bump regex passed through a shell+python double-escape
that dropped the leading 'version = ' on each match and inserted a stray
\x01 byte, leaving '\x01"0.3.3"' instead of 'version = "0.3.3"'.
TOML parse fails (line 7 invalid statement) → CI publish-pypi 1/1 jobs
exit 1 → none of the 7 axis pkgs published.

Each TOML now parses with tomllib; ready for fresh tags.
2026-05-13 14:23:35 -07:00
..
2025-12-27 15:00:11 -08:00

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