ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 NovusEdge

a2a-mod

Claude가 비-Claude A2A worker agent에 작업을 넘기고 계속 일한 뒤 완료 시 결과를 받을 수 있게 하는 Claude Code 플러그인입니다。

번역 완료

이 mod 소개

a2a-mod는 A2A(Agent2Agent) 클라이언트로 동작하는 Claude Code 플러그인입니다. Claude는 원격 A2A 호환 에이전트(ADK, AG2, LangGraph, @a2a-js/sdk 등)에 작업을 보낼 수 있습니다. worker가 느리면 몇 초 뒤 작업이 백그라운드로 이동하고 Claude는 계속 일한 다음 완료 결과로 다시 깨어납니다. workers, add_worker, remove_worker, send, task 도구, 실시간 작업 상태를 보여 주는 상태 줄, 프롬프트 위 핸드오프 밴드, /diff 옆 탭의 ⇄ a2a 패널, 전송과 결과를 담은 transcript 카드를 제공하며 full/pane/minimal UI 모드를 지원합니다. worker 인증 token은 설정, 명령 또는 파일에서 읽고 채팅에 붙여 넣지 않습니다. 저장소에는 빠른 로컬 데모용 fake worker와 UI, token, 프로토콜 지원, worker 작성, 문제 해결, 보안 문서 링크가 있습니다。

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add NovusEdge/a2a-mod
claude plugin install a2a-mod
원문 / README
<div align="center">

a2a-mod

Hand work to other AI agents from Claude Code. Keep going. Get the result back.

CI Release License: MIT A2A 1.0 | 0.3 Docs

<img src="docs/assets/demo.gif" alt="Claude Code hands a slow build to a worker, keeps working, and gets the result when it lands" width="900"> </div>

Why

  • Claude never waits on a slow agent. After a few seconds the task moves to the background and Claude carries on. When the agent finishes, Claude gets the result.
  • Works with any A2A agent. ADK, AG2, LangGraph, @a2a-js/sdk, or anything else that speaks A2A 1.0 or 0.3.
  • Your tokens stay out of the chat. Keys come from a setting, a command or a file. You never paste one into Claude.

Install

In Claude Code 2.1.287 or later:

/plugin marketplace add NovusEdge/a2a-mod
/plugin install a2a-mod@a2a-mod

Try it in a minute

You don't need a real agent. The repo ships a fake worker (needs Node 24 and pnpm).

  1. Start it:
    git clone https://github.com/NovusEdge/a2a-mod && cd a2a-mod
    pnpm i && pnpm worker
    
  2. In Claude Code, add it:
    /a2a add http://127.0.0.1:41241 fake
    
  3. Ask Claude:
    send "slow 20 build" to the fake worker
    

The task takes 20 seconds. Claude gets a task id after about 7 and moves on. When the worker is done, the mod wakes Claude with the result.

What you'll see

  • A status line with the live task: a2a-mod: ⠋ fake slow 20 build 0:12. It stays visible next to /diff.
  • A band above your prompt while a task runs, showing the hand-off from Claude to the worker.
  • A slim ⇄ a2a pane that opens with /a2a, as a tab next to /diff. It shows each worker, its tasks, and buttons to copy a result, reply to a question or cancel.
  • Boxed cards in the transcript for each send and each result.
<table align="center"> <tr> <td align="center"><img src="docs/assets/screens/running.png" alt="The status line and the hand-off band while a task runs" width="440"><br><sub>A task running</sub></td> <td align="center"><img src="docs/assets/screens/cards.png" alt="Boxed cards in the transcript for a send and its result" width="440"><br><sub>Cards in the transcript</sub></td> </tr> <tr> <td align="center"><img src="docs/assets/screens/wake.png" alt="The message that wakes Claude with a finished task's result" width="440"><br><sub>The result lands</sub></td> <td align="center"><img src="docs/assets/screens/waiting.png" alt="The a2a pane with a task waiting for your reply" width="440"><br><sub>A worker asks a question</sub></td> </tr> </table>

Pick full, pane or minimal in /config to show more or less. The UI has the details.

Use your own agents

/a2a add https://worker.example.com research --token-cmd "pass show research"

The token is read from a command, a file or a setting, and never typed into Claude. Worker tokens covers all three. You can also just ask Claude to add a worker; it shows a dialog, and nothing is added until you approve it.

Learn more

How it works · Write a worker · Troubleshooting · Security · Protocol support

Contributing and license

Contributions are welcome: see CONTRIBUTING.md. To report a vulnerability, see SECURITY.md. MIT licensed: see LICENSE.

비슷한 프로젝트