agent-cache
add

Download docs as a ZIP for your coding agent.

Paste a docs URL to turn a documentation site into Markdown files for your AI coding agent. Browse the pages online or download the Markdown docs as a ZIP for Cursor, Claude Code, Codex, or Windsurf. Keep a local copy in your project or read it offline.

Works with Claude Code, Codex, Cursor, Windsurf, any agent that reads files.

drop the folder in. · wire into Claude Code, Cursor, Codex, or MCP →

One URL in. The whole site out.

Simulated output. Pick a source, see what your agent gets.

https://docs.example.com → agent-cache bundle
$ agent-cache add https://docs.example.com
# this site serves clean markdown. nothing to scrape.
✓ 428 pages found
✓ 428 pages fetched        every page, in full
✓ bundle written           openai-docs/ · 3.1s

openai-docs/
├── README.md
├── _map.json
├── meta.yaml
├── getting-started/  quickstart.md  install.md
├── concepts/          auth.md  embeddings.md
└── api/               responses.md  tools.md …
https://example.com/docs → agent-cache bundle
$ agent-cache add https://example.com/docs
# classic html site. I handle the mess.
✓ 212 pages found
✓ 209 pages fetched        3 failed. listed, not fatal.
✓ bundle written           example-docs/ · 41s

# cookie banners, sidebars, promo walls: gone.
# code examples: untouched.
# links between pages: still work offline.
https://docs.hono.dev → agent-cache bundle
$ agent-cache add https://hono.dev
✓ 86 pages found
✓ 86 pages fetched
✓ bundle written           hono-docs/ · 2.4s

# I cached hono docs for my own repo with this.
# same tool.

You get a plain folder: markdown files, a map of every page, and a note about where it all came from.

Batteries included

Everything the bundle needs to survive contact with a real agent session.

The whole site, not a summary

Every page ships in full. Not a summary. Summaries skip the paragraph your agent needed. Code examples stay intact, links keep working offline.

→every page included
→code examples untouched
→links between pages still work offline

Same input, same output.

I resolve the URL, pick the cheapest acquisition that works, and pack the bundle. Point it at a URL and walk away.

→no setup, no accounts
→works with any docs site
→same input, same output

Your agent finds the right page fast

Every bundle has a map of every page so your agent opens only what it needs. Plus where the docs came from, when I fetched them, and the GitHub repo if I found one.

→_map.json · every page, structured
→meta.yaml · where it all came from
→mcp server (soon) reads the same files

A folder in your repo.

Plain files on your disk. Gitignore them or commit them. Works offline, nothing phones home.

→no account required
→works offline after download

Wire it in. One line.CLI & MCP coming soon

Three ways. Pick the one that matches your stack. Drop-in works today. CLI and MCP ship with the web app.

no install · point your agent at the folder
Reference .agentcache/docs/<name>/docs/ as the authoritative source
for these libraries. Do not rely on remembered APIs when it contains
the relevant information.

# agents cache: htmx, hono
# refresh: agentcache add <url> · or grab a fresh ZIP from the web app

Works with every agent that reads files. Paste the line into AGENTS.md, CLAUDE.md, or .cursor/rules/. The choice for purists. Zero install, zero runtime, full control.

install once · one command per docs site
# install the cli
$ npm i -g agentcache

# fetch a docs site into your project
$ cd ~/projects/your-app
$ agentcache add https://docs.example.com
  → writing .agentcache/docs/example/ (428 pages)
  → ok 312/428 pages · 14s

# browse, list, delete
$ agentcache list
$ agentcache view hono
$ agentcache delete hono

Same pipeline as the web app, byte-compatible output. Ships when the backend does. The dot-folder you get is the same one.

stdio MCP · agent pulls pages on demand, not the whole bundle
# .mcp.json
{
  "mcpServers": {
    "agentcache": {
      "command": "agentcache",
      "args": ["mcp"]
    }
  }
}
# the agent's view of your docs
agent: "implement OAuth with Clerk"
  → list_docs()           matches keywords [clerk, oauth]
  → get_doc_map(clerk)    40-page structure, ~2k tokens
  → get_doc_page(clerk, oauth.md)

The agent pulls the one page it needs instead of you pasting 40. Local only, stdio transport, no account. Ships with the CLI.

Get started

Paste a docs URL. That's the whole interface.

how to wire it into your agent →