Blog / AI agents

AI agents

Building, testing and debugging AI agents that call tools and work in real systems.

An order-entry agent should draft the order, not confirm it (cover)

An order-entry agent should draft the order, not confirm it

Customer orders arrive as emails, PDFs and photos. An agent can turn them into draft orders against your product list. Here is where it should stop.

AI agents, 30 November 2026, 4 min read
Your chatbot's answers are your promises (cover)

Your chatbot's answers are your promises

A tribunal held Air Canada to a refund policy its chatbot made up. Here is how to stop your own bot from inventing promises you then have to keep.

AI agents, 26 November 2026, 4 min read
A supplier invoice agent should draft the bill, not pay it (cover)

A supplier invoice agent should draft the bill, not pay it

How a document-reading agent turns supplier invoice PDFs into draft bills: six fields, one match against your orders, and a clear pile for a person.

AI agents, 24 November 2026, 4 min read
Test your AI agent before your customers do (cover)

Test your AI agent before your customers do

Most AI agent failures are found by customers. A one-afternoon dry run with real past messages finds them first. Here is how to run one.

AI agents, 21 November 2026, 4 min read
A lead-qualification agent should sort leads, not reject them (cover)

A lead-qualification agent should sort leads, not reject them

What an AI lead-qualification agent should ask, where it should send each lead, and the one decision it should never make alone.

AI agents, 19 November 2026, 4 min read
Debugging AI agents, part 4: Your agent worked yesterday. Prove it today.

Your agent worked yesterday. Regression evals from real traces

A prompt tweak in one place breaks behaviour somewhere else. Turn bad traces into eval cases, run them against fake tools, grade with code first, and compare every change with a baseline.

AI agents, Part 4, 28 October 2026, 12 min read
Agent, automation or chatbot: which one you actually need

Agent, automation or chatbot: which one you actually need

Three tools, three different jobs. A plain way to pick the right one for your small team, with an example you can test this week.

AI agents, 21 October 2026, 3 min read
Debugging AI agents, part 3: The agent that never stops (and costs you)

The agent that never stops (and costs you)

Agents that repeat tool calls, outgrow the context window or run up the bill all lack the same thing: a way to stop. Add limits, detect loops, trim context and give every run a clean finish.

AI agents, Part 3, 21 October 2026, 7 min read
The hand-off rule: when an AI agent should stop and call a person

The hand-off rule: when an AI agent should stop and call a person

Write down the moments an AI agent must stop and pass the chat to a person. A practical rule set for small teams, with examples.

AI agents, 19 October 2026, 3 min read
Debugging AI agents, part 2: Why your agent picks the wrong tool

Why your agent picks the wrong tool (or no tool at all)

Most "the model got it wrong" bugs are tool design bugs. Rewrite names, descriptions, schemas and error messages so your agent calls the right tool with the right input, and test it.

AI agents, Part 2, 17 October 2026, 10 min read
Debugging AI agents, part 1: Your agent is a loop. Log every turn.

Your agent is a loop. Log every turn.

When an agent gives a wrong answer, a "question in, answer out" log tells you nothing. Learn how the agent loop works, log every turn of it, and read a trace to find the real bug.

AI agents, Part 1, 17 October 2026, 10 min read