Sequence · Kandev · doc-inline · balanced · readable

Agents agree on a contract

The backend and frontend agents use task messaging to propose an API shape, request one missing field, and record the shared contract before implementation.

Agents agree on a contract Agent A in the backend proposes a GET items contract to Agent B in the frontend. Agent B requests created_at, Agent A queues the reply, and Agent A confirms the agreed contract before both agents implement it. message_task_kandev(B) · GET /items message_task_kandev(A) · add created_at message_task_kandev(B) · contract agreed get_task_conversation_kandev(B) idle → "sent" new turn running → "queued" next turn CONTRACT AGREED · BOTH IMPLEMENT Agent A backend Agent B frontend TASK MESSAGE AGREEMENT READ-BACK