{"id":28196,"library":"solace-agent-mesh","title":"Solace Agent Mesh","description":"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.","status":"active","version":"1.24.1","language":"python","source_language":"en","source_url":"https://github.com/SolaceLabs/solace-agent-mesh","tags":["event-driven","multi-agent","ai-agents","solace","llm","orchestration"],"install":[{"cmd":"pip install solace-agent-mesh","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Required for Solace Event Mesh integration","package":"solace-cloud-client","optional":false},{"reason":"Used for agent orchestration and LLM integration","package":"langchain","optional":false},{"reason":"Provides community LLM integrations","package":"langchain-community","optional":true},{"reason":"Alternative LLM framework for agent RAG capabilities","package":"llama-index","optional":true},{"reason":"Optional caching and state store","package":"redis","optional":true}],"imports":[{"wrong":"from solace_agent_mesh import AgentMesh","symbol":"AgentMesh","correct":"import solace_agent_mesh"}],"quickstart":{"code":"from solace_agent_mesh import AgentMesh\n\n# Initialize the mesh with Solace event broker credentials\nmesh = AgentMesh(\n    solace_host=os.environ.get('SOLACE_HOST', ''),\n    solace_vpn=os.environ.get('SOLACE_VPN', ''),\n    solace_username=os.environ.get('SOLACE_USERNAME', ''),\n    solace_password=os.environ.get('SOLACE_PASSWORD', '')\n)\n\n# Define a simple agent\n@mesh.agent(name=\"echo_agent\", description=\"Repeats messages back\")\nasync def echo_agent(message: str) -> str:\n    return f\"Echo: {message}\"\n\n# Start the mesh\nmesh.run()","lang":"python","description":"Initialize a Solace Agent Mesh with event broker credentials and define an agent."},"warnings":[{"fix":"Use keyword arguments: @mesh.agent(name='my_agent', description='...')","message":"In 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.","severity":"breaking","affected_versions":">=1.20.0"},{"fix":"Set protocol='http' explicitly in AgentMesh constructor if you rely on HTTP.","message":"In v1.22.0, the default event broker protocol changed from HTTP to MQTT. Existing configurations using HTTP must be updated.","severity":"breaking","affected_versions":">=1.22.0"},{"fix":"Set all environment variables or pass them explicitly as parameters.","message":"The AgentMesh constructor requires SOLACE_HOST, SOLACE_VPN, SOLACE_USERNAME, SOLACE_PASSWORD environment variables. If any are missing, the mesh fails silently at startup.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace create_mesh(...) with AgentMesh(...).","message":"The 'create_mesh' function is deprecated since v1.18.0 and will be removed in v2.0. Use AgentMesh constructor directly.","severity":"deprecated","affected_versions":">=1.18.0, <2.0"},{"fix":"Always define agent functions as async def agent_name(...).","message":"Async agents must be defined with 'async def', but the @mesh.agent decorator does not enforce this; a sync function will cause runtime errors.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.24.1':32 '2.0':36 'activ':38 'agent':2,5,20,25,48,51 'ai':21,50 'ai-ag':49 'apach':35 'build':14 'collabor':26 'complex':28 'current':30 'develop':39 'driven':17,45 'event':16,44 'event-driven':15,43 'framework':12 'frequent':41 'llm':53 'mesh':3,6 'multi':19,47 'multi-ag':18,46 'open':10 'open-sourc':9 'orchestr':54 'releas':33,42 'solac':1,4,52 'sourc':11 'special':24 'system':22 'task':29 'version':31","created_at":"2026-05-09T05:54:13.794637+00:00","updated_at":"2026-05-09T05:54:13.794637+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"solace-agent-mesh","cli_version":"","type":"library","homepage":null,"github":"https://github.com/SolaceLabs/solace-agent-mesh","docs":null,"changelog":null,"pypi":"https://pypi.org/project/solace-agent-mesh/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["llm-agents","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}