> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The Agent Runtime SDK

The Agent Runtime SDK is the package `@telnyx/edge-runtime`. Its export is the `Agent` class. Anything that implements the turn taking runs on the class.

The class is hosted by the Agent Runtime Platform, which invokes it at its entry points; see [Entry Points](/docs/agent-sdk/contract/entry-points) for detail.

| Export | What it is |
| - | - |
| `@telnyx/edge-runtime` | The `Agent` class, the `StatefulActor` it extends, and the types of the environment and its bindings. |
| `@telnyx/edge-runtime/client` | `AgentClient`, documented as [The Agent Client SDK](/docs/agent-sdk/client-sdk). |
| `@telnyx/edge-runtime/mount` | `mountAgents`, the function entry that serves every instance at one address. |
| `@telnyx/edge-runtime/agent-socket` | `AgentSocketServer`, the server half of the agent socket protocol. |
| `@telnyx/edge-runtime/agent-http` | `AgentHttpServer`, the streams and RPC over HTTP. |
| `@telnyx/edge-runtime/voice` | The `voice()` mixin, with Telnyx STT and TTS for calls. |
| `@telnyx/edge-runtime/internal` | Seams for trusted adapters, such as the harness's. Not for application code. |

The pages document the `Agent` class in two parts.

**The Interface** is what is exposed to the layer above, the class and what an instance has.

| Group | What it is for |
| - | - |
| [Lifecycle](/docs/agent-sdk/interface/constructor) | Construct an instance with its options, and erase everything it holds. |
| [Values](/docs/agent-sdk/interface/messages) | Reach the message log, the event log, the bindings and the actor context. |
| [State](/docs/agent-sdk/interface/initialState) | Read and write the instance's persistent state, and react to its changes. |
| [Tasks](/docs/agent-sdk/interface/queue) | Run work after the request returns, now, later or at an interval. |
| [Children](/docs/agent-sdk/interface/spawn) | Create, list and end child instances. |
| [Connections](/docs/agent-sdk/interface/authorize) | Decide who may connect, and receive the sockets and requests that arrive. |
| [RPC](/docs/agent-sdk/interface/rpc) | Make a method callable over the address. |

[Bring Your Own Framework](/docs/agent-sdk/examples/bring-your-own-framework) shows the glue code that runs any framework on the class.

**The Internals** is how the class is served on the Agent Runtime Platform.

| Group | What it is |
| - | - |
| [Entry Points](/docs/agent-sdk/contract/entry-points) | The methods the platform invokes on the class. |
| [The Address and Transports](/docs/agent-sdk/contract/address-and-transports) | Where an instance answers, and over what. |
| [Mount](/docs/agent-sdk/mounting-agents) | The function entry that serves every instance at one address. |
| [AgentSocketServer](/docs/agent-sdk/internals/the-socket-server) | The server half of the agent socket protocol. |
| [AgentHttpServer](/docs/agent-sdk/internals/the-http-server) | The streams and RPC over HTTP. |
| [Limits](/docs/agent-sdk/limits) | The budgets, retries, storage and name lengths an instance works within. |
