hanzo 0.2.1__tar.gz → 0.2.3__tar.gz

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.

@@ -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)
hanzo-0.2.3/README.md ADDED
@@ -0,0 +1,84 @@
1
+ # Hanzo AI - Complete AI Infrastructure Platform
2
+
3
+ The main SDK for the Hanzo AI ecosystem, providing unified access to all Hanzo tools and services.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ # Install base package with CLI
9
+ pip install hanzo
10
+
11
+ # Install with all components
12
+ pip install hanzo[all]
13
+
14
+ # Install specific components
15
+ pip install hanzo[ai] # AI SDK (same as standalone hanzoai package)
16
+ pip install hanzo[router] # LLM gateway router (replaces litellm)
17
+ pip install hanzo[mcp] # Model Context Protocol server
18
+ pip install hanzo[agents] # Agent runtime and orchestration
19
+ pip install hanzo[repl] # Interactive REPL with AI chat
20
+ ```
21
+
22
+ ## Features
23
+
24
+ - **Unified LLM Gateway**: Use `hanzo.router` instead of litellm for 100+ LLM providers
25
+ - **MCP Integration**: Full Model Context Protocol support for AI tools
26
+ - **Agent Runtime**: Build and deploy AI agents with the agent framework
27
+ - **Interactive REPL**: Chat with AI models directly from the command line
28
+ - **Complete SDK**: Import all Hanzo components from a single package
29
+
30
+ ## Quick Start
31
+
32
+ ### Command Line
33
+ ```bash
34
+ # Main CLI
35
+ hanzo --help
36
+
37
+ # Start MCP server
38
+ hanzo-mcp
39
+
40
+ # Interactive AI chat
41
+ hanzo-ai
42
+ hanzo-chat
43
+
44
+ # REPL interface
45
+ hanzo-repl
46
+ ```
47
+
48
+ ### Python SDK
49
+ ```python
50
+ import hanzo
51
+
52
+ # Use router for LLM calls (replaces litellm)
53
+ from hanzo import router
54
+ response = router.completion(
55
+ model="gpt-4",
56
+ messages=[{"role": "user", "content": "Hello!"}]
57
+ )
58
+
59
+ # Use agents
60
+ from hanzo import Agent, Network
61
+ agent = Agent(name="assistant")
62
+
63
+ # Use MCP tools
64
+ from hanzo import Tool, MCPServer
65
+
66
+ # Access AI SDK
67
+ from hanzo import Client
68
+ client = Client(api_key="...")
69
+ ```
70
+
71
+ ## Components
72
+
73
+ - **hanzo.router**: Unified LLM gateway (replaces litellm)
74
+ - **hanzo.mcp**: Model Context Protocol server and tools
75
+ - **hanzo.agents**: Agent runtime and orchestration
76
+ - **hanzo.memory**: Memory systems for agents
77
+ - **hanzo.Client**: Main AI SDK client
78
+
79
+ ## Documentation
80
+
81
+ - [Hanzo AI Docs](https://docs.hanzo.ai)
82
+ - [Router Documentation](https://docs.hanzo.ai/router)
83
+ - [MCP Documentation](https://docs.hanzo.ai/mcp)
84
+ - [Agent Documentation](https://docs.hanzo.ai/agents)
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "hanzo"
3
- version = "0.2.1"
3
+ version = "0.2.3"
4
4
  description = "Hanzo AI - Complete AI Infrastructure Platform with CLI, Router, MCP, and Agent Runtime"
5
5
  authors = [
6
6
  {name = "Hanzo AI", email = "dev@hanzo.ai"},
@@ -31,10 +31,10 @@ classifiers = [
31
31
 
32
32
  [project.scripts]
33
33
  hanzo = "hanzo.cli:main"
34
- "hanzo/mcp" = "hanzo.mcp_server:main"
35
- "hanzo/ai" = "hanzo.repl:ai_chat"
36
- "hanzo/chat" = "hanzo.repl:ai_chat"
37
- "hanzo/repl" = "hanzo.repl:repl_main"
34
+ hanzo-mcp = "hanzo.mcp_server:main"
35
+ hanzo-ai = "hanzo.repl:ai_chat"
36
+ hanzo-chat = "hanzo.repl:ai_chat"
37
+ hanzo-repl = "hanzo.repl:repl_main"
38
38
 
39
39
  [project.optional-dependencies]
40
40
  all = [
@@ -44,7 +44,7 @@ all = [
44
44
  "hanzo-network>=0.1.0",
45
45
  "hanzo-repl>=0.1.0",
46
46
  "hanzo-memory>=1.0.0",
47
- "hanzo-router>=1.74.3",
47
+ # "hanzo-router>=1.74.3", # TODO: Publish hanzo-router to PyPI
48
48
  "hanzo-mcp-client>=0.1.0",
49
49
  "hanzo-aci>=0.2.8",
50
50
  ]
@@ -52,7 +52,7 @@ ai = [
52
52
  "hanzoai>=1.0.0", # This provides the same as standalone hanzoai package
53
53
  ]
54
54
  router = [
55
- "hanzo-router>=1.74.3",
55
+ # "hanzo-router>=1.74.3", # TODO: Publish hanzo-router to PyPI
56
56
  ]
57
57
  mcp = [
58
58
  "hanzo-mcp>=0.7.0",
@@ -66,7 +66,7 @@ dev = [
66
66
  ]
67
67
  repl = [
68
68
  "hanzo-repl>=0.1.0",
69
- "hanzo-router>=1.74.3", # For AI chat functionality
69
+ # "hanzo-router>=1.74.3", # TODO: For AI chat functionality - publish to PyPI
70
70
  ]
71
71
 
72
72
  [project.urls]
@@ -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__ = [
hanzo-0.2.1/README.md DELETED
@@ -1,21 +0,0 @@
1
- # Hanzo AI CLI
2
-
3
- This is the main `hanzo` package that provides the Hanzo AI CLI tool.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- pip install hanzo
9
- ```
10
-
11
- ## Usage
12
-
13
- ```bash
14
- hanzo --help
15
- ```
16
-
17
- For more information, see the [hanzo-cli](https://pypi.org/project/hanzo-cli/) package.
18
-
19
- ## Note
20
-
21
- This package is a convenience wrapper around `hanzo-cli`. Both packages provide the same `hanzo` command-line tool.
File without changes
File without changes
File without changes
File without changes