“Use a fast agent to generate the words and ranking at each step”
Adding this at the end seems to work. It does replace one bit at the end to avoid hanging dialogue, which seems reasonable.
https://chatgpt.com/share/6a79f2d2-3980-83eb-aa59-873658f756f7?ogimg=plain
It did it in batches so I can’t fully verify each batch was done properly sequentially. I would assume if you specify that each word be done by a different agent it would work fully.
One thing to understand is that this task is very different for current AI harnesses, for similar reasons as counting letters in strawberry was difficult for a previous generation. It needs to repeatedly run a model with different context, which has a long lag, so it prefers to return results more quickly. If you give it some guidance as to how to call agents, it will do better.