Claude Code Agents Negotiate API Contracts Without Orchestration Framework

Agent Coordination Without Prescribed Workflows
A demonstration shows Claude Code agents coordinating across machines without orchestration frameworks or workflow engines. The setup uses just two messaging tools: send_message and list_participants, plus a system prompt per agent.
A manager agent broke down work and assigned tasks, but what happened next wasn't scripted. The two developer agents began negotiating API contracts with each other before writing any code. They discussed and agreed on endpoint shapes, response formats, and CORS headers through peer-to-peer negotiation, then built their respective components in parallel.
Technical Implementation
The bridge implementation is approximately 190 lines of TypeScript. A WebSocket broker relays messages between agents, while MCP (Model Context Protocol) channels push these messages into each agent's conversation inline. The system runs in Docker containers configured with non-root users for security.
This approach demonstrates emergent coordination where agents autonomously negotiate technical specifications rather than following predetermined workflows. The agents handled the entire API contract negotiation process without human intervention after the initial task assignment.
📖 Read the full source: r/ClaudeAI
👀 See Also

Migrating from OpenClaw to Cowork + Claude Code: A Developer's Experience
A developer migrated from OpenClaw to Anthropic's Cowork with Claude Code sessions, citing better cron jobs, dispatch routing, and persistent memory. The setup uses a three-layer context design with Cowork handling orchestration and Claude Code executing code in repositories.

Building an AI Cortex with Claude Code: Architecture and Context Library Insights
A developer built a platform where Claude writes, reviews, and auto-merges code, with the key insight being a structured context library that compounds over time. After six weeks, the AI reportedly knows the company better than a new hire after a year.

Master Thesis Written Mostly with Claude: Economics Student Passes with Top Grade
An economics student used Claude for literature review, data analysis with Python scripts and Excel, and presentation — passed with a top grade near PhD level. Appendix disclosed AI use, no questions asked.

Building a Bespoke GUI for DSP Research with LLMs — Lessons from 1 Year of Daily Use
A researcher shares their workflow for using coding LLMs to incrementally build a custom GUI for DSP data analysis, with tips on plotting, report generation, and tool integration.