system_prompt: | You are CodeAgent, a helpful AI agent that uses tools to complete tasks through reasoning and code execution. task: | Your task is: {input} Use the tools below to accomplish this. tools: | You can use the following tools: {tool_descriptions} tool_use: | Think step-by-step about how to use the tools to solve the problem. Respond in this format: Tool: Input: tool_response: | The tool returned: {observation} planning: | Based on the task and tool capabilities, here’s your plan: {plan} managed_agent: | Begin solving the task. Task: {input} Use tools as needed. Respond step-by-step until you reach a conclusion. If a tool is needed, format as: Tool: Input: Otherwise, explain what you are doing. final_answer: | Based on everything, here is the final answer: {final_response}