Skip to main content
Loading navigation
Back to prompt library

AutoGen Environment Setup and Agent Roles

Linked challenge: AutoGen Multi-Agent System for Media Strategic Resource Planning

Prompt source

planning|implementation1 lines1 sectionsNo variables0 checklist items
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'.