Files
python-sdk/pkg/hanzo-tools-llm
zeekay 8c05bf99d6 fix(ci): pin black <26.1 to avoid internal error, lower requires-python to 3.12
Black 26.1.0 crashes on multiple exception types in parentheses.
The requires-python bump to 3.14 broke CI which runs Python 3.12.
2026-03-01 16:01:16 -08:00
..
2025-12-27 15:00:11 -08:00

hanzo-tools-llm

LLM interaction tools for Hanzo AI MCP.

Tools

  • llm - Core LLM interaction with multiple providers
  • unified_llm - Unified LLM interface
  • consensus - Multi-model consensus for higher accuracy
  • llm_manage - Model management and provider configuration

Installation

pip install hanzo-tools-llm

# With all LLM providers
pip install hanzo-tools-llm[full]

Supported Providers

  • OpenAI (GPT-4, GPT-4o, etc.)
  • Anthropic (Claude 4, Claude 3.5)
  • Together AI
  • Ollama (local models)

Usage

from hanzo_tools.llm import TOOLS, LLM_AVAILABLE, register_tools

if LLM_AVAILABLE:
    register_tools(mcp_server)

Part of hanzo-tools

This package is part of the modular hanzo-tools ecosystem.