The short answer

An AI agent uses a model to decide which actions to take toward a goal, usually through tools such as search, databases, or business applications. A useful agent is defined by the work it can complete within explicit boundaries, not by how convincingly it talks. For a founder, the first decision is whether variable, multi-step work actually needs autonomy. If the steps are known in advance, a conventional workflow is often easier to test, operate, and price.

Key takeaways

  • Separate answering a question from taking an action.

  • Use a fixed workflow when you already know the sequence.

  • Give an agent narrow permissions, a spending limit, and a stopping rule.

  • Measure completed tasks, correction effort, and harmful actions together.

  • Expand autonomy only after reviewing evidence from realistic cases.

Understand the system you are buying

A chatbot may answer without changing anything. A workflow executes predefined steps, potentially using a model inside one step. An agent selects its next action based on observations. Many products combine these approaches. Anthropic makes a similar distinction between predefined workflows and systems where the model directs the process; it recommends starting with simpler arrangements when they suffice. Building effective agents.

Imagine an invoice assistant. Extracting invoice fields is a model task. Checking required fields and routing exceptions is a workflow. Investigating why an invoice does not match a purchase order across several systems may justify an agent. Paying the invoice is a separate permission decision, not an automatic consequence of successful investigation.

Draw the action boundary before the interface

Write a capability contract before building the chat box.

Capability Initial boundary Evidence to retain
Read purchase records Only the customer's authorized account Record IDs and access decision
Draft a response Editable draft, no automatic send Sources and draft version
Change a record Named fields after approval Before/after values and approver
Spend or transfer money Outside the initial scope Explicit denial and escalation

Permission checks belong in application code and tool services. A sentence in the system prompt is not an access-control system. Retrieved documents, emails, and web pages can contain misleading instructions; treat their contents as data rather than authority to expand permissions.

Design a useful operating loop

Give the agent a narrow goal and an observable completion condition. “Resolve every customer issue” is too broad. “Prepare a supported draft response to this delivery-status request” is testable.

The operating loop needs a task state, available tools, validation of tool arguments, and a policy for continuing, escalating, or stopping. Set limits on tool calls, elapsed time, retries, and cost. Distinguish a temporary timeout from a business rejection: retrying a failed payment blindly can cause duplicate actions. Use stable operation identifiers and reconcile the actual system state before retrying a write.

Show users the plan when it matters, the action being proposed, and the consequences. Let them cancel pending work. A cancellation button must explain whether an already-submitted action can still be reversed. See human approval flows.

Run a bounded pilot

Start with representative historical tasks using permitted or de-identified data. Include ambiguous requests, missing documents, contradictory records, and unavailable tools. Have domain experts label acceptable outcomes and unacceptable actions before evaluating outputs.

Next, run in shadow mode: produce recommendations without executing them. Move to draft mode only when reviewers can reliably inspect the evidence. Track task success, serious errors, escalation rate, reviewer correction time, latency, and total cost per accepted result. A low escalation rate can indicate competence—or failure to recognize uncertainty.

For an illustrative pilot, suppose 40 tasks produce 30 correct drafts, six appropriate escalations, and four unsupported answers. The relevant problem is those four answers, not a headline claiming that 90% of tasks avoided failure. Inspect the error classes and repeat the evaluation after changes; this small example is not a performance benchmark.

Decide whether to continue

Keep the agent if it improves the user's outcome after review and exception handling costs. Reduce autonomy if failures are hard to detect or the actions are difficult to reverse. Replace it with a workflow if most decisions converge on the same path.

Does an agent need multiple agents?

No. Multiple agents can add coordination, latency, and new failure paths. Add them only when a measured task benefits from separate responsibilities.

Is a successful demo enough to launch?

No. A demo demonstrates a possible path. Launch readiness depends on failure coverage, permissions, monitoring, ownership, and recovery.

Continue with RAG and evaluations and AI unit economics.