This repository contains the implementation for our paper.We implement it based on CAMEL framework, and modify the code of core functions such as agent cooperation, and agent action.
conda create -n TaskWeave python=3.12
conda activate TaskWeave
pip install -r requirements.txtYou can define your company background in role/companyA/PlanConfig.py,and we have provided examples in role/companyA/PlanConfig_example.py.
BACKGROUND= "your company background"You can define your role config in role/companyA/RoleConfig.py,and we have provided examples in role/companyA/RoleConfig_example.py.
MANAGE_AGENTS =[]
PRODUCT_OPERATE_AGENTS = []os.environ["OPENAI_API_KEY"] = "your_key" # for OpenAI LLM backend
os.environ['GOOGLE_API_KEY'] = "your_key" # If you want to use searchpython run-company.py