-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.ini
More file actions
142 lines (119 loc) · 3.84 KB
/
Copy pathconfig.example.ini
File metadata and controls
142 lines (119 loc) · 3.84 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
=== vant CONFIG EXAMPLE ===
# Copy this to config.ini and fill in your values
# Core
VANT_VERSION=v0.8.4
MODEL_PATH=models/public
STATE_PATH=states/active/current.json
# Transport (Stegoframe)
STEGOFRAME_URL=https://stegoframe.creadev.org
STEGOFRAME_ROOM=YOUR_ROOM_ID
STEGOFRAME_PASSPHRASE=YOUR_PASSPHRASE
STEGOFRAME_MODE=svg
# GitHub (set via environment variable)
GITHUB_REPO=your-username/your-repo
GITHUB_BRANCH=main
GITHUB_TOKEN=${GITHUB_TOKEN}
# Runtime
POLLING_INTERVAL=10000
MAX_REQUESTS_PER_HOUR=360
# Memory TTL (in milliseconds)
# Default: learn=24h (86400000), memory=100y (315360000000)
# Bounds: min=1min (60000), max=100years (315360000000)
# learn.ttl=86400000
# memory.ttl=315360000000
# MCP Server (optional - for AI tool access)
MCP_API_KEY=your-secret-api-key
MCP_PORT=3456
# ===========================================
# SECURITY CONFIGURATION
# See docs/guides/security.md for details
# ===========================================
# --- VAF (Input Validation & Filtering) ---
# Max string length for inputs (default: 100000)
MAX_STRING_LENGTH=100000
# Max nested object depth (default: 5)
MAX_DEPTH=5
# Max array length (default: 1000)
MAX_ARRAY_LENGTH=1000
# --- Rate Limiting ---
# Max requests per minute (default: 60)
MAX_REQUESTS_PER_MINUTE=60
# Max requests per hour (default: 1000)
MAX_REQUESTS_PER_HOUR=1000
# Max burst requests (default: 10)
MAX_BURST=10
# --- Path Protection ---
# Max path length (default: 4096)
MAX_PATH_LENGTH=4096
# Block path traversal attempts (default: true)
BLOCK_PATH_TRAVERSAL=true
# --- MCP Server Security ---
# Require API key (default: false - but recommend true for production)
MCP_REQUIRE_API_KEY=false
# MCP request timeout in ms (default: 30000)
MCP_TIMEOUT=30000
# MCP max input size in bytes (default: 1048576 = 1MB)
MCP_MAX_INPUT_SIZE=1048576
# MCP max concurrent requests (default: 3)
MCP_MAX_CONCURRENT=3
# MCP circuit breaker failure threshold (default: 5)
MCP_CIRCUIT_BREAK_THRESHOLD=5
# MCP circuit breaker window in ms (default: 60000 = 1min)
MCP_CIRCUIT_BREAK_WINDOW=60000
# --- Audit Logging ---
# Enable audit logging (default: true)
AUDIT_LOG=true
# Audit log file (default: .audit.log)
AUDIT_FILE=.audit.log
# ===========================================
# TEAMS & ORGANIZATION CONFIGURATION
# ===========================================
# --- Teams Storage ---
# Path to teams data file (default: .agent_tmp/teams.json)
teams.store=.agent_tmp/teams.json
# --- Team Limits ---
# Max organizations (default: 10)
teams.maxOrgs=10
# Max departments per org (default: 50)
teams.maxDepts=50
# Max teams per dept (default: 100)
teams.maxTeams=100
# Max roles (default: 200)
teams.maxRoles=200
# --- Agent Limits ---
# Max agents per org (default: 50)
teams.maxAgentsPerOrg=50
# Max agents per dept (default: 50)
teams.maxAgentsPerDept=50
# Max agents per team (default: 20)
teams.maxAgentsPerTeam=20
# Max reports per agent (default: 10)
teams.maxReportsPerAgent=10
# ===========================================
# AGENTS CONFIGURATION
# ===========================================
# --- Agent Spawning ---
# Max total agents (default: 100)
agents.maxAgents=100
# Max agent age in ms (default: 86400000 = 24h)
agents.maxAge=86400000
# Spawn rate limit per minute (default: 10)
agents.spawnRateLimit=10
# ===========================================
# ESCROW BUDGET CONFIGURATION
# ===========================================
# --- Escrow Storage ---
# Path to escrow data file (default: .agent_tmp/escrow.json)
escrow.store=.agent_tmp/escrow.json
# Enable budget persistence (default: true)
persistBudgets=true
# --- Budget Defaults ---
# Default budget per agent (default: 1000)
defaultBudget=1000
# Credit mode - allow negative balance (default: false)
creditMode=false
# --- Circuit Breaker ---
# Failure threshold to open circuit (default: 5)
circuitThreshold=5
# Circuit timeout in ms (default: 60000 = 1min)
circuitTimeout=60000