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

# Agent SDK (Beta) llms.txt

> Machine-readable documentation index for Agent SDK (Beta) (AI) — guide pages and API endpoints for AI agents and LLMs

# Telnyx AI: Agent SDK (Beta) — Documentation Index

> Agent SDK (Beta) documentation within the AI section of the Telnyx developer docs ([https://developers.telnyx.com](https://developers.telnyx.com)).
> This file: [https://developers.telnyx.com/development/llms/ai-agent-sdk-beta-llms-txt.md](https://developers.telnyx.com/development/llms/ai-agent-sdk-beta-llms-txt.md) · Root index: [https://developers.telnyx.com/llms.txt](https://developers.telnyx.com/llms.txt)

## Get Started

* [Overview](https://developers.telnyx.com/docs/agent-sdk.md): Build AI agents with durable state, message history, and scheduled tasks — all backed by StatefulActors.
* [Quickstart](https://developers.telnyx.com/docs/agent-sdk/quickstart.md): A working agent in one file: receive a message, process it in the background, and schedule a follow-up.

## Concepts

* [How Agents Run](https://developers.telnyx.com/docs/agent-sdk/concepts/how-agents-run.md): One durable actor per conversation: serialized turns, background thinking, and state that survives restarts.

## Build

* [Message History](https://developers.telnyx.com/docs/agent-sdk/message-history.md): A persistent, ordered conversation log per actor — with adapters for LangChain, OpenAI, and Anthropic.
* [Scheduled Tasks](https://developers.telnyx.com/docs/agent-sdk/scheduled-tasks.md): Durable named timers — queue, schedule, and every survive restarts and retry on failure.
* [Durable State](https://developers.telnyx.com/docs/agent-sdk/state.md): Merge-patch state with setState and getState, persisted per actor.
* [SQL Storage](https://developers.telnyx.com/docs/agent-sdk/sql.md): Every agent carries a private, embedded SQLite database at this.ctx.storage.sql — relational, queryable storage next to state and history, for data that outgrows both.
* [WebSockets](https://developers.telnyx.com/docs/agent-sdk/websockets.md): Agents terminate live WebSockets today through the actor surface: authenticate at the handshake, handle frames on the agent, broadcast replies from tasks.

## Examples

* [Roll Your Own Agent](https://developers.telnyx.com/docs/agent-sdk/examples/roll-your-own.md): An SMS support agent with a hand-written loop: toOpenAI() history in, one call on the Telnyx binding, reply out.
* [LangGraph Agent](https://developers.telnyx.com/docs/agent-sdk/examples/langgraph.md): The same SMS support agent, with LangGraph running the reasoning loop and tool calls — the Agent SDK as its durable memory.

## Reference

* [Overview](https://developers.telnyx.com/docs/agent-sdk/api-reference.md): The Agent runtime surface: the Agent base class, the message log, the task scheduler, and durable state.
* [Agent Class](https://developers.telnyx.com/docs/agent-sdk/api-reference/agent.md): The Agent base class — type parameters, construction, override hooks, and what's reserved.
* [Message Log](https://developers.telnyx.com/docs/agent-sdk/api-reference/message-log.md): this.messages — append-only conversation history with seq ordering and adapters for LangChain, OpenAI, and Anthropic.
* [Scheduling](https://developers.telnyx.com/docs/agent-sdk/api-reference/scheduling.md): queue, schedule, every — durable named timers over the actor's alarm slot, with retries, backoff, and at-least-once delivery.
* [State](https://developers.telnyx.com/docs/agent-sdk/api-reference/state.md): getState, setState, replaceState — merge-patch durable state on a single key, plus the initialState and onStateChanged hooks.
* [Limits](https://developers.telnyx.com/docs/agent-sdk/limits.md): Budgets, retry behavior, and what's coming next.
