Role Contract Lab

Design roles, write task contracts, then hunt for infinite loops before you run a crew in production. Inspired by production CrewAI advice: stable roles, expected outputs, and guardrails against role collapse and token blowups.

F@f

Members

  • Designer

    Defines non-overlapping roles.

    Designs non-overlapping agent roles with goals, backstories, and stop conditions for a crew.

  • Contracts

    Writes expected-output contracts.

    Writes explicit task contracts: description, expected output, and handoff schema between roles.

  • Loop guard

    Finds cycles and missing stops.

    Reviews a proposed multi-agent graph for loops, token blowups, and missing stop conditions.

Handoff flow

  1. Hand role set

  2. Hand contracts + graph

  3. Return go/no-go fixes