CocoRoF

An Web — AI skill for Claude Code

AI community

AN-Web — AI-native headless browser engine for agents: fetch, render, read (reader-mode markdown), search.

How to install An Web

This entry records only its repository, not the path inside it, so there is no exact command to give. Open CocoRoF/an-web and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What An Web does

AN-Web — AI-native headless browser engine for agents: fetch, render, read (reader-mode markdown), search. Python · PyPI.

Alternatives in AI

  • HolyClaude — AI coding workstation: Claude Code + web UI + 7 AI CLIs + headless browser + 50+ tools 2k ★
  • Ff Ruyijs — This is a lightweight, headless browser purpose-built for AI agents (such as Codex or Claude Code) to perform 865 ★
  • Qiaomu Markdown Proxy — Fetch any URL as clean Markdown via proxy services (r.jina.ai / defuddle.md) or built-in scripts 426 ★

README

AN-Web

[English](README.md) | [한국어](README.ko.md)

[![PyPI](https://img.shields.io/pypi/v/an-web)](https://pypi.org/project/an-web/) [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE)

**A Python-native headless browser engine for AI agents. It turns every web page into a structured, actionable semantic graph instead of pixels.**

What problem it solves

Playwright and Puppeteer drive a full Chromium for human-written tests. An agent loop (navigate, observe, decide, act) pays for that in install size, cold start, and output that is a screenshot or a huge DOM/aria dump. AN-Web is built for that loop:

  • pip install an-web is the whole setup. V8 comes from the mini-racer wheel; there is no browser download.
  • Pages are returned as a PageSemantics model: page type, ranked actions, input fields, blocking elements (modals, cookie banners), and a role/name tree.
  • Elements can be targeted semantically ({"by": "role", "role": "button", "text": "Sign In"}), not only by CSS selector.
  • Policy (domain rules, rate limits, approvals), tracing and replay are built in.
  • 13 tools, plus ready-made Anthropic/OpenAI tool schemas and an MCP server.

AN-Web is not a full browser: no screenshots, no iframes, no WebSocket, no hover/drag. See [Known Limitations](#known-limitations).

Installation

Requires Python 3.12+.

pip install an-web              # engine + Python API
pip install "an-web[mcp]"       # also the `an-web-mcp` MCP server

Latest release on PyPI: 0.9.1. From source: `git clone https://github.com/CocoRoF/an-web && cd an-web && pip install -e ".[dev]"` (or `uv sync`).

Runtime dependencies: `httpx`, `brotli`, `selectolax`, `html5lib`, `pydantic`, `cssselect`, `mini-racer` (embedded V8; bundled in the wheel, no system packages). Platform support follows the prebuilt `mini-racer` wheels.

Quick Start

import asyncio
from an_web import ANWebEngine

async def main():
    async with ANWebEngine() a