The runtime block configures values resolved at startup.
The runtime block sets top-level configuration for the agent binary. It is optional.
runtime {
default_tenant_id = "default"
}| Field | Type | Required | runtime() | Default | Description |
|---|---|---|---|---|---|
default_tenant_id | string | no | yes | "default" | Tenant ID used when no tenant context is present in an incoming request. |
agentc supports multi-tenancy at the session level. Clients can specify a tenant ID when starting a
session. When no tenant ID is provided, the value of default_tenant_id is used.
For single-tenant deployments, you can leave this at the default or set it to any fixed string.
runtime {
default_tenant_id = runtime("DEFAULT_TENANT", "main")
}This value also affects outbound A2A tools that use inherited tenant policy. If an inbound request
does not carry a tenant, the parent run uses default_tenant_id. An A2A target with
tenant.policy = "inherit" forwards that effective tenant to the downstream A2A server with the
X-Tenant-Id header.
© 2026 pogue.dev. All rights reserved.
CC BY 4.0Search the agentc documentation