# DBOS Transact

Database-Backed Durable Python Workflows

Repository: https://github.com/dbos-inc/dbos-transact-py
Canonical: https://ross.abutalabs.com/products/dbos-transact
Homepage: https://docs.dbos.dev
Language: Python
License: MIT
License Family: permissive
Topics: python, dbos, postgresql, microservice-orchestration, orchestration, workflow-engine, durable-execution, microservices-orchestration, agentic-workflow, cronjob-scheduler, workflows, sqlite
Last push: 2026-08-26T18:32:41+00:00
Link (homepage): https://docs.dbos.dev
Link (site_page): https://docs.dbos.dev/quickstart
Link (site_page): https://docs.dbos.dev/ai/ai-quickstart
Link (site_page): https://docs.dbos.dev/integrations/supabase
Link (site_page): https://docs.dbos.dev/faq

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 55
- inputs: {"age_days": 775, "days_push": 7, "days_rel": 8, "gap_med": 7.0, "n_releases_24m": 77}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1553, forks 89 (observed 2026-08-28T04:05:02.821695+00:00)

## What it is
DBOS Transact is an open-source library (Python and TypeScript SDKs) that adds lightweight durable workflows to applications by checkpointing workflow state in Postgres or SQLite. It provides durable queues, scheduling, notifications, and automatic recovery from failures without external orchestration infrastructure.

## Use cases
- build fault-tolerant payment processing that survives server crashes
- run long-running data pipelines that resume from checkpoints after interruption
- orchestrate microservice workflows without a separate orchestrator like Temporal
- make AI agents resilient to failures and support human-in-the-loop workflows
- schedule cron jobs and background task queues backed by Postgres
- add durable execution to an existing Python or TypeScript app with a few annotations

## When to choose
- your app must reliably recover from crashes, restarts, or network failures
- you want durable workflows and queues with no extra infrastructure beyond Postgres
- you need long-running or agentic workflows with checkpointing and observability
- you prefer a lightweight library over heavyweight external orchestrators

## When to avoid
- your workflows are short-lived and failure recovery is trivial
- you cannot use Postgres (or SQLite) as a system database
- you need a language other than Python, TypeScript, Go, or Java
- you want a fully managed orchestration service with its own control plane

## Facets
- artifact type: library
- maturity: active
- function: workflow-automation, scheduling, microservices, agent-framework, concurrency, developer-tools
- domain: backend, developer-tools, artificial-intelligence, databases, microservices
- platform: python, self-hosted, cross-platform
- tags: durable-execution, workflow-engine, postgres, task-queue, fault-tolerance, orchestration, cron-scheduling, sqlite, automation, ai-agents, nodejs

## Member repositories
- dbos-inc/dbos-transact-py (main) score 86
- dbos-inc/dbos-transact-ts (sdk) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:02.821695+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:07.604977+00:00, confidence not recorded.
  - readme: https://github.com/dbos-inc/dbos-transact-py (fetched 2026-08-28T04:05:02.821695+00:00, sha 423eaf0eec58)
  - homepage: https://docs.dbos.dev (fetched 2026-08-29T11:30:55.042244+00:00, sha 4d27b18394c0)
  - site_page: https://docs.dbos.dev/quickstart?language=java (fetched 2026-08-29T11:30:55.071596+00:00, sha 5801b8e803fe)
  - site_page: https://docs.dbos.dev/quickstart (fetched 2026-08-29T11:30:55.051598+00:00, sha 5801b8e803fe)
  - site_page: https://docs.dbos.dev/ai/ai-quickstart (fetched 2026-08-29T11:30:55.054099+00:00, sha 13b122ea390a)
  - site_page: https://docs.dbos.dev/integrations/supabase (fetched 2026-08-29T11:30:55.056645+00:00, sha 516bdf57c049)
  - site_page: https://docs.dbos.dev/faq (fetched 2026-08-29T11:30:55.058579+00:00, sha ecc69738e50f)
  - site_page: https://docs.dbos.dev/quickstart?language=python (fetched 2026-08-29T11:30:55.060669+00:00, sha 5801b8e803fe)
  - site_page: https://docs.dbos.dev/quickstart?language=typescript (fetched 2026-08-29T11:30:55.066869+00:00, sha 5801b8e803fe)
  - site_page: https://docs.dbos.dev/quickstart?language=golang (fetched 2026-08-29T11:30:55.069490+00:00, sha 5801b8e803fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
