AGENTING · Accomplish with Agent
When an AI agent checks a calendar and proposes a meeting time, several pieces of software work together. A model interprets the request. A control loop decides when to call the calendar tool. The tool checks availability. A state store can record what has already happened so the task can resume if the process restarts.
In IBM Technology’s video AI Agent Architecture: Where Does Your Agent Actually Run?, Legare Kerrison explains why those four parts have different computing, security, and recovery needs. Each calls for its own deployment decisions.
The four parts of an AI agent
1. The reasoning plane runs the model
Inference is what happens when the model processes your input and generates an output. It runs wherever the model weights are loaded, whether that is an API provider’s data centre, a GPU server in your cluster, or a laptop running a local model. For a team hosting its own model, a scaling signal is pressure on the model’s inference cache, which holds intermediate data used during generation.
2. The agent loop coordinates the work
The loop assembles the context, calls the model, checks whether it requested a tool, and adds the tool’s result before the next model call. This is usually lightweight code that spends much of its time waiting on network responses. In the Kubernetes setup described in the video, it can run on CPU nodes and scale with the number of requests in progress.
3. The action plane executes tool calls
Tools let an agent read a calendar, query a database, or write a file. Because those actions can affect real systems, the video recommends isolating tool execution and giving each tool its own short-lived credentials with only the permissions it needs. If tool calls run as queued jobs, queue depth can help determine when more workers are needed.
4. The state plane preserves progress
State includes the conversation, task status, and checkpoints. A prototype may keep these in memory. A production agent can record checkpoints in an external store, such as PostgreSQL or a suitably configured Redis deployment, so a replacement process can pick up from the last saved step. The store has its own capacity needs.
What happens when an action is retried?
Imagine a scheduling agent sends a workshop invitation, then restarts before recording that the invitation went out. On resuming, it may try to send the same invitation again.
The video recommends saving a checkpoint before a tool call and making actions idempotent where possible. In this example, the agent could save a unique ID for the planned invitation and pass that same ID on every retry. If the calendar service supports deduplication, it can recognise the repeated request and avoid creating a second invitation.
Four questions for a deployment review
- Where does model inference run?
- Where does the agent loop run, and how does it scale?
- Which systems can each tool access, and under whose identity?
- Where is task progress saved, and what happens if the agent restarts halfway through an action?
Try these questions on a single task your agent performs. Trace it from the first model call to the last saved checkpoint. That gives you a concrete way to review where the work happens, what the agent can touch, and how it recovers.
Source · Watch AI Agent Architecture: Where Does Your Agent Actually Run? on IBM Technology
