Skip to content

STORM-like Research Writing

What Problem It Solves

Research writing is not one query. You need:

  • outline first
  • retrieve evidence per section
  • write sections grounded in evidence
  • assemble a final article

Core Flow

flowchart TD
  T["Topic"] --> O["Outline sections"]
  O --> S1["Section i: query + retrieve"]
  S1 --> W1["Write section with citations"]
  W1 --> N["Next section"]
  N -->|done| A["Assemble article"]

Evolution Path

  • Built on: Retrieval Loop patterns
  • Often combined with: Agentic RAG (dynamic retrieval per section)

Repo Reference

  • Code: src/agent_patterns_lab/patterns/storm.py
  • Example: examples/56_storm.py
  • Tests: tests/test_storm.py