OpenViSTAI · Agents · Blockchain · Crypto
Menu
Browser Agents

Agent Fetch

Agent Fetch is an MIT-licensed TypeScript web-fetching library and CLI for retrieving web pages and extracting article content for AI agents and content workflows. It uses browser impersonation and multiple extraction strategies, and can return Markdown, plain text, JSON or raw HTML. Its documented tasks also include multi-page crawling and extracting text from local PDFs.

Independent OpenViST project profile, based on linked sources.

Agent Fetch — Markdown output with headings, links and lists for downstream processing
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Agent Fetch when a local CLI or TypeScript component needs to retrieve web-page content for an agent, research, RAG or content-ingestion workflow, especially when structured article output is useful.

Who it is for

  • AI-agent builders who need fetched page content for downstream processing.
  • Research and RAG workflow builders who want structured Markdown rather than a short summary.
  • Content teams or developers who need CLI or programmatic web-page extraction.

Documented uses

  • Fetch an article and retain its headings, links and other structure in Markdown.
  • Retrieve page content as plain text, JSON or raw HTML.
  • Crawl multiple pages with controls for depth, limits, URL patterns, concurrency and delays.
  • Extract text from a local PDF file.
  • Use cookies or CSS selectors when a page requires an authenticated session or a narrower extraction target.
Before you choose

Requirements & limits

The README documents local operation without API keys or cloud dependencies. The repository identifies the project as MIT-licensed and specifies Node.js 20, 22 and 25 in its badges.

  • The repository describes browser impersonation and multiple extraction strategies to address differing or truncated responses from standard HTTP clients.
  • Available output modes include Markdown, plain text, JSON and raw HTML.
  • Crawl options include depth and page limits, URL inclusion and exclusion patterns, concurrency, request delays and cross-origin crawling.
  • Cookies, custom CSS selectors and TLS fingerprint presets are documented options.
  • The documented implementation is TypeScript for Node.js; the repository badges specify Node.js versions 20, 22 and 25.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Extract a web page as Markdown with the CLI

Fetch a page and produce its extracted article content in Markdown.

Before you start

  • Node.js 20, 22 or 25, as specified by the repository badges.
  • A page URL.

Steps

  1. Run the command below to output extracted Markdown.

    Documented command
    npx agent-fetch https://example.com/article
  2. Use -q to output Markdown content without the metadata header, or --json for JSON output containing title, content, Markdown and metadata.

Expected outcome

Markdown article content, with headings and links preserved where extraction succeeds; JSON output is also documented.

Guide limitations

  • The README describes the extraction workflow but does not guarantee complete extraction for every page.
  • The default timeout is documented as 20 seconds; a custom timeout can be set with --timeout.
  • This guide covers CLI extraction, not integration into a separate agent or pipeline.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
20 November 2026
Original website title
teng-lin/agent-fetch · Official homepage title · retained in its source language