Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Undead Agent - My AI Agent Dies, Comes Back, and Tells Me What It Saw

Описание и применение

Умерший агент демонстрирует, как локальный ИИ может выживать после завершения процесса, используя Durable Workflow Temporal для сохранения состояния и возобновления работы с последнего завершённого шага.

Задача

AI agents performing long multi‑step jobs often crash, causing the entire job to restart and incur repeated model calls.

Результат

The Undead Agent demonstrates that a local AI workflow can be made resilient to process termination by separating disposable workers from durable workflow state. The agent resumes exactly where it left off, avoiding redundant model calls and providing a ghost‑style narration of its last moments.

Рабочий процесс

  • Install Ollama and pull Gemma model
  • Start Temporal dev server
  • Run keepalive script
  • Run dashboard
  • Run client to trigger job
  • Kill the agent via dashboard
  • New worker resumes workflow from last checkpoint
  • Ghost narrates last state
  • Agent completes remaining steps and writes report

Доказательства

Every step runs as a durable Temporal workflow, so if the process is killed mid‑thought, a brand new process takes over the workflow without redoing any finished work.

Источник

The agent itself is a short Temporal workflow. It lists the files, summarizes each one as its own activity, then writes the report.

Источник

  • Дата записи: 2026-11-01T12:14:01.510Z