Skip to main content
Deploying an agent packages the directory containing dari.yml, uploads the selected source files, prepares the runtime, and publishes a new version behind the agent’s stable URL.

Deploy From A Local Checkout

dari deploy .
The CLI reads dari.yml, validates the bundle, uploads the source snapshot, and registers the new version. If an agent with the same name already exists, Dari publishes a new version of that agent. Existing sessions continue running on the version they started on.

Minimal Manifest

dari.yml
name: my-agent
harness: pi
instructions:
  system: prompts/system.md
llm:
  model: openai/gpt-5.5
See Manifest Reference for every supported field.

Deploy In CI

Use a dedicated platform API key stored in your CI secret manager:
export DARI_API_KEY=dari_...
dari deploy .
See CI Publishing for a complete GitHub Actions workflow.

What Gets Uploaded

The deploy root becomes the source bundle for that version. When the deploy root is inside Git, the CLI includes tracked files and unignored untracked files. See Source Bundles for details.