SDK Reference
Official SDKs for Python, TypeScript, and Go. Build on HUMΛN Protocol with full type safety and IDE support.
Choose Your Language
Python SDK
Full-featured framework with decorator-based APIs and async support.
pip install human-sdkTypeScript SDK
Type-safe SDK for Node.js, Deno, and edge runtimes. Full TypeScript support.
npm install @human/sdkGo SDK
Lightweight SDK for containerized deployments and Kubernetes environments.
go get github.com/human/sdkCore Concepts
All SDKs share the same core concepts and API surface:
- • Passport - Create and manage cryptographic identities
- • CapabilityGraph - Grant, verify, and query capabilities
- • HumanOS - Orchestrate tasks, route by capability, enforce governance
- • Provenance - Automatic audit logging for all actions
Quick Example
// TypeScript
import { Passport, HumanOS } from '@human/sdk';
const passport = await Passport.create({
type: 'individual',
name: 'Alice'
});
const os = new HumanOS({ passport });
const result = await os.route({
task: 'analyze-contract',
capabilities: ['legal-analysis']
});Common Patterns
Looking for copy-paste code? Check out our Patterns library with working examples for:
- • Creating Passports
- • Delegating to agents
- • Granting capabilities with evidence
- • Simple orchestration workflows
- • Human-in-loop approval gates