메뉴
HN
Hacker News 58일 전

클로드 코드와 코덱스, 깃으로 실시간 대화

IMP
8/10
핵심 요약

차세대 AI 연동 깃(Git) 클라이언트인 h5i의 새로운 기능 '에이전트 라디오(Agent Radio)'가 공개되었습니다. 이 기능을 통해 클로드 코드(Claude Code)와 코덱스(Codex) 같은 코딩 AI 에이전트들이 외부 서버 없이 깃 저장소 내에서 실시간으로 메시지를 주고받으며 협업할 수 있게 되었습니다. 개발자는 에이전트 간의 대화를 모니터링하고, 그 결과를 깃허브 PR로 자동 공유하는 등 AI 주도 개발의 협업 효율을 극대화할 수 있습니다.

번역된 본문

원문 제목: Claude Code and Codex Can Have Real-Time Conversation via Git

클로드 코드(Claude Code)와 코덱스(Codex)는 소프트웨어 개발 자동화를 크게 가속화했지만, 단일 에이전트의 컨텍스트 윈도우 제한과 대규모 리포지토리에서의 병렬 처리 필요성이 결합되면서 여러 AI 에이전트가 컨텍스트를 잃지 않고 어떻게 효과적으로 협업할 수 있을지라는 새로운 과제를 낳았습니다.

이에 차세대 AI 인식형 깃(Git)인 h5i 버전 0.1.5에 구현된 다중 에이전트 메시징 기능인 '에이전트 라디오(Agent Radio, h5i msg)'를 소개합니다. 에이전트 라디오는 클로드 코드 및 코덱스와 같은 코딩 에이전트들이 실시간 대화를 나누는 것처럼 협업하여 구현 작업을 조정하고 컨텍스트를 원활하게 교환할 수 있게 해줍니다. 동시에 모든 상호작용은 깃을 통해 자동으로 추적 및 버전 관리되어 에이전트 통신에 대한 완전하고 감사 가능한 이력을 제공합니다.

설치 및 설정 h5i 설치는 매우 간단합니다. curl -fsSL https://raw.githubusercontent.com/Koukyosyumei/h5i/main/install.sh | sh 그런 다음 기존 깃 리포지토리로 이동하여 h5i를 초기화합니다. h5i init h5i msg setup 이제 클로드와 코덱스가 서로 실시간으로 통신할 준비가 되었습니다. 두 개의 개별 터미널을 열고 클로드 코드와 코덱스를 실행합니다. 예를 들어, 클로드에게 "h5i를 통해 코덱스와 함께 차세대 딥러닝 프레임워크를 위한 더 나은 설계를 생각해 볼 수 있나요?"라고 질문하고, 코덱스에게 "h5i를 통해 클로드와 함께 차세대 딥러닝 프레임워크를 위한 더 나은 설계를 생각해 볼 수 있나요?"라고 질문할 수 있습니다. 또한 h5i msg watch 명령을 사용하여 다른 터미널에서 그들의 대화를 모니터링할 수도 있습니다.

h5i는 이 대화의 멋진 요약을 깃허브 풀 리퀘스트(Pull Request)에 게시할 수도 있습니다. h5i share pr post

작동 방식 h5i msg는 내부적으로 에이전트 간 정보 및 상호작용 핸드셰이크 프로토콜(Inter-Agent Information & Interaction Handshake)인 i5h 프로토콜을 사용합니다. 이는 코딩 에이전트(및 이를 지켜보는 인간)가 이미 공유하는 하나의 기반, 즉 깃 리포지토리를 통해 유형화된(Type) 작업 인계를 교환할 수 있게 해주는 소규모 메시징 프로토콜입니다. 서버도, 소켓도, 스키마 레지스트리도 필요 없습니다.

메시지는 하나의 JSON 객체이며, 깃 ref인 refs/h5i/msg 내부의 messages.jsonl 파일에 한 줄로 추가됩니다. 사람이 읽을 수 있는 7개의 필수 필드가 있습니다. 답장하려면 reply_to를 사용하여 이전 메시지를 가리키는 또 다른 줄을 보내면 됩니다. 이것이 전체 필수 프로토콜입니다. ref를 푸시하면 대화가 공유되고, 풀(Pull)하면 병합됩니다.

메시지는 변경 불가능(immutable)하며 ID를 기준으로 키가 지정되므로, 분기된 두 복제본은 단순한 집합 결합(Set union)을 통해 병합됩니다. 즉, 충돌이 발생하지 않고 계속 증가하기만 하는(Cgrow-only) 로그입니다.

요약 에이전트 라디오는 코딩 에이전트가 깃을 통해 직접 통신할 수 있도록 함으로써 실시간 협업을 가능하게 합니다. 공유된 리포지토리 상태 위에 구축된 경량 프로토콜을 통해 클로드 코드, 코덱스 및 기타 에이전트가 외부 서버나 복잡한 인프라 없이도 작업, 컨텍스트 및 피드백을 교환할 수 있습니다. 모든 메시지는 자동으로 버전 관리 및 감사 추적이 가능하므로, 에이전트 간의 상호작용이 코드 변경 자체만큼 투명하고 재현 가능해집니다.

공식 리포지토리 확인: https://github.com/h5i-dev/h5i

원문 보기
원문 보기 (영어)
Claude Code and Codex Can Have Real-Time Conversation via Git Hideaki Takahashi 3 min read · 3 days ago -- 1 Listen Share While Claude Code and Codex have significantly accelerated the automation of software development, limitations in the context window of a single agent, combined with the need for parallel processing across large-scale repositories, have created a new challenge: how can multiple AI agents collaborate effectively without losing context? We introduce Agent Radio ( h5i msg ), a multi-agent messaging feature implemented in version 0.1.5 of h5i , a next-gen AI-aware Git. Agent Radio enables coding agents such as Claude Code and Codex to collaborate as if they were having a real-time conversation , coordinating implementation tasks and exchanging context seamlessly. At the same time, every interaction is automatically tracked and versioned through Git, providing a complete and auditable history of agent communication. Install and Setup Installing h5i is quite simple: curl -fsSL https://raw.githubusercontent.com/Koukyosyumei/h5i/main/install.sh | sh Then, go to your existing Git repository and initialize h5i . h5i init h5i msg setup Then, we’re ready to let Claude and Codex communicate with each other in real time. Open two separate terminals and launch Claude Code and Codex. For example, we can ask Claude, “Can you think of a better design for a next-generation deep learning framework together with Codex via h5i?” and ask Codex, “Can you think of a better design for a next-generation deep learning framework together with Claude via h5i?” We can also monitor their conversation from another terminal using the h5i msg watch command. h5i can also post a nice summary of this conversation to a GitHub Pull Request: h5i share pr post How It Works h5i msg internally uses i5h protocol — Inter-Agent Information & Interaction Handshake . It is a small messaging protocol that lets coding agents (and the humans watching them) exchange typed work handoffs over the one substrate they already share: the Git repository. No server, no socket, no schema registry. A message is one JSON object, appended as one line to messages.jsonl inside the Git ref refs/h5i/msg. Seven required fields, all human-readable. To reply, send another line that points back with reply_to . That is the entire required protocol — pushing the ref shares the conversation, pulling merges it. Because messages are immutable and keyed by id , two clones that diverge merge by simple set union: a conflict-free, grow-only log. Summary Agent Radio brings real-time collaboration to coding agents by enabling them to communicate directly through Git. With a lightweight protocol built on shared repository state, Claude Code, Codex, and other agents can exchange tasks, context, and feedback without requiring external servers or complex infrastructure. Every message is automatically versioned and auditable, making agent interactions as transparent and reproducible as code changes themselves. Check the official repository: https://github.com/h5i-dev/h5i