Expand AI logo
DocsDocs
Glow Active
API Reference
Login

Documentation

Get Started

OverviewWhy ExpandQuickstartWays to Use Expand

Agent Quickstarts

OverviewExpand SkillClaude CodeCursorCodexOpenCodeSkill-Based AgentsOther MCP Clients

Fetch

OverviewHow Fetch WorksOutput ModelInclude OptionsBrowser BehaviorHighlightsPlayground & ReplayBatched Fetch

Reference

API ReferenceCLI CommandsMCP Tools & ResourcesTypeScript SDKPython SDK

Account & Billing

Pricing & UsageTiersFAQ

Machine-Readable Docs

start.mdllms.txtllms-full.txtDocs as Markdown
Browse docs

Get Started

OverviewWhy ExpandQuickstartWays to Use Expand

Agent Quickstarts

OverviewExpand SkillClaude CodeCursorCodexOpenCodeSkill-Based AgentsOther MCP Clients

Fetch

OverviewHow Fetch WorksOutput ModelInclude OptionsBrowser BehaviorHighlightsPlayground & ReplayBatched Fetch

Reference

API ReferenceCLI CommandsMCP Tools & ResourcesTypeScript SDKPython SDK

Account & Billing

Pricing & UsageTiersFAQ

Machine-Readable Docs

start.mdllms.txtllms-full.txtDocs as Markdown

Agents deserve the whole web.

Expand Fetch renders live pages in a real browser and returns agent-ready Markdown, State JSON, source evidence, and replayable snapshots — the tables, icons, layout, and hidden JSON that ordinary Markdown drops.

Set up Expand inside your agent, or run one Fetch from your terminal and inspect the output yourself.

One prompt. Every agent.

Paste it into the coding agent you already have open. Expand installs the CLI, configures every supported harness it detects on this machine, and proves the setup with a cited answer.

Set it up by hand
Claude CodeCodexCursorOpenCodedetected automatically

Or run one Fetch

One command in your terminal. Agent-ready Markdown, State JSON, and a replayable snapshot — no setup.

$ npx expandai fetch https://news.ycombinator.com

# Hacker News
1. A 40-line fix eliminated a 400x performance gap
2. The Gleam Programming Language
3. Show HN: An agent that searches your snapshots
…

Every Fetch returns:

  • Main MarkdownThe readable page with tables, icons, and layout intact.
  • State JSONHidden frontend state and network evidence as clean JSON.
  • snapshotIdA replayable capture with source-level evidence handles.
Quickstart →
NextWhy Expand

On This Page

What your agent getsStart hereDeveloper surfacesMachine-readable docs
CLI Commands →

Build with the SDK

Point your coding agent at the repo you want Expand in. It installs the package and writes the first call against a URL you name.

SDK language
Set it up by hand
$ npm install @expandai/sdk

const page = await expand.fetchJson({ url: 'https://news.ycombinator.com' })

What your agent gets

Every Fetch returns one working document plus the evidence behind it. Main Markdown is the readable default. State JSON ships alongside it when it fits, and stays addressable by reference when a page carries too much. Appendix holds secondary regions, and every claim traces back to a snapshot.

| Plan | Price | Seats |
| ---- | ----- | ----- |
| Pro  | $20   | 5     |
| Team | $40   | 20    |

Spatial Markdown

Layout-aware Markdown for tables, grids, pricing pages, feature comparisons, and icons.

Pricing tableFeature gridIcon labels
{
  "product": "PRS516",
  "price": 1850,
  "inStock": true
}

Start here

Quickstart

Run one Fetch and inspect the output.

Ways to Use Expand

Choose agent, CLI, SDK, API, or Playground.

Why Expand

Understand what Expand preserves beyond plain Markdown.

Developer surfaces

Fetch is the product. The CLI, SDKs, HTTP API, MCP, and the Playground are surfaces that bring Fetch into the place where your work happens. See How Fetch Works for the model behind all of them.

  • Agents and Expand Skill
  • CLI
  • TypeScript SDK
  • Python SDK
  • Direct API
  • MCP Tools & Resources
  • Playground & Replay

Machine-readable docs

Pointing an agent or IDE tool at these docs? Start it with start.md or the llms.txt index, pull the full bundle from llms-full.txt, or read any page as Markdown. llms.txt is an index for agents you point at it directly, not a file that major web crawlers fetch on their own.

State JSON

Hidden frontend state and network evidence delivered as clean JSON.

__NEXT_DATA__Redux stateAPI payloads
# Main document
  …
———————————————
# Appendix
- Navigation
- Footer links

Appendix

Secondary page context stays available without flooding the main document.

NavigationFooter linksRelated content
"$1,850 list price"
 └ source    src_3f2a9
 └ snapshot  9c1b…  ▶ Replay

Evidence & Replay

Trace answers back to source blocks, snapshots, screenshots, and replayable captures.

snapshotIdsource IDsReplay