hanzo 0.2.1__py3-none-any.whl → 0.2.3__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.
hanzo/__init__.py CHANGED
@@ -10,7 +10,7 @@ This is the main Hanzo SDK that provides:
10
10
  CLI access is provided via the hanzo-cli package.
11
11
  """
12
12
 
13
- __version__ = "0.2.1"
13
+ __version__ = "0.2.3"
14
14
 
15
15
  # Core exports
16
16
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hanzo
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime
5
5
  Project-URL: Homepage, https://hanzo.ai
6
6
  Project-URL: Repository, https://github.com/hanzoai/python-sdk
@@ -38,7 +38,6 @@ Requires-Dist: hanzo-mcp>=0.7.0; extra == 'all'
38
38
  Requires-Dist: hanzo-memory>=1.0.0; extra == 'all'
39
39
  Requires-Dist: hanzo-network>=0.1.0; extra == 'all'
40
40
  Requires-Dist: hanzo-repl>=0.1.0; extra == 'all'
41
- Requires-Dist: hanzo-router>=1.74.3; extra == 'all'
42
41
  Requires-Dist: hanzoai>=1.0.0; extra == 'all'
43
42
  Provides-Extra: dev
44
43
  Requires-Dist: hanzo-aci>=0.2.8; extra == 'dev'
@@ -46,29 +45,90 @@ Provides-Extra: mcp
46
45
  Requires-Dist: hanzo-mcp>=0.7.0; extra == 'mcp'
47
46
  Provides-Extra: repl
48
47
  Requires-Dist: hanzo-repl>=0.1.0; extra == 'repl'
49
- Requires-Dist: hanzo-router>=1.74.3; extra == 'repl'
50
48
  Provides-Extra: router
51
- Requires-Dist: hanzo-router>=1.74.3; extra == 'router'
52
49
  Description-Content-Type: text/markdown
53
50
 
54
- # Hanzo AI CLI
51
+ # Hanzo AI - Complete AI Infrastructure Platform
55
52
 
56
- This is the main `hanzo` package that provides the Hanzo AI CLI tool.
53
+ The main SDK for the Hanzo AI ecosystem, providing unified access to all Hanzo tools and services.
57
54
 
58
55
  ## Installation
59
56
 
60
57
  ```bash
58
+ # Install base package with CLI
61
59
  pip install hanzo
60
+
61
+ # Install with all components
62
+ pip install hanzo[all]
63
+
64
+ # Install specific components
65
+ pip install hanzo[ai] # AI SDK (same as standalone hanzoai package)
66
+ pip install hanzo[router] # LLM gateway router (replaces litellm)
67
+ pip install hanzo[mcp] # Model Context Protocol server
68
+ pip install hanzo[agents] # Agent runtime and orchestration
69
+ pip install hanzo[repl] # Interactive REPL with AI chat
62
70
  ```
63
71
 
64
- ## Usage
72
+ ## Features
73
+
74
+ - **Unified LLM Gateway**: Use `hanzo.router` instead of litellm for 100+ LLM providers
75
+ - **MCP Integration**: Full Model Context Protocol support for AI tools
76
+ - **Agent Runtime**: Build and deploy AI agents with the agent framework
77
+ - **Interactive REPL**: Chat with AI models directly from the command line
78
+ - **Complete SDK**: Import all Hanzo components from a single package
79
+
80
+ ## Quick Start
65
81
 
82
+ ### Command Line
66
83
  ```bash
84
+ # Main CLI
67
85
  hanzo --help
86
+
87
+ # Start MCP server
88
+ hanzo-mcp
89
+
90
+ # Interactive AI chat
91
+ hanzo-ai
92
+ hanzo-chat
93
+
94
+ # REPL interface
95
+ hanzo-repl
68
96
  ```
69
97
 
70
- For more information, see the [hanzo-cli](https://pypi.org/project/hanzo-cli/) package.
98
+ ### Python SDK
99
+ ```python
100
+ import hanzo
101
+
102
+ # Use router for LLM calls (replaces litellm)
103
+ from hanzo import router
104
+ response = router.completion(
105
+ model="gpt-4",
106
+ messages=[{"role": "user", "content": "Hello!"}]
107
+ )
108
+
109
+ # Use agents
110
+ from hanzo import Agent, Network
111
+ agent = Agent(name="assistant")
112
+
113
+ # Use MCP tools
114
+ from hanzo import Tool, MCPServer
115
+
116
+ # Access AI SDK
117
+ from hanzo import Client
118
+ client = Client(api_key="...")
119
+ ```
120
+
121
+ ## Components
122
+
123
+ - **hanzo.router**: Unified LLM gateway (replaces litellm)
124
+ - **hanzo.mcp**: Model Context Protocol server and tools
125
+ - **hanzo.agents**: Agent runtime and orchestration
126
+ - **hanzo.memory**: Memory systems for agents
127
+ - **hanzo.Client**: Main AI SDK client
71
128
 
72
- ## Note
129
+ ## Documentation
73
130
 
74
- This package is a convenience wrapper around `hanzo-cli`. Both packages provide the same `hanzo` command-line tool.
131
+ - [Hanzo AI Docs](https://docs.hanzo.ai)
132
+ - [Router Documentation](https://docs.hanzo.ai/router)
133
+ - [MCP Documentation](https://docs.hanzo.ai/mcp)
134
+ - [Agent Documentation](https://docs.hanzo.ai/agents)
@@ -0,0 +1,9 @@
1
+ hanzo/__init__.py,sha256=1IEB7hlct652dQuQBka-Ric-R8sOBeCBHPKjuyqSALc,1951
2
+ hanzo/cli.py,sha256=uLfrVV5FqW7D75N9rlYtHS5JwlXPiW6Wax9TVku6FRI,486
3
+ hanzo/mcp_server.py,sha256=FBqcXhaJgV8_9O83H3fUy_pv4cV1707XCYm7FXaJeWY,422
4
+ hanzo/repl.py,sha256=sC7EXbIBn7Oxnmzqey6neAg5-116gfpmrF0YFDYrhAQ,1014
5
+ hanzo/router/__init__.py,sha256=OkhSdzExF0KBEfkDiGpGp6_schsPDG0mSw-arq98OHc,822
6
+ hanzo-0.2.3.dist-info/METADATA,sha256=tBqDC48iL6Bcg1wsjMi9MA4b0VKXt4WCgEAMWuYZITw,4250
7
+ hanzo-0.2.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
+ hanzo-0.2.3.dist-info/entry_points.txt,sha256=pQLPMdqOXU_2BfTcMDhkqTCDNk_H6ApvYuSaWcuQOOw,171
9
+ hanzo-0.2.3.dist-info/RECORD,,
@@ -0,0 +1,6 @@
1
+ [console_scripts]
2
+ hanzo = hanzo.cli:main
3
+ hanzo-ai = hanzo.repl:ai_chat
4
+ hanzo-chat = hanzo.repl:ai_chat
5
+ hanzo-mcp = hanzo.mcp_server:main
6
+ hanzo-repl = hanzo.repl:repl_main
@@ -1,9 +0,0 @@
1
- hanzo/__init__.py,sha256=YZJD5WfaCaa6rGWirFybdoj0E9HjbrpvUnRvN7JtEq8,1951
2
- hanzo/cli.py,sha256=uLfrVV5FqW7D75N9rlYtHS5JwlXPiW6Wax9TVku6FRI,486
3
- hanzo/mcp_server.py,sha256=FBqcXhaJgV8_9O83H3fUy_pv4cV1707XCYm7FXaJeWY,422
4
- hanzo/repl.py,sha256=sC7EXbIBn7Oxnmzqey6neAg5-116gfpmrF0YFDYrhAQ,1014
5
- hanzo/router/__init__.py,sha256=OkhSdzExF0KBEfkDiGpGp6_schsPDG0mSw-arq98OHc,822
6
- hanzo-0.2.1.dist-info/METADATA,sha256=c2iCLxpqrFkS1HfGN0wtVS36jMenLgrY_dhUzkzfNgU,2689
7
- hanzo-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8
- hanzo-0.2.1.dist-info/entry_points.txt,sha256=twk8jYl0WIJ6DIajjAzOgjiDa2Y6ULHF9KAgPe2rjAw,171
9
- hanzo-0.2.1.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- [console_scripts]
2
- hanzo = hanzo.cli:main
3
- hanzo/ai = hanzo.repl:ai_chat
4
- hanzo/chat = hanzo.repl:ai_chat
5
- hanzo/mcp = hanzo.mcp_server:main
6
- hanzo/repl = hanzo.repl:repl_main
File without changes