File size: 1,432 Bytes
3201ca6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Example environment for examples/acp-docker/docker-compose.yml.
# Copy to `.env` in this directory. Everything here is OPTIONAL — the
# recommended path is to enter credentials in Canvas's onboarding "Set up
# credentials" step (they ride the conversation start request as secrets).
# Set values here only if you want them baked into the container instead.

# Pin the agent-server image. The compose default is `latest-python`.
# For a reproducible pin (driven by config/defaults.json): npm run example:acp-docker:env
# AGENT_SERVER_IMAGE=ghcr.io/openhands/agent-server:latest-python

# --- Claude Code ---
# A Pro/Max OAuth token, OR an API key. Do NOT set ANTHROPIC_BASE_URL with the
# OAuth token — an inherited base URL breaks bearer auth (see docs/ACP_AGENTS.md).
# CLAUDE_CODE_OAUTH_TOKEN=
# ANTHROPIC_API_KEY=

# --- Codex ---
# Subscription auth.json is supplied via Canvas (CODEX_AUTH_JSON); for an API
# key instead:
# OPENAI_API_KEY=

# --- Gemini CLI (Vertex AI) ---
# The service-account / ADC JSON is supplied via Canvas
# (GOOGLE_APPLICATION_CREDENTIALS_JSON). These scalars can live here or in Canvas:
# GOOGLE_CLOUD_PROJECT=
# GOOGLE_CLOUD_LOCATION=us-central1
# GOOGLE_GENAI_USE_VERTEXAI=true
# Or the API-key path:
# GEMINI_API_KEY=

# --- Auth (optional) ---
# Require a session key on the backend; mirror it into Canvas as
# VITE_SESSION_API_KEY. Leave unset for an open local backend.
# SESSION_API_KEY=