Reference
Configuration
This page is generated from the CLI source by triagelab docs; run make docs-generate after changing commands, flags, or configuration. Do not edit it by hand.
One JSON object, decoded with unknown fields rejected. Omitted fields take the defaults below; every field is optional in the file but validated after loading.
| Field | Type | Default | Description |
|---|---|---|---|
endpoint |
string | http://127.0.0.1:8083/mcp |
kagent MCP API endpoint. HTTPS off-loopback; plain HTTP only on loopback or, with allow_cluster_http, on cluster-internal service names. |
namespace |
string | kagent | Kubernetes namespace of the kagent installation. |
agent |
string | triagelab-investigator | kagent agent invoked as the investigator. |
template |
string | triagelab-python | Standalone sandbox template used for the run’s sandbox. |
user_id |
string | triagelab@localhost | kagent user identity that owns sessions and sandboxes. |
token_env |
string | TRIAGELAB_TOKEN | Environment variable holding the kagent invocation token; the token itself never goes in the file. Optional when token_file is set. |
token_file |
string | (none) | Optional file path holding the kagent invocation token, read before each request (for example from a Kubernetes projected ServiceAccount token volume). Takes precedence over token_env when set. |
investigation_timeout |
integer | 600 | Budget per active investigation round in seconds (at most 3000). Resume starts a fresh round with the saved limit. |
process_timeout |
integer | 60 | Per-process watchdog in seconds; cannot exceed investigation_timeout. |
sandbox_ttl |
integer | 900 | Active sandbox TTL in seconds; must cover the investigation plus request and cleanup budgets (at most 3600). The pinned fork retains a fully suspended sandbox and refreshes this bounded TTL once on resume. |
max_experiments |
integer | 8 | Client-side cap on recorded experiments (at most 32). A watchdog observed between polls, not admission control. |
max_queued_runs |
integer | 4 | Maximum waiting workspace runs (0 to 16), dispatched in submission order. At 0, concurrent submissions return HTTP 409. The queue is in memory and waiting runs do not survive a restart. |
poll_interval |
integer | 2 | Seconds between task-history polls (at most 10). |
request_timeout |
integer | 20 | Per HTTP request timeout in seconds (at most 60). |
max_output_bytes |
integer | 1048576 | Cap on captured process output per read (at most 4 MiB). |
manual_agents |
object | (none) | Optional map of agent name to extra MCP tool names for --agent runs; an empty tool list means the six investigation tools only. |
run_namespaces |
array | [] | Optional allowlist of up to eight additional Kubernetes namespaces where investigations may run. Entries must be unique valid namespace names and must not repeat namespace. Runs outside the default namespace and this list are refused; this setting does not create namespaces or grant access. |
allow_cluster_http |
boolean | false | Permit plain-HTTP endpoints on *.svc or *.svc.cluster.local service names, for a dedicated in-cluster deployment whose pod network is the trust boundary. |
Save it as triagelab.json and pass --config triagelab.json; the CLI and the workspace accept the same file. The committed configuration examples include this file plus the optional sign-in, ticket source, and telemetry configurations.