Examples: parallel fan-out and fan-in¶
Several calls at once, then merge. Back to the Examples gallery. Files here: 3.
| File | Shows | Install | Run | Docs |
|---|---|---|---|---|
examples/howto_parallel.py |
Parallel retrieval: fan out to several retrievers, merge, stop early, run non-tool work. | pip install agent-adapter |
python examples/howto_parallel.py |
Parallel retrieval |
examples/tutorial_research.py |
Tutorial: a research agent from plain functions, parallel retrieval, a model loop, approval. | pip install agent-adapter |
python examples/tutorial_research.py |
Tutorial: a research agent |
examples/viewer_fan_out.py |
Record a help-center search (fan-out, join, loop, cache, compression, approval) for the viewer. | pip install agent-adapter |
python examples/viewer_fan_out.py |
See your runs |