The ultimate interactive demonstration of Agent-to-Agent communication protocols
A comprehensive, educational platform showcasing Google's A2A protocol with real-time visualizations, interactive tutorials, and the groundbreaking Hybrid A2A + MCP Demo showing how agent coordination and tool access work together.
๐ผ First-ever A2A + MCP integration demo - See horizontal agent coordination meet vertical tool access
๐ Real protocol traffic - Watch actual JSON-RPC 2.0 messages and SSE streams
๐ Interactive tutorials - Step-by-step learning with floating controls
๐ Production ready - Deploy anywhere, works with or without backend
๐ฑ Mobile optimized - Responsive design for all devices
# Clone and start
git clone https://github.com/dp-pcs/A2A.git
cd A2A
python -m venv venv && source venv/bin/activate
pip install -r requirements-a2a.txt
python start_complete_demo.py
# Open browser to http://localhost:3000That's it! ๐
Perfect for business audiences - See the value of agent coordination
- AI-powered decision making
- Dynamic workflow orchestration
- Customer-specific solutions
- Business impact demonstration
Perfect for developers - Deep dive into protocol mechanics
- Real-time HTTP traffic visualization
- JSON-RPC 2.0 message exchange
- Task Objects and Agent Cards
- SSE streaming infrastructure
- Interactive tutorial mode
Perfect for AI architects - See the future of AI integration
- Horizontal agent coordination (A2A)
- Vertical tool access (MCP)
- Live knowledge integration
- Dual protocol visualization
- Crisis resolution + Research orchestration scenarios
| Document | Purpose | Audience |
|---|---|---|
| Quick Start Guide | Get running in minutes | Everyone |
| Deployment Guide | Host publicly | DevOps |
| System Architecture | Technical deep dive | Developers |
| API Reference | Integration guide | Integrators |
A2A/
โโโ ๐ frontend/ # Demo web applications
โ โโโ index.html # Main demo selector
โ โโโ smart-demo.html # Business value demo
โ โโโ technical-demo.html # Protocol technical demo
โ โโโ hybrid-demo.html # A2A + MCP integration
โ โโโ js/ # JavaScript modules
โโโ ๐ backend/ # A2A protocol implementation
โ โโโ agents/ # Individual agent services
โ โโโ orchestrator/ # Central coordination
โ โโโ agent_registry/ # Service discovery
โ โโโ shared/ # Common utilities
โโโ ๐ scripts/ # Start/utility scripts
โโโ ๐ docs/ # Comprehensive documentation
โโโ ๐ examples/ # Integration examples
โโโ ๐ deploy/ # Deployment configurations
python start_complete_demo.py- Real A2A protocol traffic
- Live agent coordination
- Backend services running
- Perfect for learning protocol internals
cd frontend && python -m http.server 3000- Simulated protocol responses
- All demos fully functional
- No backend required
- Perfect for presentations
See DEPLOYMENT.md for hosting options:
- Netlify (recommended)
- Vercel
- AWS Amplify
- GitHub Pages
# For enhanced AI responses (optional)
export ANTHROPIC_API_KEY="your-key"
export OPENAI_API_KEY="your-key"
# For MCP integration (optional)
export MCP_SERVER_URL="your-mcp-server"- Scenarios: Edit
demo_scenarios.json - Agents: Modify files in
backend/agents/ - UI: Customize
frontend/files - Deployment: Update
netlify.tomlor createamplify.yml
- Start with Smart Demo - Understand business value
- Explore Technical Demo - Learn protocol mechanics
- Try Hybrid Demo - See integration possibilities
- Read Documentation - Deep dive into architecture
- Experiment with Code - Modify and extend
We welcome contributions! See CONTRIBUTING.md for:
- Development setup
- Code standards
- Pull request process
- Feature requests
# Fork repo, then:
git clone https://github.com/your-username/A2A.git
cd A2A
python -m venv venv && source venv/bin/activate
pip install -r requirements-a2a.txt
# Make changes, test, submit PR- A2A Protocol Fundamentals - Agent Cards, Task Objects, JSON-RPC 2.0
- Multi-Agent Orchestration - Coordinated workflows and decision making
- Protocol Integration - Combining A2A with MCP for enhanced capabilities
- Real-time Communication - SSE streaming and event-driven patterns
- Production Patterns - Scalable agent coordination architectures
Port already in use?
# Kill existing processes
pkill -f "python.*start_"
# Or use different ports in scriptsDemos not loading?
# Check if frontend server is running
curl http://localhost:3000
# Restart if needed
cd frontend && python -m http.server 3000Backend not responding?
# Check services
curl http://localhost:8000/.well-known/agents
# Restart complete demo
python start_complete_demo.pyNeed help? Open an issue ๐
โ
Multiple Demo Types - Business, technical, and integration focused
โ
Real Protocol Implementation - Authentic A2A and MCP protocols
โ
Interactive Tutorials - Step-by-step learning with controls
โ
Production Ready - Deploy anywhere with graceful fallbacks
โ
Mobile Optimized - Works on all devices
โ
Comprehensive Docs - Guides for every use case
โ
Open Source - MIT licensed, fork and customize
- Google - A2A Protocol specification
- Anthropic - Model Context Protocol (MCP)
- Trilogy AI Center of Excellence - Knowledge integration examples
- Open Source Community - Inspiration and best practices
This project is licensed under the MIT License - see the LICENSE file for details.
If this helped you understand agent coordination protocols, please star this repository! It helps others discover this educational resource.
Ready to explore the future of agent communication? ๐
git clone https://github.com/dp-pcs/A2A.git && cd A2A && python start_complete_demo.pyOpen http://localhost:3000 and start your journey!