Theo Docs
TheoKitTheoKit-SDKTheoUITheo PaaS
API reference

API reference

Every public symbol in @theokit/sdk, auto-generated from TypeDoc.

API reference

This section is auto-generated from TypeDoc on every build. 249 symbols exported.

Classes

Constantes

Functiones

Interfacees

Typees

  • AgentPromptResult — Result of a one-shot Agent.prompt call.
  • BatchResult — Per-prompt outcome. Discriminated union — check ok before reading
  • ContextManagerKind — Context manager backend.
  • ContextSourceStatus — Inclusion state of a single context source in a ContextSnapshot.
  • ConversationStep — Single step inside an agent turn.
  • ConversationTurn — Structured per-turn view of a run.
  • CronJobStatus — Lifecycle state reported by Cron.list() / Cron.get().
  • CronListOptions — Options for Cron.list().
  • CronRuntime — Runtime hosting a cron job. Mirrors the agent runtime split.
  • DatasetDataset is either an array OR a factory returning a (sync or async)
  • DeepPartial — Recursive partial — T where every nested field becomes optional.
  • ErrorCode — Finite, machine-readable error codes for provider-originated errors
  • EvalAgentOptions — Inferred Agent.create options shape — avoid cycling through AgentOptions dir
  • GetRunOptions — Options for Agent.getRun(). Cloud requires the parent agentId.
  • GoalEvent — Single event emitted while iterating a goal-driven loop. Five variants:
  • HookNameno description
  • InteractionUpdate — Lowest-level raw update from a run. Pass onDelta to agent.send() to
  • ListAgentsOptions — Options for Agent.list().
  • ListRunsOptions — Options for Agent.listRuns().
  • McpHttpServerConfig — HTTP or SSE MCP server.
  • McpServerConfig — Union of MCP server configs. See docs.md for the full reference.
  • McpStdioServerConfig — MCP server configuration accepted by Agent.create() and agent.send().
  • MemoryAdapterErrorCode — Finite error codes specific to memory adapter operations (ADR D141).
  • MemoryId — Branded provider memory ID. Format: ${adapterId}:${rawProviderId}.
  • Pluginno description
  • ProviderCapability — Capability slot a provider can fulfill.
  • RunOperation — Operations that may or may not be supported on a given Run, or on
  • RunStatus — Lifecycle status of a Run.
  • RunUntilIterator — Return type of import("../internal/runtime/local-agent.js").LocalAgent.runUntil.
  • Scorer — Scorer signature (D207). Returns Score synchronously OR via Promise —
  • SDKAgentInfo — Metadata returned by Agent.list() and Agent.get().
  • SDKImage — Either a remote URL or inline base64 payload.
  • SDKMessage — Discriminated union of all stream events. Discriminate on type.
  • SDKModelno description
  • SettingSource — Which on-disk settings layers a local agent loads.
  • Stepno description
  • StreamObjectEvent — Event emitted by Agent.streamObject. Discriminate on type.
  • SystemPromptResolver — Resolver function that produces the system prompt dynamically. Receives

On this page