# ITB: The Interactive Text Browser ## Understanding the Challenge Modern websites are designed for human interaction. They rely on visual cues, spatial relationships, and complex interactions through mouse and keyboard. A human can instantly understand that a blue underlined piece of text is clickable, that a grid of product cards represents a catalog, or that a hamburger icon will reveal a navigation menu. AI agents, however, process information differently. They need structured data that explicitly describes both content and interaction possibilities. Traditional web scraping tools can extract content but struggle with interaction. Screen readers come closer but are optimized for linear reading rather than complex interaction patterns. ITB (Interactive Text Browser) bridges this gap. It transforms web pages into a format that AI agents can process effectively while preserving all the interaction capabilities a human would have. This transformation focuses on what matters for interaction - the content that's visible and the ways it can be manipulated - while removing technical complexity that only exists to support visual presentation. ## How ITB Works ITB operates as a bridge between an AI agent and a web browser. When you start ITB, it launches a browser process that runs independently, just like when you open a browser yourself. This browser loads and renders web pages normally, but instead of displaying them on screen, it communicates their content and state to the AI agent through a simplified XML format. ## Page Representation ITB transforms complex HTML structures into a simplified XML format that represents what's actually visible and interactive on the page. Let's look at several examples to understand this transformation. ### Text Content When a human reads a webpage, they naturally process related content together regardless of how it's structured in HTML: ```html

Breaking News

2024-12-20 By John Smith

Scientists announce breakthrough...

Breaking News - 2024-12-20 - By John Smith - Scientists announce breakthrough... ``` The transformation merges related text elements into a single coherent flow, making it easier for AI agents to process content the way a human would read it. ### Interactive Elements ITB describes elements by their interaction capabilities rather than their HTML structure: ```html
Username: Password: Login ``` ### Media Content Media elements like images, videos, and audio are represented simply with their source and alternative text: ```html
System architecture diagram
System architecture diagram ``` ### Embedded Content Modern web pages often embed content from other sources using iframes. While humans don't notice these technical boundaries, they affect how we can interact with the content. ITB handles this by representing iframes transparently: ```html

Welcome Back

Welcome Back