# Telnyx Agent SDK — Documentation Index > Build and run stateful AI agents with scheduling, message history, SQL, and WebSockets. One section of the Telnyx developer docs (https://developers.telnyx.com). > This file: https://developers.telnyx.com/docs/development/llms/ai-agent-sdk-beta-llms-txt · Root index: https://developers.telnyx.com/llms.txt ## Subsections Focused per-subsection index files: - [Agent SDK (Beta)](https://developers.telnyx.com/docs/development/llms/ai-agent-sdk-beta-agent-sdk-beta-llms-txt) - [Overview](https://developers.telnyx.com/docs/agent-sdk.md): Build, host, and connect your agents to the real world all on one platform. - [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. - [How Agents Run](https://developers.telnyx.com/docs/agent-sdk/concepts/how-agents-run.md): One persistent actor per conversation: serialized turns, background thinking, and state that survives restarts. - [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): Persistent named timers — queue, schedule, and every survive restarts and retry on failure. - [Persistent 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. - [Mounting Agents](https://developers.telnyx.com/docs/agent-sdk/mounting-agents.md): Expose every agent your function serves with one call: mountAgents gives WebSocket, SSE, and RPC one address per agent, an edge authorization gate that composes with the agent's own, and names your c… - [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 persistent memory. - [Overview](https://developers.telnyx.com/docs/agent-sdk/api-reference.md): Every class, interface, and function the Agent SDK exposes — the whole surface on one screen, linking into per-member reference pages. - [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. - [Lifecycle](https://developers.telnyx.com/docs/agent-sdk/api-reference/agent/lifecycle.md): How an agent instance comes to life and receives work — the runtime-invoked constructor, the actor primitives ctx and env, the HTTP and WebSocket entry points, and the reserved alarm slot. - [Connection](https://developers.telnyx.com/docs/agent-sdk/api-reference/agent/connection.md): The agent's built-in connection surface — the authorize policy seam, the onAttach admission hook, the attachments view, and the types they exchange. - [State](https://developers.telnyx.com/docs/agent-sdk/api-reference/agent/state.md): getState, setState, replaceState — merge-patch persistent state on a single key, plus the initialState and onStateChanged hooks. - [Scheduling](https://developers.telnyx.com/docs/agent-sdk/api-reference/agent/scheduling.md): queue, schedule, every — persistent named timers over the actor's alarm slot, with retries, backoff, and at-least-once delivery. - [RPC](https://developers.telnyx.com/docs/agent-sdk/api-reference/agent/rpc.md): rpc and rpcSurface — opting methods onto the remote surface, and introspecting what an agent exposes. - [MessageLog](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. - [EventLog](https://developers.telnyx.com/docs/agent-sdk/api-reference/event-log.md): A persistent, replayable progress-event stream — emit with monotonic seq, read from a cursor, count-based retention. - [AgentSocketServer](https://developers.telnyx.com/docs/agent-sdk/api-reference/agent-socket-server.md): The server half of the agent socket protocol — attach WebSockets, authorize sessions, dispatch RPC, and broadcast state, messages, and events. - [AgentHttpServer](https://developers.telnyx.com/docs/agent-sdk/api-reference/agent-http-server.md): The HTTP front door for an AgentSocketServer — the agent's streams over Server-Sent Events, and its RPC surface over POST, reachable from a plain page with no SDK. - [AgentClient](https://developers.telnyx.com/docs/agent-sdk/api-reference/agent-client.md): The browser/Node client — connect to a live agent over WebSocket, mirror its state, subscribe to messages and events, and make typed RPC calls. - [mountAgents](https://developers.telnyx.com/docs/agent-sdk/api-reference/mount.md): The front door: one call routes every agent your function serves — WebSocket, SSE, and RPC on one address — plus the mount options, the name encoder, and the routing types. - [Limits](https://developers.telnyx.com/docs/agent-sdk/limits.md): Budgets, retry behavior, name lengths, and what has shipped.