Skip to main content

Using the AI Agent — One-off Mode

One-off mode runs the agent autonomously on a single prompt, without any interaction. You send a task, the agent works through it to completion, and the output streams back to your browser.

Use one-off mode for:

  • Well-defined, self-contained tasks with a clear expected outcome
  • Tasks where you don't need to answer questions mid-run
  • Repetitive operations that follow a predictable pattern

How it differs from interactive mode

InteractiveOne-off
Session typeLive, persistentSingle run
Mid-run questionsYes — you answer in the browserNo — the agent decides automatically
Best forComplex, exploratory workSpecific, well-scoped tasks
ReconnectionYes (5-minute window)No

Writing effective one-off prompts

Since the agent can't ask you questions, your prompt needs to be complete enough that the agent can make all decisions on its own.

Less effective:

Update the RBAC config

More effective:

In src/config/rbac.py, add a new role called Visitor with the following permissions: read access to zones A, B, and C; no write access; no admin access. Use the same structure as the existing Contractor role. Do not modify any other roles.

Include:

  • The specific files or areas to work on
  • The exact change to make
  • Any constraints or things to leave unchanged
  • The expected outcome

Thread continuity

When using DeepAgents in one-off mode, the platform remembers the conversation thread between prompts. This means you can send a follow-up prompt and the agent will have context from the previous run.

Claude Code one-off mode does not retain context between separate runs — each prompt starts fresh.


After the run

One-off runs don't automatically commit changes. After the agent finishes:

  1. Review the changes in the file sidebar
  2. Check git diff to confirm the changes are correct
  3. Commit and push when ready (see Git Operations)