---
title: "Examples"
description: "Each example is a complete application built with Dex. A design pattern shows one technique; an example combines several. The Quick Start runs Customer Refund. Then read Order Processing. For agents, start with the Order Support Agent."
canonical_url: "https://docs.superdurable.io/examples/"
source: "docs/content/use-cases/index.mdx"
locale: "en"
---

> Index of every page for AI agents: https://docs.superdurable.io/llms.txt

# Examples

Each example is a complete application built with Dex. A design pattern shows one technique; an example combines several. The [Quick Start](https://docs.superdurable.io/quick-start.md) runs [Customer Refund](https://docs.superdurable.io/examples/customer-refund.md). Then read [Order Processing](https://docs.superdurable.io/examples/order-processing.md). For agents, start with the [Order Support Agent](https://docs.superdurable.io/examples/order-support-agent.md).

## Examples

<a id="ai-agents"></a>

### AI agents

| Example                                                                               | What it does                                                                                                                                | Shows                                                                                                 | SDKs                           |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------ |
| [Sign-up Review Agent](https://docs.superdurable.io/examples/sign-up-review-agent.md) | Reviews each new sign-up with admins in Slack, applies their decision, and sends the welcome email after approval and a `send` reply        | Agent sessions, Connectors as Tools, a Connector Trigger, a wait of days for a person, Time Travel    | TypeScript, Go, own repository |
| [Release Watch Agent](https://docs.superdurable.io/examples/release-watch-agent.md)   | Posts a digest of your dependencies' new releases to Slack on weekdays, and files GitHub issues for the releases your team chooses to track | Cron schedule, Decision with Deadline, agent sessions, a Connector Trigger, an outbox in an Attribute | TypeScript, own repository     |
| [Order Support Agent](https://docs.superdurable.io/examples/order-support-agent.md)   | Looks up and cancels orders, built once for each agent framework; every cancellation waits for approval                                     | Tool calls, Approvals, Sessions, Connectors as Tools                                                  | Python, TypeScript, Go         |

<a id="workflows"></a>

### Workflows

| Example                                                                                                           | What it does                                                                                                      | Shows                                                                                         | SDKs                                |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | ----------------------------------- |
| [Order Processing](https://docs.superdurable.io/examples/order-processing.md)                                     | Charges a buyer, waits for the seller to approve the shipment, then ships, or refunds when shipping keeps failing | Reminder, Execute Failure Recovery, Wait for Step Completion                                  | All five                            |
| [Subscription and Billing Lifecycle](https://docs.superdurable.io/examples/subscription-and-billing-lifecycle.md) | Runs a subscription through its trial, billing periods, price changes, and cancellation                           | Recurring Timer loop, Static Parallel Steps                                                   | All five                            |
| [User Onboarding Process](https://docs.superdurable.io/examples/user-onboarding-process.md)                       | Verifies a new user's email, then waits for two setup tasks in order and sends reminders                          | Reminder                                                                                      | All five                            |
| [Money Transfer](https://docs.superdurable.io/examples/money-transfer.md)                                         | Moves money between two accounts, and attempts compensation when an operation still fails after its retries       | Execute Failure Recovery                                                                      | All five                            |
| [Job Seeker Engagement](https://docs.superdurable.io/examples/job-seeker-engagement.md)                           | Keeps an employer and a job seeker aligned while the job seeker decides on an opportunity                         | Static Parallel Steps, Reminder, Decision with Deadline, Wait for Attribute Match             | All five                            |
| [Deal DSL](https://docs.superdurable.io/examples/deal-dsl.md)                                                     | Describes each deal as data and runs any deal in one Flow                                                         | Workflow DSL                                                                                  | All five                            |
| [Microservice Orchestration](https://docs.superdurable.io/examples/microservice-orchestration.md)                 | Calls up to four APIs, two in parallel, one after a callback or a 24-hour timeout                                 | Static Parallel Steps, Decision with Deadline                                                 | All five                            |
| [Job Posting](https://docs.superdurable.io/examples/job-posting.md)                                               | Stores a searchable job posting and delivers every update to LinkedIn and Indeed in order                         | Entity Flow, Wait for Attribute Match                                                         | All five                            |
| [Customer Refund](https://docs.superdurable.io/examples/customer-refund.md)                                       | Checks a refund request, waits for a manager on large amounts, issues the refund, and emails the customer         | A manager approval through a Channel and RPCs, Dex Web Actions, idempotency keys, Time Travel | All five; two more Flows in Go only |

"All five" means Python, Go, TypeScript, Java, and Rust. Build AI Agents has one more example: the [AI Agent](https://docs.superdurable.io/build-ai-agents/dex-agent-framework.md#the-example) (Python, TypeScript), a general agent on the Dex Agent Framework.

<a id="run-any-example"></a>

## Run any example

[Run an example from the playground](https://docs.superdurable.io/install.md#run-an-example-from-the-playground) starts the examples of one language and the playground. The playground has every example above except Deal DSL and the three agents; their pages show how to run them.
