solace-agent-mesh 0.1.3__py3-none-any.whl → 0.2.1__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 (73) hide show
  1. solace_agent_mesh/agents/global/actions/plantuml_diagram.py +9 -2
  2. solace_agent_mesh/agents/global/actions/plotly_graph.py +70 -46
  3. solace_agent_mesh/agents/web_request/actions/do_web_request.py +34 -33
  4. solace_agent_mesh/cli/__init__.py +1 -1
  5. solace_agent_mesh/cli/commands/add/copy_from_plugin.py +8 -6
  6. solace_agent_mesh/cli/commands/add/gateway.py +162 -9
  7. solace_agent_mesh/cli/commands/build.py +15 -1
  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/create_config_file_step.py +8 -0
  11. solace_agent_mesh/cli/commands/init/create_other_project_files_step.py +52 -1
  12. solace_agent_mesh/cli/commands/init/init.py +50 -37
  13. solace_agent_mesh/cli/commands/plugin/build.py +60 -9
  14. solace_agent_mesh/cli/commands/run.py +2 -2
  15. solace_agent_mesh/cli/config.py +4 -0
  16. solace_agent_mesh/cli/main.py +14 -8
  17. solace_agent_mesh/cli/utils.py +7 -2
  18. solace_agent_mesh/common/constants.py +10 -0
  19. solace_agent_mesh/common/prompt_templates.py +1 -3
  20. solace_agent_mesh/common/utils.py +104 -30
  21. solace_agent_mesh/config_portal/__init__.py +0 -0
  22. solace_agent_mesh/config_portal/backend/__init__.py +0 -0
  23. solace_agent_mesh/config_portal/backend/common.py +35 -0
  24. solace_agent_mesh/config_portal/backend/server.py +233 -0
  25. solace_agent_mesh/config_portal/frontend/static/client/assets/_index-DRPGOzHj.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-8147e469.js +1 -0
  30. solace_agent_mesh/config_portal/frontend/static/client/assets/root-DgMDqKDc.js +10 -0
  31. solace_agent_mesh/config_portal/frontend/static/client/assets/root-hhS5izs8.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/configs/service_embedding.yaml +1 -1
  36. solace_agent_mesh/configs/service_llm.yaml +1 -1
  37. solace_agent_mesh/gateway/components/gateway_base.py +7 -1
  38. solace_agent_mesh/gateway/components/gateway_input.py +8 -5
  39. solace_agent_mesh/gateway/components/gateway_output.py +12 -3
  40. solace_agent_mesh/orchestrator/components/orchestrator_action_manager_timeout_component.py +4 -0
  41. solace_agent_mesh/orchestrator/components/orchestrator_stimulus_processor_component.py +43 -12
  42. solace_agent_mesh/orchestrator/components/orchestrator_streaming_output_component.py +19 -5
  43. solace_agent_mesh/orchestrator/orchestrator_main.py +11 -5
  44. solace_agent_mesh/orchestrator/orchestrator_prompt.py +184 -60
  45. solace_agent_mesh/services/file_service/file_service.py +5 -0
  46. solace_agent_mesh/services/file_service/file_service_constants.py +1 -1
  47. solace_agent_mesh/services/file_service/file_transformations.py +11 -1
  48. solace_agent_mesh/services/file_service/file_utils.py +2 -0
  49. solace_agent_mesh/services/history_service/history_providers/base_history_provider.py +21 -46
  50. solace_agent_mesh/services/history_service/history_providers/file_history_provider.py +74 -0
  51. solace_agent_mesh/services/history_service/history_providers/index.py +40 -0
  52. solace_agent_mesh/services/history_service/history_providers/memory_history_provider.py +19 -156
  53. solace_agent_mesh/services/history_service/history_providers/mongodb_history_provider.py +66 -0
  54. solace_agent_mesh/services/history_service/history_providers/redis_history_provider.py +40 -140
  55. solace_agent_mesh/services/history_service/history_providers/sql_history_provider.py +93 -0
  56. solace_agent_mesh/services/history_service/history_service.py +315 -41
  57. solace_agent_mesh/services/history_service/long_term_memory/__init__.py +0 -0
  58. solace_agent_mesh/services/history_service/long_term_memory/long_term_memory.py +399 -0
  59. solace_agent_mesh/services/llm_service/components/llm_request_component.py +19 -0
  60. solace_agent_mesh/templates/gateway-config-template.yaml +2 -1
  61. solace_agent_mesh/templates/gateway-default-config.yaml +3 -3
  62. solace_agent_mesh/templates/plugin-gateway-default-config.yaml +29 -0
  63. solace_agent_mesh/templates/rest-api-default-config.yaml +2 -1
  64. solace_agent_mesh/templates/slack-default-config.yaml +1 -1
  65. solace_agent_mesh/templates/solace-agent-mesh-default.yaml +9 -0
  66. solace_agent_mesh/templates/web-default-config.yaml +2 -1
  67. solace_agent_mesh-0.2.1.dist-info/METADATA +172 -0
  68. {solace_agent_mesh-0.1.3.dist-info → solace_agent_mesh-0.2.1.dist-info}/RECORD +71 -52
  69. solace_agent_mesh/common/prompt_templates_unused_delete.py +0 -161
  70. solace_agent_mesh-0.1.3.dist-info/METADATA +0 -208
  71. {solace_agent_mesh-0.1.3.dist-info → solace_agent_mesh-0.2.1.dist-info}/WHEEL +0 -0
  72. {solace_agent_mesh-0.1.3.dist-info → solace_agent_mesh-0.2.1.dist-info}/entry_points.txt +0 -0
  73. {solace_agent_mesh-0.1.3.dist-info → solace_agent_mesh-0.2.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,208 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: solace-agent-mesh
3
- Version: 0.1.3
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
- Requires-Python: >=3.11
16
- Requires-Dist: azure-identity~=1.17.1
17
- Requires-Dist: beautifulsoup4~=4.12.3
18
- Requires-Dist: boto3~=1.34.122
19
- Requires-Dist: build~=1.2.2.post1
20
- Requires-Dist: click~=8.1.7
21
- Requires-Dist: duckduckgo-search~=6.3.7
22
- Requires-Dist: flask-socketio~=5.4.1
23
- Requires-Dist: flask~=3.0.3
24
- Requires-Dist: html2text~=2024.2.26
25
- Requires-Dist: jq~=1.8.0
26
- Requires-Dist: kaleido~=0.1.0.post1; sys_platform == 'win32'
27
- Requires-Dist: kaleido~=0.2.1; sys_platform != 'win32'
28
- Requires-Dist: langchain-core~=0.3.0
29
- Requires-Dist: langchain~=0.3.0
30
- Requires-Dist: litellm~=1.51.3
31
- Requires-Dist: markitdown~=0.0.1a3
32
- Requires-Dist: microsoft-kiota-abstractions==1.9.0
33
- Requires-Dist: microsoft-kiota-authentication-azure==1.9.0
34
- Requires-Dist: microsoft-kiota-http==1.9.0
35
- Requires-Dist: microsoft-kiota-serialization-form==1.9.0
36
- Requires-Dist: microsoft-kiota-serialization-json==1.9.0
37
- Requires-Dist: microsoft-kiota-serialization-multipart==1.9.0
38
- Requires-Dist: microsoft-kiota-serialization-text==1.9.0
39
- Requires-Dist: msgraph-core~=1.1.2
40
- Requires-Dist: msgraph-sdk~=1.5.4
41
- Requires-Dist: mysql-connector-repackaged==0.3.1
42
- Requires-Dist: plotly~=5.24.1
43
- Requires-Dist: pyperclip~=1.9.0
44
- Requires-Dist: pytest-cov~=5.0.0
45
- Requires-Dist: pytest~=8.3.1
46
- Requires-Dist: python-dateutil==2.9.0.post0
47
- Requires-Dist: pyyaml~=6.0.1
48
- Requires-Dist: requests~=2.32.3
49
- Requires-Dist: ruamel-yaml~=0.18.6
50
- Requires-Dist: solace-ai-connector-rest~=0.0.2
51
- Requires-Dist: solace-ai-connector-slack~=0.0.1
52
- Requires-Dist: solace-ai-connector-web~=0.2.0
53
- Requires-Dist: solace-ai-connector~=1.0.2
54
- Requires-Dist: solace-pubsubplus~=1.9.0
55
- Description-Content-Type: text/markdown
56
-
57
- # Solace Agent Mesh
58
-
59
- [![License](https://img.shields.io/github/license/SolaceLabs/solace-agent-mesh)](https://github.com/SolaceLabs/solace-agent-mesh/blob/main/LICENSE)
60
- [![GitHub issues](https://img.shields.io/github/issues/SolaceLabs/solace-agent-mesh?color=red)](https://github.com/SolaceLabs/solace-agent-mesh/issues)
61
- [![GitHub pull requests](https://img.shields.io/github/issues-pr/SolaceLabs/solace-agent-mesh?color=red)](https://github.com/SolaceLabs/solace-agent-mesh/pulls)
62
- [![GitHub stars](https://img.shields.io/github/stars/SolaceLabs/solace-agent-mesh?style=social)](https://github.com/SolaceLabs/solace-agent-mesh/stargazers)
63
- [![PyPI - Version](https://img.shields.io/pypi/v/solace-agent-mesh.svg)](https://pypi.org/project/solace-agent-mesh)
64
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/solace-agent-mesh.svg)](https://pypi.org/project/solace-agent-mesh)
65
-
66
- - [Solace Agent Mesh](#solace-agent-mesh)
67
- * [Installation](#installation)
68
- * [Quick Start](#quick-start)
69
- * [Why Use Solace Agent Mesh?](#why-use-solace-agent-mesh)
70
- * [Next Steps](#next-steps)
71
- * [Contributing](#contributing)
72
- * [Authors](#authors)
73
- * [Release Notes](#release-notes)
74
- * [License](#license)
75
-
76
- 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:
77
-
78
- - Connect AI agents to real-world data sources and systems.
79
- - Add SAM Gateways to provide event-based integrations or interactive UI connections.
80
- - Monitor and debug AI interactions in real-time.
81
- - Deploy solutions that scale from prototype to production.
82
-
83
- 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.
84
-
85
- Built on event-driven architecture technology from Solace, SAM provides the robust foundation needed for both experimental and production deployments.
86
-
87
- ![Solace Agent Mesh Overview](./docs/static/img/Solace_AI_Framework_With_Broker.png)
88
-
89
- ## Installation
90
-
91
- 1. [Optional] Set up Python Virtual Environment using `virtualenv` and activate it
92
-
93
- ```sh
94
- ## Install virtualenv if not already installed
95
- python3 -m pip install --user virtualenv
96
- ## Setup python virtual environment
97
- python3 -m venv venv
98
- ## Activate virtual environment:
99
- ### MacOS/Linux:
100
- source venv/bin/activate
101
- ### Windows:
102
- venv/Scripts/activate
103
- ```
104
-
105
- 2. The following command installs the Solace Agent Mesh CLI in your environment:
106
-
107
- ```sh
108
- pip install solace-agent-mesh
109
- ```
110
-
111
- 3. Run the following SAM CLI command (`solace-agent-mesh` or `sam`) to verify your installation:
112
-
113
- ```sh
114
- solace-agent-mesh --version
115
- ```
116
-
117
- ## Quick Start
118
-
119
- To get started with Solace Agent Mesh, follow these steps:
120
-
121
- 1. **Install the CLI**: Ensure `solace-agent-mesh` is installed.
122
- 2. **Create a Project**:
123
- Follow the prompts to create your project.
124
-
125
- ```sh
126
- mkdir my-agent-mesh && cd my-agent-mesh
127
- solace-agent-mesh init
128
- ```
129
-
130
- _Enable the REST API interface when prompted._
131
-
132
- 3. **Build the Project**:
133
-
134
- ```sh
135
- solace-agent-mesh build
136
- ```
137
-
138
- 4. **Run the Project**:
139
-
140
- ```sh
141
- solace-agent-mesh run -e
142
- ```
143
-
144
- _(Use `-eb` to combine build and run steps.)_
145
-
146
- 5. **Connect to the Web Interface**:
147
-
148
- Open the web interface at [http://localhost:5001](http://localhost:5001) or with the port specified during `init`.
149
-
150
- 6. **Send a REST Request**:
151
-
152
- Try the system by sending a request to the REST API gateway interface.
153
-
154
- ```sh
155
- curl --location 'http://localhost:5050/api/v1/request' \
156
- --header 'Authorization: Bearer None' \
157
- --form 'prompt="What is the capital of France?"' \
158
- --form 'stream="false"'
159
- ```
160
-
161
- 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.
162
-
163
- For full details, see the [Quick Start Guide](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/getting-started/quick-start).
164
-
165
- ## Why Use Solace Agent Mesh?
166
-
167
- 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:
168
-
169
- - **Composable Architecture**: Start with a small number of agents and gateways. You can add more over time.
170
-
171
- - **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.
172
-
173
- - **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.
174
- - **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.
175
-
176
- - **Enterprise-Ready**: Designed from the ground up for production deployments that incorporates the experience from Solace in building mission-critical distributed systems.
177
-
178
- ## Next Steps
179
-
180
- 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.
181
-
182
- | | |
183
- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
184
- | [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. |
185
- | [Gateways](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/concepts/gateways) | Understand how gateways provide interfaces to the Solace Agent Mesh. |
186
- | [Agents](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/concepts/agents) | Explore the agents that provide specialized capabilities in the Solace Agent Mesh. |
187
- | [Services](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/concepts/services) | Learn about the services that facilitate interaction within the Solace Agent Mesh. |
188
- | [Plugins](https://solacelabs.github.io/solace-agent-mesh/docs/documentation/concepts/plugins) | Discover the plugins that extend the functionality of the Solace Agent Mesh. |
189
-
190
- ## Contributing
191
-
192
- 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.
193
-
194
- You can report any issues by opening an issue on the GitHub repository.
195
-
196
- ## Authors
197
-
198
- See the list of [contributors](https://github.com/SolaceLabs/solace-agent-mesh/graphs/contributors) who participated in this project.
199
-
200
- ## Release Notes
201
-
202
- Check out the [CHANGELOG](CHANGELOG.md) for details on changes in each release.
203
-
204
- ## License
205
-
206
- The Solace Agent Mesh is licensed under the Apache-2.0 license.
207
-
208
- See the [LICENSE](LICENSE) file for details.