MCPcopy Index your code
hub / github.com/Azure-Samples/dream-team

github.com/Azure-Samples/dream-team @v0.21

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.21 ↗ · + Follow
27 symbols 143 edges 7 files 7 documented · 26%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PRs Welcome LinkedIn

Build your dream team with Autogen

This repo helps you to build a team of AI agents, this code is setting up a system of agents using the autogen library. The agents include a human admin, an AI Developer, a planner, an executor, and a quality assurance agent. Each agent is configured with a name, a role, and specific behaviors or responsibilities.

image

:tada: November 18, 2024: we are porting this repo to Autogen 0.4, A new event driven, asynchronous architecture for AutoGen and Magentic One

Installation

Clone the repository

git clone https://github.com/yanivvak/dream-team.git  

Navigate to the project directory

cd src 

Set up a virtual environment (Preferred)

python -m venv dream

Once you’ve created a virtual environment, you may activate it.

On Windows, run:

dream\Scripts\activate

On Unix or MacOS, run:

source dream/bin/activate

To deactivate :

deactivate

More information about virtual environments can be found here

Install dependencies

pip install -r requirements.txt
git clone https://github.com/microsoft/autogen.git 
cd autogen/python/packages/autogen-magentic-one
pip install -e .
playwright install --with-deps chromium

Update credentials

  • Update .env.sample (under src) with your credentials
  • Save it as .env

    Magentic-One code uses code execution, you need to have Docker installed to run any examples

Run

streamlit run app.py

Core symbols most depended-on inside this repo

load_json
called by 4
pages/01_setup.py
display_graph
called by 2
pages/02_run.py
mermaid
called by 1
pages/02_run.py
display_messages_history
called by 1
pages/02_run.py
get_entry_agent
called by 1
pages/02_run.py
config
called by 1
pages/02_run.py
run
called by 1
pages/02_run.py
mermaid
called by 1
pages/01_setup_transitions.py

Shape

Function 19
Method 7
Class 1

Languages

Python100%

Modules by API surface

src/magentic_one_helper.py9 symbols
pages/02_run.py7 symbols
pages/01_setup.py4 symbols
test-magone.py3 symbols
src/app.py2 symbols
pages/01_setup_transitions.py2 symbols

For agents

$ claude mcp add dream-team \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact