kit

SDK API reference

This index lists declarations owned by pkg/kit. Follow each Go reference for signatures, fields and interface methods. Aliases link to their owning type; use its reference for dependency members instead of importing internal packages.

Guides: overview, options, decisions, authentication, callbacks, sessions, code mode, subagents.

CLIOptions is for CLI integration. ResetForTesting is a test helper available only with the testing build tag, not a production embedding operation. Its source contract is authoritative when the default Go reference omits tagged declarations.

Authentication

Compaction

Configuration, integration and testing helpers

Decision models

Events and hooks

Extensions

Lifecycle, prompts and results

Models, providers and MCP

Sessions

Skills, context and templates

Subagents

Tools and code mode