Skip to content

feat: add Claude Agent SDK template with A2A and MCP protocol bindings#379

Merged
sriaradhyula merged 1 commit intomainfrom
claude-agent-sdk-template
Oct 19, 2025
Merged

feat: add Claude Agent SDK template with A2A and MCP protocol bindings#379
sriaradhyula merged 1 commit intomainfrom
claude-agent-sdk-template

Conversation

@adickinson72
Copy link
Collaborator

@adickinson72 adickinson72 commented Oct 17, 2025

Summary

This PR adds a complete template for building agents using Anthropic's Claude Agent SDK as part of CAIPE.

What's Included

Protocol Bindings

  • A2A Server: Full implementation of Agent-to-Agent protocol server

    • Agent using Claude Agent SDK
  • MCP Server: Complete MCP server implementation using Petstore API as example

    • API client and models (Pet, User, Order, Category, Tag)
    • Tool implementations for all Petstore operations
    • Pydantic models with type safety

Client Examples

  • A2A Client: Full client for agent-to-agent communication

Deployment

  • Dockerfile: Containerized A2A deployment configuration
  • Poetry/uv: Modern Python dependency management

Use Cases

This template can be used as a starting point for:

  • Creating new agents in the multi-agent system
  • Demonstrating A2A protocol integration
  • Building MCP servers from OpenAPI specifications
  • Implementing agent evaluation frameworks

Testing

Template includes evaluation framework that can be run with:

cd ai_platform_engineering/agents/template-claude-agent-sdk
make test  # or equivalent evaluation command

Files Changed

  • 55 new files
  • ~7,500 lines of new code

Type: Feature
Component: Agent Templates

- Add complete agent template using Anthropic's Claude Agent SDK
- Include A2A (Agent-to-Agent) protocol server implementation
- Include MCP (Model Context Protocol) server with Petstore API tools
- Add evaluation framework with strict match testing
- Provide Docker build configuration for A2A deployment
- Include both slim client and full A2A client examples
- Add system instructions and agentcard configuration

Signed-off-by: Adam Dickinson <adickinson72@gmail.com>
@adickinson72 adickinson72 force-pushed the claude-agent-sdk-template branch from 4e20d1c to df32326 Compare October 17, 2025 21:51
@sriaradhyula
Copy link
Member

LGTM

@sriaradhyula sriaradhyula merged commit 332c3a6 into main Oct 19, 2025
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants