Expand AI logo
DocsDocs
API Reference
Login

Documentation

Start

WelcomeQuickstartCLI & AgentsAPI Reference

Concepts

Progressive DisclosureState JSONAppendixCitationsSearch & HighlightingSpatial MarkdownInclude OptionsBatched Fetch

Product

FetchMCPCLI

SDKs

SDKsTypeScript SDKPython SDK

Quickstart

Choose the right Expand setup path for agents, app code, CLI use, or direct API calls.

Expand can be installed in an agent harness, called from app code, used from a terminal, or called directly over HTTP.

Use Expand in an agent

Best when a coding agent needs reliable web fetches, citations, search, and follow-up exploration.

expandai login
expandai hook install claude-code project

Use OpenCode with expandai hook install opencode project. Use Cursor or Codex with expandai skill install <host> project and expandai mcp install <host> project.

Use Expand in app code

Use the TypeScript or Python SDK when your application needs Fetch.

Use Expand from the terminal

expandai login
expandai fetch https://example.com

Use the direct API

Use direct HTTP with x-expand-api-key for servers, CI, and other non-interactive systems.

Next steps

  • Open the API Reference for exact request bodies, response schemas, and examples.
  • Read the Fetch guide for Markdown Fetch, JSON Mode, Include Options, search, and batching.
  • Use CLI & Agents when setting up Claude Code, OpenCode, Cursor, Codex, or another MCP client.
PreviousWelcome
NextCLI & Agents

On This Page

Use Expand in an agentUse Expand in app codeUse Expand from the terminalUse the direct APINext steps