Agent Design and Tool Definition

planningChallenge

Prompt Content

Design the core structure of your OpenAI agent. Define the roles and goals for a 'Code Architect' agent and a 'Code Refiner' agent. Create the initial tool definitions for simulating a code linter/static analyzer (e.g., 'check_code_style', 'identify_security_vulnerabilities') and a mock 'apply_fix_to_code' tool, ensuring they adhere to MCP principles for input/output schemas. Use the OpenAI Agents SDK's `Tool` or `tool` decorator. Explain how these tools will interact with the agent's thought process.

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