a2aproject / a2aproject/A2A

Proposal: Agent Identity Verification for Agent Cards

Aperta
#1,672 658 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
25.7k
Fork
2.6k
Merge medio
3g 6h
PR unite (30g)
16

Descrizione

## Summary

The A2A protocol defines a robust framework for agent-to-agent communication, but identity verification is currently left to external mechanisms. The Agent Card spec includes metadata fields, yet there is no standardized way for a receiving agent to cryptographically verify *who* it is communicating with.

## Problem

When Agent A discovers Agent B's Agent Card, it has no protocol-level mechanism to verify that the card is authentic. The current spec relies on transport-layer trust (HTTPS, OAuth), which covers *authorization* but not *identity verification* of the agent itself. This matters in:

- Open agent marketplaces where agents from different organizations interact
- Delegation chains where an agent acts on behalf of another
- Audit and compliance contexts requiring proof of which agent performed an action

## Proposal

Add an optional `verifiedIdentity` field to the Agent Card specification:

```json
{
"verifiedIdentity": {
"agentId": "agent_abc123",
"certificate": "",
"issuer": "getagentid.dev",
"verificationEndpoint": "https://getagentid.dev/api/v1/agents/verify"
}
}
```

This allows any A2A-compliant agent to inspect identity claims, verify certificates, and optionally enforce identity verification as a precondition for communication. The field is optional and fully backward-compatible.

## Reference Implementation

[AgentID](https://getagentid.dev) provides the building blocks for this:

- ECDSA P-256 certificates issued per agent
- Verification API for real-time credential validation
- Agent registry for discovery of verified agents
- Existing integrations with CrewAI, LangChain, and MCP

Source: [github.com/haroldmalikfrimpong-ops/getagentid](https://github.com/haroldmalikfrimpong-ops/getagentid)

Happy to submit a sample implementation showing A2A agents exchanging AgentID-signed Agent Cards.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Review the Agent Card specification in the A2A protocol documentation to understand the current structure. Examine the linked AgentID repository for its certificate issuance and verification API. The work involves designing and integrating an optional 'verifiedIdentity' field, ensuring backward compatibility. A successful change includes updating the spec and providing a sample implementation for exchanging signed Agent Cards.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
api, authentication, security
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Specificata chiaramente
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.