# Durable Execution with DBOS and CockroachDB

DevFeed: [Durable Execution with DBOS and CockroachDB](<https://devfeed.tech/articles/durable-execution-with-dbos-and-cockroachdb-23782.md>)

Original publisher: [Read original article](<https://cockroachlabs.com/blog/embedded-durable-execution-dbos-cockroachdb>)

Author: Amine El Kouhen, Ph.D.

Published: 2026-07-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Cockroach Labs](<https://devfeed.tech/sources/cockroach-labs.md>)

Topics: [CockroachDB](<https://devfeed.tech/topics/cockroachdb.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Orchestration](<https://devfeed.tech/topics/orchestration.md>), [Database](<https://devfeed.tech/topics/database.md>), [Python](<https://devfeed.tech/topics/python.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [cockroachdb](<https://devfeed.tech/tags/cockroachdb.md>), [database](<https://devfeed.tech/tags/database.md>), [orchestration](<https://devfeed.tech/tags/orchestration.md>), [python](<https://devfeed.tech/tags/python.md>), [self-healing](<https://devfeed.tech/tags/self-healing.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

This article explains how DBOS provides durable execution for long-running AI agent workflows by embedding workflow state persistence directly in a Python or TypeScript application database. It contrasts this approach with Temporal's separate orchestration service and describes pairing DBOS with CockroachDB.

## Source excerpt

Modern AI applications are no longer single-shot inference calls. They are long-running agents that plan, act, observe, and retry across time.