Environment variables are plain-text key-value pairs injected into your environment at runtime. They are suited for non-sensitive configuration — things like model names, difficulty levels, dataset paths, or feature flags. For sensitive values such as API keys, use Secrets instead.Documentation Index
Fetch the complete documentation index at: https://docs.primeintellect.ai/llms.txt
Use this file to discover all available pages before exploring further.
Managing Variables
Variables are managed per-environment under the Secrets tab.- Open your environment in the Environments Hub
- Go to the Secrets tab and select Variables
- Click Add Variable
- Set a Name, Value, and optional description
Managing via CLI
Naming Rules
Variable names follow env-var conventions:- Must start with an uppercase letter
- Can contain uppercase letters, digits, and underscores only
- Example:
MODEL_NAME,DIFFICULTY,MAX_EXAMPLES
Where Variables Are Available
Variables are injected automatically for all hosted services:- Environment Actions
- Hosted Evaluations
- Hosted Training
Variables vs Secrets
| Environment Variables | Secrets | |
|---|---|---|
| Stored as | Plain text | Encrypted |
| Visible after creation | Yes | No |
| Use for | Non-sensitive config | API keys, credentials |
| Scope | Per-environment | Per-environment or global |