Skip to main content

Schema.org for AI agents — the open standard for how businesses describe their services to AI agents

Project description

Agent Interface Standard 🌐

Schema.org for AI Agents — the open standard for how businesses describe their services to AI agents.

The Vision

Schema.org made websites machine-readable for search engines. Agent Interface Standard makes businesses machine-readable for AI agents.

Businesses publish a simple JSON spec at /.well-known/agent-interface.json describing what services they offer and how agents can interact with them.

Installation

pip install agent-interface-standard
{"mcpServers": {"agent-interface": {"command": "uvx", "args": ["agent-interface-standard"]}}}

Tools

Tool Description
get_spec_template Get a blank template to fill out
get_example_spec See a complete example (restaurant)
validate_interface_spec Check your spec for errors
register_business Register a business in the directory
search_businesses Find agent-accessible businesses
get_business_capabilities See what a business offers
fetch_remote_spec Fetch a spec from a URL

The Spec Format

{
  "agent_interface": "0.1.0",
  "business": {
    "name": "My Business",
    "description": "What we do",
    "category": "e_commerce"
  },
  "capabilities": [
    {
      "name": "search_products",
      "description": "Search our product catalog",
      "type": "search",
      "endpoint": "https://api.mybusiness.com/search",
      "method": "GET",
      "parameters": [...]
    }
  ],
  "auth": {"type": "api_key"},
  "pricing": {"model": "freemium"}
}

Why This Matters

When AI agents become primary customers (not just humans), businesses need a standard way to be "agent-accessible." This is that standard.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_interface_standard-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_interface_standard-0.1.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file agent_interface_standard-0.1.0.tar.gz.

File metadata

File hashes

Hashes for agent_interface_standard-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4568fe4154e01999d4fe33a2e33765b1e0b4a30e138c9d5386918633f56064c1
MD5 2fdde7d044e8eca7b62a4c757784d87a
BLAKE2b-256 875755e846f7890d299c2ade312fa36d6a1dd6838168f2367a5fcbd56ea969cc

See more details on using hashes here.

File details

Details for the file agent_interface_standard-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_interface_standard-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49d4ccd201ec610784ea40464751052c15d1c879c97d22831f36e3f939e971bc
MD5 39b96e90f162e3039367f6b9a61f55e3
BLAKE2b-256 c6b281c54f79c69ddc6007decee67fbf71ca647b8acdf6febcf1f644cb10a695

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page