> ## 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.

# Reference

# 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](../guides/index) — they walk through end-to-end tasks with full examples.

## Entry points

`@svantic/sdk` exposes two importable entry points:

| Import              | Contents                                                                                                            |
| ------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `@svantic/sdk`      | Everything below — the normal import for application code.                                                          |
| `@svantic/sdk/mesh` | [`MeshConnector`](./mesh-connector) and `DEFAULT_SVANTIC_URL`. Use when you manage the Svantic connection yourself. |

## Building agents

| Symbol                                      | Page                      |
| ------------------------------------------- | ------------------------- |
| `Agent`                                     | [Agent](./agent)          |
| `attach()`, `AgentHandle`, `RuntimeTrigger` | [attach](./attach)        |
| `McpBridge` (used via `agent.register_mcp`) | [McpBridge](./mcp-bridge) |

## Calling other agents

| Symbol           | Page                                |
| ---------------- | ----------------------------------- |
| `RemoteAgent`    | [RemoteAgent](./remote-agent)       |
| `AgentDiscovery` | [AgentDiscovery](./agent-discovery) |
| `MessageBuilder` | [MessageBuilder](./message-builder) |

## Platform connection

| Symbol                                 | Page                              |
| -------------------------------------- | --------------------------------- |
| `MeshConnector`, `DEFAULT_SVANTIC_URL` | [MeshConnector](./mesh-connector) |

## Security

| Symbol                                                                                     | Page                                     |
| ------------------------------------------------------------------------------------------ | ---------------------------------------- |
| `verify_dispatch_auth`, `DispatchAuthVerifyError`, `DispatchAuthContext`, `VerifierConfig` | [Dispatch auth](./dispatch-auth)         |
| `parse_traceparent`, `parse_baggage`, `extract_trace_context`                              | [Trace propagation](./trace-propagation) |
| `SensitiveFormRouter`                                                                      | [A2UI](./a2ui)                           |

## Built-in tool packages

| Symbol                                                                                 | Page                              |
| -------------------------------------------------------------------------------------- | --------------------------------- |
| `BuiltinToolLoader`, `BUILTIN_DOMAINS`, `FilesystemToolServer`, `CodeRunnerToolServer` | [Built-in tools](./builtin-tools) |

## Telemetry

Tracing is built in and runs on OpenTelemetry — no SDK-specific classes. See [Telemetry](./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](./types).

## Versioning

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