Hane Platform
Organizations, definitions, business data, workflows, approvals, agents, documents and audit — exposed through a public API and SDK. Definitions live in code and are applied with hanectl.
Hane Platform
Hane is an AI business platform where business apps and AI agents share the same data, workflows, approvals and audit trail. These docs explain how to build apps, how the Platform works, and how to use the Hane Cowork desktop app.
import { createHaneClient, unwrap } from "@hane/sdk";
const hane = createHaneClient({ baseUrl: "https://<your-hane-endpoint>", token: async () => process.env.HANE_API_KEY!, // an API key or access token});
const run = await unwrap( hane.POST("/v1/agents/runs", { body: { agent: "lease-qa", input: { contract_no: "C-1001" } }, }),);console.log(run.run_id, run.status);# Run an agent once (start an AgentRun)curl https://<your-hane-endpoint>/v1/agents/runs \ -H "Authorization: Bearer $HANE_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{"agent":"lease-qa","input":{"contract_no":"C-1001"}}'# Review the diff, then apply to devhanectl diff -f definitionshanectl apply -f definitions# Create a release bundle and activate ithanectl release create -f definitions/bundle.yaml --activateProducts
The Platform your apps call, and Cowork for people working at their PC.
Organizations, definitions, business data, workflows, approvals, agents, documents and audit — exposed through a public API and SDK. Definitions live in code and are applied with hanectl.
A desktop app that connects the Platform with work on your PC. Within your organization's policy, hand off work on local files, Chrome and desktop apps to AI.
Developer journey
The order to read things in when you build an app on Hane.
Hane Cowork
Write a request and Cowork reads the files in your work folder and saves the result. Operations your organization wants confirmed wait until you decide.
Watch all how-to videosResources