Skip to main content
The execute endpoint is the fastest way to run an agent task without creating a persistent agent or managing a queued run lifecycle. By default, execute uses the lighter linc-based runtime in a Vercel Sandbox and returns the final result in the same HTTP response.
Endpoint

Default behavior

The default execute flow is synchronous:
  • create an ephemeral agent and run record
  • boot a Vercel Sandbox with linc and the casedev CLI
  • execute the task immediately
  • return the final output, logs, and runtime metadata in the same response

Request shape

Request body

Fields

enabledTools and disabledTools are mutually exclusive.

Response shape

The default response is synchronous and includes the final result directly.
Response body

Legacy agent runtime

If you need the older Daytona-backed runtime behavior, set agentRuntime: true.
Legacy request body
That legacy mode returns a queued/running-style response instead of the final output:
Legacy response body

When to use execute

  • You want the smallest possible integration surface.
  • You do not need a persistent chat session.
  • You prefer a blocking request that returns the final answer directly.
  • You want the lighter linc-based runtime by default.

When to use runs instead

  • You need queued execution and polling semantics.
  • You need separate create-run and exec-run steps.
  • You want the broader run lifecycle APIs.
See Execute Runs for the full run lifecycle.