Configuration Reference

Agents are defined by an agent.yaml file in your project root. This page documents every available field.

Full example

name: support-agent
version: 0.1.0

models:
  primary: claude-sonnet-4-5
  fallback:
    - gpt-4o
  temperature: 0.3
  max_tokens: 4096

tools:
  - name: create-ticket
    type: http
    endpoint: https://api.linear.app/issues
    auth: env:LINEAR_API_KEY

prompts:
  system: ./prompts/system.md

evals:
  - name: helpfulness
    type: llm-judge
    model: claude-sonnet-4-5
    criteria: "Is the response helpful and relevant?"

Fields

name

Required. The agent’s unique identifier within your team. Must be lowercase alphanumeric with hyphens.

name: support-agent

version

Required. Semantic version string for the agent configuration.

version: 0.1.0

models

Required. Model configuration for the agent.

FieldTypeDescription
primarystringPrimary model to use (e.g., claude-sonnet-4-5, gpt-4o)
fallbackstring[]Ordered list of fallback models
temperaturenumberSampling temperature (0-2)
max_tokensnumberMaximum tokens in the response

tools

Optional list of tools the agent can invoke.

FieldTypeDescription
namestringTool identifier
typestringTool type: http, function
endpointstringURL for HTTP tools
authstringAuth reference (e.g., env:API_KEY)

Tool auth values prefixed with env: are resolved from secrets stored in the AgentLift platform. Set secrets via the dashboard or API.

prompts

System prompt configuration.

FieldTypeDescription
systemstringPath to the system prompt file, relative to project root

The system prompt file supports Mustache-style template variables that are resolved at runtime.

evals

Optional list of evaluation criteria.

FieldTypeDescription
namestringEval identifier
typestringEval type: llm-judge, exact-match, custom
modelstringModel to use for LLM-judge evals
criteriastringNatural language criteria for LLM-judge evals