A2A ⚡ MCP 에이전트
이 프로젝트는 에이전트 커뮤니케이션에 대한 두 가지 다른 접근 방식을 보여줍니다.
마스터 제어 프로그램(MCP) - 에이전트가 중앙 서버를 통해 통신하는 중앙 집중식 서버 기반 접근 방식
에이전트 간(A2A) - 에이전트가 서로 직접 통신하는 분산형 P2P 방식
설치
가상 환경을 만들고 활성화하세요.
지엑스피1
종속성 설치:
용법
MCP 서버 및 에이전트
MCP 서버를 시작합니다.
별도의 터미널에서 하나 이상의 MCP 에이전트를 시작합니다.
MCP 서버는 연결된 모든 에이전트와 그 상태를 추적합니다. 브라우저에서 http://localhost:5000을 열면 상태를 확인할 수 있습니다.
A2A(에이전트 간) 네트워크
첫 번째 A2A 에이전트를 시작합니다.
기존 에이전트에 연결하여 추가 A2A 에이전트를 시작합니다.
A2A 에이전트는 초기 피어를 통해 다른 에이전트를 자동으로 검색합니다. 모든 에이전트의 터미널에 메시지를 입력하여 연결된 모든 에이전트에게 브로드캐스트할 수 있습니다.
건축학
MCP(마스터 컨트롤 프로그램)
모든 에이전트를 추적하는 중앙 서버
에이전트는 서버에 등록하고 하트비트를 통해 연결을 유지합니다.
서버는 에이전트 상태를 모니터링하기 위한 웹 인터페이스를 제공합니다.
간단하고 안정적이지만 단일 실패 지점이 있습니다.
A2A(에이전트 간)
분산형 P2P 네트워크
에이전트는 서로 직접 연결됩니다.
메시지는 네트워크를 통해 범람합니다.
더 탄력적이지만 더 복잡한 조정이 필요합니다.
단일 실패 지점 없음
프로젝트 구조
기여하다
데모를 개선하기 위해 자유롭게 문제점을 제출하고 풀 리퀘스트를 제출하세요.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
연결된 에이전트를 추적하고 관리하는 중앙 서버로, 에이전트의 상태를 모니터링하는 웹 인터페이스를 제공하고 중앙 지점을 통해 에이전트와 통신할 수 있도록 합니다.
Related MCP Servers
- Asecurity-licenseAqualityA server for task orchestration and coordination, facilitating task management with dependencies, multi-instance collaboration, and persistent task tracking.Last updated -724MIT License
- -security-license-qualityA server that enables AI systems to browse, retrieve content from, and interact with web pages through the Model Context Protocol.Last updated -
- -security-license-qualityA specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.Last updated -08
- -security-license-qualityA powerful server that enables AI agents to interact with MySQL databases, execute SQL queries, and manage database content through a simple interface.Last updated -4396MIT License