Agentic Design

Patterns
๐Ÿ“

Shared Scratchpad Collaboration(SSC)

Multiple agents collaborate transparently on a common workspace with shared visibility of all work

Complexity: mediumMulti-Agent

๐ŸŽฏ 30-Second Overview

Pattern: Multiple agents collaborate transparently on a common workspace with shared visibility of all work

Why: Eliminates information silos, enables natural collaboration flow, and provides transparent decision-making through real-time visibility

Key Insight: Shared state + real-time visibility + progressive building + transparent process = natural collaborative intelligence

โšก Quick Implementation

1Initialize:Create shared state/workspace accessible to all agents
2Define:Establish collaboration protocols and update formats
3Coordinate:Agents read, contribute, and build upon shared work
4Synchronize:Real-time visibility of all agent contributions
5Converge:Collaborative refinement toward final outcome
Example: shared_workspace.init() โ†’ agents.collaborate() โ†’ real_time_updates() โ†’ iterative_refinement()

๐Ÿ“‹ Do's & Don'ts

โœ…Design clear shared state schema with structured sections
โœ…Implement real-time visibility of all agent contributions
โœ…Use version control and conflict resolution mechanisms
โœ…Establish clear protocols for agent contribution formats
โœ…Enable progressive building and iterative refinement
โœ…Implement proper access control and edit permissions
โœ…Maintain clear audit trails of all contributions
โœ…Design for transparent decision-making processes
โŒAllow unstructured or conflicting update formats
โŒCreate information silos between agents
โŒSkip conflict resolution for simultaneous edits
โŒIgnore the computational overhead of shared state
โŒAllow agents to overwrite each other without coordination
โŒForget to implement rollback mechanisms for errors

๐Ÿšฆ When to Use

Use When

  • โ€ข Collaborative content creation workflows
  • โ€ข Transparent decision-making processes
  • โ€ข Multi-perspective problem solving
  • โ€ข Iterative refinement requirements
  • โ€ข Cross-agent learning scenarios
  • โ€ข Consensus-building applications

Avoid When

  • โ€ข Independent parallel processing needs
  • โ€ข High-security compartmentalized tasks
  • โ€ข Simple linear workflow requirements
  • โ€ข Resource-constrained environments
  • โ€ข Real-time performance critical systems
  • โ€ข Single-agent sufficient scenarios

๐Ÿ“Š Key Metrics

Collaboration Efficiency
% time agents building vs duplicating work
Transparency Score
Visibility of decision-making process
Convergence Rate
Time to reach collaborative consensus
Cross-Agent Learning
% insights shared between agents
State Synchronization
Real-time update propagation speed
Conflict Resolution
% edit conflicts resolved automatically
Progressive Quality
Output improvement over iterations

๐Ÿ’ก Top Use Cases

Collaborative Document Creation: Multiple writing agents (research, content, editing, review) working on shared document with real-time visibility
Software Architecture Design: Architecture, security, performance, and UX agents collaboratively designing system with shared blueprint
Strategic Planning: Market, financial, operational, and risk agents building comprehensive business strategy in shared workspace
Scientific Research: Literature, methodology, analysis, and peer review agents collaborating on research paper with transparent process
Product Development: User research, design, engineering, and QA agents iteratively building product requirements in shared specification
Legal Document Review: Subject matter, compliance, risk, and editorial agents collaborating on contract analysis with full visibility
Creative Brainstorming: Concept, narrative, visual, and technical agents building creative project with transparent ideation process
Educational Curriculum: Subject expert, pedagogy, assessment, and accessibility agents designing course with collaborative refinement

References & Further Reading

Deepen your understanding with these curated resources

Contribute to this collection

Know a great resource? Submit a pull request to add it.

Contribute

Patterns

closed

Loading...