Initial Agent Design for Code Generation

planningChallenge

Prompt Content

Outline the architecture of your self-improving code generation agent using the OpenAI Agents SDK. Define the primary agent's role (e.g., 'Code Master') and its interaction loop, which should include steps like: `Understand Problem -> Generate Code -> Execute Tests -> Analyze Feedback -> Refine Code`. Describe how GPT-5.3-Codex will be leveraged in each of these steps, especially for generating initial code and then for debugging based on test feedback. Provide a conceptual Python class or function structure for your agent using `openai.beta.assistants`.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations