Start a session
Start a manual coding-agent session with the right repo, branch, prompt, and context.
Use a session when you have a concrete repository change that should move from instruction to reviewable diff. The session owns the sandbox, transcript, branch, validation output, preview, and eventual PR.

Before you start
Have a clear task before you start:
- What should change?
- Which repo and branch should the agent use?
- What files, screenshots, issue links, or product context matter?
- How will you know the result is correct?
Start the run
Prompt shape
Good prompts state the outcome, constraints, and verification:
Fix the mobile overflow in the session detail header.
Constraints:
- Keep the existing desktop layout.
- Use existing shadcn components and theme tokens.
- Add or update tests for the mobile behavior.
Verification:
- npm run typecheck
- npm run lint
- npm run buildFollow-ups
Sessions are interactive. After a turn completes or pauses, send follow-up instructions instead of starting over. Follow-ups reuse the session context and can continue from the same sandbox when a checkpoint is available.
For agents
When automating against sessions, treat the session as the durable work object. Issues provide context, but the session owns execution state.