Files
python-sdk/pkg/hanzo-tools-llm
zooqueenandHanzo Dev 0834abe2aa style: auto-fix ruff lint and format for Python 3.12
Run ruff check --fix and ruff format across the repo to fix ~495
auto-fixable lint errors (mostly I001 import sorting) and reformat
225 files to match the py312 target.

Co-authored-by: Hanzo Dev <[email protected]>
2026-02-20 21:29:31 -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.