Required Templates
Python and TypeScriptAgent both require:
planPromptreasonPromptactPrompt
Supported Placeholders
{goal}{examples}{plan}{observation}{reasoning}{history}
Template Guidance
- Keep
planconcise and structured. - Keep
reasonfocused on current observation and progress. - Keep
actstrict: ask for a single action/command.
Minimal Set
Python Unified XML Mode
PythonReActLoop detects XML-style prompts when plan_prompt includes markers like <keystrokes or <response>. In that mode, reasoning/commands are parsed from model XML output.
Use this only if your environment expects XML-structured actions.
