Description
Is there currently a way to use the Code Interpreter (Python execution) tool or return images (e.g. charts) in responses when using the OpenAI Agents SDK?
If not, I’d like to request one of the following:
Option 1 Code Interpreter Integration
Support for securely executing Python code (like in the Assistants API with the code interpreter tool) to enable dynamic data processing and chart generation.
Option 2 Image Output Support
If code execution isn't feasible, provide a way for agents to return image outputs (e.g. base64-encoded charts) in their responses. This would allow external tools to handle code, and the agent simply returns the result.
Use Case:
Building data analysis agents that can respond to user queries with summaries and visual charts (bar, pie, line, etc.).