Skip to main content

TeamGen AI, developed by Eliran Wong, automates the creation of AI agent teams to address user requests.

Project description

# TeamGen AI

TeamGen AI, developed by [Eliran Wong](https://github.com/eliranwong), automates the creation of AI agent teams to address user requests.

# How does it work?

Upon receiving a user request, TeamGen AI generates a team of AI agents, each with a distinct role. They were then assigned in turns to work collaborately in a group discussion. During each turn of the group discussion, TeamGen AI evaluates the progress and assigns the most suitable agent to contribute. Once all agents have provided their expertise and the request is fully addressed, TeamGen AI engages the final answer writer to deliver the response to the user.

# Supported AI Backends

The following AI Backends are supported and tested:

anthropic, azure, genai, googleai, groq, llamacppserver, mistral, ollama, openai, xai

Compare at: https://github.com/eliranwong/teamgenai/tree/main/examples/example_02

# Latest Features

Read https://github.com/eliranwong/teamgenai/blob/main/latest.md

# Requirements

To run TeamGen AI, you need to install and setup [ToolMate AI](https://github.com/eliranwong/toolmate) (version 0.6.34 or later) FIRST!

To install:

> pip install –upgrade toolmate

To install on Android Termux:

> pip install –upgrade toolmate_lite

To setup ToolMate AI:

> tmsetup -m

Select AI a backend and a model. Enter API keys if the selected backend requires.

Note: We are using toolmate as a library to quicken the initial development of this project. We may consider removing this requirement as this project grow.

# Installation

> pip install teamgenai

We recommend creating a virtual environment first, e.g.

` python3 -m venv tgai source tgai/bin/activate pip install --upgrade toolmate teamgenai # setup ToolMate AI tmsetup -m `

Install toolmate_lite instead of toolmate on Android Termux, e.g.

` python3 -m venv tgai source tgai/bin/activate pip install --upgrade toolmate_lite teamgenai # setup ToolMate AI tmsetup -m `

# Run TeamGen AI

Run TeamGen AI with command: tgai

For CLI options run:

> tgai -h

To enter your request in interactive mode:

> tgai

To run with a single command, e.g.

> tgai Write a Christmas song

Result of this example: https://github.com/eliranwong/teamgenai/blob/main/examples/example_01.md

> tgai Write a comprehensive introduction to the book of Daniel in the bible

Results of this example, comparing different AI backends: https://github.com/eliranwong/teamgenai/tree/main/examples/example_02

# Development Road Map

  1. Creat an initial version that support group discussion between AI agents (Done! version 0.0.2)

  2. Support backup and reuse of generated agent configurations (Done! version 0.0.2)

  3. Test all the [AI backends supported by ToolMate AI](https://github.com/eliranwong/toolmate#ai-backends-and-models) ([Done!](https://github.com/eliranwong/teamgenai/tree/main/examples/example_02))

  4. Support specifying different AI backends or models for running agent creation, assignment and responses

  5. Support customisation of core system messages that run TeamGen AI (Done! version 0.0.3)

  6. Support code generation and task execution

  7. Integrate ToolMate AI tools and plugins

  8. May remove dependency on ToolMate AI

  9. More …

Welcome further suggestions!

# Welcome Contributions

You are welcome to make contributions to this project by:

  • joining the development collaboratively

  • donations to show support and invest for the future

Support link: https://www.paypal.me/toolmate

Please kindly report of any issues at https://github.com/eliranwong/teamgenai/issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teamgenai-0.0.12.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teamgenai-0.0.12-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file teamgenai-0.0.12.tar.gz.

File metadata

  • Download URL: teamgenai-0.0.12.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for teamgenai-0.0.12.tar.gz
Algorithm Hash digest
SHA256 bd9d6427f7f36d1b3013dcc7db732e7a3e107bf328e9752b24ebe45e8ca70f76
MD5 1d430274b076c92909671757b9b04d99
BLAKE2b-256 e4a4bbfd295fc835f03f885556631906b26b6620aed16082f01fe1ed319de98d

See more details on using hashes here.

File details

Details for the file teamgenai-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: teamgenai-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for teamgenai-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 66e2dbfa975fc5c8e33153c09731c6b110ff950d278cdea4f2b040228debeec6
MD5 a5bc6374a399264d930a98877dd6608a
BLAKE2b-256 d0b6f6433926b7f2fbe7158077b5536245897f5182628dbb5bec8431b2e4e3a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page