Skip to main content
The Corti Agent SDK is in alpha v2 private preview. The API may change between releases. Contact help@corti.ai to request access.
This page is a complete reference for every public class, method, and type exported by the SDK.

AgentsClient and AgentsResource

In TypeScript, agent CRUD lives on client.agents (AgentsResource). In Python, it lives on AgentsClient(client). In TypeScript, create() and get() return raw Agent objects. Wrap them with new AgentHandle(agent, client) to get conversation helpers.

AgentHandle

AgentContext

SendMessageOptions

MessageResponse

Composition primitives

Connector helpers

TypeScript

Python

Auth helpers (TypeScript only)

Types

Parts

Tasks and messages

Composition types

Error types

TypeScript vs Python naming

The wire format (A2A JSON-RPC) is identical: both SDKs talk to the same API. The naming conventions differ: