Skip to content

uddinmesbahr/Multi-Agent-AI-architecture-with-CrewAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CrewAI + LangGraph

Introduction

This is an project using LangChain and LangGraph to automate the process of automatically checking emails and creating drafts. CrewAI orchestrates autonomous AI agents, enabling them to collaborate and execute complex tasks efficiently.

Running the Code

This example uses GPT-4.

  • Configure Environment: Copy ``.env.example` and set up the environment variable
  • Setup a credentials.json: Follow the google instructions, once you’ve downloaded the file, name it credentials.json and add to the root of the project,
  • Install Dependencies: Run pip install -r requirements.txt
  • Execute the Script: Run python main.py

Details & Explanation

  • Running the Script: Execute python main.py
  • Key Components:
    • ./src/graph.py: Class defining the nodes and edges.
    • ./src/nodes.py: Class with the function for each node.
    • ./src/state.py: State declaration.
    • ./src/crew/agents.py: Class defining the CrewAI Agents.
    • ./src/crew/taks.py: Class definig the CrewAI Tasks.
    • ./src/crew/crew.py: Class defining the CrewAI Crew.
    • ./src/crew/tools.py: Class implementing the GmailDraft Tool.

Referece Source:

https://github.com/joaomdmoura/crewAI-examples/tree/main/CrewAI-LangGraph

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages