IBM Technology

AI Agent Architecture: Where Does Your Agent Actually Run?

Published 2026-11-26 · Duration 7:01

Summary

An AI agent is not a single workload but a composite system comprising four distinct planes: Reasoning (Inference), Agent Loop, Action Plane (Tool Execution), and State. Each plane has unique resource, security, and failure profiles, requiring independent scaling and deployment strategies to ensure production reliability.

Download summary

Key takeaways

  1. The Four Workloads of an AI Agent 0:10

    The agent is broken down into four components: the reasoning workload (inference), the agent loop (lightweight code), the action plane (tool calls), and persistent state.

  2. Decoupling Resource Allocation

    Each of the four planes must be scaled using its own specific signal (e.g., KV cache pressure, job queue depth, storage), as a single autoscaler is insufficient.

  3. Security and Sandboxing of Tools 5:20

    The Action Plane, which executes external calls (HTTP, DB queries), is the security-critical component. It must be sandboxed using ephemeral pods and a default deny network policy, ensuring the tool has its own scoped identity.

  4. The State Fork: In-Process vs. Externalized

    The single biggest architectural decision is whether state lives in the agent process (e.g., a Python list) or is externalized to a persistent store (e.g., Postgres or Redis). Externalization is critical for resilience.

More digests on AI Architecture

Technical details

  • Reasoning Plane (Inference) 110s

    This plane involves forward passes through the transformer and is compute-heavy, being GPU, memory, and compute bound. On a cluster, it is typically deployed using vLLM or llm-d and pinned to GPU nodes.

  • Agent Loop Deployment 240s

    The agent loop is lightweight code whose latency is primarily network waiting. It should be deployed as a stateless service on cheap CPU nodes and scaled horizontally using HPA, never co-scheduled on GPU nodes.

  • Action Plane Security 330s

    The Action Plane is where side effects occur. To maintain security, the tool must be given its own credentials with the shortest possible lifetime, and the model's output must never inherit the agent's keys.

  • Resilience and Checkpointing

    For production reliability, state must be externalized. A checkpoint must be performed before every tool call, and tool calls should be made idempotent to handle retries after a crash.

Mentioned resources

  • vLLM (Deployment Framework)
  • llm-d (Deployment Framework)
  • Postgres (State Store)
  • Redis (State Store)
  • PVC (Storage Mechanism)

Channel & topics

Watch on YouTube · Back to latest

This independent, AI-assisted summary is provided for commentary and informational purposes. It may contain errors or omit important context. Please watch the original video for the creator's complete presentation. Video, thumbnail, and related copyrights belong to their respective owners.