hanzo


Namehanzo JSON
Version 0.2.3 PyPI version JSON
download
home_pageNone
SummaryHanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime
upload_time2025-07-26 03:05:46
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords agents ai cli hanzo llm local-ai mcp private-ai
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Hanzo AI - Complete AI Infrastructure Platform

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

## Installation

```bash
# 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
```bash
# Main CLI
hanzo --help

# Start MCP server
hanzo-mcp

# Interactive AI chat
hanzo-ai
hanzo-chat

# REPL interface
hanzo-repl
```

### Python SDK
```python
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

- [Hanzo AI Docs](https://docs.hanzo.ai)
- [Router Documentation](https://docs.hanzo.ai/router)
- [MCP Documentation](https://docs.hanzo.ai/mcp)
- [Agent Documentation](https://docs.hanzo.ai/agents)
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "hanzo",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "agents, ai, cli, hanzo, llm, local-ai, mcp, private-ai",
    "author": null,
    "author_email": "Hanzo AI <dev@hanzo.ai>",
    "download_url": "https://files.pythonhosted.org/packages/04/98/7e78b3219adc100e9bdc18dc2c3f5316673df4c04e0578dd5511c7eafd28/hanzo-0.2.3.tar.gz",
    "platform": null,
    "description": "# Hanzo AI - Complete AI Infrastructure Platform\n\nThe main SDK for the Hanzo AI ecosystem, providing unified access to all Hanzo tools and services.\n\n## Installation\n\n```bash\n# Install base package with CLI\npip install hanzo\n\n# Install with all components\npip install hanzo[all]\n\n# Install specific components\npip install hanzo[ai]      # AI SDK (same as standalone hanzoai package)\npip install hanzo[router]  # LLM gateway router (replaces litellm)\npip install hanzo[mcp]     # Model Context Protocol server\npip install hanzo[agents]  # Agent runtime and orchestration\npip install hanzo[repl]    # Interactive REPL with AI chat\n```\n\n## Features\n\n- **Unified LLM Gateway**: Use `hanzo.router` instead of litellm for 100+ LLM providers\n- **MCP Integration**: Full Model Context Protocol support for AI tools\n- **Agent Runtime**: Build and deploy AI agents with the agent framework\n- **Interactive REPL**: Chat with AI models directly from the command line\n- **Complete SDK**: Import all Hanzo components from a single package\n\n## Quick Start\n\n### Command Line\n```bash\n# Main CLI\nhanzo --help\n\n# Start MCP server\nhanzo-mcp\n\n# Interactive AI chat\nhanzo-ai\nhanzo-chat\n\n# REPL interface\nhanzo-repl\n```\n\n### Python SDK\n```python\nimport hanzo\n\n# Use router for LLM calls (replaces litellm)\nfrom hanzo import router\nresponse = router.completion(\n    model=\"gpt-4\",\n    messages=[{\"role\": \"user\", \"content\": \"Hello!\"}]\n)\n\n# Use agents\nfrom hanzo import Agent, Network\nagent = Agent(name=\"assistant\")\n\n# Use MCP tools\nfrom hanzo import Tool, MCPServer\n\n# Access AI SDK\nfrom hanzo import Client\nclient = Client(api_key=\"...\")\n```\n\n## Components\n\n- **hanzo.router**: Unified LLM gateway (replaces litellm)\n- **hanzo.mcp**: Model Context Protocol server and tools\n- **hanzo.agents**: Agent runtime and orchestration\n- **hanzo.memory**: Memory systems for agents\n- **hanzo.Client**: Main AI SDK client\n\n## Documentation\n\n- [Hanzo AI Docs](https://docs.hanzo.ai)\n- [Router Documentation](https://docs.hanzo.ai/router)\n- [MCP Documentation](https://docs.hanzo.ai/mcp)\n- [Agent Documentation](https://docs.hanzo.ai/agents)",
    "bugtrack_url": null,
    "license": null,
    "summary": "Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime",
    "version": "0.2.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/hanzoai/python-sdk/issues",
        "Documentation": "https://docs.hanzo.ai/cli",
        "Homepage": "https://hanzo.ai",
        "Repository": "https://github.com/hanzoai/python-sdk"
    },
    "split_keywords": [
        "agents",
        " ai",
        " cli",
        " hanzo",
        " llm",
        " local-ai",
        " mcp",
        " private-ai"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d03ea532441ebeba0f9974293c3c5385f65d2a640183185bb6afa5bd0800faf8",
                "md5": "f3a1f85df1d879a836f318bcc949dd97",
                "sha256": "d818346de9c373be45b5d3d7a3de5c27e21458aeddcd6407fb359a65b3aa814a"
            },
            "downloads": -1,
            "filename": "hanzo-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f3a1f85df1d879a836f318bcc949dd97",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5244,
            "upload_time": "2025-07-26T03:05:45",
            "upload_time_iso_8601": "2025-07-26T03:05:45.193447Z",
            "url": "https://files.pythonhosted.org/packages/d0/3e/a532441ebeba0f9974293c3c5385f65d2a640183185bb6afa5bd0800faf8/hanzo-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "04987e78b3219adc100e9bdc18dc2c3f5316673df4c04e0578dd5511c7eafd28",
                "md5": "c5a8a353bf3625d0e9c4dc950fa1b3e2",
                "sha256": "a615dda7f16b4c169cf99e1a5ddbdfd49dc464de2fcef0273152fd2a5d2a0862"
            },
            "downloads": -1,
            "filename": "hanzo-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c5a8a353bf3625d0e9c4dc950fa1b3e2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3778,
            "upload_time": "2025-07-26T03:05:46",
            "upload_time_iso_8601": "2025-07-26T03:05:46.504003Z",
            "url": "https://files.pythonhosted.org/packages/04/98/7e78b3219adc100e9bdc18dc2c3f5316673df4c04e0578dd5511c7eafd28/hanzo-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-26 03:05:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hanzoai",
    "github_project": "python-sdk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "hanzo"
}
        
Elapsed time: 0.82359s