Types
Canonical listing of the configuration and value types exported from@svantic/sdk. Individual class pages link back here for option details.
AgentConfig
Passed to new Agent(...). See Agent for methods.
CapabilityConfig
Passed to agent.define_capability(...).
CapabilitySchema
JSON Schema subset used for capability parameters.
CapabilitySessionContext
Second argument to every capability handler.
LlmConfig
MeshConnectorConfig
Passed to new MeshConnector(agent, config). Same fields appear on AttachConfig.mesh and (partially) on AgentConfig.mesh.
LearningConfig
Platform learner configuration, re-exported from @svantic/shared. Use it to opt this agent into (or out of) automated knowledge capture. Fields include enabled, scope, and capture filters; see the Knowledge Store concept page for semantics.
ExecutionContext
Structured execution context forwarded to the learner. Re-exported from @svantic/shared. Set via MessageBuilder.with_execution_context().
FilePayload
File attachment carried in a message DataPart.
AgentStatus / AgentStatusValue
AgentStatusValue is the string-literal union ('available' | 'busy' | …). AGENT_STATUS_VALUES is the runtime array, handy for Zod enums.
Response types
Shapes returned by related platform APIs — re-exported so TypeScript consumers don’t have to re-declare them. See the API Reference for the REST contracts.A2A re-exports
The SDK re-exports A2A primitive types from@a2a-js/sdk so you don’t import them twice: AgentCard, AgentSkill, Message, Task, TaskState, TextPart, DataPart, FilePart, Part, TaskStatusUpdateEvent, TaskArtifactUpdateEvent, and the A2AStreamEventData union used by streaming APIs.