feat(examples): add collaborative agents demo — Internet of Agents with semantic memory#391
Open
Subhajitdas99 wants to merge 2 commits intoGetBindu:mainfrom
Open
Conversation
Three bindufied agents demonstrating A2A protocol communication: - research_agent: searches web using DuckDuckGo (port 3773) - memory_agent: stores/retrieves knowledge via semantic similarity (port 3774) - coordinator_agent: orchestrates research + memory agents (port 3775) Each agent has its own DID identity. Coordinator calls research and memory agents over HTTP using the A2A protocol. Verified working end-to-end: coordinator retrieves from memory on repeat queries, falls back to research agent on cache miss, stores new knowledge. Part of the Internet of Agents vision.
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
examples/collaborative-agents/— three bindufied agents that communicate over the A2A protocol, with semantic memory and a coordinator pattern. Verified working end-to-end.Change Type
Scope
Linked Issue/PR
User-Visible / Behavior Changes
New runnable example at
examples/collaborative-agents/.research_agent.pymemory_agent.pycoordinator_agent.pyEach agent has its own Bindu DID identity. Coordinator calls research and memory agents over HTTP using A2A
message/send+tasks/get— real agent-to-agent communication.Security Impact
NoNo— API key via.env, excluded via.gitignoreYes— agents call each other over localhost HTTPNoNoVerification
Steps to Test
cd examples/collaborative-agentspip install -r requirements.txtOPENROUTER_API_KEYin.envpython research_agent.pyin Terminal 1python memory_agent.pyin Terminal 2python coordinator_agent.pyin Terminal 3http://localhost:3775/— see README for curl commandsActual Behavior — Verified
did.message.signature(cryptographic DID signing)Evidence
Human Verification
Compatibility / Migration
Yes— pure addition, nothing modifiedNoNoFailure Recovery
Risks and Mitigations
Checklist
.envexcluded via.gitignorerequirements.txtincluded