What is Anti-AI UI?
Anti-AI UI is interface design that resists automated browsing. Also known as AI-hostile design as a corrollary to user-hostile design.
The Two Types
There are two categories of patterns that make interfaces hostile to AI:
- Intentionally AI-Hostile: Designs specifically created to exploit how AI interacts with websites.
- Naturally Hostile: Dark patterns humans have adapted to over decades but AI encounters for the first time.
Intentionally AI-Hostile Patterns
These patterns exploit specific weaknesses in how AI interacts with websites, organized by attack vector:
Movement & Chaos
Gravity Field
Buttons orbit around invisible gravity wells. As you try to click them, they drift away:
Pendulum Fields
Form fields swing like pendulums powered by your keystrokes. Keep typing to maintain momentum. If any pendulum stops, you can't submit:
Three-Form Carousel
Multiple identical forms that shuffle positions. AI can't tell which form is the real target when they all look the same:
Forms shuffle positions every 2 seconds
Runaway Button
Try to hover over the button. It moves faster than you can track:
Note: This demo requires a mouse and does not work on touch interfaces.
Form Rotation & Scale Chaos
The entire form rotates and scales randomly. Visually distracting for AI vision:
Mitosis Button
Click the wrong button and more spawn. Only one is "real" at any time:
Click buttons - wrong ones multiply!
Shifting Interfaces
Form elements randomly shift position, change colors, and duplicate themselves. AI can't reliably target elements that keep moving:
Elements shift positions and duplicate randomly
Deception & Confusion
Traffic Light Form
Fields only accept input when their traffic light is green. Each cycles at a different rate:
Fake Marquee Distraction Fields
Random fake input fields scroll across the screen. AI tries to fill them thinking they're real:
Watch fake fields scroll by every 1500ms...
Input Misdirection
Type in one field, your text appears in another. The target shuffles every few seconds:
Type anywhere, text appears in: Username
Glitch Text
Characters constantly shuffle positions within the text. Humans can still read the word shape, but OCR gets scrambled output on every frame:
Characters shuffle positions rapidly
Navigation Breaking
Tab Index Randomization
Tab order shuffles every 3 seconds. AI relies on tab order for form navigation. Randomizing it breaks automated form filling:
Current tab order: 1 → 2 → 3
Label Shuffle
Labels randomly shuffle between different input fields. The "Email" label might appear above the password field, "Username" above email, etc:
Labels shuffle every 2.5 seconds - notice labels don't match their fields!
Naturally Hostile Patterns
Dark patterns originally designed to manipulate humans that might work against AI. These are just four examples, the web is full of them. For a complete catalog, see the Dark Patterns Collection.
Popup & Notification Hell
Multiple overlapping popups with deceptive buttons. Only the X closes them:
Floating Banner Ads
Constant ad interruptions appearing at random positions with varied spam styles:
Spam ads spawn every 3 seconds...
Download Roulette
Multiple fake download buttons mixed with one real button. Can you spot the safe download?
Click the download button above to get the latest version.
Semantic Gaslighting
Buttons that do the opposite of what they say. Try to cancel your subscription:
Are you sure you want to cancel?
Microscopic Close Button
The close button is so tiny you can barely see it. The fake "X" buttons are decoys:
You are the 1,000,000th visitor!
Click below to claim your FREE iPhone 15!
Cookie Consent Mazes
Try to reject all cookies below. Good luck, some toggles may re-enable themselves:
Password Requirements Hell
Try creating a password. Watch the requirements multiply:
A New Design Discipline
Anti-AI UI represents a new category of interface design, one that challenges the assumptions of automated browsing systems. These patterns reveal fundamental differences in how humans and AI experience the web.
This is just the beginning. We look forward to seeing others improve, extend, and build upon these patterns. As AI browsing capabilities evolve, so too will the techniques to resist them.
Have more patterns to share or found an issue with these demos? Reach out on Twitter or Bluesky.
To see if your AI browser can beat these designs, try our Anti-AI UI Test.
Try the test →Want to implement these patterns in your own project? Check out our framework with 20 ready-to-use components and comprehensive documentation.
View the framework →