Skip to main content
Execution contexts with variables, secrets, and integrations for agent operations.

Quick Start

Output:

List Environments

Output:

Get Environment Details

View complete environment configuration including variables, secrets, and integrations:
Output:

Create Environment

Create a new environment from a YAML configuration file:
environment.yaml:
Example with multiple integrations:

Update Environment

Update an existing environment configuration:
The update will merge new configuration with existing settings. To replace completely, delete and recreate the environment.

Delete Environment

Deleting an environment does not delete agents or teams using it. They will need to be reconfigured with a new environment.

Best Practices

Organization

  • Separate environments by stage (dev, staging, production)
  • Use descriptive names and detailed descriptions
  • Document variable purposes in environment descriptions
  • Maintain environment definitions in version control

Security

  • Never store sensitive data in plain text variables - always use secrets
  • Rotate secrets regularly with automated processes
  • Use role-based access control for environment management
  • Encrypt secrets at rest
  • Enable and review audit logs for environment changes

Variable Management

  • Use consistent naming conventions (UPPER_SNAKE_CASE for env vars)
  • Document required vs optional variables
  • Provide sensible defaults where possible
  • Use environment-specific values (don’t share credentials across envs)

Integration Management

  • Only add integrations that are actually used
  • Review integration permissions regularly
  • Test integrations after adding or updating
  • Document integration setup requirements

Command Reference

Next Steps

Core Resources

Create agents and teams in environments

Capabilities

Configure skills and policies for environments

Workers

Deploy workers for environment execution

On-Demand Execution

Execute tasks in configured environments