Curtain is a framework for AI coding agents that executes multi-step tasks sequentially by withholding future instructions from the context window. It enforces structured workflows through acts separated by intermission and curtain gates, preventing agents from attempting entire plans at once and skipping critical steps like testing and review.