Documentation/Concepts/Environments
1 min read

Environments

Environments help you ship changes safely. The same workflow behaves differently depending on prompt versions, retrieval configs, and model parameters—so you want clear boundaries and promotion flows.

Typical environments

EnvironmentPurposeWhat changes here
Developmentfast iterationdrafts, experiments, noisy telemetry
Stagingpre-production validationfull eval suites, release candidates
Productionuser trafficonly promoted and reviewed versions

What should be environment-scoped

  • active prompt versions
  • model/provider defaults
  • tool allowlists and rate limits
  • retention and sampling policies (often stricter in prod)
  1. Draft in dev → run targeted evals
  2. Promote to staging → run full suites + check latency/cost
  3. Promote to prod → monitor traces, errors, and budgets
  4. Roll back immediately if critical metrics regress

Next steps