sam-link-sdk 0.1.0__tar.gz
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.
- sam_link_sdk-0.1.0/.gitignore +13 -0
- sam_link_sdk-0.1.0/CHANGELOG.md +32 -0
- sam_link_sdk-0.1.0/LICENSE +202 -0
- sam_link_sdk-0.1.0/PKG-INFO +183 -0
- sam_link_sdk-0.1.0/README.md +126 -0
- sam_link_sdk-0.1.0/pyproject.toml +179 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/__init__.py +67 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/_adapter.py +774 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/_drift.py +98 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/_frameworks.py +30 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/_health.py +21 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/_model.py +421 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/_run.py +490 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/_util.py +142 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/adk/__init__.py +65 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/adk/peer_tools.py +75 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/adk/run.py +175 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/adk/steps.py +270 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/adk/stop.py +39 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/adk/tools.py +246 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/agent.py +364 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/agent_framework/__init__.py +49 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/agent_framework/peer_tools.py +33 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/agent_framework/run.py +102 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/agent_framework/steps.py +505 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/agent_framework/stop.py +63 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/agent_framework/tools.py +189 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/agentcore.py +100 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/audit.py +145 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/captext.py +44 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/cli.py +69 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/config.py +135 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/context.py +367 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/crewai/__init__.py +63 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/crewai/peer_tools.py +58 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/crewai/run.py +245 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/crewai/steps.py +549 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/crewai/stop.py +106 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/crewai/tools.py +255 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/delegation.py +58 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/events.py +85 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/foundry.py +73 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/hermes/__init__.py +24 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/hermes/peer_tools.py +93 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/hermes/run.py +317 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/hermes/steps.py +535 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/hermes/stop.py +122 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/hermes/tools.py +60 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/hosted.py +37 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/ids.py +23 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/langchain/__init__.py +76 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/langchain/peer_tools.py +35 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/langchain/run.py +247 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/langchain/steps.py +309 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/langchain/stop.py +45 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/langchain/tools.py +175 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/limits.py +57 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/link/__init__.py +40 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/link/config.py +188 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/link/connection.py +724 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/link/describer.py +210 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/link/giveback.py +37 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/link/transport.py +1404 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/link/usage_ledger.py +217 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/link/v2.py +919 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/llm_errors.py +226 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/memory.py +104 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/metrics.py +150 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/openai_agents/__init__.py +78 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/openai_agents/peer_tools.py +34 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/openai_agents/run.py +141 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/openai_agents/steps.py +496 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/openai_agents/stop.py +37 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/openai_agents/tools.py +159 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/otel_steps.py +598 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/prompting.py +128 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/py.typed +0 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/redact.py +466 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/request_context.py +35 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/serverless.py +134 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/stop.py +393 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/strands/__init__.py +63 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/strands/peer_tools.py +33 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/strands/run.py +114 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/strands/steps.py +342 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/strands/stop.py +38 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/strands/tools.py +144 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/tasks.py +631 -0
- sam_link_sdk-0.1.0/src/sam_link_sdk/usage.py +149 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `sam-link-sdk`, the Solace Agent Mesh Link SDK, are listed here.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project follows
|
|
6
|
+
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). While it is in `0.x`, a breaking change bumps the minor
|
|
7
|
+
version (`0.1 -> 0.2`), not the patch. A release renames the Unreleased section to `## [X.Y.Z] - YYYY-MM-DD`.
|
|
8
|
+
|
|
9
|
+
## Unreleased
|
|
10
|
+
|
|
11
|
+
## [0.1.0] - 2026-11-25
|
|
12
|
+
|
|
13
|
+
The first public release, in Early Access: the API can change in any release, and this file lists each change.
|
|
14
|
+
|
|
15
|
+
- Join a running Solace Agent Mesh as a first-class agent over one WebSocket, the link: `MeshAgent`, `AgentConfig`,
|
|
16
|
+
`TaskContext`.
|
|
17
|
+
- Adapters for LangChain, LangGraph, the OpenAI Agents SDK, Google ADK, CrewAI, Strands Agents, Microsoft Agent Framework
|
|
18
|
+
and Hermes Agent, and an adapter for any framework that emits OpenTelemetry GenAI spans. Each reports model and tool
|
|
19
|
+
steps, token usage and the audit trail, enforces per-tool scopes and tool approvals, and streams the answer.
|
|
20
|
+
- Request-driven runtimes: Azure AI Foundry hosted agents and Amazon Bedrock AgentCore.
|
|
21
|
+
- The `sam-link-sdk link-token` command, which issues an agent's token and prints the digest SAM's configuration takes.
|
|
22
|
+
- An agent whose `AgentConfig.framework` is empty is described as built with the framework of the one sam_link_sdk
|
|
23
|
+
adapter its process imported (`LangChain`, `CrewAI`, `Google ADK`, `OpenAI Agents SDK`, `Strands Agents`,
|
|
24
|
+
`Microsoft Agent Framework` or `Hermes Agent`), so SAM shows what an agent built with a single adapter is built with.
|
|
25
|
+
A framework the author names still wins; with no adapter, or adapters for more than one framework, it stays unnamed.
|
|
26
|
+
- `start()` fails with `DescriptionTooLong` (from `sam_link_sdk.link`) when the agent's description is over 4096 bytes,
|
|
27
|
+
it has more than 32 skills, or a skill's name is over 256 bytes or its description over 1024, held to the limits SAM
|
|
28
|
+
announces. SAM refuses such a description and gives the agent no task.
|
|
29
|
+
- A connection answered with HTTP 503 is tried again after the answer's `Retry-After`, so an agent behind a plain load
|
|
30
|
+
balancer reaches the replica of a multi-replica SAM that serves agent links. A connect that gives up raises
|
|
31
|
+
`LinkUnavailable` (a `LinkError` from `sam_link_sdk.link`, carrying `retry_after`).
|
|
32
|
+
- `run_forever()` also serves on a loop that cannot handle signals (on Windows, or off the main thread).
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: sam-link-sdk
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Solace Agent Mesh Link SDK: lets agents built with other frameworks join a Solace Agent Mesh as first-class agents
|
|
5
|
+
Project-URL: Homepage, https://github.com/SolaceProducts/solace-agent-mesh
|
|
6
|
+
Project-URL: Repository, https://github.com/SolaceProducts/solace-agent-mesh
|
|
7
|
+
Project-URL: Community, https://community.solace.com/c/solace-agent-mesh
|
|
8
|
+
Project-URL: Documentation, https://github.com/SolaceProducts/solace-agent-mesh/tree/main/python/sam-link-sdk/docs
|
|
9
|
+
Project-URL: Changelog, https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/CHANGELOG.md
|
|
10
|
+
Author: Solace Corporation
|
|
11
|
+
Maintainer: Solace Corporation
|
|
12
|
+
License-Expression: Apache-2.0
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Keywords: a2a,adk,agent-framework,agent-mesh,agents,crewai,langchain,langgraph,openai-agents,opentelemetry,solace,strands
|
|
15
|
+
Classifier: Development Status :: 3 - Alpha
|
|
16
|
+
Classifier: Framework :: AsyncIO
|
|
17
|
+
Classifier: Intended Audience :: Developers
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
25
|
+
Classifier: Typing :: Typed
|
|
26
|
+
Requires-Python: >=3.11
|
|
27
|
+
Requires-Dist: websockets>=13
|
|
28
|
+
Provides-Extra: adk
|
|
29
|
+
Requires-Dist: google-adk>=2.14.1; extra == 'adk'
|
|
30
|
+
Requires-Dist: litellm>=1.60; extra == 'adk'
|
|
31
|
+
Provides-Extra: agent-framework
|
|
32
|
+
Requires-Dist: agent-framework-core>=1.22.0; extra == 'agent-framework'
|
|
33
|
+
Requires-Dist: agent-framework-openai>=1.17; extra == 'agent-framework'
|
|
34
|
+
Provides-Extra: agentcore
|
|
35
|
+
Requires-Dist: bedrock-agentcore>=1.25; extra == 'agentcore'
|
|
36
|
+
Requires-Dist: boto3>=1.40; extra == 'agentcore'
|
|
37
|
+
Provides-Extra: crewai
|
|
38
|
+
Requires-Dist: crewai>=1.15.27; extra == 'crewai'
|
|
39
|
+
Provides-Extra: foundry
|
|
40
|
+
Requires-Dist: azure-ai-agentserver-invocations>=1.1.0; extra == 'foundry'
|
|
41
|
+
Provides-Extra: langchain
|
|
42
|
+
Requires-Dist: langchain-core>=1.6.9; extra == 'langchain'
|
|
43
|
+
Provides-Extra: langgraph
|
|
44
|
+
Requires-Dist: langchain-core>=1.6.9; extra == 'langgraph'
|
|
45
|
+
Requires-Dist: langgraph>=1.2.14; extra == 'langgraph'
|
|
46
|
+
Provides-Extra: openai
|
|
47
|
+
Requires-Dist: langchain-core>=1.6.9; extra == 'openai'
|
|
48
|
+
Requires-Dist: langchain-openai>=1.7; extra == 'openai'
|
|
49
|
+
Provides-Extra: openai-agents
|
|
50
|
+
Requires-Dist: openai-agents>=0.20.0; extra == 'openai-agents'
|
|
51
|
+
Provides-Extra: otel
|
|
52
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.45.2; extra == 'otel'
|
|
53
|
+
Requires-Dist: opentelemetry-sdk>=1.45.2; extra == 'otel'
|
|
54
|
+
Provides-Extra: strands
|
|
55
|
+
Requires-Dist: strands-agents[openai]>=1.61.1; extra == 'strands'
|
|
56
|
+
Description-Content-Type: text/markdown
|
|
57
|
+
|
|
58
|
+
# Solace Agent Mesh Link SDK
|
|
59
|
+
|
|
60
|
+
Status: **Early Access**, version 0.1.0. The API can change in any release, and [CHANGELOG.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/CHANGELOG.md) lists each
|
|
61
|
+
change. Apache 2.0, part of the [Solace Agent Mesh](https://solace.com/products/agent-mesh/) (SAM) project.
|
|
62
|
+
|
|
63
|
+
`sam-link-sdk` lets an agent you wrote in Python join a running Solace Agent Mesh as a first-class agent. Write a handler,
|
|
64
|
+
or use LangChain, LangGraph, the OpenAI Agents SDK, Google ADK, CrewAI, Strands Agents, Microsoft Agent Framework, Hermes
|
|
65
|
+
Agent, or any framework that emits OpenTelemetry GenAI spans. The agent connects to SAM over one WebSocket, the link. It
|
|
66
|
+
then appears in SAM's agent list, can be chatted with from the web UI, shows its model and tool steps in the Activity
|
|
67
|
+
Monitor, reports token usage to SAM's analytics, and is governed by SAM: required scopes, tool approvals and the audit
|
|
68
|
+
trail. The SDK does not run a mesh of its own.
|
|
69
|
+
|
|
70
|
+
## Install
|
|
71
|
+
|
|
72
|
+
Python 3.11 or later. The base install is the core and the link and needs only `websockets`; each framework has an extra
|
|
73
|
+
([pick your framework](#pick-your-framework)).
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
pip install sam-link-sdk
|
|
77
|
+
pip install "sam-link-sdk[langchain]"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Quick start
|
|
81
|
+
|
|
82
|
+
You need a SAM with the `agent_link` app enabled and its URL ([what that is](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/agent-link.md#what-you-need); on a
|
|
83
|
+
shared SAM it is the administrator's step), and SAM's `sam` command line client to try the agent.
|
|
84
|
+
[Agent Mesh Desktop](https://github.com/SolaceProducts/solace-agent-mesh#installing-agent-mesh-desktop) gives you both on
|
|
85
|
+
your own computer.
|
|
86
|
+
|
|
87
|
+
1. Issue the agent's token. The command writes it to the file and prints its SHA-256 digest:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
sam-link-sdk link-token --out claims-triage.link-token
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
2. Register the agent in SAM: add `claims-triage` and the digest to the `agent_link` app's configuration and restart SAM
|
|
94
|
+
([the configuration](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/agent-link.md#configure-sam)).
|
|
95
|
+
|
|
96
|
+
3. Point the agent at SAM:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
export SAM_LINK_URL=wss://<sam-host>/gw/<gateway_id>/v1/connect
|
|
100
|
+
export SAM_LINK_TOKEN_FILE=$PWD/claims-triage.link-token
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Use `ws://localhost:8800/gw/agent-link/v1/connect` for a SAM on your own machine over plain HTTP (8800 is the port of SAM's web UI).
|
|
104
|
+
|
|
105
|
+
4. Save this as `agent.py` and run `python agent.py`. It needs no model:
|
|
106
|
+
|
|
107
|
+
```python
|
|
108
|
+
import asyncio
|
|
109
|
+
import logging
|
|
110
|
+
|
|
111
|
+
from sam_link_sdk import AgentConfig, MeshAgent, TaskContext
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
async def handle(ctx: TaskContext) -> str:
|
|
115
|
+
await ctx.progress("Looking the claim up")
|
|
116
|
+
return f"Received: {ctx.text}"
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
async def main() -> None:
|
|
120
|
+
logging.basicConfig(level=logging.INFO)
|
|
121
|
+
config = AgentConfig(name="claims-triage", description="Triages insurance claims")
|
|
122
|
+
await MeshAgent(config, handle).run_forever()
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
if __name__ == "__main__":
|
|
126
|
+
asyncio.run(main())
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
The log shows `agent link open agent=claims-triage ... protocol=2` and `agent started`. Check that SAM lists the agent,
|
|
130
|
+
then send it a task:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
curl -s https://<sam-host>/api/v1/agentCards | jq '.data[].name'
|
|
134
|
+
sam task send "Triage claim P-1182" --agent claims-triage --url https://<sam-host>
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
The reply is `Received: Triage claim P-1182`. Or pick the agent in the web UI's chat. If it does not join,
|
|
138
|
+
[docs/agent-link.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/agent-link.md#when-the-agent-does-not-join) lists what the log says and what to change.
|
|
139
|
+
|
|
140
|
+
## Pick your framework
|
|
141
|
+
|
|
142
|
+
Each page starts with a short agent you can run, and every adapter shares the same names
|
|
143
|
+
([docs/frameworks/README.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/README.md)). The LangChain agent, for example, is this handler in place of
|
|
144
|
+
the one above (`pip install "sam-link-sdk[openai]"`, and set
|
|
145
|
+
`OPENAI_API_KEY`):
|
|
146
|
+
|
|
147
|
+
```python
|
|
148
|
+
async def handle(ctx: TaskContext) -> str:
|
|
149
|
+
return await run_agent(ctx, model, [lookup_policy], system_prompt="You triage insurance claims.")
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
with `model = ChatOpenAI(model="gpt-4o-mini", stream_usage=True)`. On an OpenAI-compatible endpoint (a LiteLLM proxy, a
|
|
153
|
+
local server), `stream_usage=True` is what makes SAM's token analytics show real counts instead of zero. The full
|
|
154
|
+
runnable file is [docs/frameworks/langchain.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/langchain.md#minimal-agent).
|
|
155
|
+
|
|
156
|
+
| Framework | Extra | Minimum version |
|
|
157
|
+
|---|---|---|
|
|
158
|
+
| [LangChain](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/langchain.md) | `langchain` (`openai` adds `langchain-openai`) | langchain-core 1.6.9 |
|
|
159
|
+
| [LangGraph](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/langchain.md) | `langgraph` | langgraph 1.2.14 |
|
|
160
|
+
| [OpenAI Agents SDK](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/openai-agents.md) | `openai-agents` | openai-agents 0.20.0 |
|
|
161
|
+
| [Google ADK](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/adk.md) | `adk` | google-adk 2.14.1 |
|
|
162
|
+
| [CrewAI](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/crewai.md) | `crewai` | crewai 1.15.27 |
|
|
163
|
+
| [Strands Agents](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/strands.md) | `strands` | strands-agents 1.61.1 |
|
|
164
|
+
| [Microsoft Agent Framework](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/agent-framework.md) | `agent-framework` | agent-framework-core 1.22.0 |
|
|
165
|
+
| [OpenTelemetry GenAI spans](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/opentelemetry.md), for any other framework | `otel` | opentelemetry-sdk 1.45.2 |
|
|
166
|
+
| [Hermes Agent](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/hermes.md) (experimental, no extra) | | a checkout, Python 3.14 |
|
|
167
|
+
|
|
168
|
+
The extras `foundry` and `agentcore` are for request-driven runtimes ([docs/serverless.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/serverless.md)).
|
|
169
|
+
|
|
170
|
+
## Documentation
|
|
171
|
+
|
|
172
|
+
[docs/README.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/README.md) has a list of tasks ("I want to add tools, ask the user, call another agent, limit
|
|
173
|
+
cost, deploy serverless") and a short glossary. Working on the SDK itself: [CONTRIBUTING.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/CONTRIBUTING.md).
|
|
174
|
+
|
|
175
|
+
## Getting help
|
|
176
|
+
|
|
177
|
+
- Bugs: email [support@solace.com](mailto:support@solace.com).
|
|
178
|
+
- Feature requests, questions and discussion: [Solace Community](https://community.solace.com/c/solace-agent-mesh).
|
|
179
|
+
- Security vulnerabilities: email [support@solace.com](mailto:support@solace.com) ([SECURITY.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/SECURITY.md)).
|
|
180
|
+
|
|
181
|
+
## Licence
|
|
182
|
+
|
|
183
|
+
Apache License 2.0, in [LICENSE](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/LICENSE).
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# Solace Agent Mesh Link SDK
|
|
2
|
+
|
|
3
|
+
Status: **Early Access**, version 0.1.0. The API can change in any release, and [CHANGELOG.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/CHANGELOG.md) lists each
|
|
4
|
+
change. Apache 2.0, part of the [Solace Agent Mesh](https://solace.com/products/agent-mesh/) (SAM) project.
|
|
5
|
+
|
|
6
|
+
`sam-link-sdk` lets an agent you wrote in Python join a running Solace Agent Mesh as a first-class agent. Write a handler,
|
|
7
|
+
or use LangChain, LangGraph, the OpenAI Agents SDK, Google ADK, CrewAI, Strands Agents, Microsoft Agent Framework, Hermes
|
|
8
|
+
Agent, or any framework that emits OpenTelemetry GenAI spans. The agent connects to SAM over one WebSocket, the link. It
|
|
9
|
+
then appears in SAM's agent list, can be chatted with from the web UI, shows its model and tool steps in the Activity
|
|
10
|
+
Monitor, reports token usage to SAM's analytics, and is governed by SAM: required scopes, tool approvals and the audit
|
|
11
|
+
trail. The SDK does not run a mesh of its own.
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
Python 3.11 or later. The base install is the core and the link and needs only `websockets`; each framework has an extra
|
|
16
|
+
([pick your framework](#pick-your-framework)).
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pip install sam-link-sdk
|
|
20
|
+
pip install "sam-link-sdk[langchain]"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Quick start
|
|
24
|
+
|
|
25
|
+
You need a SAM with the `agent_link` app enabled and its URL ([what that is](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/agent-link.md#what-you-need); on a
|
|
26
|
+
shared SAM it is the administrator's step), and SAM's `sam` command line client to try the agent.
|
|
27
|
+
[Agent Mesh Desktop](https://github.com/SolaceProducts/solace-agent-mesh#installing-agent-mesh-desktop) gives you both on
|
|
28
|
+
your own computer.
|
|
29
|
+
|
|
30
|
+
1. Issue the agent's token. The command writes it to the file and prints its SHA-256 digest:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
sam-link-sdk link-token --out claims-triage.link-token
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
2. Register the agent in SAM: add `claims-triage` and the digest to the `agent_link` app's configuration and restart SAM
|
|
37
|
+
([the configuration](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/agent-link.md#configure-sam)).
|
|
38
|
+
|
|
39
|
+
3. Point the agent at SAM:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
export SAM_LINK_URL=wss://<sam-host>/gw/<gateway_id>/v1/connect
|
|
43
|
+
export SAM_LINK_TOKEN_FILE=$PWD/claims-triage.link-token
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Use `ws://localhost:8800/gw/agent-link/v1/connect` for a SAM on your own machine over plain HTTP (8800 is the port of SAM's web UI).
|
|
47
|
+
|
|
48
|
+
4. Save this as `agent.py` and run `python agent.py`. It needs no model:
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
import asyncio
|
|
52
|
+
import logging
|
|
53
|
+
|
|
54
|
+
from sam_link_sdk import AgentConfig, MeshAgent, TaskContext
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
async def handle(ctx: TaskContext) -> str:
|
|
58
|
+
await ctx.progress("Looking the claim up")
|
|
59
|
+
return f"Received: {ctx.text}"
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
async def main() -> None:
|
|
63
|
+
logging.basicConfig(level=logging.INFO)
|
|
64
|
+
config = AgentConfig(name="claims-triage", description="Triages insurance claims")
|
|
65
|
+
await MeshAgent(config, handle).run_forever()
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
if __name__ == "__main__":
|
|
69
|
+
asyncio.run(main())
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
The log shows `agent link open agent=claims-triage ... protocol=2` and `agent started`. Check that SAM lists the agent,
|
|
73
|
+
then send it a task:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
curl -s https://<sam-host>/api/v1/agentCards | jq '.data[].name'
|
|
77
|
+
sam task send "Triage claim P-1182" --agent claims-triage --url https://<sam-host>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
The reply is `Received: Triage claim P-1182`. Or pick the agent in the web UI's chat. If it does not join,
|
|
81
|
+
[docs/agent-link.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/agent-link.md#when-the-agent-does-not-join) lists what the log says and what to change.
|
|
82
|
+
|
|
83
|
+
## Pick your framework
|
|
84
|
+
|
|
85
|
+
Each page starts with a short agent you can run, and every adapter shares the same names
|
|
86
|
+
([docs/frameworks/README.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/README.md)). The LangChain agent, for example, is this handler in place of
|
|
87
|
+
the one above (`pip install "sam-link-sdk[openai]"`, and set
|
|
88
|
+
`OPENAI_API_KEY`):
|
|
89
|
+
|
|
90
|
+
```python
|
|
91
|
+
async def handle(ctx: TaskContext) -> str:
|
|
92
|
+
return await run_agent(ctx, model, [lookup_policy], system_prompt="You triage insurance claims.")
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
with `model = ChatOpenAI(model="gpt-4o-mini", stream_usage=True)`. On an OpenAI-compatible endpoint (a LiteLLM proxy, a
|
|
96
|
+
local server), `stream_usage=True` is what makes SAM's token analytics show real counts instead of zero. The full
|
|
97
|
+
runnable file is [docs/frameworks/langchain.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/langchain.md#minimal-agent).
|
|
98
|
+
|
|
99
|
+
| Framework | Extra | Minimum version |
|
|
100
|
+
|---|---|---|
|
|
101
|
+
| [LangChain](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/langchain.md) | `langchain` (`openai` adds `langchain-openai`) | langchain-core 1.6.9 |
|
|
102
|
+
| [LangGraph](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/langchain.md) | `langgraph` | langgraph 1.2.14 |
|
|
103
|
+
| [OpenAI Agents SDK](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/openai-agents.md) | `openai-agents` | openai-agents 0.20.0 |
|
|
104
|
+
| [Google ADK](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/adk.md) | `adk` | google-adk 2.14.1 |
|
|
105
|
+
| [CrewAI](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/crewai.md) | `crewai` | crewai 1.15.27 |
|
|
106
|
+
| [Strands Agents](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/strands.md) | `strands` | strands-agents 1.61.1 |
|
|
107
|
+
| [Microsoft Agent Framework](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/agent-framework.md) | `agent-framework` | agent-framework-core 1.22.0 |
|
|
108
|
+
| [OpenTelemetry GenAI spans](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/opentelemetry.md), for any other framework | `otel` | opentelemetry-sdk 1.45.2 |
|
|
109
|
+
| [Hermes Agent](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/frameworks/hermes.md) (experimental, no extra) | | a checkout, Python 3.14 |
|
|
110
|
+
|
|
111
|
+
The extras `foundry` and `agentcore` are for request-driven runtimes ([docs/serverless.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/serverless.md)).
|
|
112
|
+
|
|
113
|
+
## Documentation
|
|
114
|
+
|
|
115
|
+
[docs/README.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/docs/README.md) has a list of tasks ("I want to add tools, ask the user, call another agent, limit
|
|
116
|
+
cost, deploy serverless") and a short glossary. Working on the SDK itself: [CONTRIBUTING.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/CONTRIBUTING.md).
|
|
117
|
+
|
|
118
|
+
## Getting help
|
|
119
|
+
|
|
120
|
+
- Bugs: email [support@solace.com](mailto:support@solace.com).
|
|
121
|
+
- Feature requests, questions and discussion: [Solace Community](https://community.solace.com/c/solace-agent-mesh).
|
|
122
|
+
- Security vulnerabilities: email [support@solace.com](mailto:support@solace.com) ([SECURITY.md](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/SECURITY.md)).
|
|
123
|
+
|
|
124
|
+
## Licence
|
|
125
|
+
|
|
126
|
+
Apache License 2.0, in [LICENSE](https://github.com/SolaceProducts/solace-agent-mesh/blob/main/python/sam-link-sdk/LICENSE).
|