Agent and AgenticWorkforce Reference
This reference covers all fields of the Agent and AgenticWorkforce custom resources in the runtime.agentic-layer.ai API group. For operator-wide defaults, see AgentRuntimeConfiguration Reference.
Agent
Agent declares a single AI agent workload. The operator creates a Kubernetes Deployment and Service for each Agent.
spec.framework
| Field | Description |
|---|---|
|
|
spec.image
| Field | Description |
|---|---|
|
|
spec.protocols
spec.protocols lists the communication protocols the agent exposes. Each entry maps to a port on the resulting Service.
| Field | Description |
|---|---|
|
|
|
|
|
|
|
|
spec.tools
spec.tools defines MCP tool servers the agent can call. Each entry is serialised to JSON and passed as the AGENT_TOOLS environment variable.
| Field | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spec.subAgents
spec.subAgents configures agents that this agent can delegate to. The list is serialised to JSON and passed as the SUB_AGENTS environment variable.
| Field | Description |
|---|---|
|
|
|
|
|
|
|
|
spec.replicas
| Field | Description |
|---|---|
|
|
spec.env
| Field | Description |
|---|---|
|
|
|
|
spec (template-only fields)
The following fields are only meaningful for template-based agents (no spec.image). They are passed as environment variables to the template container.
| Field | Description |
|---|---|
|
|
|
|
|
|
spec (advanced fields)
| Field | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
status.conditions
Agent uses standard Kubernetes metav1.Condition entries.
| Field | Description |
|---|---|
|
|
|
|
|
|
AgenticWorkforce
AgenticWorkforce declares a named group of entry-point agents. The operator crawls each entry point’s sub-agent graph and records all discovered agents and tools in status.
spec.entryPointAgents
| Field | Description |
|---|---|
|
|
spec metadata fields
| Field | Description |
|---|---|
|
|
|
|
|
|
|
|
status.transitiveAgents
| Field | Description |
|---|---|
|
|
|
|
|
|
|
|