Collaboration

Liaisons

Liaisons are dedicated agents that bridge two teams, tracking handoffs between them. They ensure context is preserved when work moves from one team to another.

Assigning a liaison

bash
# Assign a liaison agent between two teams
curl -X POST http://localhost:3000/liaisons \
  -H "Authorization: Bearer ${JWT_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{
    "agentId": "liaison-agent",
    "teamA": "engineering",
    "teamB": "design"
  }'

Recording handoffs

Each handoff records which team is passing work, which team receives it, and a summary of the context. The liaison's handoff count is automatically incremented.

bash
# Record a handoff between teams
curl -X POST http://localhost:3000/liaisons/lsn_abc123/handoffs \
  -H "Authorization: Bearer ${JWT_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{
    "fromTeam": "engineering",
    "toTeam": "design",
    "summary": "API spec finalized — ready for UI mockups"
  }'

Endpoint reference

MethodEndpointDescription
POST/liaisonsCreate liaison
GET/liaisonsList liaisons
GET/liaisons/:idGet liaison details
DELETE/liaisons/:idDeactivate liaison
POST/liaisons/:id/handoffsRecord handoff
GET/liaisons/:id/handoffsList handoffs