Skip to main content

Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime

Project description

Hanzo AI - Complete AI Infrastructure Platform

The main SDK for the Hanzo AI ecosystem, providing unified access to all Hanzo tools and services.

Installation

# Install base package with CLI
pip install hanzo

# Install with all components
pip install hanzo[all]

# Install specific components
pip install hanzo[ai]      # AI SDK (same as standalone hanzoai package)
pip install hanzo[router]  # LLM gateway router (replaces litellm)
pip install hanzo[mcp]     # Model Context Protocol server
pip install hanzo[agents]  # Agent runtime and orchestration
pip install hanzo[repl]    # Interactive REPL with AI chat

Features

  • Unified LLM Gateway: Use hanzo.router instead of litellm for 100+ LLM providers
  • MCP Integration: Full Model Context Protocol support for AI tools
  • Agent Runtime: Build and deploy AI agents with the agent framework
  • Interactive REPL: Chat with AI models directly from the command line
  • Complete SDK: Import all Hanzo components from a single package

Quick Start

Command Line

# Main CLI
hanzo --help

# Start MCP server
hanzo-mcp

# Interactive AI chat
hanzo-ai
hanzo-chat

# REPL interface
hanzo-repl

Python SDK

import hanzo

# Use router for LLM calls (replaces litellm)
from hanzo import router
response = router.completion(
    model="gpt-4",
    messages=[{"role": "user", "content": "Hello!"}]
)

# Use agents
from hanzo import Agent, Network
agent = Agent(name="assistant")

# Use MCP tools
from hanzo import Tool, MCPServer

# Access AI SDK
from hanzo import Client
client = Client(api_key="...")

Components

  • hanzo.router: Unified LLM gateway (replaces litellm)
  • hanzo.mcp: Model Context Protocol server and tools
  • hanzo.agents: Agent runtime and orchestration
  • hanzo.memory: Memory systems for agents
  • hanzo.Client: Main AI SDK client

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hanzo-0.3.9.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hanzo-0.3.9-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file hanzo-0.3.9.tar.gz.

File metadata

  • Download URL: hanzo-0.3.9.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for hanzo-0.3.9.tar.gz
Algorithm Hash digest
SHA256 bab7856d601e2e7e9361cc128ef4beed18e28b96bbc2dbf8d8dd8c3b2d73a843
MD5 ad71d1a4968cee57b10116f0e73685b5
BLAKE2b-256 faab1f98c6531df7aae7a13b6dca7d8e103db0678b5ab2a96798e309eb0b74fc

See more details on using hashes here.

File details

Details for the file hanzo-0.3.9-py3-none-any.whl.

File metadata

  • Download URL: hanzo-0.3.9-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for hanzo-0.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 92102ef2f2eb6283d3b2a79497e73dbe7b5d9112b878f79ea720974814b24ffe
MD5 aa601dd7e6969476ffbeb3efe680b922
BLAKE2b-256 0b81b0035a2e11d2f7001d4194a701083e01e1fb623b5e3c887d1d1031d6071d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page