Skip to content

Update AgentCard schema to match A2A v1.0 spec#45

Closed
Kludex wants to merge 1 commit intomainfrom
update-agent-card-v1
Closed

Update AgentCard schema to match A2A v1.0 spec#45
Kludex wants to merge 1 commit intomainfrom
update-agent-card-v1

Conversation

@Kludex
Copy link
Member

@Kludex Kludex commented Mar 7, 2026

Summary

  • Remove fields dropped in v1.0: url, version, protocol_version, documentation_url, icon_url, preferred_transport, default_input_modes, default_output_modes
  • Rename additional_interfaces to interfaces
  • Make description, capabilities, skills optional (NotRequired)
  • Add new v1.0 fields: extensions, signature (with new AgentCardSignature type)
  • Update FastA2A constructor and agent card endpoint to match

Test plan

  • All existing tests pass
  • Verify agent card output matches expected v1.0 shape

🤖 Generated with Claude Code

- Remove fields dropped in v1.0: `url`, `version`, `protocol_version`,
  `documentation_url`, `icon_url`, `preferred_transport`,
  `default_input_modes`, `default_output_modes`
- Rename `additional_interfaces` to `interfaces`
- Make `description`, `capabilities`, `skills` optional
- Add `extensions`, `signature`, and `AgentCardSignature` type
- Update `FastA2A` constructor and agent card endpoint accordingly

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View 1 additional finding in Devin Review.

Open in Devin Review

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚩 CLAUDE.md and task_manager docstring still reference A2A v0.3.0

The PR updates the schema to match A2A v1.0 but CLAUDE.md:36 still states "The library implements the A2A protocol v0.3.0" and fasta2a/task_manager.py:116 has a docstring saying """Send a message using the A2A v0.3.0 protocol.""". These are documentation staleness issues rather than code bugs, but they should be updated for consistency with the schema changes in this PR.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@Kludex Kludex closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant