Skip to content

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agentic Design Patterns and Orchestration

This repository provides

  1. Notebooks demonstrating a from-scratch implementation of four common design patterns: reflection, planning, tool use, and multi-agent collaboration.
  2. Code defining an agent class for each of these design patterns.
  3. Ready-to-use implementations of simple agent use cases across four different agent frameworks (AutoGen, CrewAI, Swarm, and LangGraph). These implementations can serve as a baseline for developing custom use cases.

Follow these steps to get started:

  • Have >python3.12 installed
  • create virtual environment python3 -m venv venv #
  • activate the virtual environment source venv/bin/activate (venv\Scripts\activate on windows)
  • install the requirements pip install -r requirements.txt
  • create a .env files and add an openai key to it OPENAI_API_KEY="sk-proj ...."

Using on of the agent frameworks:

  • execute themain.py of the one of the frameworks, e.g. python agent_frameworks/openai_swarm_agent
  • For using Autogen you need to have docker running. I you do not have it installed on your system, download it from the website (https://docs.docker.com/get-started/get-docker/). Then install and open it.

About

No description, website, or topics provided.

Resources

Stars

24 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages