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: fixed two-role proposal/critique loops with approval gating.RouterDelegatePattern: intent-based delegation to selected agents.RoundBasedCoordinationPattern: round-based peer coordination with no central orchestrator.BlackboardPattern: networked coordination with explicit shared board semantics.TreeSearchPattern: generator/evaluator reasoning over configurable tree-search strategies.RalphLoopPattern: ordered multi-role refinement with dedicated evaluator-score threshold stopping.NominalTeamPattern: independent fan-out generation with evaluator-driven best-of-N selection.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/tree_search.pyexamples/patterns/ralph_loop.pyexamples/patterns/nominal_team.pyexamples/patterns/rag.py