WhichAgent discovery plugin

Make your hosted CLI discoverable from your website

Add a small manifest and HTML hint to your business site. Agents discover the hosted CLI from your site, use its published read commands, and stage any action before handing the visitor back to your own site to finish it.

1. Publish a discovery manifest

Host this JSON at https://your-business.example/.well-known/agent-cli.json. Replace the Stop and Go URLs with your assigned hosted CLI URLs. The manifest points agents to the human-readable CLI, its machine-readable spec, and the run endpoint.

{
  "version": "1.0",
  "business": "Stop and Go Rent A Car",
  "cli_url": "https://whichagent.ai/cli/stop-and-go-rent-a-car",
  "spec_url": "https://whichagent.ai/cli/stop-and-go-rent-a-car/spec.json",
  "run_endpoint": "https://whichagent.ai/cli/stop-and-go-rent-a-car/run",
  "action_policy": "stage_and_handoff"
}

2. Add an HTML discovery hint

Add these tags inside the <head> of your site. They let crawlers and agents find the hosted CLI even when they start on an ordinary page.

<link rel="alternate" type="application/json" title="WhichAgent hosted CLI" href="https://whichagent.ai/cli/stop-and-go-rent-a-car/agent-cli.json" />
<meta name="whichagent:cli" content="https://whichagent.ai/cli/stop-and-go-rent-a-car" />

3. What happens next

  1. An agent finds /.well-known/agent-cli.json or the HTML hint on your website.
  2. It opens the hosted CLI page and spec on WhichAgent to understand the published commands.
  3. Read commands return the information you have published. Action commands only stage the request, then hand the visitor to your own site.
  4. Your website remains the place where bookings, payments, and any final confirmation happen.

Worked example: Stop and Go Rent A Car

The live hosted discovery manifest is available at /cli/stop-and-go-rent-a-car/agent-cli.json. Its CLI page and command spec are available at /cli/stop-and-go-rent-a-car and spec.json.

Need a hosted CLI first? Request one for your business.