Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.svantic.com/llms.txt

Use this file to discover all available pages before exploring further.

SDK Reference

Exhaustive API listing for @svantic/sdk. Every class, function, and type the package exports is documented here. Looking to do something? Start in Guides — they walk through end-to-end tasks with full examples.

Entry points

@svantic/sdk exposes two importable entry points:
ImportContents
@svantic/sdkEverything below — the normal import for application code.
@svantic/sdk/meshMeshConnector and DEFAULT_SVANTIC_URL. Use when you manage the Svantic connection yourself.

Building agents

SymbolPage
AgentAgent
attach(), AgentHandle, RuntimeTriggerattach
McpBridge (used via agent.register_mcp)McpBridge

Calling other agents

SymbolPage
RemoteAgentRemoteAgent
AgentDiscoveryAgentDiscovery
MessageBuilderMessageBuilder

Platform connection

SymbolPage
MeshConnector, DEFAULT_SVANTIC_URLMeshConnector

Security

SymbolPage
verify_dispatch_auth, DispatchAuthVerifyError, DispatchAuthContext, VerifierConfigDispatch auth
parse_traceparent, parse_baggage, extract_trace_contextTrace propagation
SensitiveFormRouterA2UI

Built-in tool packages

SymbolPage
BuiltinToolLoader, BUILTIN_DOMAINS, FilesystemToolServer, CodeRunnerToolServerBuilt-in tools

Telemetry

Tracing is built in and runs on OpenTelemetry — no SDK-specific classes. See Telemetry for how the SDK emits spans and how to add your own with @opentelemetry/api.

Types

All configuration types (AgentConfig, CapabilityConfig, MeshConnectorConfig, LlmConfig, FilePayload, AgentStatus, …) live in Types.

Versioning

@svantic/sdk follows semver. Breaking changes bump the major version. Minimum runtime is Node.js 20.