crestapps/crestapps.agentskills/crestapps-core-a2a
Claude Code and agent skill by crestapps/crestapps.agentskills
- community
Checking that the SKILL.md file is still in the repository.
Skill for Agent-to-Agent (A2A) protocol support in CrestApps.Core on the A2A 1.0 SDK. Covers AddA2AClient and AddCoreAIA2AClient with Entity Framework Core or YesSql connection stores, A2AConnection and A2AConnectionMetadata authentication, AIProfileA2AMetadata, the agent card cache and A2AToolRegistryProvider, the listAvailableAgents, findAgentForTask and findToolsForTask tools, building an A2A host with IAgentHandler, A2AServer, ITaskStore and MapA2A, A2A 1.0 agent cards with supportedInterfa…
Install
npx vskill@latest install crestapps/crestapps.agentskills/crestapps-core-a2aSKILL.md
The same SKILL.md was published earlier as crestapps/crestapps.agentskills/crestapps-core-a2a.
CrestApps.Core A2A
Use A2A when the remote system is an agent that reasons on its own (its own model, tools and context). Use MCP (crestapps-core-mcp) when the remote system exposes tools or resources. CrestApps.Core.AI.A2A ships the client; hosting is application code built on the A2A and A2A.AspNetCore 1.0 SDK packages, using A2AHostOptions from the framework.
Client
AddCoreAIA2AClient() registers a resilient named HttpClient, IMemoryCache, A2AAICompletionContextBuilderHandler, A2AToolRegistryProvider, IA2AAgentCardCacheService (15-minute cache), IA2AConnectionAuthService, and the system tools listAvailableAgents, findAgentForTask and findToolsForTask.
Connections
- Authentication types are
Anonymous,ApiKey,Basic,OAuth2ClientCredentials,OAuth2PrivateKeyJwt,OAuth2MtlsandCustomHeaders. Protect every secret with theA2AClientConnectionpurpose. - The card is fetched with
A2ACardResolverfromconnection.Endpoint(the SDK reads/.well-known/agent-card.jsonunder it) and each skill becomes a toola2a:{connectionId}:{skillId}whose name keeps only letters, digits and_. A2AAgentProxyToolsends a 1.0SendMessageRequestwith aMessage(Role.User,Part.FromText,ContextId, metadataagentName) toconnection.Endpoint, not to the URL in the card'ssupportedInterfaces. SetEndpointto the address that accepts JSON-RPC messages and also serves the card.A2ACardResolverreturns a singleAgentCard. A host that publishes an array of cards (one per agent) is best consumed in skill mode (ExposeAgentsAsSkill = true).- Replace
IA2AAgentCardCacheServicefor a distributed cache, orIA2AConnectionAuthServicefor a custom auth scheme.
Host
There is no packaged host extension. The MVC and Blazor sample hosts implement the pattern below internally.
Agent Cards (A2A 1.0)
A 1.0 card no longer has a top-level url. The endpoint is declared in supportedInterfaces:
Advertise authentication with SecuritySchemes and SecurityRequirements (an ApiKeySecurityScheme on the Authorization header, or an OpenIdConnectSecurityScheme pointing at /.well-known/openid-configuration).
A2AHostOptions
| Property | Default | Meaning | |
|---|---|---|---|
AuthenticationType | OpenId | OpenId, ApiKey or None (development only) | |
ApiKey | shared secret for ApiKey mode, sent as Authorization: Bearer {key} | ||
RequireAccessPermission | true | for OpenId, also require the host's A2A access permission | |
ExposeAgentsAsSkill | false | false publishes one card per agent (a JSON array); true publishes one card whose skills are the agents |
The options are settings only; the host enforces them in its authentication handler and authorization policy.
Cards are built from IAIProfileManager.GetAsync(AIProfileType.Agent), which includes code-defined system agents such as tabular-data-agent, presentation-agent, word-agent and pdf-agent. They are hidden from UI pickers but discoverable by remote clients. Filter the list if they should stay private.
Upgrading from 1.x
- The
A2AandA2A.AspNetCorepackages moved from0.3.4-previewto1.0.0-preview2. - Host composition changes from
ITaskManager/TaskManagercallbacks to anIAgentHandlerplusA2AServer(handler, ITaskStore, ChannelEventNotifier, logger), mapped withMapA2A(IA2ARequestHandler, "a2a"). AgentCard.Urlis replaced bySupportedInterfaces(AgentInterfacewithUrl,ProtocolBinding,ProtocolVersion).- Client-side message types are
Message,Role,Part.FromTextandSendMessageRequest. Custom code that usedAgentMessage,TextPartorMessageSendParamsmust be updated. - The well-known path is
/.well-known/agent-card.json.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/CrestApps.AgentSkills/crestapps-core/crestapps-core-a2a/SKILL.md
Popularity
- Repository stars
- 13
- Repository forks
- 4
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/crestapps/crestapps.agentskills/crestapps-core-a2a)