Skip to main content

MQTT 위에서 도는 커맨더-워커 A2A 오케스트레이션 에이전트

Project description

a2a-agent

a2a-agent는 MQTT 위에서 커맨더와 워커가 A2A 형식 메시지를 주고받기 위한 작은 명령줄 도구입니다.

현재 0.1.0은 설정 파일 저장, 초대 코드 생성과 참여, 워커 역할 기록, 상태 확인을 지원합니다. 실제 작업 전송 명령인 send는 아직 자리 표시자입니다.

설치

PyPI 배포 후에는 다음처럼 설치할 수 있습니다.

python -m pip install a2a-agent

개발 환경에서 소스 코드로 설치하려면 저장소 루트에서 실행합니다.

python -m venv .venv
source .venv/bin/activate
python -m pip install -e .

기본 사용

커맨더 설정을 만듭니다.

a2a-agent init --room team --device-name commander --broker-host broker.example.com

워커 초대 코드를 만듭니다.

a2a-agent invite device-a

워커 기기에서는 초대 코드로 참여합니다.

a2a-agent join "초대코드"

커맨더에서 워커 역할을 기록합니다.

a2a-agent set-role device-a research "collect project context"

현재 설정을 확인합니다.

a2a-agent status

구조

a2a-agent/
├── pyproject.toml
├── README.md
├── LICENSE
├── src/a2a_agent/
│   ├── cli.py
│   ├── client.py
│   ├── config.py
│   ├── invite.py
│   ├── protocol.py
│   └── topics.py
└── tests/

주요 모듈은 다음 역할을 맡습니다.

  • cli.py: 명령줄 진입점
  • config.py: 로컬 설정 파일 저장과 읽기
  • invite.py: 초대 코드 생성과 파싱
  • protocol.py: A2A 메시지 자료 구조
  • topics.py: MQTT 토픽 문자열 생성
  • client.py: paho-mqtt 래퍼

라이선스

MIT 라이선스를 따릅니다.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

a2a_agent-0.1.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

a2a_agent-0.1.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file a2a_agent-0.1.0.tar.gz.

File metadata

  • Download URL: a2a_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for a2a_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 55b144b549f530887392ac85b6d52fe4cf7e10319bc2a95774b85bbb8c29d298
MD5 6645092e83b72c51b67700d5d26fb0eb
BLAKE2b-256 3a1cf76d5d3134498f77ad2a07135eeaf928230bfb1d9a8c91090e2e8e8cbbfc

See more details on using hashes here.

File details

Details for the file a2a_agent-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: a2a_agent-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for a2a_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 434943e6274ca7f0f41e9b8da4ac7e000a1cc011cf57bf4c170640ac5fd6d11e
MD5 65db3d30b5c75e49d3d1ec961021d046
BLAKE2b-256 c410326b84cecd8e7c73f0020e306e247a0b3abfb04da59eddc068c2ca771199

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page