PseudoAct: Leveraging Pseudocode Synthesis for Flexible Planning and Action Control in Large Language Model Agents
PseudoAct introduces a framework for LLM agents that synthesizes a structured pseudocode plan before execution, encoding control flow (sequencing, conditionals, loops, parallel composition) to decompose long-horizon tasks into subtasks. Agents then follow this global plan, reducing redundant actions, preventing infinite loops, and improving temporal coherence. On FEVER, PseudoAct achieves a 20.93% absolute success rate gain over reactive methods like ReAct, and sets a new state-of-the-art on HotpotQA.

arXiv ·
· February 27, 2026