agenticdome-python-sdk 1.2.50__py3-none-any.whl → 1.2.52__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.
- {agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/METADATA +33 -33
- {agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/RECORD +10 -10
- agenticdome_sdk/attestation.py +40 -4
- agenticdome_sdk/catalog_snapshot.json +10 -10
- agenticdome_sdk/hook_catalog.py +48 -40
- {agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/WHEEL +0 -0
- {agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/entry_points.txt +0 -0
- {agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/licenses/LICENSE +0 -0
- {agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/licenses/NOTICE +0 -0
- {agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/top_level.txt +0 -0
{agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agenticdome-python-sdk
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.52
|
|
4
4
|
Summary: Official Python SDK for AgenticDome security guardrails, DLP, tool authorization, and multi-agent delegation enforcement.
|
|
5
5
|
Author: AgenticDome
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -33,20 +33,20 @@ Requires-Dist: requests>=2.31.0
|
|
|
33
33
|
Requires-Dist: urllib3>=2.0.0
|
|
34
34
|
Requires-Dist: cryptography>=42.0.0
|
|
35
35
|
Provides-Extra: crewai
|
|
36
|
-
Requires-Dist: crewai<=1.15.
|
|
36
|
+
Requires-Dist: crewai<=1.15.49,>=1.15.5; extra == "crewai"
|
|
37
37
|
Provides-Extra: redis
|
|
38
38
|
Requires-Dist: redis>=4.5.0; extra == "redis"
|
|
39
39
|
Provides-Extra: pop
|
|
40
40
|
Requires-Dist: cryptography>=42.0.0; extra == "pop"
|
|
41
41
|
Provides-Extra: pydanticai
|
|
42
|
-
Requires-Dist: pydantic-ai<=2.
|
|
42
|
+
Requires-Dist: pydantic-ai<=2.78.0,>=2.16.0; extra == "pydanticai"
|
|
43
43
|
Requires-Dist: anyio>=4.0.0; extra == "pydanticai"
|
|
44
44
|
Provides-Extra: pydantic
|
|
45
|
-
Requires-Dist: pydantic-ai<=2.
|
|
45
|
+
Requires-Dist: pydantic-ai<=2.78.0,>=2.16.0; extra == "pydantic"
|
|
46
46
|
Requires-Dist: anyio>=4.0.0; extra == "pydantic"
|
|
47
47
|
Provides-Extra: langgraph
|
|
48
|
-
Requires-Dist: langgraph<=1.2.
|
|
49
|
-
Requires-Dist: langchain-core<=1.
|
|
48
|
+
Requires-Dist: langgraph<=1.2.25,>=1.2.9; extra == "langgraph"
|
|
49
|
+
Requires-Dist: langchain-core<=1.9.0,>=1.5.0; extra == "langgraph"
|
|
50
50
|
Requires-Dist: langchain-openai==1.3.5; extra == "langgraph"
|
|
51
51
|
Requires-Dist: anyio>=4.0.0; extra == "langgraph"
|
|
52
52
|
Provides-Extra: microsoft
|
|
@@ -55,55 +55,55 @@ Requires-Dist: autogen-agentchat==0.7.5; extra == "autogen"
|
|
|
55
55
|
Provides-Extra: microsoft-autogen
|
|
56
56
|
Requires-Dist: autogen-agentchat==0.7.5; extra == "microsoft-autogen"
|
|
57
57
|
Provides-Extra: foundry
|
|
58
|
-
Requires-Dist: azure-ai-projects<=2.
|
|
59
|
-
Requires-Dist: azure-identity<=1.27.
|
|
58
|
+
Requires-Dist: azure-ai-projects<=2.11.0,>=2.3.0; extra == "foundry"
|
|
59
|
+
Requires-Dist: azure-identity<=1.27.1,>=1.25.3; extra == "foundry"
|
|
60
60
|
Provides-Extra: agno
|
|
61
|
-
Requires-Dist: agno<=3.
|
|
61
|
+
Requires-Dist: agno<=3.3.0,>=2.8.0; extra == "agno"
|
|
62
62
|
Provides-Extra: openai-agents
|
|
63
|
-
Requires-Dist: openai-agents<=0.
|
|
63
|
+
Requires-Dist: openai-agents<=0.26.2,>=0.18.3; extra == "openai-agents"
|
|
64
64
|
Provides-Extra: mcp
|
|
65
|
-
Requires-Dist: mcp<=2.
|
|
65
|
+
Requires-Dist: mcp<=2.3.0,>=1.26.0; extra == "mcp"
|
|
66
66
|
Requires-Dist: jsonschema<5,>=4.23; extra == "mcp"
|
|
67
67
|
Requires-Dist: regex>=2024.11.6; extra == "mcp"
|
|
68
68
|
Provides-Extra: bedrock
|
|
69
|
-
Requires-Dist: boto3<=1.
|
|
69
|
+
Requires-Dist: boto3<=1.44.18,>=1.43.54; extra == "bedrock"
|
|
70
70
|
Provides-Extra: aws-bedrock
|
|
71
|
-
Requires-Dist: boto3<=1.
|
|
71
|
+
Requires-Dist: boto3<=1.44.18,>=1.43.54; extra == "aws-bedrock"
|
|
72
72
|
Provides-Extra: llamaindex
|
|
73
|
-
Requires-Dist: llama-index<=0.14.
|
|
73
|
+
Requires-Dist: llama-index<=0.14.26,>=0.14.23; extra == "llamaindex"
|
|
74
74
|
Provides-Extra: llama-index
|
|
75
|
-
Requires-Dist: llama-index<=0.14.
|
|
75
|
+
Requires-Dist: llama-index<=0.14.26,>=0.14.23; extra == "llama-index"
|
|
76
76
|
Provides-Extra: google-adk
|
|
77
|
-
Requires-Dist: google-adk<=2.
|
|
77
|
+
Requires-Dist: google-adk<=2.16.0,>=2.5.0; extra == "google-adk"
|
|
78
78
|
Provides-Extra: adk
|
|
79
|
-
Requires-Dist: google-adk<=2.
|
|
79
|
+
Requires-Dist: google-adk<=2.16.0,>=2.5.0; extra == "adk"
|
|
80
80
|
Provides-Extra: claude
|
|
81
|
-
Requires-Dist: claude-agent-sdk<=0.2.
|
|
81
|
+
Requires-Dist: claude-agent-sdk<=0.2.189,>=0.2.126; extra == "claude"
|
|
82
82
|
Provides-Extra: claude-agent-sdk
|
|
83
|
-
Requires-Dist: claude-agent-sdk<=0.2.
|
|
83
|
+
Requires-Dist: claude-agent-sdk<=0.2.189,>=0.2.126; extra == "claude-agent-sdk"
|
|
84
84
|
Provides-Extra: smolagents
|
|
85
85
|
Requires-Dist: smolagents==1.26.0; extra == "smolagents"
|
|
86
86
|
Provides-Extra: all
|
|
87
|
-
Requires-Dist: crewai<=1.15.
|
|
87
|
+
Requires-Dist: crewai<=1.15.49,>=1.15.5; extra == "all"
|
|
88
88
|
Requires-Dist: redis>=4.5.0; extra == "all"
|
|
89
89
|
Requires-Dist: cryptography>=42.0.0; extra == "all"
|
|
90
|
-
Requires-Dist: pydantic-ai<=2.
|
|
90
|
+
Requires-Dist: pydantic-ai<=2.78.0,>=2.16.0; extra == "all"
|
|
91
91
|
Requires-Dist: anyio>=4.0.0; extra == "all"
|
|
92
|
-
Requires-Dist: langgraph<=1.2.
|
|
93
|
-
Requires-Dist: langchain-core<=1.
|
|
92
|
+
Requires-Dist: langgraph<=1.2.25,>=1.2.9; extra == "all"
|
|
93
|
+
Requires-Dist: langchain-core<=1.9.0,>=1.5.0; extra == "all"
|
|
94
94
|
Requires-Dist: langchain-openai==1.3.5; extra == "all"
|
|
95
95
|
Requires-Dist: autogen-agentchat==0.7.5; extra == "all"
|
|
96
|
-
Requires-Dist: agno<=3.
|
|
97
|
-
Requires-Dist: azure-ai-projects<=2.
|
|
98
|
-
Requires-Dist: azure-identity<=1.27.
|
|
99
|
-
Requires-Dist: openai-agents<=0.
|
|
100
|
-
Requires-Dist: mcp<=2.
|
|
101
|
-
Requires-Dist: boto3<=1.
|
|
96
|
+
Requires-Dist: agno<=3.3.0,>=2.8.0; extra == "all"
|
|
97
|
+
Requires-Dist: azure-ai-projects<=2.11.0,>=2.3.0; extra == "all"
|
|
98
|
+
Requires-Dist: azure-identity<=1.27.1,>=1.25.3; extra == "all"
|
|
99
|
+
Requires-Dist: openai-agents<=0.26.2,>=0.18.3; extra == "all"
|
|
100
|
+
Requires-Dist: mcp<=2.3.0,>=1.26.0; extra == "all"
|
|
101
|
+
Requires-Dist: boto3<=1.44.18,>=1.43.54; extra == "all"
|
|
102
102
|
Requires-Dist: jsonschema<5,>=4.23; extra == "all"
|
|
103
103
|
Requires-Dist: regex>=2024.11.6; extra == "all"
|
|
104
|
-
Requires-Dist: llama-index<=0.14.
|
|
105
|
-
Requires-Dist: google-adk<=2.
|
|
106
|
-
Requires-Dist: claude-agent-sdk<=0.2.
|
|
104
|
+
Requires-Dist: llama-index<=0.14.26,>=0.14.23; extra == "all"
|
|
105
|
+
Requires-Dist: google-adk<=2.16.0,>=2.5.0; extra == "all"
|
|
106
|
+
Requires-Dist: claude-agent-sdk<=0.2.189,>=0.2.126; extra == "all"
|
|
107
107
|
Requires-Dist: smolagents==1.26.0; extra == "all"
|
|
108
108
|
Provides-Extra: dev
|
|
109
109
|
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
@@ -2443,7 +2443,7 @@ Start with the dedicated [MCP Host and Gateway Action Firewall guide](https://gi
|
|
|
2443
2443
|
pip install "agenticdome-python-sdk[mcp]"
|
|
2444
2444
|
```
|
|
2445
2445
|
|
|
2446
|
-
**MCP package compatibility:** the `[mcp]` extra
|
|
2446
|
+
**MCP package compatibility:** the `[mcp]` extra uses the certified dependency range declared in the installed SDK release metadata and its matching [package configuration](pyproject.toml). See the [MCP integration guide](docs/mcp-integration.md) for the command to check the installed range. MCP 2.0 removed the certified `mcp.server.fastmcp` import surface used by the earlier native compatibility test. The transport-independent JSON-RPC firewall is tested at the certified floor and ceiling. Installing alongside another framework can narrow the range that the dependency resolver can select.
|
|
2447
2447
|
|
|
2448
2448
|
**Wrap the forwarding boundary** — the full host flow is `JSON-RPC request → rate limit / upstream prompt screen → method authorization → optional delegation-token verification → third-party MCP server → list filtering / result sanitization → client`:
|
|
2449
2449
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
agenticdome_python_sdk-1.2.
|
|
2
|
-
agenticdome_python_sdk-1.2.
|
|
1
|
+
agenticdome_python_sdk-1.2.52.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
2
|
+
agenticdome_python_sdk-1.2.52.dist-info/licenses/NOTICE,sha256=obvKP6kV1Ny5R8_INFOpf0X5um9U2X43LGwQFobO9kg,550
|
|
3
3
|
agenticdome_sdk/__init__.py,sha256=7nGHtISU9udPIEepFh2JFzZ8trV44ziv1o19RClpls0,1270
|
|
4
4
|
agenticdome_sdk/_framework_firewall.py,sha256=87VViabk5bySrN36BCE_Wzooqlz653L21r6usyq_d_Q,32914
|
|
5
5
|
agenticdome_sdk/_mode.py,sha256=XvOgh5sW-FG8S39V483h3uLiFh8wSt14OmYXz_6eDO8,1283
|
|
6
6
|
agenticdome_sdk/action_path_proof.py,sha256=5Zlghy7-LNhtRJM0Unb4NPUASzIsAC0LaWNVFR2yzzo,13497
|
|
7
7
|
agenticdome_sdk/agno.py,sha256=L3yfjTBHW47xzT67a1DsjtwmvrAoYBkbxADpsr85Cp0,60766
|
|
8
|
-
agenticdome_sdk/attestation.py,sha256=
|
|
8
|
+
agenticdome_sdk/attestation.py,sha256=BFGO_lG67R6KQ_-4BCZYUD-MEQw0O1NmPuUsYrWcQCM,12944
|
|
9
9
|
agenticdome_sdk/autogen.py,sha256=KP4qlIcsNXB-4ZT9D7Slc1xWEeWXRIWkc5HGW0U6k2c,29018
|
|
10
10
|
agenticdome_sdk/aws_bedrock.py,sha256=2zD9j7xi0jna0sMeMf-hKZdc3Y4RPwzj6tMVOUGgIDQ,69581
|
|
11
|
-
agenticdome_sdk/catalog_snapshot.json,sha256=
|
|
11
|
+
agenticdome_sdk/catalog_snapshot.json,sha256=0svC5fBWXexd0jtfMtMDftAvQdZVekGVQSnKU0PAoh8,959
|
|
12
12
|
agenticdome_sdk/claude.py,sha256=XeY9AUu61SYcJjQVz_AtL_WaN6X4KqP5nprEbbr4Q6A,17456
|
|
13
13
|
agenticdome_sdk/client.py,sha256=U7WJVO_3r9canagaiEpcVaYHV18l5mbhk4CF_i0A5Xc,88269
|
|
14
14
|
agenticdome_sdk/connect.py,sha256=WOh9hEOEy6OmX4zrJEWZPsgYJUbl3PR03ukODe3WC4Q,18864
|
|
@@ -22,7 +22,7 @@ agenticdome_sdk/framework_edits.py,sha256=4BgWHxWKEkex8_DMhjVxjovpUVkrMF7TsCZzlS
|
|
|
22
22
|
agenticdome_sdk/generic_python.py,sha256=JtXRcYEZ6_Dgxnnv4QgqeMZR8dFVr8EqFDM-XYQ-GMA,6823
|
|
23
23
|
agenticdome_sdk/google_adk.py,sha256=2TA-tUhY0lOnkGcs1BN9CUEz67ebVX4HJ7mnNoRPcZs,57258
|
|
24
24
|
agenticdome_sdk/guided_integration.py,sha256=4NBCacAcwEQkVct86G8NGYwrcTNT7xaxXGZ21aPaygY,52449
|
|
25
|
-
agenticdome_sdk/hook_catalog.py,sha256=
|
|
25
|
+
agenticdome_sdk/hook_catalog.py,sha256=J_sL909PfQ0Ulr4eylWixzADumXPzn85AUHob_QCuHY,30473
|
|
26
26
|
agenticdome_sdk/http_execution.py,sha256=85bBRxC0TBOKUaRmy4WHyyIoAub71_KkRL_--1YQrm4,3801
|
|
27
27
|
agenticdome_sdk/identity.py,sha256=mrymGgZSVsKJ9THRde54qGmMT7j_uZHmPJ-HtWk7PXE,4635
|
|
28
28
|
agenticdome_sdk/langgraph.py,sha256=FUvF6DSA5aZP3eoBoNeldgGtPrz-dO5xcVmrPPSBEhI,84312
|
|
@@ -45,8 +45,8 @@ agenticdome_sdk/pydantic.py,sha256=WKb8X0Fgydfid-ep8E-M8Yslz2pWcCP6w7n_aBxt1rI,5
|
|
|
45
45
|
agenticdome_sdk/report_scope.py,sha256=Waoaal9hkZsNF5G-ifDXNO_3an0ZjQJVv6-Uzg94oOM,3575
|
|
46
46
|
agenticdome_sdk/simulation.py,sha256=UCbZy3u9AzfxQCfY38SCV3CxGxhinV9EA4aHMPlK4mc,8426
|
|
47
47
|
agenticdome_sdk/smolagents.py,sha256=wjMA1HVAQ-9wRNM38Jr9wlCpKMhF-9vxtTk6R-kwQhs,19094
|
|
48
|
-
agenticdome_python_sdk-1.2.
|
|
49
|
-
agenticdome_python_sdk-1.2.
|
|
50
|
-
agenticdome_python_sdk-1.2.
|
|
51
|
-
agenticdome_python_sdk-1.2.
|
|
52
|
-
agenticdome_python_sdk-1.2.
|
|
48
|
+
agenticdome_python_sdk-1.2.52.dist-info/METADATA,sha256=zUxWdb3a8ExfOsKR9ifmaWLcQfqP0fjFkewrI3r5Gpo,147952
|
|
49
|
+
agenticdome_python_sdk-1.2.52.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
50
|
+
agenticdome_python_sdk-1.2.52.dist-info/entry_points.txt,sha256=0ObUYdthZhY_pEr8pPH-v6IxWRjUSkgdFVyx-w6u4fc,174
|
|
51
|
+
agenticdome_python_sdk-1.2.52.dist-info/top_level.txt,sha256=LZbbjXco5mqDrGwlTJpIKI5Sp6R_njzHHjExxAs9c3s,16
|
|
52
|
+
agenticdome_python_sdk-1.2.52.dist-info/RECORD,,
|
agenticdome_sdk/attestation.py
CHANGED
|
@@ -73,6 +73,8 @@ def build_hook_manifest(
|
|
|
73
73
|
private_key_pem: str, sdk_version: str, framework_versions: Optional[Dict[str, str]] = None,
|
|
74
74
|
high_impact_actions: Optional[Iterable[str]] = None, build_sha256: Optional[str] = None,
|
|
75
75
|
sdk_checksum: Optional[str] = None, ttl_seconds: int = 600,
|
|
76
|
+
egress_allowlist_sha256: Optional[str] = None, direct_secret_destinations: Optional[Iterable[str]] = None,
|
|
77
|
+
egress_mode: Optional[str] = None,
|
|
76
78
|
) -> Dict[str, Any]:
|
|
77
79
|
now = int(time.time())
|
|
78
80
|
claims: Dict[str, Any] = {
|
|
@@ -92,12 +94,19 @@ def build_hook_manifest(
|
|
|
92
94
|
"started_at": datetime.fromtimestamp(now, timezone.utc).isoformat(),
|
|
93
95
|
"expires_at": datetime.fromtimestamp(now + max(60, min(ttl_seconds, 600)), timezone.utc).isoformat(),
|
|
94
96
|
}
|
|
97
|
+
if egress_allowlist_sha256 is not None:
|
|
98
|
+
claims["egress_allowlist_sha256"] = egress_allowlist_sha256
|
|
99
|
+
if egress_mode is not None:
|
|
100
|
+
claims["egress_mode"] = _egress_mode(egress_mode)
|
|
101
|
+
if direct_secret_destinations is not None:
|
|
102
|
+
claims["direct_secret_destinations"] = sorted(set(direct_secret_destinations))
|
|
95
103
|
return {**claims, "signature": sign_claims(claims, private_key_pem)}
|
|
96
104
|
|
|
97
105
|
|
|
98
106
|
def build_hook_heartbeat(
|
|
99
107
|
*, tenant_id: str, workload_uuid: str, deployment_id: str, manifest_sha256: str,
|
|
100
108
|
active_hooks: Iterable[str], sequence: int, private_key_pem: str, ttl_seconds: int = 120,
|
|
109
|
+
egress_allowlist_sha256: Optional[str] = None, egress_mode: Optional[str] = None,
|
|
101
110
|
) -> Dict[str, Any]:
|
|
102
111
|
now = int(time.time())
|
|
103
112
|
claims: Dict[str, Any] = {
|
|
@@ -112,9 +121,21 @@ def build_hook_heartbeat(
|
|
|
112
121
|
"observed_at": datetime.fromtimestamp(now, timezone.utc).isoformat(),
|
|
113
122
|
"expires_at": datetime.fromtimestamp(now + max(30, min(ttl_seconds, 300)), timezone.utc).isoformat(),
|
|
114
123
|
}
|
|
124
|
+
if egress_allowlist_sha256 is not None:
|
|
125
|
+
claims["egress_allowlist_sha256"] = egress_allowlist_sha256
|
|
126
|
+
if egress_mode is not None:
|
|
127
|
+
claims["egress_mode"] = _egress_mode(egress_mode)
|
|
115
128
|
return {**claims, "signature": sign_claims(claims, private_key_pem)}
|
|
116
129
|
|
|
117
130
|
|
|
131
|
+
def _egress_mode(value: str) -> str:
|
|
132
|
+
"""AGENTICDOME_EGRESS_MODE: observe or enforce, reported next to the signed allow-list fingerprint."""
|
|
133
|
+
mode = str(value).strip().lower()
|
|
134
|
+
if mode not in ("observe", "enforce"):
|
|
135
|
+
raise ValueError("AGENTICDOME_EGRESS_MODE must be observe or enforce.")
|
|
136
|
+
return mode
|
|
137
|
+
|
|
138
|
+
|
|
118
139
|
def manifest_sha256(manifest: Dict[str, Any]) -> str:
|
|
119
140
|
claims = {key: value for key, value in manifest.items() if key != "signature"}
|
|
120
141
|
return hashlib.sha256(canonical_json(claims)).hexdigest()
|
|
@@ -134,7 +155,9 @@ class RuntimeCoverageAttestor:
|
|
|
134
155
|
|
|
135
156
|
def __init__(self, *, portal: str, tenant_id: str, workload_uuid: str, deployment_id: str,
|
|
136
157
|
private_key_pem: str, expected_hooks: Iterable[str], sdk_version: str,
|
|
137
|
-
high_impact_actions: Optional[Iterable[str]] = None, heartbeat_seconds: int = 60
|
|
158
|
+
high_impact_actions: Optional[Iterable[str]] = None, heartbeat_seconds: int = 60,
|
|
159
|
+
egress_allowlist_sha256: Optional[str] = None, direct_secret_destinations: Optional[Iterable[str]] = None,
|
|
160
|
+
egress_mode: Optional[str] = None):
|
|
138
161
|
self.portal = portal.rstrip("/")
|
|
139
162
|
self.tenant_id = tenant_id
|
|
140
163
|
self.workload_uuid = workload_uuid
|
|
@@ -144,6 +167,9 @@ class RuntimeCoverageAttestor:
|
|
|
144
167
|
self.observed_hooks: set[str] = set()
|
|
145
168
|
self.sdk_version = sdk_version
|
|
146
169
|
self.high_impact_actions = set(str(item) for item in (high_impact_actions or []) if item)
|
|
170
|
+
self.egress_allowlist_sha256 = egress_allowlist_sha256
|
|
171
|
+
self.egress_mode = _egress_mode(egress_mode) if egress_mode else None
|
|
172
|
+
self.direct_secret_destinations = tuple(direct_secret_destinations) if direct_secret_destinations is not None else None
|
|
147
173
|
self.heartbeat_seconds = max(15, min(int(heartbeat_seconds), 120))
|
|
148
174
|
self.sequence = 0
|
|
149
175
|
self.current_manifest_sha256 = ""
|
|
@@ -159,10 +185,15 @@ class RuntimeCoverageAttestor:
|
|
|
159
185
|
if not all(values.values()):
|
|
160
186
|
return None
|
|
161
187
|
key = Path(values["AGENTICDOME_ATTESTATION_KEY_PATH"]).read_text(encoding="ascii")
|
|
188
|
+
declarations = os.getenv("AGENTICDOME_DIRECT_SECRET_DESTINATIONS")
|
|
162
189
|
return cls(portal=values["AGENTICDOME_CONTROL_PLANE_URL"], tenant_id=values["AGENTICDOME_TENANT_ID"],
|
|
163
190
|
workload_uuid=values["AGENTICDOME_WORKLOAD_UUID"], deployment_id=values["AGENTICDOME_DEPLOYMENT_ID"],
|
|
164
191
|
private_key_pem=key, expected_hooks=expected_hooks, sdk_version=os.getenv("AGENTICDOME_SDK_VERSION", "unknown"),
|
|
165
|
-
high_impact_actions=high_impact_actions
|
|
192
|
+
high_impact_actions=high_impact_actions,
|
|
193
|
+
egress_allowlist_sha256=os.getenv("AGENTICDOME_EGRESS_ALLOWLIST_SHA256") or None,
|
|
194
|
+
# An unrecognised value is not reported (it then counts as observing), never guessed as enforce.
|
|
195
|
+
egress_mode=(os.getenv("AGENTICDOME_EGRESS_MODE") or "").strip().lower() if (os.getenv("AGENTICDOME_EGRESS_MODE") or "").strip().lower() in ("observe", "enforce") else None,
|
|
196
|
+
direct_secret_destinations=None if declarations is None else [item.strip() for item in declarations.split(",") if item.strip()])
|
|
166
197
|
|
|
167
198
|
def observe(self, hook_id: str) -> None:
|
|
168
199
|
if hook_id:
|
|
@@ -186,7 +217,10 @@ class RuntimeCoverageAttestor:
|
|
|
186
217
|
manifest = build_hook_manifest(tenant_id=self.tenant_id, workload_uuid=self.workload_uuid,
|
|
187
218
|
deployment_id=self.deployment_id, expected_hooks=self.expected_hooks,
|
|
188
219
|
observed_hooks=observed, private_key_pem=self.private_key_pem,
|
|
189
|
-
sdk_version=self.sdk_version, high_impact_actions=self.high_impact_actions
|
|
220
|
+
sdk_version=self.sdk_version, high_impact_actions=self.high_impact_actions,
|
|
221
|
+
egress_allowlist_sha256=self.egress_allowlist_sha256,
|
|
222
|
+
direct_secret_destinations=self.direct_secret_destinations,
|
|
223
|
+
egress_mode=self.egress_mode)
|
|
190
224
|
_post_json(self.portal + "/api/agentguard/runtime/hook-manifest", manifest)
|
|
191
225
|
self.current_manifest_sha256 = manifest_sha256(manifest)
|
|
192
226
|
|
|
@@ -202,7 +236,9 @@ class RuntimeCoverageAttestor:
|
|
|
202
236
|
active = sorted(self.observed_hooks)
|
|
203
237
|
heartbeat = build_hook_heartbeat(tenant_id=self.tenant_id, workload_uuid=self.workload_uuid,
|
|
204
238
|
deployment_id=self.deployment_id, manifest_sha256=self.current_manifest_sha256,
|
|
205
|
-
active_hooks=active, sequence=self.sequence, private_key_pem=self.private_key_pem
|
|
239
|
+
active_hooks=active, sequence=self.sequence, private_key_pem=self.private_key_pem,
|
|
240
|
+
egress_allowlist_sha256=self.egress_allowlist_sha256,
|
|
241
|
+
egress_mode=self.egress_mode)
|
|
206
242
|
_post_json(self.portal + "/api/agentguard/runtime/hook-heartbeat", heartbeat)
|
|
207
243
|
self.last_error = None
|
|
208
244
|
except Exception as exc: # evidence failure is surfaced via stale coverage; action fail-closed remains gateway-owned
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "agenticdome.catalog-snapshot.v1",
|
|
3
3
|
"catalog_schema": "agenticdome.hook-catalog.v1",
|
|
4
|
-
"verified_at": "2026-
|
|
5
|
-
"python_sdk_version": "1.2.
|
|
4
|
+
"verified_at": "2026-12-04",
|
|
5
|
+
"python_sdk_version": "1.2.52",
|
|
6
6
|
"published_packages": {
|
|
7
7
|
"agenticdome-python-sdk": {
|
|
8
8
|
"registry": "pypi",
|
|
9
|
-
"version": "1.2.
|
|
10
|
-
"url": "https://pypi.org/project/agenticdome-python-sdk/1.2.
|
|
9
|
+
"version": "1.2.52",
|
|
10
|
+
"url": "https://pypi.org/project/agenticdome-python-sdk/1.2.52/"
|
|
11
11
|
},
|
|
12
12
|
"agenticdome-sdk": {
|
|
13
13
|
"registry": "npm",
|
|
14
|
-
"version": "0.6.
|
|
15
|
-
"url": "https://www.npmjs.com/package/agenticdome-sdk/v/0.6.
|
|
14
|
+
"version": "0.6.17",
|
|
15
|
+
"url": "https://www.npmjs.com/package/agenticdome-sdk/v/0.6.17"
|
|
16
16
|
},
|
|
17
17
|
"agenticdome-openclaw-security": {
|
|
18
18
|
"registry": "npm",
|
|
19
|
-
"version": "1.0.
|
|
20
|
-
"url": "https://www.npmjs.com/package/agenticdome-openclaw-security/v/1.0.
|
|
19
|
+
"version": "1.0.15",
|
|
20
|
+
"url": "https://www.npmjs.com/package/agenticdome-openclaw-security/v/1.0.15"
|
|
21
21
|
},
|
|
22
22
|
"openclaw": {
|
|
23
23
|
"registry": "npm",
|
|
24
|
-
"version": "2026.10.
|
|
25
|
-
"url": "https://www.npmjs.com/package/openclaw/v/2026.10.
|
|
24
|
+
"version": "2026.10.10",
|
|
25
|
+
"url": "https://www.npmjs.com/package/openclaw/v/2026.10.10"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
agenticdome_sdk/hook_catalog.py
CHANGED
|
@@ -39,7 +39,7 @@ CATALOG_VERIFIED_AT = str(_CATALOG_SNAPSHOT["verified_at"])
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
_OPENCLAW_RUNTIME_MIN_VERSION = "2026.7.1-2"
|
|
42
|
-
_OPENCLAW_RUNTIME_MAX_VERSION = "2026.10.
|
|
42
|
+
_OPENCLAW_RUNTIME_MAX_VERSION = "2026.10.10"
|
|
43
43
|
_OPENCLAW_RUNTIME_VERSION = _OPENCLAW_RUNTIME_MAX_VERSION
|
|
44
44
|
_OPENCLAW_NODE_RANGE = ">=24.16.0 <25 || >=26.1.0"
|
|
45
45
|
|
|
@@ -50,10 +50,11 @@ PUBLISHED_AGENTICDOME_PACKAGES: Dict[str, Dict[str, str]] = {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
# Prepared artifacts are kept separate from registry-verified published releases.
|
|
53
|
-
RELEASE_CANDIDATE_PACKAGES = {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
RELEASE_CANDIDATE_PACKAGES = {}
|
|
54
|
+
if _CATALOG_SNAPSHOT["python_sdk_version"] != PUBLISHED_AGENTICDOME_PACKAGES["agenticdome-python-sdk"]["version"]:
|
|
55
|
+
RELEASE_CANDIDATE_PACKAGES["agenticdome-python-sdk"] = {
|
|
56
|
+
"version": _CATALOG_SNAPSHOT["python_sdk_version"], "status": "unpublished",
|
|
57
|
+
}
|
|
57
58
|
|
|
58
59
|
|
|
59
60
|
def _python_contract(
|
|
@@ -92,7 +93,7 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
92
93
|
"agenticdome_sdk.integrations.crewai",
|
|
93
94
|
"AgenticDomeCrewAIFirewall",
|
|
94
95
|
["attach", "secure_tool"],
|
|
95
|
-
packages={"crewai": {"min":"1.15.5","max":"1.15.
|
|
96
|
+
packages={"crewai": {"min":"1.15.5","max":"1.15.49"}},
|
|
96
97
|
native_modules=[
|
|
97
98
|
{
|
|
98
99
|
"module": "crewai.hooks",
|
|
@@ -122,7 +123,7 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
122
123
|
"agenticdome_sdk.integrations.pydanticai",
|
|
123
124
|
"CyberSecFirewall",
|
|
124
125
|
["install_native_hooks", "secure_tool"],
|
|
125
|
-
packages={"pydantic-ai": {"min":"2.16.0","max":"2.
|
|
126
|
+
packages={"pydantic-ai": {"min":"2.16.0","max":"2.78.0"}},
|
|
126
127
|
native_modules=[{"module": "pydantic_ai", "attrs": ["Agent", "RunContext"]}],
|
|
127
128
|
adapter_attrs=[
|
|
128
129
|
{
|
|
@@ -139,8 +140,8 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
139
140
|
"AgenticDomeLangGraphFirewall",
|
|
140
141
|
["input_node", "transition_node", "output_node", "as_langchain_middleware"],
|
|
141
142
|
packages={
|
|
142
|
-
"langgraph": {"min":"1.2.9","max":"1.2.
|
|
143
|
-
"langchain-core": {"min":"1.5.0","max":"1.
|
|
143
|
+
"langgraph": {"min":"1.2.9","max":"1.2.25"},
|
|
144
|
+
"langchain-core": {"min":"1.5.0","max":"1.9.0"},
|
|
144
145
|
},
|
|
145
146
|
native_modules=[
|
|
146
147
|
{"module": "langgraph.graph", "attrs": ["StateGraph"]},
|
|
@@ -182,8 +183,8 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
182
183
|
"AgenticDomeMicrosoftAIFoundryFirewall",
|
|
183
184
|
["install_on_client", "wrap_tool_executor", "run_secure"],
|
|
184
185
|
packages={
|
|
185
|
-
"azure-ai-projects": {"min":"2.3.0","max":"2.
|
|
186
|
-
"azure-identity": {"min":"1.25.3","max":"1.27.
|
|
186
|
+
"azure-ai-projects": {"min":"2.3.0","max":"2.11.0"},
|
|
187
|
+
"azure-identity": {"min":"1.25.3","max":"1.27.1"},
|
|
187
188
|
},
|
|
188
189
|
native_modules=[
|
|
189
190
|
{"module": "azure.ai.projects", "attrs": ["AIProjectClient"]},
|
|
@@ -197,7 +198,7 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
197
198
|
"agenticdome_sdk.integrations.openai_agents",
|
|
198
199
|
"AgenticDomeOpenAIAgentsFirewall",
|
|
199
200
|
["run_agent_securely", "wrap_tool_handler", "create_input_guardrail"],
|
|
200
|
-
packages={"openai-agents": {"min":"0.18.3","max":"0.
|
|
201
|
+
packages={"openai-agents": {"min":"0.18.3","max":"0.26.2"}},
|
|
201
202
|
native_modules=[{"module": "agents", "attrs": ["Agent", "Runner", "function_tool"]}],
|
|
202
203
|
native_smoke={"module": "agenticdome_sdk.integrations.openai_agents", "call": "create_input_guardrail"},
|
|
203
204
|
docs="docs/frameworks/openai-agents.md",
|
|
@@ -207,7 +208,7 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
207
208
|
"agenticdome_sdk.integrations.claude",
|
|
208
209
|
"AgenticDomeClaudeFirewall",
|
|
209
210
|
["install_on_options", "secure_query", "run_client_securely", "secure_sdk_tool"],
|
|
210
|
-
packages={"claude-agent-sdk": {"min":"0.2.126","max":"0.2.
|
|
211
|
+
packages={"claude-agent-sdk": {"min":"0.2.126","max":"0.2.189"}},
|
|
211
212
|
native_modules=[
|
|
212
213
|
{
|
|
213
214
|
"module": "claude_agent_sdk",
|
|
@@ -232,7 +233,7 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
232
233
|
"agenticdome_sdk.integrations.agno",
|
|
233
234
|
"AgenticDomeAgnoFirewall",
|
|
234
235
|
["attach_firewall", "secure_tool", "create_hook_bundle"],
|
|
235
|
-
packages={"agno": {"min":"2.8.0","max":"3.
|
|
236
|
+
packages={"agno": {"min":"2.8.0","max":"3.3.0"}},
|
|
236
237
|
native_modules=[{"module": "agno.agent", "attrs": ["Agent"]}],
|
|
237
238
|
native_smoke={"module": "agenticdome_sdk.integrations.agno", "call": "attach_firewall"},
|
|
238
239
|
docs="docs/frameworks/agno.md",
|
|
@@ -242,7 +243,7 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
242
243
|
"agenticdome_sdk.integrations.google_adk",
|
|
243
244
|
"AgenticDomeGoogleADKFirewall",
|
|
244
245
|
["build_callback_kwargs", "install_on_agent", "wrap_tool_handler"],
|
|
245
|
-
packages={"google-adk": {"min":"2.5.0","max":"2.
|
|
246
|
+
packages={"google-adk": {"min":"2.5.0","max":"2.16.0"}},
|
|
246
247
|
native_modules=[
|
|
247
248
|
{"module": "google.adk.agents", "attrs": ["Agent"]},
|
|
248
249
|
{"module": "google.adk.tools", "attrs": ["FunctionTool"]},
|
|
@@ -255,7 +256,7 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
255
256
|
"agenticdome_sdk.integrations.llamaindex",
|
|
256
257
|
"AgenticDomeLlamaIndexFirewall",
|
|
257
258
|
["to_function_tool", "wrap_query_engine", "run_query_securely"],
|
|
258
|
-
packages={"llama-index": {"min":"0.14.23","max":"0.14.
|
|
259
|
+
packages={"llama-index": {"min":"0.14.23","max":"0.14.26"}},
|
|
259
260
|
native_modules=[
|
|
260
261
|
{"module": "llama_index.core.tools", "attrs": ["FunctionTool"]},
|
|
261
262
|
{"module": "llama_index.core.agent.workflow", "attrs": ["FunctionAgent"]},
|
|
@@ -268,7 +269,7 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
268
269
|
"agenticdome_sdk.integrations.aws_bedrock",
|
|
269
270
|
"AgenticDomeAWSBedrockFirewall",
|
|
270
271
|
["converse_securely", "wrap_tool_handler", "wrap_action_group_lambda"],
|
|
271
|
-
packages={"boto3": {"min":"1.43.54","max":"1.
|
|
272
|
+
packages={"boto3": {"min":"1.43.54","max":"1.44.18"}},
|
|
272
273
|
native_modules=[{"module": "boto3", "attrs": ["client"]}],
|
|
273
274
|
native_smoke={"module": "agenticdome_sdk.integrations.aws_bedrock", "call": "wrap_tool_handler"},
|
|
274
275
|
docs="docs/frameworks/aws-bedrock.md",
|
|
@@ -286,7 +287,7 @@ FRAMEWORK_HOOK_CATALOG: Dict[str, Dict[str, Any]] = {
|
|
|
286
287
|
"review_forwarded_response",
|
|
287
288
|
"forward_with_firewall",
|
|
288
289
|
],
|
|
289
|
-
packages={"mcp": {"min":"1.26.0","max":"2.
|
|
290
|
+
packages={"mcp": {"min":"1.26.0","max":"2.3.0"}},
|
|
290
291
|
native_modules=[
|
|
291
292
|
{"module": "mcp.server.fastmcp", "attrs": ["FastMCP"]},
|
|
292
293
|
{"module": "mcp.client.session", "attrs": ["ClientSession"]},
|
|
@@ -451,19 +452,19 @@ _HARNESS_VERIFICATION: Dict[str, Dict[str, Any]] = {
|
|
|
451
452
|
}
|
|
452
453
|
|
|
453
454
|
_PACKAGE_CERTIFICATION_DATES: Dict[str, Dict[str, str]] = {
|
|
454
|
-
"crewai": {"crewai":"2026-
|
|
455
|
-
"pydanticai": {"pydantic-ai": "2026-
|
|
456
|
-
"langgraph": {"langgraph": "2026-
|
|
455
|
+
"crewai": {"crewai":"2026-12-04"},
|
|
456
|
+
"pydanticai": {"pydantic-ai": "2026-12-04"},
|
|
457
|
+
"langgraph": {"langgraph": "2026-12-04", "langchain-core": "2026-12-04"},
|
|
457
458
|
"autogen": {"autogen-agentchat": "2026-07-26"},
|
|
458
|
-
"foundry": {"azure-ai-projects": "2026-
|
|
459
|
-
"openai-agents": {"openai-agents": "2026-
|
|
460
|
-
"claude": {"claude-agent-sdk": "2026-
|
|
459
|
+
"foundry": {"azure-ai-projects": "2026-12-04", "azure-identity": "2026-12-04"},
|
|
460
|
+
"openai-agents": {"openai-agents": "2026-12-04"},
|
|
461
|
+
"claude": {"claude-agent-sdk": "2026-12-04"},
|
|
461
462
|
"smolagents": {"smolagents": "2026-07-23"},
|
|
462
|
-
"agno": {"agno": "2026-
|
|
463
|
-
"google-adk": {"google-adk": "2026-
|
|
464
|
-
"llamaindex": {"llama-index": "2026-
|
|
465
|
-
"bedrock": {"boto3": "2026-
|
|
466
|
-
"mcp": {"mcp": "2026-
|
|
463
|
+
"agno": {"agno": "2026-12-04"},
|
|
464
|
+
"google-adk": {"google-adk": "2026-12-04"},
|
|
465
|
+
"llamaindex": {"llama-index": "2026-12-04"},
|
|
466
|
+
"bedrock": {"boto3": "2026-12-04"},
|
|
467
|
+
"mcp": {"mcp": "2026-12-04"},
|
|
467
468
|
}
|
|
468
469
|
|
|
469
470
|
_PACKAGE_CERTIFICATION_NOTES: Dict[str, Dict[str, str]] = {
|
|
@@ -537,21 +538,28 @@ def framework_contract(key: str, language: Optional[str] = None) -> Optional[Dic
|
|
|
537
538
|
|
|
538
539
|
|
|
539
540
|
def catalog_digest() -> str:
|
|
540
|
-
#
|
|
541
|
-
#
|
|
542
|
-
#
|
|
543
|
-
frameworks = copy.deepcopy(FRAMEWORK_HOOK_CATALOG)
|
|
544
|
-
for contract in frameworks.values():
|
|
545
|
-
for package in list((contract.get("packages") or {}).keys()):
|
|
546
|
-
if package in PUBLISHED_AGENTICDOME_PACKAGES:
|
|
547
|
-
contract["packages"][package] = {"binding": "signed_catalog"}
|
|
541
|
+
# The signed binding covers release versions and certification timestamps.
|
|
542
|
+
# This identity covers the Python hooks, including their dependency bounds.
|
|
543
|
+
# npm/OpenClaw metadata must not invalidate an unchanged Python contract.
|
|
548
544
|
payload = {
|
|
549
545
|
"schema": CATALOG_SCHEMA,
|
|
550
|
-
"
|
|
551
|
-
|
|
546
|
+
"frameworks": {
|
|
547
|
+
key: contract for key, contract in FRAMEWORK_HOOK_CATALOG.items()
|
|
548
|
+
if contract.get("harness_python")
|
|
549
|
+
},
|
|
552
550
|
}
|
|
553
551
|
encoded = json.dumps(payload, sort_keys=True, separators=(",", ":")).encode("utf-8")
|
|
554
|
-
|
|
552
|
+
fingerprint = "sha256:" + hashlib.sha256(encoded).hexdigest()
|
|
553
|
+
# Migration anchor from the registry-verified 1.2.50 wheel (SHA-256
|
|
554
|
+
# 8223218b7e633e92b8bf1ad49b215c7b900ef438fc10af37269afc40c8900ad2).
|
|
555
|
+
# Only that exact Python contract retains its legacy identity, so existing
|
|
556
|
+
# clients can still require exact signed-binding equality. Changed Python
|
|
557
|
+
# hooks or dependency bounds receive a different digest automatically.
|
|
558
|
+
legacy_contracts = {
|
|
559
|
+
"sha256:2ec66d831316bb292269f96b339928531df473d9c9345176d153759541fd7c0e":
|
|
560
|
+
"sha256:f138edf5cbbb47a77d2f9d268281bf29bd8dbe18a397de1c874b0b066d1d57b4",
|
|
561
|
+
}
|
|
562
|
+
return legacy_contracts.get(fingerprint, fingerprint)
|
|
555
563
|
|
|
556
564
|
|
|
557
565
|
def harness_compatibility_manifest() -> Dict[str, Dict[str, Any]]:
|
|
File without changes
|
{agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/licenses/NOTICE
RENAMED
|
File without changes
|
{agenticdome_python_sdk-1.2.50.dist-info → agenticdome_python_sdk-1.2.52.dist-info}/top_level.txt
RENAMED
|
File without changes
|