OpenAgent SDK
FeaturesDocsInstallGitHub
Get Started

Docs

Read the SDK
reference.

The full reference lives in the GitHub README — single source of truth, versioned with the code. Jump to a topic below.

01

Quick Start

Install the package, create your first agent, send a prompt, and read the result. Five minutes from zero to a working agent.

02

Custom Tools

Define tools with defineTool, validate inputs with Codable schemas, and let the model call them mid-conversation.

03

MCP Integration

Wire in Model Context Protocol servers over stdio or SSE. Tools and resources from any MCP server become available to your agent.

04

Hooks

Intercept tool calls before and after execution. Add audit logs, permission checks, telemetry, retries — without touching tool code.

05

Skills

Package reusable agent behaviors. Compose skills into larger agents or share them across projects.

06

Sessions

Persist conversation state across runs. Resume an agent where it left off — across processes, devices, or days.

Browse the full README
Every API, every option, every example.
Open README
open-agent-sdk-swift·MIT licensed
SourceReleasesREADME@terryso
Edit with