Add a Factor operation to the free monad (Omni/Agent/Op.hs) that decomposes prompts into parallelizable sub-tasks.
Use an LLM to analyze a prompt and identify independent sub-tasks that can run in parallel. Not principled Bayesian factorization, but practically useful.
1. Add Factor constructor to OpF 2. Implement factorization prompt that identifies independent sub-tasks 3. Return list of sub-prompts that can be passed to existing Par combinator
This is heuristic. True conditional independence detection in NL is a research problem. But even imperfect factorization helps.
No activity yet.