Try Hanzo
Hanzo Kata · Autonomous Coding Agent

Test. Repair. Verify.
Autonomous loop.

Kata closes the loop on software maintenance: triaging failing CI/CD runs, locating regressions, executing surgical code repairs, and validating green test suites under strict deterministic governance.

Read the Docs →
terminal
kata run --suite tests/unit
12 passed · 1 failed (test_token_expiry)
kata triage
Kai decision: patch · confidence: 0.96 · root cause: off-by-one jitter
kata repair --model enso-ultra
synthesized AST edit in auth/tokens.py · re-running test suite...
13 passed · 0 failed · 100% green verification

The Closed-Loop Cycle

From failing trace to verified PR.

Kata never submits speculative code. Every fix is triaged by Kai, synthesized via Enso, and verified against local or cloud test suites.

01. Observe Failure

Detect & Capture

Extract stack traces, exit codes, and test logs from pytest, cargo test, vitest, or go test.
02. Kai Decision Head

Deterministic Triage

Kai scores whether to retry, patch code, roll back, or escalate to human review with zero output tokens.
03. Enso Model Routing

Optimal Synthesis

Enso routes code edit generation to the best frontier or open-weight model based on quality, latency, and budget.
04. Closed-Loop Verify

Green Suite Guarantee

Executes candidate diffs in an isolated microVM sandbox. Only PRs with 100% green verification land.

Capabilities

Deterministic engineering. Zero hallucinations.

Engineered for high-reliability CI/CD pipelines, autonomous bug repair, and multi-agent systems.

Autonomous Test Repair Loop

Identifies regressions and flaky tests, locates the root cause in your AST, applies surgical diffs, and verifies green passes.

Deterministic Triage via Kai

Stop parsing conversational LLM prose. Kai returns typed probabilities over discrete actions (patch, rollback, retry, approve).

Intelligent Model Routing via Enso

Balances cost and accuracy on every iteration using enso-auto, enso-flash, or enso-ultra presets.

CI/CD Pipeline Integration

Drop into GitHub Actions, GitLab CI, or terminal pre-push hooks with zero configuration overhead.

Kata · Autonomous Coding Agent

Autonomous test repair specifications, endpoints, and multi-language SDKs.

Closed-loop agent runtime designed for high-consequence CI/CD environments. Combines Kai typed decision heads with Enso multi-tier model routing and sandbox execution.

Model Card Specifications
kata
Wire EndpointCLI & Agentic Loop · api.hanzo.ai
Autonomous Cycle
Capture → Kai Triage → Enso Synthesis → Sandbox Verify
Decision Engine
Kai typed decision model (determines next action)
Model Routing
Enso microsecond router (enso-auto, enso-flash, enso-ultra)
Test Runners
pytest · vitest · cargo test · go test · custom TAP
Sandbox Isolation
Isolated Linux container / macOS seatbelt
Multi-Language SDKs
Python · TypeScript · Go · Rust · cURL
License & Source
Apache-2.0 Open Source on GitHub
Multi-Language SDKs & OSS Examples
Runnable examples across all tier-one runtimes. Zero-install authentication with hanzo auth login or environment variable HANZO_API_KEY.
Modular Rust Recipes Crate (kata-recipes)
Modular production blueprints, enterprise crates, and automated verification suites.
python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.hanzo.ai/v1",
    api_key=os.environ["HANZO_API_KEY"],
)

# Kata autonomous triage loop over failed test
response = client.chat.completions.create(
    model="enso-ultra",
    messages=[
        {"role": "system", "content": "You are Kata, the autonomous test repair agent."},
        {"role": "user", "content": "Triage failed test: KeyError 'user_id' in auth/tokens.py:42"}
    ],
)
print(response.choices[0].message.content)

Enterprise Solutions

Battle-tested autonomous repair blueprints for enterprise software systems.

Eliminate flaky tests, accelerate legacy refactoring, and reduce CI/CD test failure triage times from hours to seconds.

04AGENTIC CODING
Stack: Kata + Gen + Enso

Autonomous CI/CD Test Repair & Regression Triage

Hooks into GitHub Actions and GitLab CI. When a unit or integration test fails, Kata captures the trace, triages root cause via Kai, synthesizes an AST patch via Enso, and verifies green passes.
Value Impact:$55M–$552M capacity value
05MODERNIZATION
Stack: Gen + Kata

Legacy Modernization & Service Regression Suites

Re-platforms monolithic backends into modern Go/Rust microservices. Kata autonomously generates comprehensive regression test suites to prove exact functional parity.
Value Impact:10x faster service migration
15DETERMINISTIC QA
Stack: Kai + Kata

Flaky Test Elimination & Sandbox Replay

Isolates non-deterministic test flakes in sandboxed containers. Triages root causes (race condition, timeout, clock skew) via Kai typed heads and synthesizes deterministic assertions.
Value Impact:100% green build guarantee

Questions

Asked plainly.

How does Kata differ from Hanzo Dev and Gen?
Dev is a conversational coding engineer that plans and writes full features. Gen is the universal CLI harness for any coding agent. Kata is the closed-loop autonomous repair and CI/CD triage engine that continuously keeps test suites green.
Which test frameworks does Kata support?
Kata natively supports pytest, vitest, jest, cargo test, go test, and custom test runners emitting standard TAP or JUnit XML output.
Where can I find the open-source examples and recipes?
The open-source repository is at github.com/hanzoai/kata with runnable examples in Python, TypeScript, Go, Rust, and cURL, along with a standalone Rust recipes crate.
How do I authenticate with Hanzo Cloud?
Log in once with `hanzo auth login` or export `HANZO_API_KEY` from platform.hanzo.ai/keys.

Paste and ship

Paste this into any agent. It reads the skill manifest and calls Kata from there.

Agent prompt
Read https://hanzo.ai/skill.md and use Hanzo Kata in my project. Start with: hanzo kata run

Continuous test maintenance on autopilot. Keep your test suites 100% green with Kata.