Solace Agent Mesh

An event-driven framework designed to build and orchestrate multi-agent AI systems. It enables seamless integration of AI agents with real-world data sources and systems, facilitating complex, multi-step workflows.

SolaceLabs
開発者 SolaceLabs
自動化 · Apache-2.0 · Python · 更新日: 7 months ago
2,886
スター
176
Forks
検証済み
A
安全性:
優秀
A
品質:
a2aagentframeworkagenticagentic-aiagentic-frameworkagentic-workflowagenticaiagentsaiai-agentsaiagentframeworkaiframeworkenterpriseevent-driven-architectureframeworkmcpmulti-agentmulti-agent-systemsmultiagentrag

Solace Agent Mesh is a framework that supports building AI applications where multiple specialized AI agents work together to solve complex problems. It uses the event messaging of Solace Platform for true scalability and reliability.

With Solace Agent Mesh (SAM), you can create teams of AI agents, each having distinct skills and access to specific tools. For example, you could have a Database Agent that can make SQL queries to fetch data or a MultiModal Agent that can help create images, audio files and reports.

The framework handles the communication between agents automatically, so you can focus on building great AI experiences.

SAM creates a standardized communication layer where AI agents can:

SAM is built on top of the Solace AI Connector (SAC) which allows Solace Platform Event Brokers to connect to AI models and services and Google's Agent Development Kit (ADK) for AI logic and tool integrations.

The result? A fully asynchronous, event-driven and decoupled AI agent architecture ready for production deployment. It is robust, reliable and easy to maintain.


🔑 Key Features

📚 Want to know more? Check out the full Solace Agent Mesh documentation.


🚀 Quick Start (5 minutes)

Set up Solace Agent Mesh in just a few steps.

⚙️ System Requirements

To run Solace Agent Mesh locally, you'll need:

🎸 Vibe Coding

To quickly setup and customize your Agent Mesh, check out the Vibe Coding Quickstart Guide. This guide walks you through the essential steps to get Solace Agent Mesh up and running with minimal effort.

💻 Setup Steps

1. Create a directory for a new project

mkdir my-sam && cd my-sam

2. Create and activate a Python virtual environment

python3 -m venv .venv && source .venv/bin/activate

3. Install Solace Agent Mesh (SAM)

Check if you have a version of SAM already installed.

sam -v

If you have an earlier version, uninstall it and start from scratch:

pip3 uninstall solace-agent-mesh

Note: Optionally, you can try to upgrade versions but this action is not officially supported at this time. (pip3 install --upgrade solace-agent-mesh)

If no previous version exists, install the latest version with:

pip3 install solace-agent-mesh

4. Initialize the new project via a GUI tool

sam init --gui

Note: This initialization UI runs on port 5002

5. Run the project

sam run

6. Verify SAM is running

Open the Web UI at http://localhost:8000 for the chat interface and ask a question

🔧 Customize SAM

New agents can be added via a GUI interface

sam add agent --gui

Existing plugins can be installed

sam plugin add <your-component-name> --plugin <plugin-name>

🏗️ Architecture Overview

Solace Agent Mesh provides a "Universal A2A Agent Host," a flexible and configurable runtime environment built by integrating Google's Agent Development Kit (ADK) with the Solace AI Connector (SAC) framework.

The system allows you to:

Key Components


➡️ Next Steps

Want to go further? Here are some hands-on tutorials to help you get started:

🔧 Integration ⏱️ Est. Time 📘 Tutorial
🌤️ Weather AgentLearn how to build an agent that gives Solace Agent Mesh the ability to access real-time weather information. ~15 min Weather Agent Plugin
🗃️ SQL Database IntegrationEnable Solace Agent Mesh to answer company-specific questions using a sample coffee company database. ~10–15 min SQL Database Tutorial
🧠 MCP IntegrationIntegrating a Model Context Protocol (MCP) Servers into Solace Agent Mesh. ~10–15 min MCP Integration Tutorial
💬 Slack IntegrationChat with Solace Agent Mesh directly from Slack. ~20–30 min Slack Integration Tutorial
👔 Microsoft Teams Integration (Enterprise)Connect Solace Agent Mesh Enterprise to Microsoft Teams with Azure AD authentication. ~30–40 min Teams Integration Tutorial

👥 Contributors

Solace Agent Mesh is built with the help of our amazing community. Thanks to everyone who has contributed ideas, code and time to make this project better!

View the full list of contributors here: GitHub Contributors 💚

Looking to contribute? Check out CONTRIBUTING.md to get started and see how you can help!


📄 License

This project is licensed under the Apache 2.0 License. See the full license text in the LICENSE file.


🧪 Running Tests

This project uses pytest for testing. You can run tests using either hatch or pytest directly.

Using Hatch

The recommended way to run tests is through the hatch environment, which ensures all dependencies are managed correctly.

# Run all tests
hatch test

# Run tests with tags
hatch test -m "<tag>"

Using Pytest Directly

If you prefer to use pytest directly, you must first install the project with its test dependencies.

# Install the project in editable mode with the 'test' extras
pip install -e .[test]

# Run all tests
pytest

🔓 サインインしてさらに解放
GitHub でサインイン