mirror of
https://github.com/hanzoai/sdk.git
synced 2026-11-02 00:27:01 +00:00
- Consolidated Python, JavaScript, Rust, and Go SDKs - Standard directory structure (src/py, src/js, src/rs, src/go) - Real implementations from existing SDKs (not stubs) - Comprehensive test framework with CI/CD matrix - Dual distribution support (pip and npm) - Language parity for all core commands - Smart routing based on language strengths
1.4 KiB
1.4 KiB
Hanzo Unified SDK
Unified multi-language SDK for Hanzo AI infrastructure, combining Python, JavaScript/TypeScript, Rust, and Go implementations.
Structure
sdk/
├── src/ # Source code by language
│ ├── py/ # Python implementation
│ ├── js/ # JavaScript/TypeScript implementation
│ ├── rs/ # Rust implementation
│ └── go/ # Go implementation
├── docs/ # Documentation
├── tests/ # Cross-language tests
├── scripts/ # Build and deployment scripts
└── bin/ # Compiled binaries
Installation
Python
pip install hanzo
Node.js
npm install -g @hanzo/cli
Rust
cargo install hanzo-cli
Go
go install github.com/hanzoai/sdk/cmd/hanzo@latest
Commands
All commands work identically across all language implementations:
hanzo node start- Start local AI nodehanzo agent run- Run AI agentshanzo mcp serve- Start MCP serverhanzo net status- Network statushanzo dev- Development tools
Development
Each language implementation maintains feature parity while leveraging language-specific strengths:
- Python: ML/AI operations, data processing
- JavaScript: Web integration, browser compatibility
- Rust: System operations, performance-critical paths
- Go: Network operations, blockchain integration