Build AI Agents
View as MarkdownDex runs an AI agent as a durable session. Your agent keeps its agent SDK, prompts, and tools, or uses the Dex Agent Framework. Dex saves each completed Step, so after a crash or a deploy the session continues from those results; How it works says what can run again.
Choose an agent SDK
Pick your agent SDK to see how Dex wraps it, or pick the Dex Agent Framework to start without one. Agent SDK adapters lists each agent SDK's features and limits.
Python, TypeScript
EinoGo
Google ADKPython
LangGraphPython
MastraTypeScript
OpenAI Agents SDKPython, TypeScript
PiTypeScript
Pydantic AIPython
Vercel AI SDKTypeScript
Dex Agent FrameworkPython, TypeScript, no agent SDK
To try a durable agent before you write code, chat with one in your terminal through the Dex Agents CLI.
Two examples run end to end: AI Agent on the Dex Agent Framework, and Order Support Agent on each agent SDK. The Agents reference holds the options and limits, and the Glossary defines the terms.