Component ยท Data side
Agent workload (internal)
BOTH Workload Data plane
What it is
An agent workload is the user's AI agent running on the platform. Agent Manager builds it from source, and OpenChoreo deploys it into the data plane as sandbox objects. It calls LLMs and MCP tool servers through the gateway and sends traces to the platform.
The agent is the pilot, and the gateway is the security checkpoint every flight passes.
Why it exists
This is what the whole platform is for. Everything else exists to build, protect, observe and evaluate these agents.
How it works
- Rendered by the agent-api ComponentType into a SandboxTemplate, SandboxWarmPool, Service and routes.
- Gets environment variables with the gateway address, a proxy API key for each connected LLM or MCP proxy, and its own agent identity credentials.
- Python agents get an init container that adds OpenTelemetry tracing, and traces go to the gateway's /otel route.
- Lives in a per-project, per-environment namespace on the data plane.
- Agents that run outside the platform are the separate external-agent type.
Identity and access
The agent holds cheap proxy API keys, never the vendor's real LLM key. For identity-secured MCP tools it uses client_credentials credentials issued for it in the environment ThunderID. Callers invoking it pass the gateway's api-key or JWT check.
Key facts
- Namespace
- Per project and environment (data plane)
- Runtime
- Sandbox objects
- Side
- Data plane
Talks to (3)
- calls API Platform Gateway runtime (APG) Agent egress to proxies: LLM proxies on the gateway runtime, MCP proxies through the gateway vhostHTTP :22893 for LLM proxies; MCP proxy URLs use the gateway vhost (port 19080 in the chart default)
- sends telemetry to API Platform Gateway runtime (APG) Spans from instrumentationOTLP/HTTP via gateway /otel
- signs in with Env ThunderID (per environment) Agent token for MCPHTTP /oauth2/token
Used by (4)
- deployed by OC data plane SandboxTemplate, HTTPRoute, RestApi, ExternalSecretK8s render via cluster-agent
- deployed by Secrets path Secrets reach pod envK8s Secret env secretKeyRef
- called by API Platform Gateway runtime (APG) Invoke agentHTTP to component service
- needed by libs/amp-instrumentation Alternative instrumentationpip import