Skip to content

A design framework for building dual-mode interfaces that work for both humans and AI agents. Includes validated principles, rendering strategies, and compliance methodology backed by empirical research.

License

Notifications You must be signed in to change notification settings

jgoldfoot/BiModalDesign

BiModal Design

A design framework for building dual-mode interfaces that work optimally for both humans and AI agents.

License: Apache 2.0 Status: Research Framework Node.js Contributions welcome


🧭 Table of Contents

  1. Overview
  2. The Problem
  3. The Solution
  4. Quick Start
  5. Key Research Findings
  6. Documentation
  7. Tools & Examples
  8. Framework Maturity Levels
  9. Contributing
  10. Development Setup
  11. Research & Citations
  12. License
  13. Author

🧠 Overview

BiModal Design defines best practices and validation tools for creating dual-mode interfaces β€” designs that remain equally functional for human users and AI agents.

As agentic technologies proliferate, ensuring mutual interpretability between people and machines becomes essential. BiModal Design bridges that gap through semantic design standards, agent-readable metadata, and progressive rendering strategies.


❌ The Problem

Most AI agents (~80%) perform simple HTTP requests without executing JavaScript.
Client-side rendered (CSR) apps appear blank to them, even when perfectly optimized for human experience.

Perspective Experience
πŸ‘©β€πŸ’» Human Sees a rich, interactive, accessible interface
πŸ€– AI Agent Receives <div id="root"></div> β€” no content

This invisibility undermines discoverability, automation, and LLM-driven workflows.


βœ… The Solution

BiModal Design establishes foundational requirements, design principles, and validation tools to ensure both humans and agents perceive meaningful structure.

πŸ—οΈ Foundational Requirements

  • FR-1: Initial Payload Accessibility β€” content must exist in the first server response
  • Rendering Strategy Guidance β€” patterns for SSR / SSG / CSR and hybrid models
  • Progressive Enhancement β€” interactivity should build upon accessible content

🎨 Design Principles

  • Semantic HTML5 landmarks
  • WCAG 2.2 AA alignment
  • ARIA roles and agent-specific attributes
  • JSON-LD structured data for discoverability

πŸ”§ Validation Tools

  • FR-1 Checker β€” verify server payload accessibility
  • Compliance Auditor β€” full BiModal Design rule suite
  • CI/CD Integration β€” continuous validation

⚑ Quick Start

1. Test Your Current Site

# Check if your site exposes accessible structure to agents
curl -s https://your-site.com | grep -E '<(nav|main|h1|form)'

βœ… Expect visible semantic HTML.
❌ Empty <div id="root"></div> means content is invisible to agents.

2. Run BiModal Design Validation

cd tools/validators
node fr1-checker.js https://your-site.com --verbose

3. Implement Core Patterns

<main role="main" data-agent-context="homepage">
  <h1>Your Content</h1>
  <nav role="navigation" aria-label="Main navigation">
    <a href="/products" data-agent-action="browse-products">Products</a>
  </nav>
</main>

<script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@type": "WebSite",
    "name": "Your Site",
    "description": "Your description"
  }
</script>

πŸ“Š Key Research Findings

Metric Conventional Interfaces BiModal Design-Optimized Improvement
Human Task Success 72% β€” β€”
Agent Task Success 12% 42–70% +40–75%
Agent Completion Rate β€” +40–75% Significant

πŸ“˜ Documentation

Document Description
πŸ“„ White Paper Framework specification v2.1
πŸ› οΈ Implementation Guide Development & deployment practices
πŸ“Š Case Studies Real-world validation data
πŸ” Troubleshooting Common errors and corrections

πŸ§ͺ Tools & Examples

Validation Tools

  • FR-1 Checker β€” test server payload accessibility
  • Compliance Auditor β€” full framework compliance suite

Implementation Examples

  • Astro SSG Example β€” static rendering pattern
  • CSR Mitigation β€” client-rendered fallback fixes

🧬 Framework Maturity Levels

Level Name Requirements Typical Agent Success
0 Infrastructure Ready FR-1 compliant (content in payload) Basic
1 Basic Accessibility WCAG 2.2 AA + semantic HTML β‰₯ 75%
2 Semantic Stability ARIA + structured data β‰₯ 85%
3 Agent-Tested Automated validation β‰₯ 90%
4 Agent-Native AI-first design paradigm β‰₯ 95%

🀝 Contributing

Contributions are welcome!

  1. Fork the repository
  2. Create a feature branch
  3. Commit with a Conventional Commit message
  4. Submit a Pull Request

Refer to the Contributing Guidelines for review standards and code style.


🧰 Development Setup

# Clone the repository
git clone https://github.com/jgoldfoot/BiModalDesign.git
cd BiModalDesign

# Install dependencies
cd tools/validators
npm install

# Run tests
npm test

πŸ”¬ Research & Citations

  • WebAgents Survey 2025 β€” "A Survey of WebAgents: Towards Next-Generation AI Agents for Web Automation" (arXiv:2503.23350v1)
  • ST-WebAgentBench β€” "A Benchmark for Evaluating Safety and Trustworthiness in Web Agents" (arXiv:2410.06703v2)
  • Ο„-bench β€” "A Benchmark for Tool-Agent-User Interaction in Real-World Domains" (arXiv:2406.12045)

βš–οΈ License

Licensed under the Apache License 2.0.
See LICENSE for full details.


πŸ‘€ Author

Joel Goldfoot
Senior Director of Product Design | AI + UX Researcher

πŸ“§ joel@goldfoot.com
πŸ”— linkedin.com/in/joelgoldfoot
🌐 ai-plus.design


BiModal Design β€” Designing the future of human-AI collaboration, one interface at a time.

About

A design framework for building dual-mode interfaces that work for both humans and AI agents. Includes validated principles, rendering strategies, and compliance methodology backed by empirical research.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •