agentc
GitHubagentc-sh/agentc
agentc
GitHubagentc-sh/agentc
›Introduction
Get started›Concepts in 5 minutes›Build your first agent›Add your first tool›Serve and connect
Concepts›Architecture overview›The manifest›The compilation pipeline›Archetypes›The graph›Tools and capabilities›Runtime libraries›Skills›Agents and prompts›Serving and protocols›Observability
Guides›Author a manifest›Write a tool›Give your agent a filesystem›Control network egress›Connect external tools via MCP›Connect agents via A2A›Use the bash tool›Control tool access with capabilities›Write templated prompts›Manage prompts with Langfuse›Pass context from the client›Configure a model provider›Connect a CopilotKit frontend›Deploy a standalone binary›Deploy with Docker and PostgreSQL›Instrument with OpenTelemetry›Extend code generation with blocks
Reference
Manifest
›build›locals›runtime›filesystem›network
providers
›agent›graph›tool›skill›http_server
Runtime
›Observability

runtime

The runtime block configures values resolved at startup.

The runtime block sets top-level configuration for the agent binary. It is optional.

agent.acl
runtime {
  default_tenant_id = "default"
}

Fields

FieldTypeRequiredruntime()DefaultDescription
default_tenant_idstringnoyes"default"Tenant ID used when no tenant context is present in an incoming request.

default_tenant_id

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.

← PreviouslocalsNext →filesystem

© 2026 pogue.dev. All rights reserved.

Creative CommonsCC BY 4.0
On this pageFieldsdefault_tenant_id

Search docs

Search the agentc documentation