# Building durable agents with Temporal and AI SDK by Vercel

DevFeed: [Building durable agents with Temporal and AI SDK by Vercel](<https://devfeed.tech/articles/building-durable-agents-with-temporal-and-ai-sdk-by-vercel-35744.md>)

Original publisher: [Read original article](<https://temporal.io/blog/building-durable-agents-with-temporal-and-ai-sdk-by-vercel>)

Author: Melissa Herrera

Published: 2026-01-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [vercel ai sdk](<https://devfeed.tech/topics/vercel-ai-sdk.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [AI Development](<https://devfeed.tech/topics/ai-development.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [production](<https://devfeed.tech/tags/production.md>), [retries](<https://devfeed.tech/tags/retries.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [state](<https://devfeed.tech/tags/state.md>), [tool](<https://devfeed.tech/tags/tool.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [vercel](<https://devfeed.tech/tags/vercel.md>)

## AI overview

This tutorial explains how to combine Temporal with Vercel's AI SDK to build durable AI agents in TypeScript. The integration adds retries, state persistence, recovery, and crash-safe tool calls for long-running workflows.

## Source excerpt

Build production-ready, durable AI agents in TypeScript with Vercel's AI SDK and Temporal. Add automatic retries, state persistence, and crash-safe tool calls with minimal code changes.