Share state between agents without conflicts
MediumSystem design25 minSWEMLEPro outline
The question
Several agents work on one task: a planner, a coder and a reviewer. How do they pass state, and what happens when two agents disagree or edit the same thing?
How do you keep context small and avoid acting on stale knowledge?
What the interviewer is looking for
- Picks a shared store or message passing and justifies it
- Defines ownership and versioning to avoid conflicting writes
- Has a rule to resolve disagreements
- Trims and summarizes context with clear rules
- Separates fixed rules from retrieved memory
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported MiniMax question type: pass state and resolve conflicts between agents, trim context and handle stale knowledge.
Reported in: nowcoder.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official MiniMax question.