PARELdocs

agent.yaml Reference

The agent config file declares everything about your agent: what model to use, which plugins to load, and runtime constraints.

# Full Example

agent.yaml
version: "1"
agent:
  name: research-bot
model:
  provider: anthropic
  model: claude-sonnet-4-20250514
plugins:
  - system-static:
      prompt: "You are a research assistant."
  - sandbox-e2b
  - memory-rolling-summary
  - security-basic
  - budget-cap:
      max_usd: 25
runtime:
  maxSteps: 200
  maxTurns: 50
  checkpointInterval: 10

# version

Required. Currently only "1" is supported.

# agent

FieldTypeDescription
namestringAgent display name (required)

# model

Required. Selects the builtin model provider adapter and native provider model id.

FieldTypeDescription
providerstring"openai", "openai-responses", or "anthropic"
modelstringProvider-native model id
configobjectOptional provider adapter config, such as baseUrl

# plugins

Array of plugin declarations. Three formats supported:

formats
plugins:
  # String shorthand — no config
  - sandbox-e2b

  # Object shorthand — with config
  - budget-cap:
      max_usd: 25
      max_turns: 50

  # Full form — name any package explicitly (e.g. a third-party plugin)
  - plugin: "@scope/third-party-plugin"
    config:
      key: value

Short names like sandbox-e2b resolve to @parel/sandbox-e2b.

# Model Providers

ProviderAdapterNotes
openaiOpenAI Chat CompletionsSupports OpenAI-compatible baseUrl config
openai-responsesOpenAI ResponsesUse for Responses API models and replay artifacts
anthropicAnthropic MessagesUse for Claude Messages API

# Available Plugins

NameTypeDescription
sandbox-e2bSandboxIsolated cloud VMs via E2B
memory-rolling-summaryMemoryLLM-compressed context window
security-basicGuardCommand blocklist + secret redaction
budget-capGuardSession cost / turn limits
system-staticSystemStatic system prompt
steering-immediateSteeringMid-turn user intervention

# runtime

FieldTypeDefaultDescription
maxStepsnumber200Max steps per turn before force-stop
maxTurnsnumberMax turns per session
checkpointIntervalnumber10Steps between auto-checkpoints
durabilitystringevent-sourced"event-sourced" or "ephemeral"

# Secrets and Provider Keys

Do not put provider API keys in agent.yaml. Add Anthropic, OpenAI, and E2B keys in Console > Settings; PAREL injects them into the matching model provider and sandbox plugin at session start.

${VAR_NAME} interpolation is not performed for deployed configs. Use workspace provider keys or plugin secrets instead.