mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
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.
hanzo-tools-llm
LLM interaction tools for Hanzo AI MCP.
Tools
llm- Core LLM interaction with multiple providersunified_llm- Unified LLM interfaceconsensus- Multi-model consensus for higher accuracyllm_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.