For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Book a demoLog in
DocumentationAPI ReferenceModel VersioningChangelog
DocumentationAPI ReferenceModel VersioningChangelog
    • Studio
    • Support
    • Benchmarks
    • Status
  • Getting Started
    • Overview
    • API Quickstart
    • Dashboard Quickstart
    • Agent Quickstart
  • Dev Tools
    • SDKs
    • CLI
  • Capabilities
LogoLogo
Book a demoLog in
On this page
  • Pick how your agent will work with Extend
  • Where to go next
Getting Started

Agent Quickstart

Was this page helpful?
Previous

SDKs

Next
Built with

This page helps you set up your coding agent with the tools and context it needs to work with Extend.

Pick how your agent will work with Extend

Extend ships purpose-built artifacts for each style. Match the one(s) your agent will use, then install only those.

If your agent will…Give it…
Run one-off and shell-driven document jobsThe extend CLI + its agent skill
Write durable integration code with an SDKThe platform context file (agents.md)
Look things up in the docs as it worksThe docs index (llms.txt) + .md pages

Most teams set up all three. They’re additive, and steps 3–5 below cover each.

The agents and harnesses this works with include Claude Code, Cursor, Codex, OpenCode, and Goose — anything that can read a skill file or fetch a URL.

1

Create an API key and export it

Your agent’s calls — CLI or SDK — fail without a key. Create one from the Developers dashboard and export it where your agent’s shell can see it:

$export EXTEND_API_KEY="sk_xxx"

The CLI reads EXTEND_API_KEY automatically. With an SDK, pass the key when you create the client (reading it from the environment is common) — the SDK then sets the auth header and API version for you. If your agent makes raw HTTP requests instead, it must send both an Authorization: Bearer <key> header and x-extend-api-version: 2026-02-09 on every request.

2

Equip an agent that runs the CLI

Install the CLI:

Homebrew
npm
Go
$brew install extend-hq/tap/extend

Confirm it’s there with extend --version. The CLI covers parse, extract, classify, split, edit, run, and batch, plus management of the resources behind them (runs, files, extractors/classifiers/splitters/workflows, webhooks).

Then install the agent skill, which is generated from the CLI’s own command tree and follows the agentskills.io standard. It teaches the harness how to drive extend correctly:

Most agents
Claude Code
$extend skill install

Writes ~/.agents/skills/extend/SKILL.md, the cross-client default path.

The skill is generated from the installed CLI, so re-run extend skill install after upgrading the CLI to keep it in sync.

3

Equip an agent that writes SDK code

When your agent generates application code, drop Extend’s platform context file at the repo root. It’s the same content as the AGENTS.md / CLAUDE.md convention — a compact brief on the API, SDKs, schema rules, sync-vs-async patterns, webhooks, and error handling — so the SDK code your agent writes is correct on the first try:

$curl -fsSL https://docs.extend.ai/agents.md -o AGENTS.md

Prefer it available across projects? Save it as a reusable skill under ~/.agents/skills/ instead of per-repo.

The official SDKs cover four languages. Python, TypeScript, and Java ship polling helpers (create_and_poll / createAndPoll) and built-in webhook signature verification; Go has neither, so an agent writing Go should poll and verify signatures manually.

Python
TypeScript
Java
Go
$pip install extend-ai
4

Point your agent at the docs

Whichever path you chose, your agent can pull authoritative reference on its own:

  • Index: https://docs.extend.ai/llms.txt — a curated map of every doc page.
  • Any page as Markdown: append .md to a doc URL (e.g. https://docs.extend.ai/extraction/schema.md) for clean, token-cheap content.

Add these to your agent’s allowed-fetch list or mention them in your project instructions so it reaches for the docs instead of guessing.

5

Verify the setup

Ask your agent to run a read-only command that spends no credits and confirms the key, the CLI, and the connection all work:

$extend extractors list

A clean list back means your agent is ready to go.

Where to go next

CLI reference

Every command, flag, and output format for driving Extend from the shell.

SDKs

Typed clients, polling helpers, and webhook verification in four languages.