agentmesh-platform 1.0.0a1__py3-none-any.whl → 1.0.0a2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentmesh-platform
3
- Version: 1.0.0a1
3
+ Version: 1.0.0a2
4
4
  Summary: The Secure Nervous System for Cloud-Native Agent Ecosystems - Identity, Trust, Reward, Governance
5
5
  Project-URL: Homepage, https://github.com/imran-siddique/agent-mesh
6
6
  Project-URL: Documentation, https://github.com/imran-siddique/agent-mesh#readme
@@ -23,16 +23,28 @@ Classifier: Topic :: Security :: Cryptography
23
23
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
24
  Classifier: Topic :: System :: Systems Administration :: Authentication/Directory
25
25
  Requires-Python: >=3.11
26
- Requires-Dist: agent-os-kernel[iatp,nexus]>=1.2.0
27
26
  Requires-Dist: aiohttp>=3.9.0
28
27
  Requires-Dist: click>=8.1.0
29
28
  Requires-Dist: cryptography>=42.0.0
30
29
  Requires-Dist: httpx>=0.26.0
31
- Requires-Dist: pydantic>=2.5.0
30
+ Requires-Dist: pydantic[email]>=2.5.0
32
31
  Requires-Dist: pynacl>=1.5.0
33
32
  Requires-Dist: pyyaml>=6.0
34
33
  Requires-Dist: rich>=13.0.0
35
34
  Requires-Dist: structlog>=24.1.0
35
+ Provides-Extra: agent-os
36
+ Requires-Dist: agent-os-kernel[iatp,nexus]>=1.2.0; extra == 'agent-os'
37
+ Provides-Extra: all
38
+ Requires-Dist: asyncpg>=0.29.0; extra == 'all'
39
+ Requires-Dist: fastapi>=0.109.0; extra == 'all'
40
+ Requires-Dist: opentelemetry-api>=1.20.0; extra == 'all'
41
+ Requires-Dist: opentelemetry-exporter-otlp>=1.20.0; extra == 'all'
42
+ Requires-Dist: opentelemetry-instrumentation-fastapi>=0.41b0; extra == 'all'
43
+ Requires-Dist: opentelemetry-sdk>=1.20.0; extra == 'all'
44
+ Requires-Dist: prometheus-client>=0.19.0; extra == 'all'
45
+ Requires-Dist: redis[asyncio]>=5.0.0; extra == 'all'
46
+ Requires-Dist: sqlalchemy[asyncio]>=2.0.0; extra == 'all'
47
+ Requires-Dist: uvicorn[standard]>=0.27.0; extra == 'all'
36
48
  Provides-Extra: dev
37
49
  Requires-Dist: black>=24.1.0; extra == 'dev'
38
50
  Requires-Dist: mypy>=1.8.0; extra == 'dev'
@@ -40,9 +52,19 @@ Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
40
52
  Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
41
53
  Requires-Dist: pytest>=7.4.0; extra == 'dev'
42
54
  Requires-Dist: ruff>=0.1.0; extra == 'dev'
55
+ Provides-Extra: observability
56
+ Requires-Dist: opentelemetry-api>=1.20.0; extra == 'observability'
57
+ Requires-Dist: opentelemetry-exporter-otlp>=1.20.0; extra == 'observability'
58
+ Requires-Dist: opentelemetry-instrumentation-fastapi>=0.41b0; extra == 'observability'
59
+ Requires-Dist: opentelemetry-sdk>=1.20.0; extra == 'observability'
60
+ Requires-Dist: prometheus-client>=0.19.0; extra == 'observability'
43
61
  Provides-Extra: server
44
62
  Requires-Dist: fastapi>=0.109.0; extra == 'server'
45
63
  Requires-Dist: uvicorn[standard]>=0.27.0; extra == 'server'
64
+ Provides-Extra: storage
65
+ Requires-Dist: asyncpg>=0.29.0; extra == 'storage'
66
+ Requires-Dist: redis[asyncio]>=5.0.0; extra == 'storage'
67
+ Requires-Dist: sqlalchemy[asyncio]>=2.0.0; extra == 'storage'
46
68
  Description-Content-Type: text/markdown
47
69
 
48
70
  # AgentMesh
@@ -51,8 +73,15 @@ Description-Content-Type: text/markdown
51
73
 
52
74
  *Identity · Trust · Reward · Governance*
53
75
 
76
+ [![GitHub Stars](https://img.shields.io/github/stars/imran-siddique/agent-mesh?style=social)](https://github.com/imran-siddique/agent-mesh/stargazers)
77
+ [![CI](https://github.com/imran-siddique/agent-mesh/actions/workflows/ci.yml/badge.svg)](https://github.com/imran-siddique/agent-mesh/actions/workflows/ci.yml)
54
78
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
55
79
  [![Python](https://img.shields.io/badge/python-3.11+-blue.svg)](https://python.org)
80
+ [![Agent-OS Compatible](https://img.shields.io/badge/agent--os-compatible-green.svg)](https://github.com/imran-siddique/agent-os)
81
+
82
+ > ⭐ **If this project helps you, please star it!** It helps others discover AgentMesh.
83
+
84
+ > 🔗 **Part of the Agent Ecosystem** — Works seamlessly with [Agent-OS](https://github.com/imran-siddique/agent-os) for IATP trust protocol
56
85
 
57
86
  ---
58
87
 
@@ -102,10 +131,23 @@ AgentMesh provides:
102
131
 
103
132
  ## Quick Start
104
133
 
134
+ ### Option 1: Secure Claude Desktop (Recommended)
135
+
105
136
  ```bash
106
- # Install AgentMesh CLI
107
- pip install agentmesh
137
+ # Install AgentMesh
138
+ pip install agentmesh-platform
108
139
 
140
+ # Set up Claude Desktop to use AgentMesh governance
141
+ agentmesh init-integration --claude
142
+
143
+ # Restart Claude Desktop - all MCP tools are now secured!
144
+ ```
145
+
146
+ Claude will now route tool calls through AgentMesh for policy enforcement and trust scoring.
147
+
148
+ ### Option 2: Create a Governed Agent
149
+
150
+ ```bash
109
151
  # Initialize a governed agent in 30 seconds
110
152
  agentmesh init --name my-agent --sponsor alice@company.com
111
153
 
@@ -116,10 +158,29 @@ agentmesh register
116
158
  agentmesh run
117
159
  ```
118
160
 
161
+ ### Option 3: Wrap Any MCP Server
162
+
163
+ ```bash
164
+ # Proxy any MCP server with governance
165
+ agentmesh proxy --target npx --target -y \
166
+ --target @modelcontextprotocol/server-filesystem \
167
+ --target /path/to/directory
168
+
169
+ # Use strict policy (blocks writes/deletes)
170
+ agentmesh proxy --policy strict --target <your-mcp-server>
171
+ ```
172
+
119
173
  ## Installation
120
174
 
121
175
  ```bash
122
- pip install agentmesh
176
+ pip install agentmesh-platform
177
+ ```
178
+
179
+ Or install with extra dependencies:
180
+
181
+ ```bash
182
+ pip install agentmesh-platform[server] # FastAPI server
183
+ pip install agentmesh-platform[dev] # Development tools
123
184
  ```
124
185
 
125
186
  Or from source:
@@ -130,6 +191,71 @@ cd agent-mesh
130
191
  pip install -e .
131
192
  ```
132
193
 
194
+ ## Examples & Integrations
195
+
196
+ **Real-world examples** to get started quickly:
197
+
198
+ | Example | Use Case | Key Features |
199
+ |---------|----------|--------------|
200
+ | [MCP Tool Server](./examples/01-mcp-tool-server/) | Secure MCP server with governance | Rate limiting, output sanitization, audit logs |
201
+ | [Multi-Agent Customer Service](./examples/02-customer-service/) | Customer support automation | Delegation chains, trust handshakes, A2A |
202
+ | [Healthcare HIPAA](./examples/03-healthcare-hipaa/) | HIPAA-compliant data analysis | Compliance automation, PHI protection, Merkle audit |
203
+ | [GitHub PR Review](./examples/05-github-integration/) | Code review agent | Output policies, shadow mode, trust decay |
204
+
205
+ **Framework integrations:**
206
+ - **[Claude Desktop](./docs/integrations/claude-desktop.md)** - Secure MCP tools with one command
207
+ - [LangChain Integration](./examples/integrations/langchain.md) - Secure LangChain agents with policies
208
+ - [CrewAI Integration](./examples/integrations/crewai.md) - Multi-agent crew governance
209
+
210
+ 📚 **[Browse all examples →](./examples/)**
211
+
212
+ ## The AgentMesh Proxy: "SSL for AI Agents"
213
+
214
+ **Problem:** AI agents like Claude Desktop have unfettered access to your filesystem, database, and APIs through MCP servers. One hallucination could be catastrophic.
215
+
216
+ **Solution:** AgentMesh acts as a transparent governance proxy:
217
+
218
+ ```bash
219
+ # Before: Unsafe direct access
220
+ {
221
+ "mcpServers": {
222
+ "filesystem": {
223
+ "command": "npx",
224
+ "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/me"]
225
+ }
226
+ }
227
+ }
228
+
229
+ # After: Protected by AgentMesh
230
+ {
231
+ "mcpServers": {
232
+ "filesystem": {
233
+ "command": "agentmesh",
234
+ "args": [
235
+ "proxy", "--policy", "strict",
236
+ "--target", "npx", "--target", "-y",
237
+ "--target", "@modelcontextprotocol/server-filesystem",
238
+ "--target", "/Users/me"
239
+ ]
240
+ }
241
+ }
242
+ }
243
+ ```
244
+
245
+ **What you get:**
246
+ - 🔒 **Policy Enforcement** - Block dangerous operations before they execute
247
+ - 📊 **Trust Scoring** - Behavioral monitoring (800-1000 scale)
248
+ - 📝 **Audit Logs** - Tamper-evident record of every action
249
+ - ✅ **Verification Footers** - Visual confirmation in outputs
250
+
251
+ **Set it up in 10 seconds:**
252
+ ```bash
253
+ agentmesh init-integration --claude
254
+ # Restart Claude Desktop - done!
255
+ ```
256
+
257
+ Learn more: **[Claude Desktop Integration Guide](./docs/integrations/claude-desktop.md)**
258
+
133
259
  ## Core Concepts
134
260
 
135
261
  ### 1. Agent Identity
@@ -0,0 +1,45 @@
1
+ agentmesh/__init__.py,sha256=sTw3fT9oiayQ1ulNi6cEPY9hP2KVfyXcUbc64xcC49I,2249
2
+ agentmesh/cli/__init__.py,sha256=mwZuqtifIxKGbSy3p_0hhuGdxb1kttg7b84c9kfUAkk,208
3
+ agentmesh/cli/main.py,sha256=kIBC_HLd7IMRqpQmjpCYIZ8TESyPfK27oc29TgTdmDk,17903
4
+ agentmesh/cli/proxy.py,sha256=TBNwSyiNdUdCGCByHvAF1akQvc4wq0i449XU2tJjm00,15104
5
+ agentmesh/core/__init__.py,sha256=_MItyhhcywGrSUf5i89OsW31NP9sCsdkjA2fok0rkhc,76
6
+ agentmesh/core/identity/__init__.py,sha256=BP0yB57QJ8FYSF7SidAePwCfWhRqOLjkiJxgeBJo3cg,303
7
+ agentmesh/core/identity/ca.py,sha256=cQpupg6Hsz9mDLIbOfA9RJDEFsIf5G4nCzli6clx4nY,13045
8
+ agentmesh/governance/__init__.py,sha256=WL3JiY-wwnZCMHLfl0eA4o11vfeXvvZ7OAL4J6-mvJY,702
9
+ agentmesh/governance/audit.py,sha256=T85ToKmoyUoYsBDLHHddQHOzg8osbPtM3CEC_ufH2PU,11795
10
+ agentmesh/governance/compliance.py,sha256=LIAQt0jy2UuoN6K9oMMJKMEpTCAqYguGYGzZvbRkE6Q,15843
11
+ agentmesh/governance/policy.py,sha256=rfHSbeIz7H82EaBNE6v9kJASQUPz3pOkTHbRBzIqt8s,12542
12
+ agentmesh/governance/shadow.py,sha256=Mw20pjq1ew6VBcRd7eXCRpoU5zElGcazwhksQxEcI38,9085
13
+ agentmesh/identity/__init__.py,sha256=xQFwY-C5e35VF61oSOKgzJMTqTWv-VUArej74G8HFU8,748
14
+ agentmesh/identity/agent_id.py,sha256=iCIPCpBRsiCyFjT2rFwxZgYfgTxGYstnX8EQfIk6Sjg,11657
15
+ agentmesh/identity/credentials.py,sha256=yksJbQAzBBwiacOu-Wl7Pg1diNxX68_sjlUCyVtPvp8,11458
16
+ agentmesh/identity/delegation.py,sha256=t74Ly9SHqY_4Y8pRTjgPycfayr2_iMQ5oIfLbLYVkYY,10441
17
+ agentmesh/identity/risk.py,sha256=Fb531ECeKA5RfCUFAQS9Qd4qiqPeXuDexBT19m0uO_Q,9749
18
+ agentmesh/identity/spiffe.py,sha256=f7HzeD13WGzxYVoJDaQwmWW_cZ2qi5D6IVroRJhNvn0,7426
19
+ agentmesh/identity/sponsor.py,sha256=93WaV2U3Db2mGNUHOWKg15uiuni2U4XZV_BfHqq7urw,6195
20
+ agentmesh/observability/__init__.py,sha256=ZHFE5bQxIGCCAK3DGxhBw2x82S5tk0a4GoruzNi9q0w,381
21
+ agentmesh/observability/metrics.py,sha256=p1YFUVDcwxbmE0kBYZZSfo_meKmpmgTrkgHw9-xuG0E,7279
22
+ agentmesh/observability/tracing.py,sha256=S5jyIbnAWNV20JitLDAQbn3EbM29ayJc4IMqL3MxqfI,7035
23
+ agentmesh/reward/__init__.py,sha256=Rf0f9NMN1_oEuNUjolzciifnj7navvsuGnF5-3ja4co,471
24
+ agentmesh/reward/engine.py,sha256=M2AiwcS2EN-AcgjPeyx-N3CNG-jlr15ybChVTr6xLEg,16528
25
+ agentmesh/reward/learning.py,sha256=vmEQFYYXDwQE551cOK5Ylnp8arIdClKr4wTxMTHikt0,9408
26
+ agentmesh/reward/scoring.py,sha256=13yUExcnC_oWlyO--mEfOx96EHUNQuqDeHqpVyLas5w,6269
27
+ agentmesh/services/__init__.py,sha256=kcJPnjIksUDsHsRhxLkeEQ8DL70gzUWYrI6E_53Re5c,194
28
+ agentmesh/services/audit/__init__.py,sha256=fnU4c56yVkOquUMFEcfdP8Q8Gb_jM8A7fAV_JPYD7D8,375
29
+ agentmesh/services/registry/__init__.py,sha256=yAAtNNo6Seb4nwok6XAYAXDiRUnNxqI-F11HFQbYAQA,231
30
+ agentmesh/services/registry/agent_registry.py,sha256=bsbFjf73j8hnrnxpgJEYVxkb8IlymmhBX7dxq-7ZyRc,7066
31
+ agentmesh/services/reward_engine/__init__.py,sha256=iu268RnKvYV7jUHKzlnA8yYeuX1MzZZuDRaENPSWQEc,403
32
+ agentmesh/storage/__init__.py,sha256=c4HSFm5G4NxcIoj5citw3qc6-iycZcDGiWwKaefZ2pU,512
33
+ agentmesh/storage/memory_provider.py,sha256=C05OlOazVRV9bWBEzJ5kE5Ov-ybi-aXHbVFUAdxHkxQ,7455
34
+ agentmesh/storage/postgres_provider.py,sha256=GFi6hAeGU99lm1VBbTjMLNK6lXGfdyXNrRHKgyUs7So,18398
35
+ agentmesh/storage/provider.py,sha256=NXf8YrcrgCjPuKzoloeV7t-_g5frJxCGU1nqNfk2IyE,6562
36
+ agentmesh/storage/redis_provider.py,sha256=MWA1DziC5Q6MlMGpjCKC52M7bHEURd6iEa1Ml7uRFy8,7091
37
+ agentmesh/trust/__init__.py,sha256=E9GSgzEz2D4KqwymSkazyEaz19HXKZOPq8skbG10vNs,536
38
+ agentmesh/trust/bridge.py,sha256=1YAY90GEMOXRfxhBbBd1Bo3VYE2kLvGK85v31votTc0,13822
39
+ agentmesh/trust/capability.py,sha256=1Esvk43GeMcxWVt6ewkgNHARxAiVUwDuXp44E_3Fmok,9670
40
+ agentmesh/trust/handshake.py,sha256=na8obvrL1hJDy45H3NJaXSpiWOqouIG4GFNl5RLEf6Y,10988
41
+ agentmesh_platform-1.0.0a2.dist-info/METADATA,sha256=TfZWxCuZKKmQFYyrF6SnjyZGT3BkGhCWZwznGwXh2gU,16734
42
+ agentmesh_platform-1.0.0a2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
43
+ agentmesh_platform-1.0.0a2.dist-info/entry_points.txt,sha256=uncSoKr8tqS-QEJJh7fIOvnGp2lnvgbulztvV_5t27E,54
44
+ agentmesh_platform-1.0.0a2.dist-info/licenses/LICENSE,sha256=sIkoGVzkakz4LseiSYurIlLFlmPKfOkCtqyDQOZh6Ww,10953
45
+ agentmesh_platform-1.0.0a2.dist-info/RECORD,,
@@ -1,28 +0,0 @@
1
- agentmesh/__init__.py,sha256=kZu_8m1IuUu24dS4O7Ba-Dfr3vaPqd6zH3dez1gZBUk,2414
2
- agentmesh/cli/__init__.py,sha256=mwZuqtifIxKGbSy3p_0hhuGdxb1kttg7b84c9kfUAkk,208
3
- agentmesh/cli/main.py,sha256=xTZ6TTQ_yQGzw6T2YiyAjtDsA5hLfPVzoRuJodbs8wY,13209
4
- agentmesh/governance/__init__.py,sha256=WL3JiY-wwnZCMHLfl0eA4o11vfeXvvZ7OAL4J6-mvJY,702
5
- agentmesh/governance/audit.py,sha256=T85ToKmoyUoYsBDLHHddQHOzg8osbPtM3CEC_ufH2PU,11795
6
- agentmesh/governance/compliance.py,sha256=LIAQt0jy2UuoN6K9oMMJKMEpTCAqYguGYGzZvbRkE6Q,15843
7
- agentmesh/governance/policy.py,sha256=5rkDf6UVmomQZTUabjDwzGL9XHjvw6w_kw60GrfOR9g,12412
8
- agentmesh/governance/shadow.py,sha256=Mw20pjq1ew6VBcRd7eXCRpoU5zElGcazwhksQxEcI38,9085
9
- agentmesh/identity/__init__.py,sha256=xQFwY-C5e35VF61oSOKgzJMTqTWv-VUArej74G8HFU8,748
10
- agentmesh/identity/agent_id.py,sha256=iCIPCpBRsiCyFjT2rFwxZgYfgTxGYstnX8EQfIk6Sjg,11657
11
- agentmesh/identity/credentials.py,sha256=yksJbQAzBBwiacOu-Wl7Pg1diNxX68_sjlUCyVtPvp8,11458
12
- agentmesh/identity/delegation.py,sha256=t74Ly9SHqY_4Y8pRTjgPycfayr2_iMQ5oIfLbLYVkYY,10441
13
- agentmesh/identity/risk.py,sha256=Fb531ECeKA5RfCUFAQS9Qd4qiqPeXuDexBT19m0uO_Q,9749
14
- agentmesh/identity/spiffe.py,sha256=f7HzeD13WGzxYVoJDaQwmWW_cZ2qi5D6IVroRJhNvn0,7426
15
- agentmesh/identity/sponsor.py,sha256=93WaV2U3Db2mGNUHOWKg15uiuni2U4XZV_BfHqq7urw,6195
16
- agentmesh/reward/__init__.py,sha256=Rf0f9NMN1_oEuNUjolzciifnj7navvsuGnF5-3ja4co,471
17
- agentmesh/reward/engine.py,sha256=M2AiwcS2EN-AcgjPeyx-N3CNG-jlr15ybChVTr6xLEg,16528
18
- agentmesh/reward/learning.py,sha256=vmEQFYYXDwQE551cOK5Ylnp8arIdClKr4wTxMTHikt0,9408
19
- agentmesh/reward/scoring.py,sha256=13yUExcnC_oWlyO--mEfOx96EHUNQuqDeHqpVyLas5w,6269
20
- agentmesh/trust/__init__.py,sha256=Xs0LwlFdX94rP1UPYzwi_ObaPAc2M-WgKw0vqGHU_Wg,489
21
- agentmesh/trust/bridge.py,sha256=KDQW4nXTYmv2cqtvmFyguWknaNWPX7VYcbozSNgJkvI,12596
22
- agentmesh/trust/capability.py,sha256=1Esvk43GeMcxWVt6ewkgNHARxAiVUwDuXp44E_3Fmok,9670
23
- agentmesh/trust/handshake.py,sha256=na8obvrL1hJDy45H3NJaXSpiWOqouIG4GFNl5RLEf6Y,10988
24
- agentmesh_platform-1.0.0a1.dist-info/METADATA,sha256=J7GjTxBAXKznYOMMOXzB4n00XN1T20PabiW0WxINtow,11623
25
- agentmesh_platform-1.0.0a1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
26
- agentmesh_platform-1.0.0a1.dist-info/entry_points.txt,sha256=uncSoKr8tqS-QEJJh7fIOvnGp2lnvgbulztvV_5t27E,54
27
- agentmesh_platform-1.0.0a1.dist-info/licenses/LICENSE,sha256=sIkoGVzkakz4LseiSYurIlLFlmPKfOkCtqyDQOZh6Ww,10953
28
- agentmesh_platform-1.0.0a1.dist-info/RECORD,,