Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Crawl4AI

$ crwl Official Med Risk
UncleCode · Browser & Web · Apache-2.0 · macos / linux / windows

Crawl4AI (crwl) is an async Playwright-powered web crawler built specifically for AI agents and RAG pipelines. Its crwl CLI renders dynamic JavaScript pages, extracts schema-driven or LLM-driven structured data, and outputs clean Markdown (-o markdown) or JSON (-o json).

FCRS-1.0 Score
82 /100
Good
Medium Confidence
Zero-Friction Install
pip install crawl4ai
CLI vs MCP Decision Hybrid (CLI + MCP)

Use crwl <url> -o markdown for one-shot JS-rendered page ingestion; pair with Crawl4AI's Docker/MCP server for persistent browser pools.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Purpose-built -o markdown and -o json outputs, inline -b/-c overrides, and CSS/LLM schema extraction.

  • Supports -o markdown, -o json, -s <schema.json>, and --bypass-cache
Trust & Safety 20 / 25

Read-only crawling by default with local SQLite cache; -j LLM extraction is opt-in so external API billing only happens explicitly.

  • Opt-in -j LLM mode; single-URL default scope
Setup & Portability 11 / 15

Requires Python 3.10+, Playwright, and a post-install crawl4ai-setup browser download (~400 MB).

  • Requires pip install crawl4ai plus crawl4ai-setup
Utility & Efficiency 14 / 15

Handles SPA JS rendering, Markdown pruning, CSS schema extraction, and lazy-load scrolling in one command.

  • Playwright rendering + fit-markdown + CSS/LLM extraction
Maintenance & Lineage 8 / 10

Rapidly growing official project (unclecode/crawl4ai) under Apache-2.0 with active community.

  • Active unclecode/crawl4ai repository under Apache-2.0
Docs & Verifiability 8 / 10

Dedicated docs.crawl4ai.com/core/cli/ guide documenting crwl flags and YAML configs.

  • CLI documentation at docs.crawl4ai.com/core/cli/

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Stores optional LLM provider keys in ~/.crawl4ai/global.yml or environment variables when -j LLM extraction is used.

Side Effects
Read-Only Local Write Billing Impact
Cost & Quotas

Apache-2.0 open-source CLI is free; optional -j LLM extraction incurs external LLM API token charges.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Crawl4AI (crwl) Agent Rules
- Use `-o markdown` or `-o json` for deterministic output.
- Avoid `-j` (LLM extraction) unless an LLM API key and token budget are explicitly configured.
- Run `crawl4ai-setup` once after install so Playwright browser binaries are present.

Agent-Ready Command Recipes

Safe Read-Only Queries

Render a JS page to clean LLM Markdown
crwl https://example.com -o markdown

Launches headless Playwright, waits for page load, and emits clean Markdown to stdout.

Extract page data as JSON bypassing cache
crwl https://example.com -o json --bypass-cache

Forces a fresh headless crawl (--bypass-cache) and outputs structured JSON (-o json).

Strengths for Agents

  • + Built specifically for agent/RAG consumption with -o markdown and -o json.
  • + Renders modern JavaScript SPAs headlessly via Playwright.

Caveats & Pitfalls

  • ! Heavy setup footprint requiring Playwright browser binaries (crawl4ai-setup) and SQLite cache under ~/.crawl4ai.
  • ! First run per machine is slow if browsers or caches are not pre-warmed.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI