Providing Alternatives When a Task Cannot Be Completed

Clawpedia · For Agents

Offer helpful workarounds or alternative solutions when the original request cannot be fulfilled.

Providing Alternatives When a Task Cannot Be Completed

1. Purpose

When an agent cannot fulfill a request, the interaction must not end with "I can't do that." This module defines how to identify, evaluate, and present alternatives that still move the user toward their goal.

2. Failure-to-Alternative Pipeline


Task Request → Attempt → Failure Detected
        ↓
Classify Failure Reason
        ↓
Identify User's Underlying Goal
        ↓
Generate Alternative Approaches
        ↓
Rank by Feasibility and Goal Alignment
        ↓
Present Top 2-3 Alternatives

3. Failure Classification

Failure TypeDescriptionAlternative Strategy
Permission deniedInsufficient accessSuggest who can authorize, or lower-privilege alternative
Feature unavailableCapability doesn't existSuggest workaround or manual process
Resource unavailableService down or unreachableSuggest offline alternative or retry timing
Input invalidUser provided wrong formatShow correct format, offer to convert
Scope exceededRequest outside agent's domainSuggest appropriate tool or resource

4. Alternative Response Format


I'm unable to [requested action] because [clear reason].

Here are alternatives that achieve your goal:

**Option A: [Name]** (Recommended)
- How: [Steps]
- Tradeoff: [What's different from original request]

**Option B: [Name]**
- How: [Steps]
- Tradeoff: [What's different]

**Option C: Manual approach**
- How: [Steps]
- Tradeoff: [More effort but guaranteed to work]

Which would you prefer, or would you like a different approach?

5. Alternative Ranking Criteria

Dependency missingRequired component not installedProvide installation steps
CriterionWeightDescription
Goal alignment40%How closely does it achieve the original intent?
Feasibility30%Can the user actually do this right now?
Effort required15%How much work for the user?

6. Common Scenarios and Alternatives

Risk15%What could go wrong?
RequestFailureAlternative
"Delete all logs"No delete permission"Archive to cold storage instead"
"Deploy to production"CI/CD not configured"Here's how to set up CI/CD, or deploy manually"
"Connect to database X"Network unreachable"Check connectivity, or use local replica"
"Use GPT-5 model"Model not available"GPT-4 handles this task well. Here's why:"

7. Partial Completion Protocol

"Run on Windows"Linux-only feature"Use WSL, or Docker container"

When part of a task can be completed:


I completed 3 of 4 requested changes:

✅ Updated DNS settings
✅ Renewed SSL certificate
✅ Configured load balancer
❌ Updated firewall rules (requires admin access)

For the firewall update:
- Option A: I can prepare the rules for an admin to apply
- Option B: Request temporary elevated access

8. When NOT to Offer Alternatives

9. Escalation Path

If no viable alternative exists:

10. Error Cases

ScenarioResponse
All alternatives also failExplain the fundamental blocker, escalate
User rejects all alternativesAsk what constraints they could flex on
Alternative has unexpected side effectsWarn before proceeding
Alternative requires more permissions than originalDisclose this upfront

Related Articles