Skip to content

CLI reference

One-shot task:

Terminal window
faraday "Summarize the files in this workspace."

Interactive mode:

Terminal window
faraday

Explicit config path:

Terminal window
faraday --config /path/to/faraday.yaml "Your task here"

Verify tools and credentials:

Terminal window
faraday --check-tools

Batch from prompt file:

Terminal window
faraday --batch-file ./prompts.txt

Common flags:

  • --config
  • --model
  • --max-steps
  • --debug
  • --check-tools
  • --app-mode
  • --sandbox-backend
  • --workspace-source-root
  • --workspace-container-path
  • --previous-context
  • --artifacts-dir
  • --no-artifacts
  • --collect-artifacts-dir
  • --batch-file
  • --batch-query
  • --batch-continue-on-error
  • --use-docker
  • --docker-image

Deprecated: --trajectory-path is no longer needed. Trajectory output is written automatically to run_artifacts/trajectory.json inside the per-run directory. Use outputs.root in faraday.yaml to control the root.

Run faraday --help for full details.

Common runtime variables:

  • FARADAY_CONFIG
  • model/provider credentials (for example OPENAI_API_KEY)

Keep secrets in environment variables, not in faraday.yaml.

For the full list, see Environment variables.