English | 中文
AgentMesh is a Multi-Agent platform for AI agents building, providing a framework for inter-agent communication, task planning, and autonomous decision-making. Build your agent team quickly and solve complex tasks through agent collaboration.
AgentMesh uses a modular layered design for flexible and extensible multi-agent systems:

- Agent Collaboration: Support for role definition, task allocation, and multi-turn autonomous decision-making. Communication protocol for remote heterogeneous agents coming soon.
- Multi-Modal Models: Seamless integration with OpenAI, Claude, DeepSeek, and other leading LLMs through a unified API.
- Extensible Tools: Built-in search engines, browser automation, file system access, and terminal tools. MCP protocol support coming soon for even more tool extensions.
- Multi-Platform: Run via CLI, Docker, or SDK. WebUI and integration with common software coming soon.
agentmesh-demo.mp4
Choose one of these three ways to build and run your agent team:
Run a multi-agent team from your command line:
Requirements: Linux, MacOS, or Windows with Python installed.
Python 3.11+ recommended (especially for browser tools), at least python 3.7+ required. Download from: Python.org.
Clone the repo and navigate to the project:
git clone https://github.com/MinimalFuture/AgentMesh
cd AgentMesh
Install core dependencies:
pip install -r requirements.txt
For browser tools, install additional dependencies (python3.11+ required):
pip install browser-use==0.1.40
playwright install
Edit the config.yaml
file with your model settings and agent configurations:
cp config-template.yaml config.yaml
Add your model api_key
- AgentMesh supports openai
, claude
, deepseek
, qwen
, and others.
The template includes two examples:
general_team
: A general-purpose agent for search and research tasks.software_team
: A development team with three roles that collaborates on web applications.You can add your own custom teams, and customize models, tools, and system prompts for each agent.
You can run tasks directly using command-line arguments, specifying the team with -t
and your question with -q
:
python main.py -t general_team -q "analyze the trends in multi-agent technology"
python main.py -t software_team -q "develop a simple trial booking page for AgentMesh multi-agent platform"
Alternatively, enter interactive mode for multi-turn conversations:
python main.py -l # List available agent teams
python main.py -t software_team # Run the 'software_team'
Download the docker-compose configuration file:
curl -O https://raw.githubusercontent.com/MinimalFuture/AgentMesh/main/docker-compose.yml
Download the configuration template and add your model API keys (see section 1.2 for configuration details):
curl -o config.yaml https://raw.githubusercontent.com/MinimalFuture/AgentMesh/main/config-template.yaml
Run the Docker container:
docker-compose run --rm agentmesh bash
Once the container starts, you'll enter the command line. The usage is the same as in section 1.3 - specify a team to start the interactive mode:
python main.py -l # List available agent teams
python main.py -t general_team # Start multi-turn conversation with the specified team
Use the AgentMesh SDK to build custom agent teams programmatically:
pip install agentmesh-sdk
Example usage (replace YOUR_API_KEY
with your actual API key):
from agentmesh import AgentTeam, Agent, LLMModel
from agentmesh.tools import *
# Initialize model
model = LLMModel(model="gpt-4.1", api_key="YOUR_API_KEY")
# Create team and add agents
team = AgentTeam(name="software_team", description="A software development team", model=model)
team.add(Agent(name="PM", description="Handles product requirements",
system_prompt="You are an experienced PM who creates clear, comprehensive PRDs"))
team.add(Agent(name="Developer", description="Implements code based on requirements", model=model,
system_prompt="You write clean, efficient, maintainable code following requirements precisely",
tools=[Calculator(), GoogleSearch()]))
# Execute task
result = team.run(task="Write a Snake client game")
Coming soon
- Agent: Autonomous decision-making unit with specific roles and capabilities, configurable with models, system prompts, tools, and decision logic.
- AgentTeam: Team of agents responsible for task allocation, context management, and collaboration workflow.
- Tool: Functional modules that extend agent capabilities, such as calculators, search engines, and browsers.
- Task: User input problems or requirements, which can include text, images, and other multi-modal content.
- Context: Shared information including team details, task content, and execution history.
- LLMModel: Large language model interface supporting various mainstream LLMs through a unified API.
- OpenAI: GPT series models, recommended:
gpt-4.1
,gpt-4o
,gpt-4.1-mini
- Claude: Claude series models, recommended:
claude-sonnet-4-0
,claude-3-7-sonnet-latest
- DeepSeek: DeepSeek series models, recommended:
deepseek-chat
- Ollama: Local open-source models (coming soon)
- calculator: Mathematical calculation tool supporting complex expression evaluation
- current_time: Current time retrieval tool solving model time awareness issues
- browser: Web browsing tool based on browser-use, supporting web access, content extraction, and interaction
- google_search: Search engine tool for retrieving up-to-date information
- file_save: Tool for saving agent outputs to the local workspace
- terminal: Command-line tool for executing system commands safely with security restrictions
- MCP: Extended tool capabilities through MCP protocol support (coming soon)
⭐️ Star this project to receive notifications about updates.
Feel free to submit PRs to contribute to this project. For issues or ideas, please open an issue.