Building a Production Async Agent Queue in TypeScript with Bun and Mistral Work Mode: A 2026 Tutorial
An end-to-end tutorial for engineers shipping long-running coding agents in production. We build a TypeScript queue on Bun that submits agent jobs to Mistral Le Chat Work mode and OpenAI background mode, polls or receives webhooks for completion, enforces per-job cost ceilings, and exposes a small status dashboard — the operating model behind the new async-coding paradigm.