Onur Ovalı

How AI Agents Gain Trust: UX Patterns

An AI assistant without context is just... average.

It needs to create differentiated value from the first session. If it doesn't, the user churns. And if the user doesn't use it, it never gets better — which kills the product.

I noticed some simple UX patterns that modern AI coding agents (Cursor, Claude Code, and others) use to tackle this and gain trust. Here they are.

1. Gradual Autonomy: Earn Trust

New agents start conservative. Every action triggers a permission prompt:

[1] Yes — allow once
[2] Yes, always for this project
[3] No

As you work together, you grant more autonomy. "Yes, always" for running tests. "Yes, always" for editing files. Eventually the agent works without interruption — but only for actions you've explicitly trusted.

The user always feels in control.

2. Plan Mode: Think Before Acting

Before a complex task, open planning mode. The agent shows you the steps:

☐ Step 1: Update the auth middleware
☐ Step 2: Add new API endpoint
☐ Step 3: Write tests
☐ Step 4: Update documentation

You review, give feedback, approve. Then the agent starts working — and you can see exactly which step it's on:

✓ Step 1: Update the auth middleware
✓ Step 2: Add new API endpoint
◉ Step 3: Write tests
☐ Step 4: Update documentation

This mitigates the risk of getting something completely off track, 30 minutes later.

3. Personalization via Context: AGENTS.md

These AI coding agents push you to keep context in simple markdown files. Write something in .cursor/rules/, Cursor reads it at every session start. Fill out CLAUDE.md, Claude Code loads it automatically.

This makes the experience more personalized. The agent knows your constraints, preferences, priorities — and your codebase structure for quick access instead of searching everything again and again.

Use these files. Keep them updated. Better experience each time.

The community took this further — tools like claude-mem automatically update your context files with learnings from each session. (I haven't used it yet.)

4. Tool Orchestration: The Value Is in Integration

Not strictly UX — but it changes what the agent can do for you.

Individual tools are commodities. The magic is in orchestration:

This is where AI stops being a code assistant and starts helping you find strategic direction for your product.

I built a small CLI library with API connections to Notion, Google Analytics, Gmail, Calendar, and more. If you're interested, check out my blog post on AI agent tools.

Summary

Pattern What It Does
Gradual Autonomy User grants trust incrementally
Plan Mode Agent shows steps, user approves
Context Files Agent reads user's rules at startup
Tool Orchestration Agent connects the dots for strategic insight

Enjoyed this post? Follow me for more on AI, product, and building things.

Follow on LinkedIn
Back to blog Home