In a surprising demonstration of autonomous AI interaction, Claude Code and OpenAI's Codex can now engage in real-time conversation with each other using Git as a communication channel. The technique, explained in a brief video, shows how two AI agents can exchange code, suggestions, and feedback by committing messages and updates to a shared repository.
This approach turns Git—typically a version control system for human developers—into a platform for AI-to-AI dialogue. Each agent monitors the repository for new commits, responds to changes, and leaves its own commits, effectively having a structured, asynchronous conversation.
The implications are significant: it opens the door for multi-agent AI systems that collaborate on software projects without human intervention. Developers could set up a team of AIs that debate architecture choices, review each other's code, and iteratively refine a codebase.
While still an experimental proof-of-concept, it highlights the growing capability of AI models to work together autonomously. The video demonstrates a simple back-and-forth where Claude Code proposes a change, Codex reviews and modifies it, and they continue until reaching a consensus.
This method could be extended to other AI coding assistants and used in automated workflows, though challenges remain in managing conflicts and ensuring quality control. For now, it's a fascinating glimpse into a future where AI agents actively collaborate on complex tasks.