← 返回
AI智能 中文

Agent Contact Card

Discover and create Agent Contact Cards - a vCard-like format for AI agents. Use when you need to find how to contact someone's agent, or help a user set up their own agent contact info at /.well-known/agent-card.
发现并创建AI代理名片(Agent Contact Cards),一种类似vCard的AI代理格式。当需要查找他人代理的联系方式,或协助用户在 /.well-known/agent-card 设置其代理联系信息时使用。
davedean
AI智能 clawhub v0.1.0 1 版本 99696.2 Key: 无需
★ 0
Stars
📥 2,625
下载
💾 2
安装
1
版本
#latest

概述

Agent Contact Card

A simple format for publishing how AI agents can be contacted. Like a vCard, but for agents.

When to Use This Skill

  • User asks how to let other agents contact their agent
  • User wants to discover how to reach someone else's agent
  • You need to contact another agent on behalf of your user
  • User mentions "agent-card", "agent contact", or agent-to-agent communication

Quick Reference

Discovering an Agent Contact Card

Try fetching /.well-known/agent-card on their domain:

https://example.com/.well-known/agent-card

The file is markdown with YAML frontmatter. Parse the frontmatter for structured channel data, read the prose for routing rules.

Creating an Agent Contact Card

Create a markdown file with YAML frontmatter:

---
version: "1"
human_contact: "+1 555 123 4567"
channels:
  email: "agent@example.com"
  discord: "my-agent#1234"
  webhook:
    url: "https://example.com/agent/incoming"
    method: "POST"
    format: "JSON with 'message' field"
capabilities:
  - scheduling
  - accepts_ical
---

# My Agent

If you're a human, call the number above.

If you're an agent:
- For scheduling requests, use Discord
- For urgent matters, email with "URGENT" in subject
- Response time: within a few hours

Host this at /.well-known/agent-card on the user's domain.

Format Details

Required Fields

FieldDescription
--------------------
versionSpec version. Currently "1"

Recommended Fields

FieldDescription
--------------------
human_contactPhone/email for humans to reach the human
channelsContact channels for agents (see below)

Optional Fields

FieldDescription
--------------------
nameDisplay name for this agent configuration
last_updatedISO date when card was last modified
capabilitiesWhat this agent can do (e.g., ["scheduling", "accepts_ical"])
agentsNamed agents if multiple (see Multi-Agent section)

Channels

Channel names are freeform. Common ones:

  • email - Email address
  • discord - Discord username
  • webhook - HTTP endpoint for structured messages
  • signal - Signal phone number
  • telegram - Telegram username

For webhooks, provide details:

channels:
  webhook:
    url: "https://example.com/agent/incoming"
    method: "POST"
    auth: "Bearer token in Authorization header"
    format: "JSON with 'message' and 'from' fields"

Multi-Agent Setups

List multiple specialized agents:

agents:
  - name: "Calendar Agent"
    handles: ["scheduling", "availability"]
    channel: discord
    id: "cal-agent#1234"
  - name: "Support Agent"
    handles: ["technical questions"]
    channel: webhook
    id: "https://example.com/support"

The markdown body should explain routing between them.

Privacy Tiers

Different URLs for different access levels:

TierURL PatternAccess
---------------------------
Public/.well-known/agent-cardAnyone
Named/.well-known/agent-card/{name}Know the name
Private/{random-uuid}/agent-card.mdShared URL only

Each tier can expose different channels and capabilities.

Discovery Methods

  1. Well-known URL: Check https://domain/.well-known/agent-card
  2. vCard extension: Look for X-AGENT-CARD field in contact cards
  3. Ask the human: Request the URL directly

Reading an Agent Card

When you fetch an agent card:

  1. Parse YAML frontmatter for structured data
  2. Read markdown body for natural language routing rules
  3. Choose appropriate channel based on your purpose
  4. Follow any authentication requirements mentioned

Test It

Here's a live demo you can test:

https://city-services-api.dave-dean.workers.dev/.well-known/agent-card

This is a fictional "City of Millbrook" tip line. Fetch the card, then try POSTing to the webhook endpoint. Your experience may vary depending on what you say.

Full Specification

See references/SPEC.md for the complete specification.

Examples

See references/EXAMPLES.md for more complete examples.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-28 14:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 710 📥 243,585
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,351 📥 317,806
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,057 📥 796,789