Skip to content
@hanzo-swift

hanzo-swift

Hanzo for Swift

Hanzo — the Open AI Cloud. Open source. Every language. On-chain settlement.

This org is the Swift home of the Hanzo AI Cloud. Native, idiomatic Swift you can add to any app, server, or CLI with Swift Package Manager — talking to the same /v1 cloud as every other Hanzo language.

What's here

  • Full Cloud SDK — hanzo-swift/sdk — the complete, idiomatic Swift client for the Hanzo Cloud. Generated from the cloud OpenAPI, so it covers the entire /v1 surface: AI, agents, inference, compute, data, network, security (IAM/KMS), platform, observe, web3, and apps. This is what you install.
  • AI / Agents SDK — hanzo-swift/ai — the hand-crafted, AI-first library: models, agents, tools, memory, MCP, and inference. The "we love Swift" flagship, built on top of the Cloud SDK.

Install

Add the package in Package.swift:

dependencies: [
    .package(url: "https://github.com/hanzo-swift/sdk", from: "1.0.0")
]

Or in Xcode: File → Add Package Dependencies…https://github.com/hanzo-swift/sdk.

Usage

import Hanzo

let hanzo = HanzoClient(apiKey: ProcessInfo.processInfo.environment["HANZO_API_KEY"]!)

// List the Zen model family
for model in try await hanzo.models.list() {
    print(model.id)
}

Run an agent instead:

let result = try await hanzo.agents.run(agent: "researcher", input: "Summarize this week in AI")
print(result.output)

Repos in this org

Swift code is landing here now. The canonical package is hanzo-swift/sdk — install that. The AI/agents flagship (hanzo-swift/ai) shares the same import surface.

(No public repos are indexed in this org yet — this profile tracks the canonical Swift layout; repos appear here as they publish.)

Also available in

Every language, one cloud. Real code lives in each per-language org:

Language Org Full Cloud SDK
JavaScript / TypeScript hanzo-js hanzo-js/sdk
Python hanzo-py hanzo-py/sdk
Go hanzo-go hanzo-go/sdk
Rust hanzo-rs hanzo-rs/sdk
C++ hanzo-cpp hanzo-cpp/sdk
Kotlin hanzo-kt hanzo-kt/sdk

Umbrella (products + SDK docs/landing): hanzoai · meta: hanzoai/sdk.

Links


Hanzo is a full AI cloud and SDK — not a proxy. The API is /v1. Zen is our own model family.

Popular repositories Loading

  1. .github .github Public

    Org profile

Repositories

Showing 1 of 1 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…