Agentsop Map Reduce Fanout

Decision protocol for the map-reduce / dynamic fan-out pattern in LM pipelines — "given list L, run f(item) for each item in parallel, then combine". Activates when the coder agent is about to process N items with N LM calls (per-doc summarize, per-query retrieve, per-candidate rank, parallel tool fan-out). Encodes the *when*, *how many at once*, *what to do when one fails*, and *how to reduce* — not the API of any single framework. Cross-framework: LangGraph `Send`, CrewAI parallel tasks / Flow, `asyncio.gather`, `ThreadPoolExecutor`, LlamaIndex batch retrieval.

agentsope 07c5e68 32.2 KB Updated

File contents

agentsope/SkillAlchemy/tree/main/skills/agentsop-map-reduce-fanout commit 07c5e680bc

Frequently asked questions

npx skillmds@latest add agentsope/agentsop-map-reduce-fanout