Skip to content

ZhuXuanCH/TaskWeave

Repository files navigation

TaskWeave

Overview

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.

Quick Start

Install packages

conda create -n TaskWeave python=3.12
conda activate TaskWeave
pip install -r requirements.txt

Define your config

You 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 = []

Add API keys in run-company.py

os.environ["OPENAI_API_KEY"] = "your_key"  # for OpenAI LLM backend
os.environ['GOOGLE_API_KEY'] = "your_key"  # If you want to use search

Run the Company Simulation

python run-company.py

Acknowledgement

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages