Environments and Automations work together as a powerful system. Environments can bundle automations alongside configuration, and automations can access environment variables. We recommend reading both pages to understand the full capabilities.
Overview
Use environments to provide API keys, database credentials, SSH access, or any configuration your agent needs to interact with external services. Environments work seamlessly with automations, allowing you to orchestrate complex workflows that require authenticated access to tools and services.Key Concepts
Personal & Private
Environments are user-scoped. Even within shared projects, each team member maintains their own set of environments with their own credentials and configurations.Environment Variables
Define environment variables in standard.env format:
- Agent’s bash commands
- Automation scripts
- Any processes spawned by the agent
.env format and parses key-value pairs, supporting both quoted and unquoted values.
Secret Files
Secret files allow you to inject sensitive files directly into your agent’s filesystem. Common use cases include:- SSH private keys (for git operations with private repositories)
- Service account credentials (
.jsonfiles for Google Cloud, AWS, etc.) - Configuration files (
.npmrc,.pypirc, custom configs)
- Path: Where the file should be created (e.g.,
/home/user/.ssh/id_rsa) - Contents: The file’s content
SSH Key Pairs
Generate ed25519 SSH keypairs directly from the Ariana interface. The backend usesssh-keygen to create secure keypairs that can be added to your GitHub/GitLab account for repository access, used for SSH authentication to remote servers, or stored as secret files in the environment.
Integration with Automations
Environments can bundle automations alongside configuration. When you install an environment on an agent, all associated automations are activated.Example: Automated Commit Notifications
Send real-time development updates to your team every time your agent makes a commit. Environment Variables:after_commit):