Registry / llm-agents / solace-agent-mesh

solace-agent-mesh

JSON →
library1.24.1pypypi✓ verified 79d ago

Solace Agent Mesh is an open-source framework for building event-driven, multi-agent AI systems where specialized agents collaborate on complex tasks. Current version: 1.24.1. Released under Apache 2.0, with active development and frequent releases.

pip install solace-agent-mesh
INSTALL
IMPORT
SIG · SOLACE-AGENT-MESH
S
solace-agent-mesh
llm-agentspythonv1.24.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AgentMesh
import solace_agent_mesh
from solace_agent_mesh import AgentMesh

Initialize a Solace Agent Mesh with event broker credentials and define an agent.

from solace_agent_mesh import AgentMesh # Initialize the mesh with Solace event broker credentials mesh = AgentMesh( solace_host=os.environ.get('SOLACE_HOST', ''), solace_vpn=os.environ.get('SOLACE_VPN', ''), solace_username=os.environ.get('SOLACE_USERNAME', ''), solace_password=os.environ.get('SOLACE_PASSWORD', '') ) # Define a simple agent @mesh.agent(name="echo_agent", description="Repeats messages back") async def echo_agent(message: str) -> str: return f"Echo: {message}" # Start the mesh mesh.run()
solace-agent-mesh --version
Debug
Known issues
breakingIn v1.20.0, the agent decorator signature changed from @mesh.agent(name, description) to @mesh.agent(name=..., description=...). Using positional arguments will raise a TypeError.
fix
Use keyword arguments: @mesh.agent(name='my_agent', description='...')
affects: >=1.20.0
breakingIn v1.22.0, the default event broker protocol changed from HTTP to MQTT. Existing configurations using HTTP must be updated.
fix
Set protocol='http' explicitly in AgentMesh constructor if you rely on HTTP.
affects: >=1.22.0
gotchaThe AgentMesh constructor requires SOLACE_HOST, SOLACE_VPN, SOLACE_USERNAME, SOLACE_PASSWORD environment variables. If any are missing, the mesh fails silently at startup.
fix
Set all environment variables or pass them explicitly as parameters.
affects: all
deprecatedThe 'create_mesh' function is deprecated since v1.18.0 and will be removed in v2.0. Use AgentMesh constructor directly.
fix
Replace create_mesh(...) with AgentMesh(...).
affects: >=1.18.0, <2.0
gotchaAsync agents must be defined with 'async def', but the @mesh.agent decorator does not enforce this; a sync function will cause runtime errors.
fix
Always define agent functions as async def agent_name(...).
affects: all
Upgrade
Version history
1.24.1latest on PyPI · released May 6, 2026
Audit
Dependencies
solace-cloud-clientrequiredRequired for Solace Event Mesh integration
langchainrequiredUsed for agent orchestration and LLM integration
langchain-communityoptionalProvides community LLM integrations
llama-indexoptionalAlternative LLM framework for agent RAG capabilities
redisoptionalOptional caching and state store
Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
1
Resources
solace-agent-mesh — pip install solace-agent-mesh · libregistry