SDKs & Libraries

Official client libraries for Python, Node.js, Go, Ruby, and Java — with TypeScript-first design and comprehensive type definitions.

How it works

Install the SDK for your language, initialize with your API key, and start making type-safe calls to every Theorem endpoint. Auto-generated types keep your integration in sync with the latest API changes.

Each SDK follows the idioms of its language ecosystem — Pythonic classes, TypeScript generics, Go interfaces — so your code feels native, not generated.

6 agents active
Live
Python AgentSDK
99%
Node AgentTypeScript
98%
Go AgentCodegen
97%
Ruby AgentGem
98%
Java AgentMaven
96%
Types AgentGeneration
99%

Overview


Languages
5+
Type coverage
100%
Weekly downloads
50K+
Avg integration
<1d

Developer experience

Your language, our SDK.

Idiomatic client libraries that make financial operations feel native in any stack.

1

Multi-Language Support

Official SDKs for Python, Node.js/TypeScript, Go, Ruby, and Java — all maintained by our engineering team with weekly releases. Each SDK follows the idioms and conventions of its language ecosystem.

2

TypeScript-First Design

Every SDK is designed with type safety at the core. Auto-completed method signatures, discriminated union types for webhooks, and compile-time validation catch errors before they reach production.

3

Auto-Generated Types

Types are generated directly from our OpenAPI specification, ensuring they are always in sync with the live API. Breaking changes in types surface at build time, not in production.

Agents in action

Your always-on SDK team.

Agents that handle the full SDK lifecycle — from initialization to type generation — with complete auditability.

Live orchestration

Agents coordinate every SDK call

A single SDK initialization triggers language detection, type generation, and auth configuration agents that work in parallel and resolve autonomously.

[10:22:05] SDK_INIT theorem.Client(api_key="tk_live_***") — first API call
Python AgentSDK Init
0.2s
Node AgentTypeScript
0.5s
Go AgentCodegen
0.9s
3 agents
3 SDKs ready
0.9s total
All clients initialized
Continuous learning

Smarter SDKs over time

Every integration, error pattern, and usage trend feeds back into the generation pipeline. Your SDKs get more ergonomic with every release.

1
Capture

Encode integration patterns and common usage into structured training data.

2
Specialize

Optimize type definitions and method signatures for your specific workflows.

3
Deploy

Publish SDKs with full type coverage, changelog, and migration guides.

4
Compound

Better ergonomics and fewer breaking changes with each release cycle.

Install and go.

Pick your language, install the SDK, and make your first API call in minutes.