AI Agents That Actually Work
You may have heard that AI "agents" will do your work for you. The term is used loosely, so here is a clear version: a chatbot answers a question. An agent is given a goal, picks its own steps, uses tools such as search, email or a spreadsheet, checks the result, and keeps going until the job is done.
Workflow or agent?
A workflow follows steps you set in advance: "summarise this email, then file it." An agent decides the steps itself. Workflows are more predictable. Agents are more flexible. Both Anthropic and OpenAI advise starting with the simplest option that works, and sometimes that is no agent at all.
When is an agent worth it?
Agents shine where fixed rules break down: messy requests, judgment calls, many possible paths. Examples include sorting unusual customer claims or researching a topic across many sources. If a simple checklist can do the job, use the checklist.
Three habits of agents that work
1. Pick a checkable task. You should be able to tell whether the agent got it right.
2. Keep it simple. Clear instructions, a few well-described tools, and a clear stopping point.
3. Remember what it can see. The agent only knows what you give it. When it goes wrong, look at what it was actually shown.
Common setups
Chain Step 1 -> Step 2 -> Step 3
Router Sort the request, send to a specialist
Team A lead agent hands parts to helpers
Reviewer One writes, another critiques, repeat
Safety and trust
Give agents limits (guardrails), such as which actions need a human’s approval, and keep a record of what they did. Test with real examples, not just a good demo. Add skills for repeatable procedures and connectors for access to your data. For the security side, see Prompt Injection and Agent Security: A Plain-English Guide.
A 15-minute talk on building agents that hold up in practice.
Further reading
- A practical guide to building agents (OpenAI): when to build one and how to add guardrails
- Building agents learning track (OpenAI): foundations to implementation
- Building effective agents (Simon Willison’s blog): an independent take on the term “agent”
- Building Effective AI Agents: discussion (Hacker News): practitioners compare notes
- Agent Engineering (Latent Space): how the field defines agents
- Agentic AI and Security (Martin Fowler’s site): the risks of giving agents tools
- Building effective agents (Anthropic): workflows versus agents