---
title: "Discussion on \"Kill the Worker, Keep the Work: Resumable Background Agent Runs in Django (Part 12)\" | Hashnode"
description: "Discussion on \"Kill the Worker, Keep the Work: Resumable Background Agent Runs in Django (Part 12)\". A Postgres queue where tenants take turns, checkpoints so a crash resumes instead of re-calling the model, and a status endpoint that's cheap to poll."
url: "https://hashnode.com/posts/resumable-background-ai-agent-runs-django-postgres/6b0ca6f336c8a94a5f49a1b4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Kill the Worker, Keep the Work: Resumable Background Agent Runs in Django (Part 12)](https://aidevpro.hashnode.dev/resumable-background-ai-agent-runs-django-postgres?utm_source=hashnode&utm_medium=feed)

A Postgres queue where tenants take turns, checkpoints so a crash resumes instead of re-calling the model, and a status endpoint that's cheap to poll.

1d ago · 18 min read · aidevpro.hashnode.dev  
Read the article

-   [#django](https://hashnode.com/tag/django)
-   [#background-jobs](https://hashnode.com/tag/background-jobs)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#python](https://hashnode.com/tag/python)

## Written by

[AI Developer](https://hashnode.com/@lycore)

@lycore

  
[View profile](https://hashnode.com/@lycore)

build production-ready AI integrations, mobile apps, and web platforms for businesses that want real results.

Custom software & AI development company. We build production-ready AI integrations, mobile apps, and web platforms for businesses that want real results. lycore.com

## Responses 1

Markdown supported · ⌘↵ to post

[Bishal Paul](https://hashnode.com/@bishal-paul)

[23h ago](https://hashnode.com/posts/resumable-background-ai-agent-runs-django-postgres/6b0ca6f336c8a94a5f49a1b4/comment/6b0cc1faa4113e5164f3f5c1)

This is the boring work nobody wants to write about, and it's the work that decides whether a system survives real use. A crashed run that resumes instead of re-calling the LLM — that's real money saved, and real trust kept. I do the same thing in a smaller way with checkpoints in my workflows: if it dies halfway, it picks up where it stopped, not from zero.
