AI代理接口标准

一个开放标准,用于企业向AI代理描述其服务,使企业机器可读。

  • by AiAgentKarl
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 AiAgentKarl/agent-interface-standard

使用说明

代理接口标准🌐

人工智能代理的Schema.org --企业如何向人工智能代理描述其服务的开放标准。

愿景

Schema.org使网站对搜索引擎来说是机器可读的。 代理接口标准 使企业对人工智能代理机器可读。

企业发布了一个简单的JSON规范 /.well-known/agent-interface.json 描述它们提供什么服务以及代理如何与它们交互。

安装

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

工具

工具 说明
get_spec_template 获取一个空白模板进行填写
get_example_spec 查看完整示例(餐厅)
validate_interface_spec 检查您的规格是否有错误
register_business 在目录中注册企业
search_businesses 查找代理可访问的业务
get_business_capabilities 查看企业提供的服务
fetch_remote_spec 从URL获取规范

规范格式

{
  "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"}
}

为何这很重要

当人工智能代理成为主要客户(而不仅仅是人类)时,企业需要一种“代理可访问”的标准方式。这就是标准。


AiAgentKarl提供的更多MCP服务器

类别 服务器
🔗 区块链 索拉纳
🌍 数据 天气 · 德国 · 农业 · 太空 · 航空 · 欧盟公司
🔒 安全 网络安全 · 策略网关 · 审计跟踪
🤖 代理基础设施 记忆 · 目录 · 中心 · 声誉
🔬 研究 学术的 · LLM基准 · 法律

→ 完整目录(40+台服务器)

许可证

麻省理工学院