CAP 1.0 Draft

Concierge Agent Protocol (CAP)

The front door to your website, for every AI agent.

Let AI agents ask your business directly. Your agent answers from your catalog, docs, and records, with a link to the product, plan, or booking page on your site. Agents stop guessing from your pages, and your internal tools stay private.

Make your website agent-readySee CAP in action

See CAP in action

78%

lower cost than fetching the site

85%

lower cost than browsing it

74%

fewer steps than browsing

Cost per correct answer and tool calls across 150 tasks on a synthetic store. About the same answers: 145 of 150 correct through CAP, 148 fetching, 147 browsing. Not a guarantee for every site.

The same shopping question, read from the site and asked through CAP. See the benchmark.

Marlow is a live vacation-rental door: a public catalog, and a guest login for one person's stay. The source is on GitHub. Check this door. CAP does not require Cosmic, or any other vendor.

Why websites publish a door

Own your answers

Agents get your catalog, docs, and policies, not a guess from your pages.

Link buyers to the right page

Replies link to the product, plan, or booking page on your site.

See what they ask

Every question comes to your agent, so you know what people want.

A person's agent is already on its way to your site. Cloudflare reports that daily requests from AI agents on its network grew more than 1,700% over the past year, and Meta said on October 21, 2026 that more than 10 million people had set up its Muse agent in about six weeks, with shopping the most common use.

Get started

You publish one text file, agent.txt. A visiting agent reads it, sends a message, and gets a reply. Your tools, keys, and data stay on your servers.

Copies a short prompt with links to the spec and the reference server. Paste it into Claude, ChatGPT, Cursor, or any coding assistant open in your project. The same prompt is at /implement.txt.

Show the prompt
Implement the Concierge Agent Protocol (CAP) in this project, so other people's AI agents can ask our agent questions and get answers, instead of scraping our site. They never get our tools, keys, or data.

Read these first:
- Spec: https://conciergeprotocol.org/spec
- Usage, with request and response examples: https://conciergeprotocol.org/usage
- Reference server and examples: https://github.com/conciergeprotocol/cap

Then:
1. Find how this project can answer a question today: its content, search, database, or an existing AI agent. Tell me what you found and where CAP's answer should come from. Ask before you choose.
2. Serve POST /cap/v1/messages and GET /cap/v1/messages/{id}, as the spec describes. Every request carries CAP-Version: 1.0 and CAP-From: agent:{id}. Return 400 when either is missing. Use this project's own framework, or install @conciergeprotocol/server and pass an answer function. If this project has no bot yet, @conciergeprotocol/agent builds that function from a model, an llms.txt file, and MCP tools. Both packages need Node.js 22. The reference server in https://github.com/conciergeprotocol/cap is the same server, and the one the spec is checked against.
3. Publish /agent.txt at the site root:
   Protocol: CAP/1.0
   Name: {our agent's name}
   Chat: {a page where a person can chat with it}
   CAP: https://{our domain}/cap/v1
   Add <link rel="agent" href="https://{our domain}/agent.txt"> to the homepage <head> even when the root file is valid. Add one line to llms.txt that points at /agent.txt. If this host cannot serve a file at the root, redirect /agent.txt to the file. Callers try /agent.txt first and use the homepage link only when that file is not a door.
4. Keep secrets out. A reply never includes API keys, tools, prompts, or another person's data, and agent.txt lists none of them.
5. If people have accounts here and should ask about them, add login by following https://conciergeprotocol.org/login. Otherwise skip this step.
6. Test with curl: fetch /agent.txt, send a message, and read it back. Show me the responses.
7. After the door is live and passes https://conciergeprotocol.org/check, add the "Agents welcome" badge and its one line of text to the site footer, as https://conciergeprotocol.org/publish#5-add-the-badge describes. Pick the brand, light, or dark badge to suit the footer. Keep the line visible, never hidden from people.

Keep the change small, and match this project's existing code style.