by PathOnAIOrg
The Library for LLM-based multi-agent applications
# Add to your Claude Code skills
git clone https://github.com/PathOnAIOrg/LiteMultiAgentIn our exploration of building multi-agent systems, we have investigated AutoGen, CrewAI, LangGraph, and MetaGPT, but failed to find a multi-agent system that intuitively makes multi-agent systems more efficient. We have found that most examples provided by these frameworks could be accomplished with just one agent. We reimplemented the multi-agent examples using only one agent with a set of self-defined tools. However, we then realized that this system is not scalable when we have more and more tools. But if we can categorize the agents with different sets of tools into categories, then we are building a hierarchy of agents, where we could accomplish more types of tasks. At the same time, because of this design, the execution of sub-agents is naturally parallelized by parallel function calling, since agents use sub-agents as tools.
Disclaimer: Please note that LiteMultiAgent is not affiliated with any for-profit company. This is a collaborative project from PathOnAI.org, an open-source AI research community, where Danqing Zhang (danqing.zhang.personal@gmail.com) is the main contributor. If anyone claims LiteMultiAgent is affiliated with any for-profit company, please contact Danqing Zhang (danqing.zhang.personal@gmail.com) for verification.
From PyPI: https://pypi.org/project/litemultiagent/
pip install litemultiagent
Set up locally First set up virtual environment, and allow your code to be able to see 'litemultiagent'
python3 -m venv venv
. venv/bin/activate
pip install -e .
Then please create a .env file, and update your API keys:
cp .env.example .env
If you want to save log to Supabase. Set up a Supabase project and retrieve the database...