feat: add A2A protocol channel for agent-to-agent communication#444
Closed
zeroasterisk wants to merge 1 commit into
Closed
feat: add A2A protocol channel for agent-to-agent communication#444zeroasterisk wants to merge 1 commit into
zeroasterisk wants to merge 1 commit into
Conversation
Adds @flue/a2a — a channel adapter that makes Flue agents speak the A2A (Agent-to-Agent) protocol for inter-agent discovery and messaging. Features: - Agent Card serving at /.well-known/agent-card.json - message/send JSON-RPC handler with task lifecycle - Skill mapping from Flue skills to A2A descriptors - protocolVersion 1.0 compliant The A2A protocol (https://a2a-protocol.org/) enables interoperability between AI agents across different frameworks and platforms. This channel lets any Flue agent participate in A2A ecosystems.
|
Thanks for the contribution! We're closing this PR and moving the conversation to the existing thread: #285 We've moved to a model where bugs and feature proposals are discussed in issues/discussions before code review, so the community can help prioritize and shape the work. Your branch is linked from the new thread so the implementation isn't lost — please join us there to continue the conversation. — astrobot 🤖 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
@flue/a2a— a channel adapter that makes any Flue agent speak the A2A (Agent-to-Agent) protocol for inter-agent discovery and messaging.Why
The A2A protocol enables interoperability between AI agents across different frameworks. With this channel, Flue agents can be discovered and messaged by any A2A-compatible client — including agents built with ADK, LangChain, CrewAI, or other frameworks.
What it does
/.well-known/agent-card.jsonso other agents can discover this agent's capabilitiesHow to test
Files
packages/a2a/src/index.ts— Channel factory and HTTP serverpackages/a2a/src/handlers.ts— A2A JSON-RPC method handlerspackages/a2a/src/types.ts— A2A protocol type definitionspackages/a2a/src/errors.ts— A2A error codespackages/a2a/README.md— Usage docsA2A Protocol
The A2A specification is governed by the Linux Foundation with 150+ supporting organizations. This implementation targets protocol version 1.0.