Initialize the Security Agent

implementationChallenge

Prompt Content

Using the OpenAI Agents SDK, define a 'SecurityAgent' that uses a system instruction to analyze incoming messages for malicious intent. Integrate DeepSeek R1 as the back-end reasoning model. Initialize the agent using the `Agent` class and configure it to use a function-calling tool that logs security events.

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