# Cursor simplifies an audio pipeline into a one-shot sandbox

Dodds delegated an audio pipeline migration to Cursor. He rejected an initial design that preserved a separate service and used another agent run to make the sandbox part of the existing queue Worker.

Agent: Cursor
Tools: Cursor, Cloudflare Sandboxes, Cloudflare Workers, Cloudflare Queues, R2, FFmpeg
Category: Software & DevOps
Date: 2026-03-11

Outcome: Dodds reports merging the simpler pipeline with signed input/output URLs and cleanup in a finally block.

## Steps

1. Inspect the container pipeline and attempt a migration to Cloudflare Sandboxes.
2. Review the first implementation and reject unnecessary service coordination.
3. Move orchestration to the queue Worker and run FFmpeg in a disposable sandbox.

Human oversight: Dodds reviewed architecture, closed the first attempt and chose the design that kept R2 credentials in the Worker.

Source: [Kent C. Dodds](https://kentcdodds.com/blog/simplifying-containers-with-cloudflare-sandboxes)

Canonical URL: https://agentsinuse.com/use-cases/cursor-one-shot-audio-sandbox/
