-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
116 lines (106 loc) · 2.54 KB
/
config.example.yaml
File metadata and controls
116 lines (106 loc) · 2.54 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# Agent Zero CLI configuration (example)
connection:
# API endpoint and auth (prefer env: AGENTZERO_API_URL / AGENTZERO_API_KEY)
api_url: "http://host:port/api_message"
api_key: "YOUR_KEY"
# Optional Agent Zero UI/dashboard URL (F5 opens this)
ui_url: "http://host:port/"
lifetime_hours: 24
# 0 = no timeout (wait indefinitely)
timeout_seconds: 0
workspace_root: "."
use_mock: false
send_tool_results: true
stream: true
stream_mode: "auto"
keepalive_seconds: 5
max_wait_seconds: 0
host: "localhost"
port: 8000
path: "/api_message"
active_project: "default"
projects:
default:
workspace_root: "."
orchestrator:
workspace_root: "/path/to/orchestrator"
agent_profile: "default"
agent_profile: "default"
agent_profiles:
default:
prompt: "General-purpose agent for software tasks."
hacker:
prompt: "Security-focused agent. Be cautious, explain risks, and propose safe steps."
context:
enabled: true
mode: "on_change" # always | on_change | once | manual
max_bytes: 20000
max_files: 200
max_depth: 4
include_tree: true
include_previews: true
preview_files:
- "README.md"
- "main.py"
- "backend.py"
- "config.example.yaml"
max_preview_bytes: 6000
redact_keys:
- "api_key"
- "token"
- "secret"
- "password"
redact_patterns:
- "(?i)bearer\\s+[A-Za-z0-9._-]+"
include_git: true
include_system: true
include_tools: true
ignore_dirs:
- ".git"
- "venv"
- "__pycache__"
- "node_modules"
- ".snapshots"
- ".pytest_cache"
- ".mypy_cache"
- ".ruff_cache"
- ".idea"
- ".vscode"
security:
# Modes: paranoid | balanced | god_mode
mode: "balanced"
allow_shell: false
# Auto-approve these commands (balanced mode only)
whitelist:
- "ls"
- "dir"
- "cat"
- "echo"
- "git status"
- "pwd"
- "whoami"
# Always block or require confirmation
blacklist_patterns:
- "rm -rf"
- "format"
- "mkfs"
- ":(){ :|:& };:" # Fork bomb
- "shutdown"
ui:
# Themes: Studio Light, Studio Dark, High Tech 2026, Atari 800XL,
# Commodore C64, ZX Spectrum, Atari ST, Amiga 500, MS DOS XT PC,
# Mac One, Mac Classic, Mac Aqua
theme: "Studio Light"
# waiting_game: invaders | pong | off
waiting_game: "invaders"
show_timestamps: false
status_in_chat: false
observer:
enabled: false
mode: "automatic" # automatic|manual
type: "agent_zero" # agent_zero|local_llm
provider: "agent_zero" # agent_zero|openai|openrouter|local
model: "gpt-4o-mini"
api_key: ""
endpoint: ""
path: ""