Skip to main content
Agent Army uses environment variables for secrets and provider credentials. These are set during agent-army init and stored securely in Pulumi config.

Required

VariableDescription
ANTHROPIC_API_KEYAnthropic API key for agent LLM access (starts with sk-ant-)

Provider-Specific

AWS

VariableDescription
AWS_ACCESS_KEY_IDAWS access key
AWS_SECRET_ACCESS_KEYAWS secret key
AWS_REGIONDefault region (can also be set via aws configure)

Hetzner

VariableDescription
HCLOUD_TOKENHetzner Cloud API token

Optional

VariableDescription
TAILSCALE_AUTH_KEYPre-authenticated Tailscale key (otherwise prompted)
LINEAR_API_KEYLinear API key for ticket integration
GITHUB_TOKENGitHub token for repo access

Agent Environment

Each agent receives these environment variables on its server:
  • ANTHROPIC_API_KEY — For LLM access
  • LINEAR_API_KEY — If configured
  • GITHUB_TOKEN — If configured
  • Any custom envVars from the agent definition
Secrets are stored encrypted in Pulumi state and injected into agent servers via cloud-init. They are never written to the manifest file.