Pattern Overview
Available reusable pattern implementations:
TwoSpeakerConversationPattern: two-speaker LLM conversation loops with per-speaker prompts and clients.DebatePattern: multi-round affirmative/negative debate with a judging pass.PlanExecutePattern: planner + executor decomposition for complex tasks.ProposeCriticPattern: iterative proposal/revision loops.RouterDelegatePattern: intent-based delegation to selected agents.RoundBasedCoordinationPattern: round-based peer coordination with no central orchestrator.BlackboardPattern: networked coordination with explicit shared board semantics.BeamSearchPattern: generator/evaluator reasoning over beam-searched candidates.RAGPattern: retrieval-augmented reasoning via memory workflow steps.
Patterns are concrete workflow implementations, not construction primitives.
Use design_research_agents.workflow when composing new workflow graphs.
All pattern customization is constructor-first. Helper factory functions were removed in favor of explicit class initialization.
Examples
examples/patterns/plan_execute.pyexamples/patterns/propose_critic.pyexamples/patterns/router_delegate.pyexamples/patterns/debate_pattern.pyexamples/patterns/two_speaker_conversation.pyexamples/patterns/coordination_patterns.pyexamples/patterns/beam_search.pyexamples/patterns/rag.py