cerbere-ag 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.
- cerbere_ag-0.1.0/LICENSE +21 -0
- cerbere_ag-0.1.0/PKG-INFO +69 -0
- cerbere_ag-0.1.0/README.md +42 -0
- cerbere_ag-0.1.0/agentguard_sdk.py +1780 -0
- cerbere_ag-0.1.0/cerbere_ag.egg-info/PKG-INFO +69 -0
- cerbere_ag-0.1.0/cerbere_ag.egg-info/SOURCES.txt +9 -0
- cerbere_ag-0.1.0/cerbere_ag.egg-info/dependency_links.txt +1 -0
- cerbere_ag-0.1.0/cerbere_ag.egg-info/requires.txt +11 -0
- cerbere_ag-0.1.0/cerbere_ag.egg-info/top_level.txt +1 -0
- cerbere_ag-0.1.0/pyproject.toml +39 -0
- cerbere_ag-0.1.0/setup.cfg +4 -0
cerbere_ag-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Cerbere AG
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cerbere-ag
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Runtime security & observability guard for AI agents — intercepts LLM calls and tool calls before execution.
|
|
5
|
+
Author: Cerbere AG
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://app.cerbereag.site
|
|
8
|
+
Project-URL: Repository, https://github.com/chrismsmr-celcom/agentguard
|
|
9
|
+
Keywords: ai,agents,security,llm,guardrails,observability,mcp
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Topic :: Security
|
|
14
|
+
Requires-Python: >=3.9
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
Requires-Dist: requests>=2.28
|
|
18
|
+
Requires-Dist: structlog>=23.0
|
|
19
|
+
Requires-Dist: tiktoken>=0.5
|
|
20
|
+
Requires-Dist: pydantic>=2.0
|
|
21
|
+
Provides-Extra: signing
|
|
22
|
+
Requires-Dist: cryptography>=41.0; extra == "signing"
|
|
23
|
+
Provides-Extra: pii
|
|
24
|
+
Requires-Dist: presidio-analyzer; extra == "pii"
|
|
25
|
+
Requires-Dist: spacy; extra == "pii"
|
|
26
|
+
Dynamic: license-file
|
|
27
|
+
|
|
28
|
+
# agentguard-sdk
|
|
29
|
+
|
|
30
|
+
Runtime security & observability guard for AI agents. Wraps LLM calls and
|
|
31
|
+
tool calls, checks them against policy before execution, and streams
|
|
32
|
+
telemetry to your AgentGuard collector.
|
|
33
|
+
|
|
34
|
+
## Install
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install agentguard-sdk
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Quick start
|
|
41
|
+
|
|
42
|
+
```python
|
|
43
|
+
from agentguard_sdk import AgentGuard
|
|
44
|
+
|
|
45
|
+
guard = AgentGuard(
|
|
46
|
+
collector_url="https://YOUR_AGENTGUARD_HOST",
|
|
47
|
+
api_key="YOUR_AGENTGUARD_API_KEY",
|
|
48
|
+
agent_id="my-agent",
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
@guard.guard_llm_call
|
|
52
|
+
def call_model(prompt, model="gpt-5"):
|
|
53
|
+
from openai import OpenAI
|
|
54
|
+
return OpenAI().responses.create(model=model, input=prompt)
|
|
55
|
+
|
|
56
|
+
@guard.guard_tool_call("search_customer")
|
|
57
|
+
def search_customer(query):
|
|
58
|
+
return your_search_function(query)
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
See https://app.cerbereag.site for the dashboard, policy docs, and other
|
|
62
|
+
framework integrations (MCP, LangGraph, CrewAI, Composio, HTTP gateway).
|
|
63
|
+
|
|
64
|
+
## Optional extras
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
pip install "agentguard-sdk[signing]" # verify signed policy decisions (Ed25519)
|
|
68
|
+
pip install "agentguard-sdk[pii]" # advanced PII detection via Presidio
|
|
69
|
+
```
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# agentguard-sdk
|
|
2
|
+
|
|
3
|
+
Runtime security & observability guard for AI agents. Wraps LLM calls and
|
|
4
|
+
tool calls, checks them against policy before execution, and streams
|
|
5
|
+
telemetry to your AgentGuard collector.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install agentguard-sdk
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Quick start
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from agentguard_sdk import AgentGuard
|
|
17
|
+
|
|
18
|
+
guard = AgentGuard(
|
|
19
|
+
collector_url="https://YOUR_AGENTGUARD_HOST",
|
|
20
|
+
api_key="YOUR_AGENTGUARD_API_KEY",
|
|
21
|
+
agent_id="my-agent",
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
@guard.guard_llm_call
|
|
25
|
+
def call_model(prompt, model="gpt-5"):
|
|
26
|
+
from openai import OpenAI
|
|
27
|
+
return OpenAI().responses.create(model=model, input=prompt)
|
|
28
|
+
|
|
29
|
+
@guard.guard_tool_call("search_customer")
|
|
30
|
+
def search_customer(query):
|
|
31
|
+
return your_search_function(query)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
See https://app.cerbereag.site for the dashboard, policy docs, and other
|
|
35
|
+
framework integrations (MCP, LangGraph, CrewAI, Composio, HTTP gateway).
|
|
36
|
+
|
|
37
|
+
## Optional extras
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install "agentguard-sdk[signing]" # verify signed policy decisions (Ed25519)
|
|
41
|
+
pip install "agentguard-sdk[pii]" # advanced PII detection via Presidio
|
|
42
|
+
```
|