Skip to main content

Build AI Agents

View as Markdown

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

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.