Build Daily

Tinley Park · August 23, 2026
Nate B JonesAug 12, 2026

Three OpenAI Engineers Shipped A Million Lines. Your Ten-Hour Agent Run Starts Here.

What it covers

This video explains how to manage long-running AI agent sessions by using progressive context shaping rather than relying on static instructions. It details practical methods for maintaining current project state files and decision logs to keep agents focused on evolving goals.

The outline

Tap a timestamp to jump there in the video.

  1. OpenAI's Million-Line Project

    Three OpenAI engineers shipped a million-line internal product in a tenth of the usual time using long-running agent sessions.

  2. The Context Problem

    Long agent runs face context issues where giant instruction files crowd out tasks and become graveyards of stale rules.

  3. OpenAI's Map Approach

    OpenAI replaced giant manuals with a short map pointing to active execution plans, decision logs, and architecture maps.

  4. Anthropic's Progress Files

    Anthropic uses progress files as portable memory between sessions to record current state, completed work, and failed approaches.

  5. Progressive Context Shaping

    This practice involves changing the small set of instructions governing next steps as work produces new evidence along the way.

  6. Opening Prompt Basics

    A strong opening prompt defines results, materials, boundaries, and first moves but can only express what is known before work begins.

  7. Directing Work vs Placing Orders

    As projects produce new information, the job shifts from defending the original prompt to changing what the agent treats as current assignment.

  8. Arise's External Plan Example

    Arise solved agent confusion by moving plans outside the conversation window and rebuilding short plan messages from latest state on disk.

  9. Current.md Workflow

    Using a current.md file allows agents to read updated state at job start and update it after consequential decisions across different tools.

  10. What Belongs in Project State

    Only save changes that affect the target or definition of done; explanations of how you got there belong only in history.

  11. Codex Benchmark Case Study

    A long Codex project required changing state to stop an unbounded generation loop and focus on deepening evidence for the most valuable answers.

Context as scaffolding

The million-line codebase built entirely by agents underscores that scale demands structured context, not just raw output. Without clean, reusable context files, even powerful agents lose direction and coherence. For solo builders, this means investing in systems that preserve clarity across long-running projects.