Orchestration · Software component
Agent Action Output Parser
Software componentOrchestrationOrchestration & Toolsarc:ActionOutputParser
A parsing component that extracts the next tool call, its input, or the final answer from free-text model output in a prescribed reasoning format, returning malformed output to the model with error feedback for retry.
Responsibility. Converts free-text model output into structured agent actions.
Also known as: Output parser, ReAct output parser, handle_parsing_errors
Relationships
is invoked by dependency
sends data to dynamic
Design guidance
- SHOULD handle malformed tool-call output gracefully by retrying with error feedback instead of terminating execution.
Classification
- Patterns
- Thought-Action-Action Input-Observation formatRetry with parse-error feedback
- Technologies
- LangChain
- Quality attributes
- Reliability (ISO/IEC 25010 | NIST AI RMF: valid and reliable)
- Risks mitigated
- Agent crash on malformed tool-call output
Sources
- Ch2.3: T. Nguyen, "LangChain Sequential Frameworks," in Mastering Agentic AI Systems: Guide for the NVIDIA NCP-AAI Exam, 1st ed. 2026, ch. 2.3. ISBN: 9798244538229.