solace-agent-mesh 0.2.0__py3-none-any.whl → 0.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of solace-agent-mesh might be problematic. Click here for more details.

Files changed (51) hide show
  1. solace_agent_mesh/agents/global/actions/plantuml_diagram.py +94 -36
  2. solace_agent_mesh/agents/global/actions/plotly_graph.py +48 -22
  3. solace_agent_mesh/cli/__init__.py +1 -1
  4. solace_agent_mesh/cli/commands/add/agent.py +1 -1
  5. solace_agent_mesh/cli/commands/add/copy_from_plugin.py +9 -7
  6. solace_agent_mesh/cli/commands/add/gateway.py +2 -2
  7. solace_agent_mesh/cli/commands/build.py +15 -0
  8. solace_agent_mesh/cli/commands/init/ai_provider_step.py +45 -28
  9. solace_agent_mesh/cli/commands/init/broker_step.py +1 -4
  10. solace_agent_mesh/cli/commands/init/check_if_already_done.py +1 -1
  11. solace_agent_mesh/cli/commands/init/create_config_file_step.py +8 -0
  12. solace_agent_mesh/cli/commands/init/init.py +20 -38
  13. solace_agent_mesh/cli/commands/init/web_init_step.py +32 -0
  14. solace_agent_mesh/cli/commands/plugin/build.py +52 -10
  15. solace_agent_mesh/cli/commands/plugin/create.py +3 -3
  16. solace_agent_mesh/cli/commands/run.py +2 -2
  17. solace_agent_mesh/cli/main.py +20 -8
  18. solace_agent_mesh/common/prompt_templates.py +1 -3
  19. solace_agent_mesh/common/utils.py +88 -19
  20. solace_agent_mesh/config_portal/__init__.py +0 -0
  21. solace_agent_mesh/config_portal/backend/__init__.py +0 -0
  22. solace_agent_mesh/config_portal/backend/common.py +35 -0
  23. solace_agent_mesh/config_portal/backend/server.py +233 -0
  24. solace_agent_mesh/config_portal/frontend/static/client/Solace_community_logo.png +0 -0
  25. solace_agent_mesh/config_portal/frontend/static/client/assets/_index-b13CSm84.js +42 -0
  26. solace_agent_mesh/config_portal/frontend/static/client/assets/components-ZIfdTbrV.js +191 -0
  27. solace_agent_mesh/config_portal/frontend/static/client/assets/entry.client-DX1misIU.js +19 -0
  28. solace_agent_mesh/config_portal/frontend/static/client/assets/index-BJHAE5s4.js +17 -0
  29. solace_agent_mesh/config_portal/frontend/static/client/assets/manifest-c92a7808.js +1 -0
  30. solace_agent_mesh/config_portal/frontend/static/client/assets/root-BApq5dPK.js +10 -0
  31. solace_agent_mesh/config_portal/frontend/static/client/assets/root-DX4gQ516.css +1 -0
  32. solace_agent_mesh/config_portal/frontend/static/client/favicon.ico +0 -0
  33. solace_agent_mesh/config_portal/frontend/static/client/index.html +7 -0
  34. solace_agent_mesh/configs/orchestrator.yaml +1 -1
  35. solace_agent_mesh/orchestrator/components/orchestrator_action_manager_timeout_component.py +4 -0
  36. solace_agent_mesh/orchestrator/components/orchestrator_stimulus_processor_component.py +46 -16
  37. solace_agent_mesh/orchestrator/components/orchestrator_streaming_output_component.py +19 -5
  38. solace_agent_mesh/orchestrator/orchestrator_main.py +11 -5
  39. solace_agent_mesh/orchestrator/orchestrator_prompt.py +78 -74
  40. solace_agent_mesh/services/history_service/history_providers/sql_history_provider.py +1 -1
  41. solace_agent_mesh/services/llm_service/components/llm_request_component.py +54 -31
  42. solace_agent_mesh/templates/rest-api-default-config.yaml +4 -2
  43. solace_agent_mesh/templates/solace-agent-mesh-default.yaml +9 -0
  44. solace_agent_mesh/templates/web-default-config.yaml +4 -2
  45. solace_agent_mesh-0.2.2.dist-info/METADATA +172 -0
  46. {solace_agent_mesh-0.2.0.dist-info → solace_agent_mesh-0.2.2.dist-info}/RECORD +49 -35
  47. solace_agent_mesh/common/prompt_templates_unused_delete.py +0 -161
  48. solace_agent_mesh-0.2.0.dist-info/METADATA +0 -209
  49. {solace_agent_mesh-0.2.0.dist-info → solace_agent_mesh-0.2.2.dist-info}/WHEEL +0 -0
  50. {solace_agent_mesh-0.2.0.dist-info → solace_agent_mesh-0.2.2.dist-info}/entry_points.txt +0 -0
  51. {solace_agent_mesh-0.2.0.dist-info → solace_agent_mesh-0.2.2.dist-info}/licenses/LICENSE +0 -0
@@ -1,209 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: solace-agent-mesh
3
- Version: 0.2.0
4
- Summary: Solace Agent Mesh is an EDA AI-first platform powered by Solace
5
- Project-URL: homepage, https://github.com/SolaceLabs/solace-agent-mesh
6
- Project-URL: repository, https://github.com/SolaceLabs/solace-agent-mesh
7
- Project-URL: documentation, https://github.com/SolaceLabs/solace-agent-mesh/blob/main/docs/docs/index.md
8
- Author-email: Edward Funnekotter <edward.funnekotter@solace.com>, Greg Meldrum <greg.meldrum@solace.com>, Cyrus Mobini <cyrus.mobini@solace.com>
9
- License-File: LICENSE
10
- Classifier: License :: OSI Approved :: Apache Software License
11
- Classifier: Operating System :: OS Independent
12
- Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.11
14
- Classifier: Programming Language :: Python :: 3.12
15
- Classifier: Programming Language :: Python :: 3.13
16
- Requires-Python: >=3.11
17
- Requires-Dist: azure-identity~=1.17.1
18
- Requires-Dist: beautifulsoup4~=4.12.3
19
- Requires-Dist: boto3~=1.34.122
20
- Requires-Dist: build~=1.2.2.post1
21
- Requires-Dist: click~=8.1.7
22
- Requires-Dist: duckduckgo-search~=6.3.7
23
- Requires-Dist: flask-socketio~=5.4.1
24
- Requires-Dist: flask~=3.0.3
25
- Requires-Dist: html2text~=2024.2.26
26
- Requires-Dist: jq~=1.8.0
27
- Requires-Dist: kaleido~=0.1.0.post1; sys_platform == 'win32'
28
- Requires-Dist: kaleido~=0.2.1; sys_platform != 'win32'
29
- Requires-Dist: langchain-core~=0.3.0
30
- Requires-Dist: langchain~=0.3.0
31
- Requires-Dist: litellm~=1.51.3
32
- Requires-Dist: markitdown~=0.0.1a3
33
- Requires-Dist: microsoft-kiota-abstractions==1.9.0
34
- Requires-Dist: microsoft-kiota-authentication-azure==1.9.0
35
- Requires-Dist: microsoft-kiota-http==1.9.0
36
- Requires-Dist: microsoft-kiota-serialization-form==1.9.0
37
- Requires-Dist: microsoft-kiota-serialization-json==1.9.0
38
- Requires-Dist: microsoft-kiota-serialization-multipart==1.9.0
39
- Requires-Dist: microsoft-kiota-serialization-text==1.9.0
40
- Requires-Dist: msgraph-core~=1.1.2
41
- Requires-Dist: msgraph-sdk~=1.5.4
42
- Requires-Dist: mysql-connector-repackaged==0.3.1
43
- Requires-Dist: plotly~=5.24.1
44
- Requires-Dist: pyperclip~=1.9.0
45
- Requires-Dist: pytest-cov~=5.0.0
46
- Requires-Dist: pytest~=8.3.1
47
- Requires-Dist: python-dateutil==2.9.0.post0
48
- Requires-Dist: pyyaml~=6.0.1
49
- Requires-Dist: requests~=2.32.3
50
- Requires-Dist: ruamel-yaml~=0.18.6
51
- Requires-Dist: solace-ai-connector-rest~=0.0.2
52
- Requires-Dist: solace-ai-connector-slack~=0.0.1
53
- Requires-Dist: solace-ai-connector-web~=0.2.1
54
- Requires-Dist: solace-ai-connector~=1.0.2
55
- Requires-Dist: solace-pubsubplus~=1.9.0
56
- Description-Content-Type: text/markdown
57
-
58
- # Solace Agent Mesh
59
-
60
- [![License](https://img.shields.io/github/license/SolaceLabs/solace-agent-mesh)](https://github.com/SolaceLabs/solace-agent-mesh/blob/main/LICENSE)
61
- [![GitHub issues](https://img.shields.io/github/issues/SolaceLabs/solace-agent-mesh?color=red)](https://github.com/SolaceLabs/solace-agent-mesh/issues)
62
- [![GitHub pull requests](https://img.shields.io/github/issues-pr/SolaceLabs/solace-agent-mesh?color=red)](https://github.com/SolaceLabs/solace-agent-mesh/pulls)
63
- [![GitHub stars](https://img.shields.io/github/stars/SolaceLabs/solace-agent-mesh?style=social)](https://github.com/SolaceLabs/solace-agent-mesh/stargazers)
64
- [![PyPI - Version](https://img.shields.io/pypi/v/solace-agent-mesh.svg)](https://pypi.org/project/solace-agent-mesh)
65
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/solace-agent-mesh.svg)](https://pypi.org/project/solace-agent-mesh)
66
-
67
- - [Solace Agent Mesh](#solace-agent-mesh)
68
- * [Installation](#installation)
69
- * [Quick Start](#quick-start)
70
- * [Why Use Solace Agent Mesh?](#why-use-solace-agent-mesh)
71
- * [Next Steps](#next-steps)
72
- * [Contributing](#contributing)
73
- * [Authors](#authors)
74
- * [Release Notes](#release-notes)
75
- * [License](#license)
76
-
77
- The Solace Agent Mesh (SAM) is an open-source platform that tackles a fundamental challenge in modern AI development: while powerful AI models are readily available, the real complexity lies in connecting them to the data and systems where they can provide value. Data is often siloed across databases, SaaS platforms, APIs, and legacy systems, making it difficult to build AI applications that operate seamlessly across these boundaries. SAM provides a flexible foundation for AI applications where multiple agents can collaborate, each bringing their own specialized capabilities and data access. Whether you're an AI enthusiast experimenting with new models, or an enterprise developer building production systems, SAM gives you the tools to:
78
-
79
- - Connect AI agents to real-world data sources and systems.
80
- - Add SAM Gateways to provide event-based integrations or interactive UI connections.
81
- - Monitor and debug AI interactions in real-time.
82
- - Deploy solutions that scale from prototype to production.
83
-
84
- Rather than trying to be a monolithic AI platform, SAM focuses on being an excellent integration layer. It brings together specialized agents - whether they're using local databases, accessing cloud APIs, or interfacing with enterprise systems - and helps them collaborate to solve complex problems.
85
-
86
- Built on event-driven architecture technology from Solace, SAM provides the robust foundation needed for both experimental and production deployments.
87
-
88
- ![Solace Agent Mesh Overview](./docs/static/img/Solace_AI_Framework_With_Broker.png)
89
-
90
- ## Installation
91
-
92
- 1. [Optional] Set up Python Virtual Environment using `virtualenv` and activate it
93
-
94
- ```sh
95
- ## Install virtualenv if not already installed
96
- python3 -m pip install --user virtualenv
97
- ## Setup python virtual environment
98
- python3 -m venv venv
99
- ## Activate virtual environment:
100
- ### MacOS/Linux:
101
- source venv/bin/activate
102
- ### Windows:
103
- venv/Scripts/activate
104
- ```
105
-
106
- 2. The following command installs the Solace Agent Mesh CLI in your environment:
107
-
108
- ```sh
109
- pip install solace-agent-mesh
110
- ```
111
-
112
- 3. Run the following SAM CLI command (`solace-agent-mesh` or `sam`) to verify your installation:
113
-
114
- ```sh
115
- solace-agent-mesh --version
116
- ```
117
-
118
- ## Quick Start
119
-
120
- To get started with Solace Agent Mesh, follow these steps:
121
-
122
- 1. **Install the CLI**: Ensure `solace-agent-mesh` is installed.
123
- 2. **Create a Project**:
124
- Follow the prompts to create your project.
125
-
126
- ```sh
127
- mkdir my-agent-mesh && cd my-agent-mesh
128
- solace-agent-mesh init
129
- ```
130
-
131
- _Enable the REST API interface when prompted._
132
-
133
- 3. **Build the Project**:
134
-
135
- ```sh
136
- solace-agent-mesh build
137
- ```
138
-
139
- 4. **Run the Project**:
140
-
141
- ```sh
142
- solace-agent-mesh run -e
143
- ```
144
-
145
- _(Use `-eb` to combine build and run steps.)_
146
-
147
- 5. **Connect to the Web Interface**:
148
-
149
- Open the web interface at [http://127.0.0.1:5001](http://127.0.0.1:5001) or with the port specified during `init`.
150
-
151
- 6. **Send a REST Request**:
152
-
153
- Try the system by sending a request to the REST API gateway interface.
154
-
155
- ```sh
156
- curl --location 'http://localhost:5050/api/v1/request' \
157
- --header 'Authorization: Bearer None' \
158
- --form 'prompt="What is the capital of France?"' \
159
- --form 'stream="false"'
160
- ```
161
-
162
- Learn about [Agents](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/concepts/agents) and [Gateways](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/concepts/gateways) to add more functionalities to your project.
163
-
164
- For full details, see the [Quick Start Guide](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/getting-started/quick-start).
165
-
166
- ## Why Use Solace Agent Mesh?
167
-
168
- Building production-ready AI applications presents unique challenges. While it's relatively easy to create AI prototypes, deploying them in enterprise environments requires solving complex problems around integration, scalability, and observability. The Solace Agent Mesh addresses these challenges through:
169
-
170
- - **Composable Architecture**: Start with a small number of agents and gateways. You can add more over time.
171
-
172
- - **Add Agents to Increase Capabilities**: Each new agent adds more capabilities to the system. Adding a new agent isn't additive - it is exponential. With each agent being able to enhance all other agents as they collaborate for more and more complex tasks.
173
-
174
- - **Add Gateways to Increase Use Cases**: Each new gateway opens up new use cases for the system. A new gateway can provide a new interface to the system, with a different system purpose and response rules.
175
- - **Event-Driven Design**: Built on proven event-driven architecture principles, providing complete decoupling of components. This makes the system highly flexible and resilient, while enabling real-time monitoring of every interaction.
176
-
177
- - **Enterprise-Ready**: Designed from the ground up for production deployments that incorporates the experience from Solace in building mission-critical distributed systems.
178
-
179
- ## Next Steps
180
-
181
- Check [Solace Agent Mesh Documentation](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/getting-started/introduction) to learn more about the Solace Agent Mesh.
182
-
183
- | | |
184
- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
185
- | [Components Overview](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/getting-started/component-overview) | Learn about the components that make up the Solace Agent Mesh. |
186
- | [Gateways](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/concepts/gateways) | Understand how gateways provide interfaces to the Solace Agent Mesh. |
187
- | [Agents](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/concepts/agents) | Explore the agents that provide specialized capabilities in the Solace Agent Mesh. |
188
- | [Services](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/concepts/services) | Learn about the services that facilitate interaction within the Solace Agent Mesh. |
189
- | [Plugins](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/concepts/plugins) | Discover the plugins that extend the functionality of the Solace Agent Mesh. |
190
-
191
- ## Contributing
192
-
193
- Contributions are encouraged! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
194
-
195
- You can report any issues by opening an issue on the GitHub repository.
196
-
197
- ## Authors
198
-
199
- See the list of [contributors](https://github.com/SolaceLabs/solace-agent-mesh/graphs/contributors) who participated in this project.
200
-
201
- ## Release Notes
202
-
203
- Check out the [CHANGELOG](CHANGELOG.md) for details on changes in each release.
204
-
205
- ## License
206
-
207
- The Solace Agent Mesh is licensed under the Apache-2.0 license.
208
-
209
- See the [LICENSE](LICENSE) file for details.