agent-cache
add

About Agent Cache

Agent Cache turns any documentation site into clean, agent-ready markdown docs. Paste a docs URL, get the whole site back as plain markdown files a coding agent can read.

Purpose

I built Agent Cache because I believe coding agents (Claude Code, Cursor, Codex, Windsurf) should have access to complete, accurate documentation for any API you're integrating with. Too often, agents hallucinate outdated APIs because the docs aren't in their context.

I designed Agent Cache to solve this by converting any documentation site into a clean, deterministic artifact: plain markdown files, a navigation tree, and metadata. Drop it into your repo, and your agent has the full docs offline.

How It Works

The pipeline follows a cost-ordered acquisition ladder:

  1. Direct .md endpoints — Many modern doc stacks (Mintlify, Fumadocs, Docusaurus) expose raw markdown. I check for these first.
  2. GitHub raw markdown — If the docs are open source, I fetch the markdown files directly from the repository.
  3. HTML purification — As a fallback, I crawl the HTML and convert it to clean markdown using Turndown.

No LLM is used in the crawling pipeline. Structure comes from URL topology (path hierarchy, sitemap, nav links, breadcrumbs). Output is deterministic: same input, same output.

Human Behind it

Agent Cache is built by Awais Alwaisy — a developer, tech writer, and software craftsman focused on TypeScript, modern web tooling, and developer experience in the agentic AI era.

X:@alvaisy
GitHub:@alwaisy
LinkedIn:in/alwaisy
Email:[email protected]

Open Source

Agent Cache is open source (MIT license). The web app, CLI, and MCP server are all available on GitHub. Self-host it or use the managed service.

Contact

Have questions or feedback? Email me at [email protected], reach out on X (@alvaisy), or check the contact page.