A practical framework for designing AI agents that are useful, controlled, and trustworthy.

Published: 2026-05-13

URL: https://samonai.substack.com/p/dont-start-with-the-agent-start-with


The biggest mistake companies make with AI agents is starting with the agent. They ask: What should our AI agent do? What tools should it use? How autonomous should it be? Can it replace this role? Those are the wrong first questions.

The better question is: What workflow are we trying to improve? That shift changes everything. An AI agent should not be treated as a magical digital employee roaming freely across your business. It should be designed as a bounded, tool-using, evidence-producing worker operating inside a controlled system.

That is the core principle of the AI Agent Design Framework: Start with the workflow, not the agent. Build bounded, tool-using, evidence-producing workers inside controlled systems. This framework is useful because it avoids both extremes: hype-driven automation on one side and paralyzing risk-aversion on the other.

It gives teams a structured way to decide where agents belong, what they are allowed to do, when humans must intervene, and how success should be measured. Here is how the framework works.

  1. Map the Workflow Before You Design Anything

Every agent design should begin with a clear workflow map. Not a prompt. Not a persona. Not a tool list. A workflow. You need to understand the actual sequence of work: Trigger: What starts the workflow? Inputs: What information is needed? Tasks: What work happens? Decisions: Where are judgments made? Outputs: What does the workflow produce? Systems: Where does the work happen? Controls: What rules constrain the work?

This step matters because AI agents fail when they are dropped into vague processes. “Help with customer support” is not a workflow. “Review incoming refund requests, classify them by policy category, retrieve order history, draft a response, and escalate exceptions above $500” is a workflow.

The second version can be designed, tested, controlled, and improved. The first version is just a wish.

  1. Classify the Type of Work

Not all AI work carries the same risk. The framework breaks agent work into five categories. Observe The agent watches for signals or events. Examples: monitoring an inbox, detecting a new support ticket, identifying a change in a dashboard, or flagging a missed deadline.

This is generally lower-risk because the agent is not making decisions or taking action yet. Retrieve The agent gathers information from approved sources. Examples: searching internal documentation, pulling customer history, finding relevant policy language, or summarizing previous interactions.

This is also relatively low-risk, assuming the sources are reliable and access controls are clear. Reason The agent interprets, analyzes, compares, or synthesizes information. Examples: deciding whether a case matches a policy, identifying contradictions in data, recommending the next step, or prioritizing issues.

This is where risk begins to rise because judgment enters the workflow. Draft The agent prepares a work product or communication. Examples: drafting an email, generating a report, creating a proposal, writing a support response, or preparing meeting notes. Drafting can be powerful, but it requires review when the output affects customers, legal obligations, finances, or reputation. Act The agent executes approved changes in systems. Examples: issuing a refund, updating a CRM, changing an account status, sending a message, opening a ticket, or triggering a workflow.

This is the highest-risk category because the agent is no longer merely producing information. It is changing the world. A strong design recognizes that observe and retrieve tasks can often be automated earlier, while reason, draft, and act tasks require stronger controls, evidence, and human oversight.

  1. Define the Agent Roles

A useful agent system often does not need one giant agent. It needs a set of narrower roles. The framework identifies five common agent roles: Intake Agent: Classifies and routes work. Research Agent: Gathers relevant context. Reasoning Agent: Analyzes and recommends. Drafting Agent: Creates the work product. Execution Agent: Takes approved action in systems.

This division is important. A single broad agent asked to “handle customer issues” is difficult to supervise. But a chain of specialized agents is much easier to inspect. For example, in a customer refund workflow: The Intake Agent determines the request type.

The Research Agent retrieves the order, payment, and policy history. The Reasoning Agent recommends approve, deny, or escalate. The Drafting Agent prepares the customer response. The Execution Agent processes the refund only after approval.

Each role has a clear purpose. Each output can be checked. Each step can be controlled. That is the difference between agent theater and agent design.

  1. Specify the Agent

Once the workflow and role are clear, the agent needs a design specification. The framework’s Agent Design Canvas includes the essential elements: Agent name Business purpose Workflow role Trigger Inputs Source of truth Allowed tools Forbidden actions Decision rights Required evidence Output format Escalation rules Success metrics Failure modes Human review Audit trail Rollback plan This is where many teams are too casual. They write a prompt and call it a system.

But a serious agent needs more than instructions. It needs boundaries. What is it allowed to do? What must it never do? What evidence must it cite? When must it stop? Who reviews its work? How do we reverse a bad action? Without these answers, autonomy becomes risk.

With these answers, autonomy becomes manageable.

  1. Build the Control Stack

Controls are not an afterthought. They are part of the product. The framework describes a layered control stack. Input Controls Validate the request, classify the risk, detect missing data, and block disallowed tasks.

This prevents the agent from working on requests it should not handle. Knowledge Controls Use approved sources, define source hierarchy, require grounding, and require evidence. This reduces unsupported claims and prevents the agent from relying on weak or irrelevant information. Reasoning Controls Use structured outputs, confidence scoring, assumptions, and uncertainty detection.

This makes the agent’s judgment inspectable. Review Gates Use human review, rules engines, policy checks, and hallucination checks. This is especially important for sensitive, regulated, ambiguous, or high-value work. Action Controls Apply least-privilege access, approval gates, sandboxing, reversible execution, and tool limits.

The agent should only have the permissions it actually needs. Audit Controls Maintain logs, monitoring, traceability, and rollback paths. If you cannot audit what happened, you do not have a controlled agent system. You have an operational mystery.

  1. Choose the Right Autonomy Level

Autonomy should not be binary. The framework defines six levels: L0 — Assist: Provides information only. L1 — Draft: Creates suggested output. L2 — Recommend: Suggests a decision with rationale. L3 — Supervised Action: Acts after approval. L4 — Bounded Autonomy: Acts within limits and escalates exceptions. L5 — Full Autonomy: Runs end-to-end with periodic audit.

Most organizations should not jump to L5. In fact, the most practical path is usually: Start at L0 or L1. Prove quality. Move to L2. Add review gates. Move selected low-risk workflows to L3. Only then consider bounded autonomy.

The key rule is simple: Increase autonomy only when risk, controls, and evidence support it. Autonomy is earned. It should not be assumed.

  1. Define Human-in-the-Loop Rules

Human review should not be vague. “Have a human check it” is not a control strategy. It is a hope. The framework identifies clear escalation triggers: Low confidence. Missing or conflicting data. Policy conflict. High-risk or irreversible action. Regulated or high-value case. Ambiguous request or exception. Sensitive, upset, or high-priority customer. Action exceeds the agent’s permissions.

These rules prevent the agent from improvising in situations where improvisation is dangerous. The best human-in-the-loop systems do not require humans to review everything. They require humans to review the right things.

That distinction matters. Review everything, and the system becomes slow. Review nothing, and the system becomes unsafe. Review exceptions, and the system becomes scalable.

  1. Require Evidence in Every Output

One of the strongest ideas in the framework is the Evidence Output Standard. Every agent output should include: Recommendation Rationale Evidence used Confidence Assumptions Risks Missing information Next step This is how agent outputs become trustworthy.

A recommendation without evidence is just a guess. A confident answer without assumptions is dangerous. A decision without missing-information disclosure is incomplete. The goal is not merely to get an answer.

The goal is to get an answer that can be evaluated. For example, instead of an agent saying: Approve the refund. A better agent output would say: Recommendation: Approve the refund. Rationale: The customer returned the item within the 30-day policy window. Evidence: Order date, return date, refund policy section 3.2. Confidence: High. Assumptions: The return inspection status is accurate. Risks: Low financial impact. Missing information: None.

Next step: Route to approval or process automatically if under threshold. That is a usable business output.

  1. Measure the Right Metrics

Agent success should not be measured only by whether the demo looks impressive. The framework groups metrics into four categories. Quality Accuracy, completeness, relevance, and policy adherence. Workflow Performance Cycle time, throughput, backlog reduction, and review time. Risk and Reliability Escalation accuracy, hallucination rate, unauthorized action rate, and exception handling. Business Impact Cost savings, error reduction, revenue or productivity impact, and customer or employee experience.

This is important because agent projects often fail when they optimize only for speed. A faster wrong answer is not progress. A cheaper uncontrolled process is not transformation. A clever demo is not a business case.

The real question is whether the agent improves the workflow while staying within acceptable risk.

  1. Deploy Through a Loop, Not a Launch

The final part of the framework is the deployment loop: Map: Understand and scope the workflow. Design: Define agents, controls, and tools. Validate: Test, evaluate, and harden. Shadow Mode: Run in parallel with no operational impact. Human-Approved Deployment: Go live with approval gates. Bounded Autonomy: Expand only within set guardrails. Monitor and Improve: Measure, learn, audit, and optimize.

This deployment model is powerful because it rejects the fantasy of a one-time AI launch. Agents are not installed. They are trained into workflows, evaluated against reality, and improved over time. The best approach is: Start small. Prove value. Scale gradually.

That is how serious systems are built. The Questions to Ask Before Designing an Agent Before designing an AI agent, ask: What work needs to be done? What information is required? What judgment is needed?

What action follows? What can go wrong? What must be reviewed? What should be measured? These questions keep the team anchored in operational reality. They also prevent one of the most common AI mistakes: automating before understanding. If the workflow is unclear, the agent will be unclear. If the rules are unclear, the agent will violate them. If the evidence standard is unclear, the output will be hard to trust. If the success metrics are unclear, nobody will know whether the system worked.

The Real Promise of AI Agents The real promise of AI agents is not that they replace entire teams overnight. The promise is that they can take structured pieces of knowledge work and make them faster, more consistent, more observable, and easier to improve.

But that only happens when agents are designed with discipline. The future of AI agents will not belong to organizations that give models unlimited freedom. It will belong to organizations that know how to combine: Evidence in every output. Controls on every action. Humans in the right loops. Continuous improvement.

That is the difference between an AI experiment and an AI operating model. The agent is not the starting point. The workflow is.