Lesson 12 of 13

Choosing When to Use Agents

When to Avoid Agents

3 min read

Knowing when NOT to use agents is just as important as knowing when to use them. Here are scenarios where agents may not be the right choice.

Situations to Avoid

1. Simple, One-Shot Tasks

If a task can be completed in a single step without iteration:

Skip agents for: "What's the current exchange rate for USD to EUR?"

A simple API call or search is faster and cheaper than spinning up an agent.

Rule of thumb: If a task takes less than 30 seconds for a human, an agent is probably overkill.

2. High-Stakes Irreversible Decisions

When mistakes can't be undone and consequences are severe:

Use caution with:

  • Medical diagnoses
  • Legal judgments
  • Financial transactions above certain thresholds
  • Security access decisions

Agents can assist with research and preparation, but humans should make the final call.

3. Tasks Requiring Physical World Interaction

Agents operate in the digital realm:

Can't handle:

  • Physical inventory counts
  • On-site inspections
  • Hardware repairs
  • Face-to-face negotiations

Though agents can prepare materials and documentation for these activities.

4. Highly Regulated Processes

Where strict protocols must be followed exactly:

Use caution in:

  • Certain compliance workflows
  • Auditing procedures
  • Legal document preparation
  • Healthcare documentation

In these cases, deterministic automation may be more appropriate than probabilistic AI.

5. Scenarios with Poor Data Quality

Agents amplify data problems:

Watch out when:

  • Source data is incomplete
  • Information is frequently outdated
  • Multiple conflicting sources exist
  • Ground truth is unclear

"Garbage in, garbage out" applies strongly to agents.

Current Technical Limitations

Reliability

Agents don't always succeed on first try. For mission-critical real-time systems, this variability may be unacceptable.

Latency

Agent operations take time—multiple tool calls, reasoning steps, reflection. If you need sub-second responses, agents may be too slow.

Consistency

The same input may not always produce the same output. For regulatory or compliance needs, this non-determinism can be problematic.

Cost

Agent operations consume tokens and API calls. High-volume, low-value tasks may not justify the expense.

The "Simpler Tool" Test

Before deploying an agent, ask:

  1. Would a rule-based system work? If the logic can be captured in if-then rules, traditional automation is simpler and more reliable.

  2. Would a template solve this? Many "generation" tasks are actually fill-in-the-blank problems.

  3. Would a search engine work? Not every information need requires AI reasoning.

  4. Would a simple chatbot suffice? Single-turn Q&A doesn't need agent capabilities.

Hybrid Approaches

Sometimes the answer isn't "agent or not" but "agent for part of it":

  • Human + Agent: Agent prepares, human decides
  • Rule-based + Agent: Automation handles common cases, agent handles exceptions
  • Agent + Human review: Agent proposes, human approves

The most effective solutions often combine multiple approaches.

Key Takeaway

Agents are powerful but not universal. Match the tool to the task:

  • Simple tasks → Simple tools
  • Complex, multi-step, judgment-requiring tasks → Agents
  • High-stakes decisions → Agents assist, humans decide

:::

Quiz

Final Quiz: Choosing When to Use Agents

Take Quiz