Skip to content
@hanzo-kt

hanzo-kt

Hanzo for Kotlin

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

This is the Kotlin home of Hanzo. Everything the cloud exposes over /v1/* — AI, agents, inference, compute, data, network, security (IAM/KMS), platform, observe, and web3 — reachable from idiomatic Kotlin, on JVM and Android.

What's here

  • Full Cloud SDK — hanzo-kt/sdk Generated from the cloud OpenAPI, so it always covers the whole /v1 surface. One typed client for every Hanzo service. This is what you install and build against.
  • AI / Agents SDK — hanzo-kt/ai The hand-crafted, AI-first library: models, agents, tools, memory, MCP, inference. The flagship "we love Kotlin" lib, sibling to hanzo (Python) and @hanzo/ai (Node).

Install

Gradle (Kotlin DSL):

dependencies {
    implementation("ai.hanzo:sdk")
}

Usage

import ai.hanzo.sdk.HanzoClient

val hanzo = HanzoClient(apiKey = System.getenv("HANZO_API_KEY"))

// GET /v1/models — the Zen family plus everything your org has enabled
hanzo.models.list().forEach { println(it.id) }

Run an agent with the AI lib:

import ai.hanzo.ai.Agent

val agent = Agent(model = "zen-1", tools = listOf(Tools.web, Tools.code))
println(agent.run("Summarize today's incidents and open a ticket for each."))

Repositories

This org is where the real Kotlin code lands. Newly stood up — the canonical repos below:

Repo Purpose Install
sdk Full Cloud SDK — all of /v1, generated from OpenAPI implementation("ai.hanzo:sdk")
ai AI / agents lib — models, agents, tools, memory, MCP implementation("ai.hanzo:ai")

(Docs, samples, and split-out modules publish here as they mature.)

Also available in

Same two SDK lines, idiomatic in every ecosystem:

Links

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…