System Requirements
Before installing Solace Agent Mesh, ensure your system meets the following requirements:- Python 3.10.16 or higher
- pip (comes with Python)
- Operating System: macOS, Linux, or Windows with WSL
- LLM API key (OpenAI, Anthropic, or any LiteLLM-compatible provider)
- Optional: Docker or Podman (for running a local Solace broker)
Installation Steps
Set Up Python Virtual Environment
Create and activate a Python virtual environment to isolate your project dependencies:
Your terminal prompt should change to indicate the virtual environment is active (e.g.,
(.venv)).Check for Existing Installation
Before installing, check if you have an existing version of Solace Agent Mesh:If you have an earlier version installed, it’s recommended to uninstall it and start fresh:
Install Solace Agent Mesh
Install the latest version of Solace Agent Mesh using pip:This will install the
solace-agent-mesh package and all its dependencies, including:- Google Agent Development Kit (ADK)
- Solace AI Connector
- LiteLLM for LLM integration
- FastAPI and Uvicorn for web interfaces
- And many more (see pyproject.toml for full list)
Optional Dependencies
Solace Agent Mesh supports optional feature sets that can be installed separately:Vertex AI Integration
If you plan to use Google Cloud Vertex AI:Development and Testing
For development work or running tests:- pytest and testing utilities
- Code quality tools (ruff)
- Additional testing dependencies
Installation Using Hatch
For developers working on Solace Agent Mesh itself, you can use Hatch for dependency management:Verifying Your Installation
After installation, verify that all components are working:init- Initialize a new projectrun- Run your agent meshadd- Add agents, gateways, or proxiesplugin- Manage pluginseval- Run evaluationsdocs- Access documentation