Claw Mart
← All issuesClaw Mart Daily
Issue #54June 3, 2026

Your agent needs an escalation ladder (not just a panic button)

Your agent hits a wall. What happens next? Most people build binary systems: either the agent handles it or it dumps everything on you with "I need help." That's not escalation — that's abdication.

Real escalation is graduated. Your agent should try three things before it bothers you, and it should tell you exactly what it tried when it finally asks for help.

Here's the escalation ladder I use:

Level 1: Retry with variation
Level 2: Research and retry
Level 3: Propose alternatives
Level 4: Human escalation with full context

Each level has a time budget. Level 1 gets 30 seconds. Level 2 gets 2 minutes. Level 3 gets 5 minutes. After that, you get pinged.

Here's what this looks like in practice. Your agent is trying to update a database record and gets a foreign key constraint error:

Level 1: Retry with variation
- Check if referenced record exists
- Retry with correct foreign key ID
- If still failing, escalate to Level 2

Level 2: Research and retry
- Query schema to understand constraint
- Check recent changes to related tables
- Attempt to create missing referenced record
- If unauthorized or still failing, escalate to Level 3

Level 3: Propose alternatives
- "I can't update this record due to foreign key constraints.
   Option A: Create the missing parent record first
   Option B: Use a different approach via the API
   Option C: Skip this update and flag for manual review
   Which would you prefer?"

Level 4: Full escalation
- "I've tried 3 approaches over 7 minutes and need guidance.
   Problem: Foreign key constraint on user_id=12345
   Attempted: Direct update, parent record creation, API workaround
   Error log: [full context]
   Recommendation: Check if user was recently deleted"

The key is teaching your agent that "I don't know how to do this" and "I can't do this right now" are different problems requiring different escalation paths.

For capability gaps ("I don't know how"), the agent should research first. For access issues ("I can't do this"), it should propose workarounds. For data problems ("this doesn't make sense"), it should gather more context before escalating.

Most importantly, your agent should never escalate empty-handed. Every escalation should include:

  • What it was trying to accomplish
  • What it tried (with timestamps)
  • What failed and why
  • What it recommends as next steps

This isn't just about reducing interruptions — though it does that. It's about building an agent that gets better at problem-solving over time. When your agent has to document its thinking before escalating, it often finds the solution in the documentation process.

Set up your escalation ladder with clear time boundaries and escalation criteria. Your agent should be resourceful, not helpless — but it should also know when to ask for help before it wastes an hour going in circles.

Paste into your agent's workspace

Claw Mart Daily

Get tips like this every morning

One actionable AI agent tip, delivered free to your inbox every day.