-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
68 lines (56 loc) · 1.78 KB
/
config.example.toml
File metadata and controls
68 lines (56 loc) · 1.78 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# At least one messaging platform must be configured.
# --- Telegram (optional) ---
[telegram]
bot_token = "YOUR_BOT_TOKEN_HERE"
# Restrict access to specific Telegram user IDs (empty = allow all)
allowed_users = []
# --- Slack (optional) ---
# Uses Socket Mode (WebSocket), no public URL required.
# [slack]
# app_token = "xapp-..." # App-level token with connections:write scope
# bot_token = "xoxb-..." # Bot token with chat:write, files:write scopes
# allowed_users = [] # Slack user IDs, e.g. ["U01ABC123"]
[sandbox]
# "docker" (local) or "ecs" (AWS Fargate)
provider = "docker"
# "opencode" (REST/SSE via sandbox-agent) or "acpx" (headless ACP client via docker exec)
# acpx requires provider = "docker" (ECS exec not supported yet)
protocol = "opencode"
[docker]
image = "anycode-sandbox:latest"
port_range_start = 12000
port_range_end = 12100
network = "bridge"
[ecs]
# Required when sandbox.provider = "ecs"
# cluster = "anycode-cluster"
# task_definition = "anycode-sandbox:1"
# subnets = ["subnet-abc123", "subnet-def456"]
# security_groups = ["sg-abc123"]
# assign_public_ip = true
# container_port = 2468
# startup_timeout_secs = 120
# poll_interval_ms = 1000
# region = "us-west-2"
# platform_version = "LATEST"
# container_name = "anycode-sandbox"
# log_group = "/ecs/anycode"
# log_stream_prefix = "anycode"
[database]
path = "anycode.db"
[agents]
default_agent = "claude-code"
[agents.credentials.claude-code]
env = { ANTHROPIC_API_KEY = "sk-ant-..." }
[agents.credentials.codex]
env = { OPENAI_API_KEY = "sk-..." }
# [agents.credentials.goose]
# env = { OPENAI_API_KEY = "sk-..." }
# --- GitHub (optional) ---
# Provides gh CLI and git credential auth inside sandbox containers.
# [github]
# token = "ghp_..."
[session]
max_concurrent = 5
timeout_minutes = 30
debounce_ms = 500