AutoGen Environment Setup and Agent Roles

planning|implementationChallenge

Prompt Content

Initialize an AutoGen `GroupChat` with at least three agents: a `UserProxyAgent` (representing the executive), an `AssistantAgent` acting as a 'Finance Analyst', and another `AssistantAgent` as a 'Content Strategist'. Define their roles, system messages, and use OpenAI o3 as the LLM for all agents. Implement a custom Python function `query_financial_data(metric, quarter)` that simulates querying financial data from a simple SQLite database and register it as a tool for the 'Finance Analyst'.

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