hanzo 0.3.2__py3-none-any.whl → 0.3.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of hanzo might be problematic. Click here for more details.
- hanzo-0.3.4.dist-info/METADATA +76 -0
- {hanzo-0.3.2.dist-info → hanzo-0.3.4.dist-info}/RECORD +5 -4
- {hanzo-0.3.2.dist-info → hanzo-0.3.4.dist-info}/WHEEL +2 -1
- hanzo-0.3.4.dist-info/entry_points.txt +2 -0
- hanzo-0.3.4.dist-info/top_level.txt +1 -0
- hanzo-0.3.2.dist-info/METADATA +0 -138
- hanzo-0.3.2.dist-info/entry_points.txt +0 -6
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hanzo
|
|
3
|
+
Version: 0.3.4
|
|
4
|
+
Summary: Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime
|
|
5
|
+
Home-page: https://hanzo.ai
|
|
6
|
+
Author: Hanzo AI
|
|
7
|
+
Author-email: dev@hanzo.ai
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Environment :: Console
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Requires-Python: >=3.8
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
Requires-Dist: click
|
|
22
|
+
Requires-Dist: hanzo-net>=0.1.17
|
|
23
|
+
Requires-Dist: httpx
|
|
24
|
+
Requires-Dist: prompt-toolkit
|
|
25
|
+
Requires-Dist: pydantic
|
|
26
|
+
Requires-Dist: pyyaml
|
|
27
|
+
Requires-Dist: rich
|
|
28
|
+
Requires-Dist: typer
|
|
29
|
+
Dynamic: author
|
|
30
|
+
Dynamic: author-email
|
|
31
|
+
Dynamic: classifier
|
|
32
|
+
Dynamic: description
|
|
33
|
+
Dynamic: description-content-type
|
|
34
|
+
Dynamic: home-page
|
|
35
|
+
Dynamic: requires-dist
|
|
36
|
+
Dynamic: requires-python
|
|
37
|
+
Dynamic: summary
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# Hanzo AI Platform
|
|
41
|
+
|
|
42
|
+
Complete AI infrastructure platform providing:
|
|
43
|
+
|
|
44
|
+
- **CLI**: Unified command-line interface for all Hanzo services
|
|
45
|
+
- **Router**: Intelligent LLM request routing and load balancing
|
|
46
|
+
- **MCP**: Model Context Protocol server integration
|
|
47
|
+
- **Agent Runtime**: Multi-agent orchestration and execution
|
|
48
|
+
- **Network**: Distributed AI compute with hanzo-net
|
|
49
|
+
|
|
50
|
+
## Installation
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
pip install hanzo
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Quick Start
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# Start Hanzo Network
|
|
60
|
+
hanzo net
|
|
61
|
+
|
|
62
|
+
# Access other Hanzo services
|
|
63
|
+
hanzo --help
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Features
|
|
67
|
+
|
|
68
|
+
- Unified CLI for all Hanzo AI services
|
|
69
|
+
- Seamless integration with hanzo-net for distributed compute
|
|
70
|
+
- Model Context Protocol (MCP) support
|
|
71
|
+
- Agent orchestration and management
|
|
72
|
+
- LLM routing and optimization
|
|
73
|
+
|
|
74
|
+
## Documentation
|
|
75
|
+
|
|
76
|
+
Visit [https://hanzo.ai](https://hanzo.ai) for full documentation.
|
|
@@ -22,7 +22,8 @@ hanzo/utils/__init__.py,sha256=zmCH4YxefrpWmR-netV99UeECqrXjkKbi3ZjbcD79dw,68
|
|
|
22
22
|
hanzo/utils/config.py,sha256=RU27eiSxGWAT9fI5-CjRdEJZEeT_xjMxjlMVeKC1gMg,4830
|
|
23
23
|
hanzo/utils/net_check.py,sha256=WDElDu19MYN3qs7y_DbIpcnVsxiMCgg2CTI-48A15vE,3066
|
|
24
24
|
hanzo/utils/output.py,sha256=lROF8RDOkck7ySt1kiTlVlHZqx1E0B-PqcJc78ZHYOs,2694
|
|
25
|
-
hanzo-0.3.
|
|
26
|
-
hanzo-0.3.
|
|
27
|
-
hanzo-0.3.
|
|
28
|
-
hanzo-0.3.
|
|
25
|
+
hanzo-0.3.4.dist-info/METADATA,sha256=2ICSUX_U16saRILY8IRD2V1mvzNMtqCMNbGeV2a-pcg,2035
|
|
26
|
+
hanzo-0.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
27
|
+
hanzo-0.3.4.dist-info/entry_points.txt,sha256=MkIfUVPd60IM8Se318MHpOLs4UN7LFVDKNzKuOsrvxM,41
|
|
28
|
+
hanzo-0.3.4.dist-info/top_level.txt,sha256=HZaVsynzw0H1KJfoZXqeQo7C4gmULwxI8o05pUKR3hA,6
|
|
29
|
+
hanzo-0.3.4.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hanzo
|
hanzo-0.3.2.dist-info/METADATA
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: hanzo
|
|
3
|
-
Version: 0.3.2
|
|
4
|
-
Summary: Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime
|
|
5
|
-
Project-URL: Homepage, https://hanzo.ai
|
|
6
|
-
Project-URL: Repository, https://github.com/hanzoai/python-sdk
|
|
7
|
-
Project-URL: Documentation, https://docs.hanzo.ai/cli
|
|
8
|
-
Project-URL: Bug Tracker, https://github.com/hanzoai/python-sdk/issues
|
|
9
|
-
Author-email: Hanzo AI <dev@hanzo.ai>
|
|
10
|
-
Keywords: agents,ai,cli,hanzo,llm,local-ai,mcp,private-ai
|
|
11
|
-
Classifier: Development Status :: 4 - Beta
|
|
12
|
-
Classifier: Environment :: Console
|
|
13
|
-
Classifier: Intended Audience :: Developers
|
|
14
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
-
Classifier: Operating System :: OS Independent
|
|
16
|
-
Classifier: Programming Language :: Python :: 3
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
-
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
23
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
|
-
Requires-Python: >=3.8
|
|
25
|
-
Requires-Dist: click>=8.1.0
|
|
26
|
-
Requires-Dist: hanzo-net>=0.1.12
|
|
27
|
-
Requires-Dist: httpx>=0.23.0
|
|
28
|
-
Requires-Dist: prompt-toolkit>=3.0.0
|
|
29
|
-
Requires-Dist: pydantic>=2.0.0
|
|
30
|
-
Requires-Dist: pyyaml>=6.0
|
|
31
|
-
Requires-Dist: rich>=13.0.0
|
|
32
|
-
Requires-Dist: typer>=0.9.0
|
|
33
|
-
Provides-Extra: agents
|
|
34
|
-
Requires-Dist: hanzo-agents>=0.1.0; extra == 'agents'
|
|
35
|
-
Requires-Dist: hanzo-network>=0.1.0; extra == 'agents'
|
|
36
|
-
Provides-Extra: ai
|
|
37
|
-
Requires-Dist: hanzoai>=1.0.0; extra == 'ai'
|
|
38
|
-
Provides-Extra: all
|
|
39
|
-
Requires-Dist: hanzo-aci>=0.2.8; extra == 'all'
|
|
40
|
-
Requires-Dist: hanzo-agents>=0.1.0; extra == 'all'
|
|
41
|
-
Requires-Dist: hanzo-mcp>=0.7.0; extra == 'all'
|
|
42
|
-
Requires-Dist: hanzo-memory>=1.0.0; extra == 'all'
|
|
43
|
-
Requires-Dist: hanzo-network>=0.1.0; extra == 'all'
|
|
44
|
-
Requires-Dist: hanzo-repl>=0.1.0; extra == 'all'
|
|
45
|
-
Requires-Dist: hanzoai>=1.0.0; extra == 'all'
|
|
46
|
-
Provides-Extra: dev
|
|
47
|
-
Requires-Dist: hanzo-aci>=0.2.8; extra == 'dev'
|
|
48
|
-
Provides-Extra: mcp
|
|
49
|
-
Requires-Dist: hanzo-mcp>=0.7.0; extra == 'mcp'
|
|
50
|
-
Provides-Extra: repl
|
|
51
|
-
Requires-Dist: hanzo-repl>=0.1.0; extra == 'repl'
|
|
52
|
-
Provides-Extra: router
|
|
53
|
-
Description-Content-Type: text/markdown
|
|
54
|
-
|
|
55
|
-
# Hanzo AI - Complete AI Infrastructure Platform
|
|
56
|
-
|
|
57
|
-
The main SDK for the Hanzo AI ecosystem, providing unified access to all Hanzo tools and services.
|
|
58
|
-
|
|
59
|
-
## Installation
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
# Install base package with CLI
|
|
63
|
-
pip install hanzo
|
|
64
|
-
|
|
65
|
-
# Install with all components
|
|
66
|
-
pip install hanzo[all]
|
|
67
|
-
|
|
68
|
-
# Install specific components
|
|
69
|
-
pip install hanzo[ai] # AI SDK (same as standalone hanzoai package)
|
|
70
|
-
pip install hanzo[router] # LLM gateway router (replaces litellm)
|
|
71
|
-
pip install hanzo[mcp] # Model Context Protocol server
|
|
72
|
-
pip install hanzo[agents] # Agent runtime and orchestration
|
|
73
|
-
pip install hanzo[repl] # Interactive REPL with AI chat
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
## Features
|
|
77
|
-
|
|
78
|
-
- **Unified LLM Gateway**: Use `hanzo.router` instead of litellm for 100+ LLM providers
|
|
79
|
-
- **MCP Integration**: Full Model Context Protocol support for AI tools
|
|
80
|
-
- **Agent Runtime**: Build and deploy AI agents with the agent framework
|
|
81
|
-
- **Interactive REPL**: Chat with AI models directly from the command line
|
|
82
|
-
- **Complete SDK**: Import all Hanzo components from a single package
|
|
83
|
-
|
|
84
|
-
## Quick Start
|
|
85
|
-
|
|
86
|
-
### Command Line
|
|
87
|
-
```bash
|
|
88
|
-
# Main CLI
|
|
89
|
-
hanzo --help
|
|
90
|
-
|
|
91
|
-
# Start MCP server
|
|
92
|
-
hanzo-mcp
|
|
93
|
-
|
|
94
|
-
# Interactive AI chat
|
|
95
|
-
hanzo-ai
|
|
96
|
-
hanzo-chat
|
|
97
|
-
|
|
98
|
-
# REPL interface
|
|
99
|
-
hanzo-repl
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
### Python SDK
|
|
103
|
-
```python
|
|
104
|
-
import hanzo
|
|
105
|
-
|
|
106
|
-
# Use router for LLM calls (replaces litellm)
|
|
107
|
-
from hanzo import router
|
|
108
|
-
response = router.completion(
|
|
109
|
-
model="gpt-4",
|
|
110
|
-
messages=[{"role": "user", "content": "Hello!"}]
|
|
111
|
-
)
|
|
112
|
-
|
|
113
|
-
# Use agents
|
|
114
|
-
from hanzo import Agent, Network
|
|
115
|
-
agent = Agent(name="assistant")
|
|
116
|
-
|
|
117
|
-
# Use MCP tools
|
|
118
|
-
from hanzo import Tool, MCPServer
|
|
119
|
-
|
|
120
|
-
# Access AI SDK
|
|
121
|
-
from hanzo import Client
|
|
122
|
-
client = Client(api_key="...")
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
## Components
|
|
126
|
-
|
|
127
|
-
- **hanzo.router**: Unified LLM gateway (replaces litellm)
|
|
128
|
-
- **hanzo.mcp**: Model Context Protocol server and tools
|
|
129
|
-
- **hanzo.agents**: Agent runtime and orchestration
|
|
130
|
-
- **hanzo.memory**: Memory systems for agents
|
|
131
|
-
- **hanzo.Client**: Main AI SDK client
|
|
132
|
-
|
|
133
|
-
## Documentation
|
|
134
|
-
|
|
135
|
-
- [Hanzo AI Docs](https://docs.hanzo.ai)
|
|
136
|
-
- [Router Documentation](https://docs.hanzo.ai/router)
|
|
137
|
-
- [MCP Documentation](https://docs.hanzo.ai/mcp)
|
|
138
|
-
- [Agent Documentation](https://docs.hanzo.ai/agents)
|