agentleFS
varunk130varunk130/ai-ux-skill-library/skills/ai-agent-ux/SKILL.md

ai-agent-ux

Skill3 starsChanged 11 days agoMITView on GitHub

Design user experiences for autonomous AI agents that act on behalf of users - control panels, consent flows, action previews, audit trails, and undo mechanisms. Use when: agentic AI, autonomous agents, AI autonomy controls, agent UX, AI actions, computer use, agent consent, agent audit trail.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Not all actions require the same level of human oversight.

    line 33
  2. Distinctive:

    Before the agent acts, users need to understand what's about to happen.

    line 59
  3. Distinctive:

    Every consequential agent action should display a preview card with:

    line 63
  4. Distinctive:

    After every consequential action, provide an action receipt:

    line 100
  5. Distinctive:

    When multiple agents work together:

    line 143

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AI Agent UX

Design experiences for AI that doesn't just suggest - it acts. Booking flights, sending emails, executing code, making purchases. The AUTONOMY framework ensures users stay in control while AI operates at machine speed.

Core Principle

Agentic AI inverts the traditional UX model. In classical UX, users take actions and the system responds. In agentic UX, the system takes actions and users supervise. This requires an entirely new design vocabulary: previews instead of forms, audit trails instead of history, interrupts instead of navigation.


The AUTONOMY Framework

LetterPrincipleDesign Question
AAction PreviewCan the user see exactly what the agent will do before it does it?
UUser OverrideCan the user stop, modify, or redirect the agent at any point during execution?
TTiered AuthorityDoes the agent's freedom scale appropriately with risk level?
OObservable StateCan the user see what the agent is doing right now, in real time?
NNarrated ReasoningDoes the agent explain why it chose this action over alternatives?
OOutcome VerificationCan the user verify that the action completed correctly?
MMemory of ActionsIs there a complete, searchable log of everything the agent did?
YYield to HumansDoes the agent know when to stop and ask for help?

The Autonomy Dial

Not all actions require the same level of human oversight. Design a graduated control system:

LevelNameAgent BehaviorUser InvolvementExample
1SuggestRecommends action, takes noneUser must initiate"I recommend replying with: [draft]. Send?"
2Draft & WaitPrepares the action, pauses for approvalUser reviews and approvesAgent drafts email, shows preview, waits for "Send"
3Act & NotifyExecutes immediately, sends notificationUser reviews after the factAgent files expense report, sends summary
4Act SilentlyExecutes without notificationUser can check audit logAgent auto-categorizes emails
5Full AutonomyExecutes complex multi-step tasks independentlyUser sets goals, agent reports outcomesAgent manages a full sales outreach sequence

Setting the Default Level

Risk FactorDefault Autonomy Level
Action is reversible + low costLevel 3-4 (Act & Notify or Silent)
Action is irreversible OR high costLevel 1-2 (Suggest or Draft & Wait)
Action involves external parties (sends emails, makes payments)Level 2 maximum until trust is established
Action involves sensitive dataLevel 1-2 with audit logging
User has explicitly granted higher autonomyRespect the setting, but cap at the risk level

Design rule: The Autonomy Dial should be a user-facing control, not a hidden system setting. Let users tune their own comfort level.


Pre-Action Design

Before the agent acts, users need to understand what's about to happen.

The Action Preview Card

Every consequential agent action should display a preview card with:

ElementContentRequired?
Action summaryOne sentence: what the agent will doAlways
Targets affectedWho or what is impacted (people, systems, data)Always for external actions
Estimated impactWhat changes as a resultFor non-trivial actions
Alternatives consideredWhat else the agent could have doneWhen multiple valid options exist
Reversibility indicatorCan this be undone? How?Always
Confidence levelHow sure is the agent this is the right action?When confidence varies

During-Action Design

While the agent is executing, users need visibility and control.

The Agent Activity Feed

A real-time, scrollable feed showing:

ComponentPurposeUpdate Frequency
Current step indicator"Step 3 of 7: Sending confirmation email"Per step
Progress visualizationLinear or branching progress barContinuous
Decision log"Chose option A because [reason]"Per decision point
Pause/stop controlsAlways visible, always responsivePermanent
Skip/redirect"Skip this step" or "Do X instead"Per step

Critical rule: The stop button must work instantly. If the agent can't be stopped mid-action, the UI must make this clear BEFORE the action begins.


Post-Action Design

The Action Receipt

After every consequential action, provide an action receipt:

ElementContent
What was donePlain-language summary of completed actions
What changedBefore/after diff of affected data
Undo optionOne-click reversal if action is reversible
Time-limited undoFor partially reversible actions: "You have 30 seconds to undo the email send"
Audit link"View full activity log"

The Undo Architecture

Action TypeUndo PatternTime Window
Data modificationFull revert to previous stateUnlimited
Message sentRecall + replacement option30 seconds to 5 minutes
File deletionSoft delete → permanent after 30 days30 days
Purchase/paymentCancellation request + refund flowVaries by provider
Multi-step sequenceStep-by-step rollback with checkpoint selectionPer step
Irreversible actionPrevention-only (no undo, must block before execution)N/A

Trust Ramp: Progressive Autonomy

New agents should not start at Level 5. Build trust incrementally.

The Trust Ramp Pattern

PhaseDurationAutonomy LevelUnlock Condition
OnboardingFirst 5 interactionsLevel 1 (Suggest only)User completes first review cycle
BuildingNext 20 interactionsLevel 2 (Draft & Wait)>80% approval rate on previews
EstablishedOngoingLevel 3 (Act & Notify)User explicitly opts in
TrustedAfter sustained useLevel 4 (Act Silently)User configures specific action types
DelegatedExpert users onlyLevel 5 (Full Autonomy)User sets goals + boundary conditions

The cardinal rule: Users can always dial DOWN autonomy instantly. Dialing UP requires confirmation.


Multi-Agent Coordination UX

When multiple agents work together:

ChallengeDesign Solution
Which agent did what?Color-coded agent identity in the activity feed
Agents disagree on approachSurface the disagreement to the user with each agent's reasoning
Agent A's output feeds Agent BShow the handoff explicitly: "Research Agent found 5 candidates → Outreach Agent will draft emails for your review"
Cascading failuresIf Agent A fails, halt Agent B and notify user before damage propagates

Anti-Patterns

PatternWhy It Fails
"The AI will handle everything" messagingSets unrealistic expectations; users feel betrayed at first failure
Burying the stop buttonUsers feel trapped. Panic → permanent distrust
Asking permission for every micro-actionDecision fatigue. Users disable the agent entirely
No audit trail"What did it do while I was asleep?" Users can't trust what they can't verify
Irreversible actions without explicit consentOne wrong autonomous action and the user never delegates again
Showing agent "thinking" animation without substanceA spinner is not transparency. Show what the agent is actually evaluating

Quick Reference

TaskFramework ElementKey Deliverable
Design a new AI agent productFull AUTONOMY frameworkAutonomy Dial settings + Pre/During/Post action flows
Add agent capabilities to existing productTrust Ramp PatternPhased rollout plan with unlock conditions
Audit agent UX for safetyUndo Architecture + Action ReceiptGap analysis: which actions lack undo, preview, or audit?
Design multi-agent coordinationMulti-Agent Coordination tableAgent identity system + handoff visualization
Set autonomy defaultsSetting the Default Level tableRisk-matched autonomy levels per action type

Integration

Works with: ai-trust-transparency (explaining agent decisions), ai-error-resilience (agent failure recovery), ai-safety-guardrails (agent action boundaries), ai-feedback-loops (rating agent performance), ai-ux-eval (scores the predictability dimension).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.