# Web For Agents: Make any website agent-ready

A project by [Anubhav Choubey](https://anubhavchoubey.com/) · AI Agents & Developer Tools · Featured

An open-source npm toolkit and Vite plugin that makes React sites readable and usable by AI agents: prerendered HTML, markdown pages, llms.txt and WebMCP actions.

## Highlights

- At build time it prerenders every route and writes a markdown copy of each page, llms.txt, llms-full.txt, a sitemap and an AI-crawler robots policy.
- useAgentAction and AgentForm turn buttons and forms into typed agent tools, listed in agents.json and registered through WebMCP, with confirmation for anything destructive.
- An audit CLI scores any URL from 0 to 100 for agent readiness and prints a fix for every miss.
- A dev overlay shows exactly what an agent sees, and prerendering runs in a locked-down, isolated Node process.
- Powers this very portfolio: every page here has a markdown twin, and agents start from /llms.txt.

Tech: TypeScript, React, Vite plugin, WebMCP, happy-dom, Playwright, JSON-LD, Vitest, GitHub Actions

Links: [GitHub](https://github.com/LazyyVenom/Web-For-Agents) · [npm](https://www.npmjs.com/package/@anubhav-choubey/web-for-agents)

## FAQ

**What is Web For Agents?** An open-source npm toolkit and Vite plugin that makes React sites readable and usable by AI agents: prerendered HTML, markdown pages, llms.txt and WebMCP actions.

**Who built Web For Agents?** Anubhav Choubey, a Founding Engineer and full-stack software developer from Bengaluru, India, designed and built it end to end.

**What is Web For Agents built with?** TypeScript, React, Vite plugin, WebMCP, happy-dom, Playwright, JSON-LD, Vitest, GitHub Actions.

**Where can I see Web For Agents?** GitHub: https://github.com/LazyyVenom/Web-For-Agents · npm: https://www.npmjs.com/package/@anubhav-choubey/web-for-agents.
