---
title: "Preflight Agent: durable AI flight briefings"
description: "A Restate + Claude demo where a weather-briefing workflow suspends for hours, survives process kills, and resumes exactly where it left off."
url: "https://davidezambiasi.dev/projects/preflight-agent-restate"
---

typescript · restate · claude

# Preflight Agent: durable AI flight briefings

A Restate + Claude demo where a weather-briefing workflow suspends for hours, survives process kills, and resumes exactly where it left off.

Published July 21, 2026 · 1 min read

[Repository ↗](https://github.com/soos3d/preflight-agent-restate)

## The problem

Real agent workflows wait on humans and clocks: a pilot acknowledges a briefing now, departs hours later. Naive implementations hold processes open, lose state on restart, or re-bill every LLM call after a crash.

## What I built

A flight-briefing workflow on [Restate](https://restate.dev): it fetches live aviation weather (METARs, TAFs, PIREPs, SIGMETs) in parallel, has Claude write a plain-language GO / NO-GO briefing, then suspends — consuming zero resources — until the pilot acknowledges. A durable timer sleeps until one hour before departure, re-fetches the weather, and Claude diffs conditions against the original briefing. Kill the process anywhere and restart it: completed API and LLM calls replay from Restate’s journal instead of re-running.

## The DevRel angle

The entire durable-execution story is one ~160-line file, `src/workflow.ts`, and the README walks it top to bottom. The rest of the repo is deliberately ordinary plumbing, so the concept being taught is the only thing left to read. It is a demo, clearly labeled as not for actual flight operations.

DZ

Davide Zambiasi

Senior Developer Relations Engineer

I ship the docs, guides, and example apps that get developers building, and I hire for the roles that do the same.

[GitHub](https://github.com/soos3d)[LinkedIn](https://www.linkedin.com/in/davide-zambiasi)[Blog](https://blog.davideai.dev)

[

Postflight: an approval-gated posting agent

Previous Page

](/projects/postflight)[

Can Nova-3 understand air traffic control?

Next Page

](/projects/atc-live-transcript)
