Customizing Agent Output Serialization: From Markdown to Raw JSON
Force structured agent output with output_schema and output_key, capture parsed values in session state, and reformat raw LLM text with after_model_callback and --jsonl.
November 24, 2026 AI Assistant