Back to prompt library
Setup AutoGen Environment and Initial Agent Roles
Linked challenge: Multi-Agent System for Automated Audit Evidence Collection
Prompt source
planning12 lines4 sectionsNo variables1 code block
Set up your Python environment and install AutoGen. Define a 'Researcher' agent and an 'Analyst' agent. Configure them to use a Mistral Large compatible API endpoint. The Researcher should be able to execute web scraping tools (e.g., a dummy Bright Data client function), and the Analyst should be able to process the scraped data.
```python
import autogen
config_list = autogen.config_list_from_json(
'OAI_CONFIG_LIST',
filter_dict={
'model': ['mistral-large']
}
)
# Define Researcher and Analyst agents here
# ...
```