SDK Reference

Build on HUMΛN

Official HTTP SDKs for TypeScript, Python, Go, and Rust. Same host, same credential, same first call.

First 15 minutes: install the CLI, run human login, then GET /v1/agents.

Public TypeScript client is @human/sdk. @human/client-sdk is legacy — do not start new apps there. Default host is https://api.haio.run. Auth is a delegation token (HUMAN_DELEGATION_TOKEN), never sk_....

Website quickstart →

Choose your language

TypeScript

Public HTTP client. Magic Mode is a token.

pnpm add @human/sdk

Python

from human_sdk import HumanClient

pip install human-sdk

Go

Resolvable module path in this repo.

go get github.com/rkbush/human/packages/sdk-go

Rust

Same host and delegation token.

cargo add human-sdk

First call

import { HumanClient, throwIfProblem } from '@human/sdk';

const client = new HumanClient({
  delegationToken: process.env.HUMAN_DELEGATION_TOKEN!,
});

const result = await client.raw.GET('/v1/agents');
throwIfProblem(result);
console.log(result.data);

Agent handlers

Write a TypeScript handler with @human/agent-sdk. See packages/examples/reference-agent. Python, Go, and Rust agent runtimes are coming soon — not launched. Call the HTTP API from those languages today with human-sdk, sdk-go, or the Rust human-sdk crate.

Generated namespace pages: SDK index.