02 — Action layer

Intelligent agents need boundaries before they need autonomy.

An agent is a model-driven loop that can plan, use tools and observe results. That makes it useful—and fundamentally different from a chat interface.

Business agents combine language models with instructions, memory, tools and a control loop. A customer-operations agent might inspect an account, retrieve policy, draft a reply, request a refund through an approved API and record the outcome. The value is not the conversation; it is the completion of a bounded, auditable task across real systems.

Networked control room illustration representing an AI agent workflow
Useful agents have explicit tools, permissions and escalation points.

Start with a narrow operating lane

The best first agent tasks are repetitive, information-rich and reversible. Examples include preparing a sales-account brief, reconciling a low-risk invoice exception, triaging internal IT requests, or gathering evidence for a compliance reviewer. Avoid beginning with open-ended strategy, unrestricted external communication, payments, hiring decisions or irreversible record changes.

Define the agent contract in plain language: trigger, objective, permitted data, tools, maximum steps, spend limit, expected output, handoff condition and owner. If a human operator cannot describe when the agent must stop, the system is not ready to act independently.

The architecture behind dependable action

Tool use over free-form improvisation

Expose small, typed tools such as get_customer_status, search_policy or create_draft_case. Validate inputs server-side and return compact, permission-aware results. Never give an agent broad database access when a constrained service endpoint will do. Tool permissions should map to the user or service identity initiating the task.

State, memory and evidence

Keep durable workflow state in your application database, not only in a chat transcript. Store what the agent attempted, the tool responses it used, the model version and the final decision. Long-term memory is valuable for preferences and prior outcomes, but it should have retention rules and a correction path. Retrieval sources need ownership and freshness checks; stale policy is a common cause of confidently wrong action.

Human approval as product design

Human-in-the-loop does not mean sending every output to a generic queue. Present a reviewer with the proposed action, relevant evidence, confidence signal, policy citation and one-click approve, edit or reject controls. Escalate based on impact: a draft email may require sampling, while a refund above a threshold needs named approval.

Measure more than completion

Track successful task completion, cost per completed task, tool error rate, intervention rate, escalation reason, elapsed time and downstream reversals. A high completion rate can hide unsafe behaviour if the agent makes incorrect changes that are later repaired. Run replay tests against a fixed task set before changing prompts, models or tools.

Multi-agent designs can divide research, planning and execution, but they multiply traces, messages and failure paths. Use them only where specialised roles improve results. For most early deployments, one orchestrator plus deterministic tools is easier to secure and debug.

Failure modes to design out

Prompt injection can arrive through email, web pages or retrieved documents. Treat external content as untrusted data, separate instructions from content, and prevent retrieved text from granting permissions. Also plan for looping, duplicate actions, stale context and tool outages. Maximum iteration counts, idempotency keys, allowlists, sandbox environments and kill switches are basic controls, not advanced extras.

Autonomy should expand only after evidence. First run in shadow mode, then propose actions, then permit low-impact actions with review sampling. An agent earns more authority through measured reliability—not through an impressive demo.