TextWeb: Markdown Web Renderer for LLM Agents
Use TextWeb’s CLI or MCP server to render any URL as markdown, enabling LLMs to navigate, scroll, input text, and click buttons without vision models.
Install TextWeb from GitHub, run `textweb <URL>` to generate markdown, and test LLM navigation commands in your workflow.
Summary
TextWeb is a new markdown web renderer that lets LLM agents interact with web pages without relying on expensive vision models.
The tool executes full JavaScript and annotates interactive elements, allowing agents to navigate, scroll, fill inputs, and click buttons directly from markdown. It ships with a command‑line interface and an MCP server, making it easy to integrate into existing LLM workflows. The project builds on the earlier textgrid renderer by Chris Robison, but replaces the grid with a markdown output that LLMs can parse natively. Users can run TextWeb against any URL and receive a markdown representation that preserves page structure and element positions. The renderer also supports the llama.cpp web UI, enabling local LLMs to control a browser‑like environment. Overall, TextWeb removes the need for screenshot‑to‑vision pipelines and gives developers a lightweight, scriptable interface for web‑based LLM tasks.
Key changes
- CLI interface for rendering URLs to markdown
- MCP server for programmatic access
- Full JavaScript execution within the renderer
- Interactive elements annotated with metadata for LLM navigation
- Navigation commands: scroll, input, click supported
- Compatibility with llama.cpp web UI for local LLMs