agentx-security-sdk 0.2.2__tar.gz → 0.2.3__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.
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/PKG-INFO +22 -5
- agentx_security_sdk-0.2.3/README.md +164 -0
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_security_sdk.egg-info/PKG-INFO +22 -5
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_security_sdk.egg-info/SOURCES.txt +1 -1
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/setup.py +1 -1
- agentx_security_sdk-0.2.2/README.txt +0 -29
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_sdk/__init__.py +0 -0
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_sdk/client.py +0 -0
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_sdk/db.py +0 -0
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_sdk/decorators.py +0 -0
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_security_sdk.egg-info/dependency_links.txt +0 -0
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_security_sdk.egg-info/requires.txt +0 -0
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_security_sdk.egg-info/top_level.txt +0 -0
- {agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentx-security-sdk
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: The self-healing exception handler for autonomous AI agents.
|
|
5
5
|
Home-page: https://github.com/vdalal/semantic-gateway
|
|
6
6
|
Author: AgentX Team
|
|
@@ -33,6 +33,15 @@ LLM Agents are brilliant, but they are incredibly brittle. They will drop your p
|
|
|
33
33
|
**AgentX is different.** It is a neuro-symbolic edge gateway that intercepts dangerous tool calls, blocks them, and returns a **Socratic Challenge** back to the agent's context window—forcing the agent to rethink its strategy and self-correct *without crashing*.
|
|
34
34
|
|
|
35
35
|
### 🧠 Don't just block agents. Coach them.
|
|
36
|
+
### The 5 Pillars of Agentic Security
|
|
37
|
+
AgentX is built on a "Reasoning Engine" architecture that treats AI agents as autonomous employees rather than static scripts. We secure them through five core pillars:
|
|
38
|
+
1. **Cognitive Interception:** We intercept tool calls to compare the agent's stated intent (Chain of Thought) against its actual deterministic action.
|
|
39
|
+
2. **Socratic Nudging:** Instead of crashing the agent with a `403 Forbidden`, we issue a Socratic Challenge to guide them to a safe, desired end-goal.
|
|
40
|
+
3. **Human-in-the-Loop (HITL):** If the gateway cannot judge intent safely, the agent is paused (`202 Accepted`) and sent to a SOC Sandbox for human evaluation.
|
|
41
|
+
4. **Dynamic Policy Refresh:** We collect novel intents at the edge, allowing DevSecOps to draft new policies that sync globally to all containers in 3 seconds.
|
|
42
|
+
5. **Immutable Audit Trails:** We maintain a chronological ledger of agent thoughts, actions, and corrections for future learning and compliance.
|
|
43
|
+
|
|
44
|
+
|
|
36
45
|
```text
|
|
37
46
|
════════════════════════════════════════════════════════════
|
|
38
47
|
🛡️ AgentX Session Summary (Trace: 7012938b-4cde-4bea-aac8)
|
|
@@ -126,6 +135,14 @@ AgentX ships with a built-in, privacy-first SQLite time-series event log (`.agen
|
|
|
126
135
|
|
|
127
136
|
```
|
|
128
137
|
|
|
138
|
+
📦 Try the Developer Demos
|
|
139
|
+
Inside the examples/ folder, you will find three standalone scripts proving the AgentX Reasoning Layer:
|
|
140
|
+
|
|
141
|
+
* **01_self_healing_agent.py:** Watch AgentX catch a hallucination and coach the agent to self-correct (Saving tokens and uptime).
|
|
142
|
+
* **02_cognitive_intent_block.py:** Watch the Semantic Firewall catch malicious intent even when the raw syntax is perfectly safe.
|
|
143
|
+
* **03_human_escalation.py:** See how an agent safely pauses execution and pings a SOC analyst for approval using a 202 Accepted queue.
|
|
144
|
+
|
|
145
|
+
|
|
129
146
|
## 🕹️ Human-in-the-Loop (HITL) & Control Plane
|
|
130
147
|
Sometimes, an agent needs to drop a table for a valid business reason.
|
|
131
148
|
|
|
@@ -152,10 +169,10 @@ AgentX relies on a decoupled, hybrid-cloud architecture to ensure maximum perfor
|
|
|
152
169
|
|
|
153
170
|
## ✨ Key Features & Built-in Policies
|
|
154
171
|
|
|
155
|
-
* **Automated Socratic Self-Healing
|
|
156
|
-
* **Fast Pass Heuristic Traps
|
|
157
|
-
* **Zero-Knowledge Intent Extraction
|
|
158
|
-
* **Dynamic
|
|
172
|
+
* **Automated Socratic Self-Healing**: Intercepts dangerous tool calls and challenges the agent to revise its strategy.
|
|
173
|
+
* **Fast Pass Heuristic Traps**: Instantly intercepts structurally dangerous queries (e.g., `DROP TABLE`, `DELETE`) with minimal latency.
|
|
174
|
+
* **Zero-Knowledge Intent Extraction**: Prevents malicious prompt injection by translating raw agent logic into a strict schema before policy evaluation.
|
|
175
|
+
* **Dynamic Cloud Policies**: Enforces isolation rules instantly via a Supabase-backed Control Plane that syncs to edge caches in 3 seconds.
|
|
159
176
|
|
|
160
177
|
## 🔒 Security Posture
|
|
161
178
|
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# 🛡️ AgentX: The Semantic Firewall for AI Agents
|
|
2
|
+
|
|
3
|
+
[](https://www.python.org/downloads/)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
LLM Agents are brilliant, but they are incredibly brittle. They will drop your production database, leak AWS keys, and fall victim to prompt injections. Traditional firewalls just crash the agent by returning a `403 Forbidden`.
|
|
7
|
+
|
|
8
|
+
**AgentX is different.** It is a neuro-symbolic edge gateway that intercepts dangerous tool calls, blocks them, and returns a **Socratic Challenge** back to the agent's context window—forcing the agent to rethink its strategy and self-correct *without crashing*.
|
|
9
|
+
|
|
10
|
+
### 🧠 Don't just block agents. Coach them.
|
|
11
|
+
### The 5 Pillars of Agentic Security
|
|
12
|
+
AgentX is built on a "Reasoning Engine" architecture that treats AI agents as autonomous employees rather than static scripts. We secure them through five core pillars:
|
|
13
|
+
1. **Cognitive Interception:** We intercept tool calls to compare the agent's stated intent (Chain of Thought) against its actual deterministic action.
|
|
14
|
+
2. **Socratic Nudging:** Instead of crashing the agent with a `403 Forbidden`, we issue a Socratic Challenge to guide them to a safe, desired end-goal.
|
|
15
|
+
3. **Human-in-the-Loop (HITL):** If the gateway cannot judge intent safely, the agent is paused (`202 Accepted`) and sent to a SOC Sandbox for human evaluation.
|
|
16
|
+
4. **Dynamic Policy Refresh:** We collect novel intents at the edge, allowing DevSecOps to draft new policies that sync globally to all containers in 3 seconds.
|
|
17
|
+
5. **Immutable Audit Trails:** We maintain a chronological ledger of agent thoughts, actions, and corrections for future learning and compliance.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
════════════════════════════════════════════════════════════
|
|
22
|
+
🛡️ AgentX Session Summary (Trace: 7012938b-4cde-4bea-aac8)
|
|
23
|
+
════════════════════════════════════════════════════════════
|
|
24
|
+
⏱️ Uptime: 15.49 seconds
|
|
25
|
+
🛠️ Tools Monitored: 2
|
|
26
|
+
────────────────────────────────────────────────────────────
|
|
27
|
+
🛑 Intercepts: 1 | Cumulative: 34
|
|
28
|
+
💥 Critical Blocks: 1 | Cumulative: 18
|
|
29
|
+
🔄 Self-Corrections: 1 | Recovery Rate: 100.0%
|
|
30
|
+
💰 Tokens Saved: ~1500 | Cumulative: ~51000
|
|
31
|
+
⏳ Time Saved: ~5s | Cumulative: ~170s
|
|
32
|
+
════════════════════════════════════════════════════════════
|
|
33
|
+
🩺 AGENT HEALTH INSIGHT
|
|
34
|
+
────────────────────────────────────────────────────────────
|
|
35
|
+
⚠️ Top Offender: 'Database Isolation'
|
|
36
|
+
💡 Tip: Consider refining your agent's system prompt to avoid this.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
🚀 The 4 Shields (Defense-in-Depth)
|
|
40
|
+
The Inbound Shield (Prompt Injection): Sanitizes inbound user text to prevent cognitive hijacking ("Ignore previous instructions") before the agent reads it.
|
|
41
|
+
|
|
42
|
+
The Logic Shield (Database Guard): Uses AST parsing and Gemini to catch destructive queries (DROP, DELETE) and nudges the agent to write safer SQL.
|
|
43
|
+
|
|
44
|
+
The Network Shield (SSRF Guard): Prevents agents from acting as confused deputies to hit cloud metadata IPs (e.g., 169.254.169.254).
|
|
45
|
+
|
|
46
|
+
The Egress Shield (DLP/PII Scrubber): Dynamically masks PII and API keys on the wire, maintaining clean audit logs without triggering SOC alert fatigue.
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
⚡ Quickstart (Time-to-Value < 3 Minutes)
|
|
50
|
+
1. Install the SDK
|
|
51
|
+
Zero-config integration for your Python agents.
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
pip install agentx-security-sdk
|
|
55
|
+
```
|
|
56
|
+
2. Wrap your Tools
|
|
57
|
+
Add the @agentx_protect decorator to any function your LangChain, AutoGen, or custom ReAct agent uses. AgentX operates out-of-band, adding zero latency to safe calls.
|
|
58
|
+
|
|
59
|
+
```python
|
|
60
|
+
from agentx_sdk.decorators import agentx_protect
|
|
61
|
+
|
|
62
|
+
@agentx_protect(agent_id="customer_support_agent")
|
|
63
|
+
def execute_database_query(query: str):
|
|
64
|
+
# Your local logic here
|
|
65
|
+
return db.execute(query)
|
|
66
|
+
```
|
|
67
|
+
3. Spin up the Edge Gateway
|
|
68
|
+
AgentX requires an Edge node to process heuristics and embeddings at sub-millisecond speeds.
|
|
69
|
+
|
|
70
|
+
Clone this repository.
|
|
71
|
+
|
|
72
|
+
Copy .env.example to .env and add your API keys (SUPABASE_URL, SUPABASE_KEY, GEMINI_API_KEY).
|
|
73
|
+
|
|
74
|
+
Boot the gateway:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
docker-compose up -d
|
|
78
|
+
```
|
|
79
|
+
The gateway is now listening on http://localhost:8000 and mirroring policies from your Control Plane.
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
4. Run the Simulation
|
|
83
|
+
Watch the AgentX Gateway coach a rogue agent in real-time.
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
python examples/simulate_agent_sdk.py
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## 📊 Local Telemetry & Agent Health
|
|
90
|
+
|
|
91
|
+
AgentX ships with a built-in, privacy-first SQLite time-series event log (`.agentx.db`). It tracks every interception locally. When your agent script finishes or crashes, AgentX automatically prints a comprehensive Session Summary and Lifetime ROI dashboard:
|
|
92
|
+
|
|
93
|
+
```text
|
|
94
|
+
══════════════════════════════════════════════════
|
|
95
|
+
🛡️ AgentX Session Summary
|
|
96
|
+
══════════════════════════════════════════════════
|
|
97
|
+
⏱️ Uptime: 9.17 seconds
|
|
98
|
+
🛠️ Tools Monitored: 2
|
|
99
|
+
──────────────────────────────────────────────────
|
|
100
|
+
🛑 Intercepts: 1 | Cumulative: 5
|
|
101
|
+
💥 Critical Blocks: 1 | Cumulative: 5
|
|
102
|
+
💰 Tokens Saved: ~1500 | Cumulative: ~7500
|
|
103
|
+
⏳ Time Saved: ~5m | Cumulative: ~25m
|
|
104
|
+
══════════════════════════════════════════════════
|
|
105
|
+
🩺 AGENT HEALTH INSIGHT
|
|
106
|
+
──────────────────────────────────────────────────
|
|
107
|
+
⚠️ Top Offender: 'Database Isolation'
|
|
108
|
+
🛠️ Tip: Consider refining your agent's system prompt to avoid this.
|
|
109
|
+
══════════════════════════════════════════════════
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
📦 Try the Developer Demos
|
|
114
|
+
Inside the examples/ folder, you will find three standalone scripts proving the AgentX Reasoning Layer:
|
|
115
|
+
|
|
116
|
+
* **01_self_healing_agent.py:** Watch AgentX catch a hallucination and coach the agent to self-correct (Saving tokens and uptime).
|
|
117
|
+
* **02_cognitive_intent_block.py:** Watch the Semantic Firewall catch malicious intent even when the raw syntax is perfectly safe.
|
|
118
|
+
* **03_human_escalation.py:** See how an agent safely pauses execution and pings a SOC analyst for approval using a 202 Accepted queue.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
## 🕹️ Human-in-the-Loop (HITL) & Control Plane
|
|
122
|
+
Sometimes, an agent needs to drop a table for a valid business reason.
|
|
123
|
+
|
|
124
|
+
AgentX features a Next.js Control Plane Dashboard. If an agent requests an escalation, the SDK securely pauses local execution and polls the Edge Gateway. A human SOC analyst can click "Approve" or "Deny" in the UI, and the Python execution loop will automatically resume.
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
cd ui
|
|
128
|
+
npm install
|
|
129
|
+
npm run dev
|
|
130
|
+
|
|
131
|
+
## 🤝 Contributing
|
|
132
|
+
We are actively looking for design partners. If you are building autonomous agents in production and are terrified of what they might do, open an issue or reach out!
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
## 🏗️ The Architecture (Split-Plane)
|
|
136
|
+
|
|
137
|
+
AgentX relies on a decoupled, hybrid-cloud architecture to ensure maximum performance and security for AI-driven enterprise systems.
|
|
138
|
+
|
|
139
|
+
* **The Edge SDK (AgentX):** The lightweight Python package that instruments agent tools and triggers local Socratic self-healing.
|
|
140
|
+
* **The Data Plane (Semantic Firewall):** A Python FastAPI middleware (the "Wedge") that intercepts raw HTTP/SQL payloads *before* they hit the database.
|
|
141
|
+
* **The Control Plane (Dashboard):** A Next.js application (deployed via Vercel) that allows human reviewers to monitor intercepted agent traffic, review chains of thought, and approve or deny parked requests.
|
|
142
|
+
* **The Shared Brain:** Supabase acts as the central state manager. Both the Control Plane and Data Plane synchronize via Supabase, decoupling the network architecture and allowing asynchronous state polling.
|
|
143
|
+
* **The Evaluator:** Google's Gemini 2.5 Flash is used to translate an agent's Chain of Thought (CoT) into a zero-knowledge taxonomy to evaluate intent against YAML-defined enterprise policies.
|
|
144
|
+
|
|
145
|
+
## ✨ Key Features & Built-in Policies
|
|
146
|
+
|
|
147
|
+
* **Automated Socratic Self-Healing**: Intercepts dangerous tool calls and challenges the agent to revise its strategy.
|
|
148
|
+
* **Fast Pass Heuristic Traps**: Instantly intercepts structurally dangerous queries (e.g., `DROP TABLE`, `DELETE`) with minimal latency.
|
|
149
|
+
* **Zero-Knowledge Intent Extraction**: Prevents malicious prompt injection by translating raw agent logic into a strict schema before policy evaluation.
|
|
150
|
+
* **Dynamic Cloud Policies**: Enforces isolation rules instantly via a Supabase-backed Control Plane that syncs to edge caches in 3 seconds.
|
|
151
|
+
|
|
152
|
+
## 🔒 Security Posture
|
|
153
|
+
|
|
154
|
+
* **Secret Management:** API keys are never checked into version control. Production variables are managed securely via the Vercel Dashboard.
|
|
155
|
+
* **History Scrubbing:** This repository has been scrubbed of legacy keys using git-filter-repo.
|
|
156
|
+
* **Private IP:** Repository is private to protect proprietary evaluation prompts and architecture.
|
|
157
|
+
|
|
158
|
+
## 📈 Roadmap
|
|
159
|
+
|
|
160
|
+
* **Trust Boundary Shift:** Move the neuro-symbolic evaluation entirely behind the Data Plane to prevent agent manipulation.
|
|
161
|
+
* **Dynamic Policy Engine:** Shift YAML configurations directly into Supabase for instant Control Plane sync.
|
|
162
|
+
* **Dockerization:** Containerize the Data Plane for deployment to AWS ECS / Render for persistent, low-latency edge interception.
|
|
163
|
+
* **Multi-Tenancy:** Implement Supabase Row Level Security (RLS) for multi-org deployments.
|
|
164
|
+
|
{agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_security_sdk.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentx-security-sdk
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: The self-healing exception handler for autonomous AI agents.
|
|
5
5
|
Home-page: https://github.com/vdalal/semantic-gateway
|
|
6
6
|
Author: AgentX Team
|
|
@@ -33,6 +33,15 @@ LLM Agents are brilliant, but they are incredibly brittle. They will drop your p
|
|
|
33
33
|
**AgentX is different.** It is a neuro-symbolic edge gateway that intercepts dangerous tool calls, blocks them, and returns a **Socratic Challenge** back to the agent's context window—forcing the agent to rethink its strategy and self-correct *without crashing*.
|
|
34
34
|
|
|
35
35
|
### 🧠 Don't just block agents. Coach them.
|
|
36
|
+
### The 5 Pillars of Agentic Security
|
|
37
|
+
AgentX is built on a "Reasoning Engine" architecture that treats AI agents as autonomous employees rather than static scripts. We secure them through five core pillars:
|
|
38
|
+
1. **Cognitive Interception:** We intercept tool calls to compare the agent's stated intent (Chain of Thought) against its actual deterministic action.
|
|
39
|
+
2. **Socratic Nudging:** Instead of crashing the agent with a `403 Forbidden`, we issue a Socratic Challenge to guide them to a safe, desired end-goal.
|
|
40
|
+
3. **Human-in-the-Loop (HITL):** If the gateway cannot judge intent safely, the agent is paused (`202 Accepted`) and sent to a SOC Sandbox for human evaluation.
|
|
41
|
+
4. **Dynamic Policy Refresh:** We collect novel intents at the edge, allowing DevSecOps to draft new policies that sync globally to all containers in 3 seconds.
|
|
42
|
+
5. **Immutable Audit Trails:** We maintain a chronological ledger of agent thoughts, actions, and corrections for future learning and compliance.
|
|
43
|
+
|
|
44
|
+
|
|
36
45
|
```text
|
|
37
46
|
════════════════════════════════════════════════════════════
|
|
38
47
|
🛡️ AgentX Session Summary (Trace: 7012938b-4cde-4bea-aac8)
|
|
@@ -126,6 +135,14 @@ AgentX ships with a built-in, privacy-first SQLite time-series event log (`.agen
|
|
|
126
135
|
|
|
127
136
|
```
|
|
128
137
|
|
|
138
|
+
📦 Try the Developer Demos
|
|
139
|
+
Inside the examples/ folder, you will find three standalone scripts proving the AgentX Reasoning Layer:
|
|
140
|
+
|
|
141
|
+
* **01_self_healing_agent.py:** Watch AgentX catch a hallucination and coach the agent to self-correct (Saving tokens and uptime).
|
|
142
|
+
* **02_cognitive_intent_block.py:** Watch the Semantic Firewall catch malicious intent even when the raw syntax is perfectly safe.
|
|
143
|
+
* **03_human_escalation.py:** See how an agent safely pauses execution and pings a SOC analyst for approval using a 202 Accepted queue.
|
|
144
|
+
|
|
145
|
+
|
|
129
146
|
## 🕹️ Human-in-the-Loop (HITL) & Control Plane
|
|
130
147
|
Sometimes, an agent needs to drop a table for a valid business reason.
|
|
131
148
|
|
|
@@ -152,10 +169,10 @@ AgentX relies on a decoupled, hybrid-cloud architecture to ensure maximum perfor
|
|
|
152
169
|
|
|
153
170
|
## ✨ Key Features & Built-in Policies
|
|
154
171
|
|
|
155
|
-
* **Automated Socratic Self-Healing
|
|
156
|
-
* **Fast Pass Heuristic Traps
|
|
157
|
-
* **Zero-Knowledge Intent Extraction
|
|
158
|
-
* **Dynamic
|
|
172
|
+
* **Automated Socratic Self-Healing**: Intercepts dangerous tool calls and challenges the agent to revise its strategy.
|
|
173
|
+
* **Fast Pass Heuristic Traps**: Instantly intercepts structurally dangerous queries (e.g., `DROP TABLE`, `DELETE`) with minimal latency.
|
|
174
|
+
* **Zero-Knowledge Intent Extraction**: Prevents malicious prompt injection by translating raw agent logic into a strict schema before policy evaluation.
|
|
175
|
+
* **Dynamic Cloud Policies**: Enforces isolation rules instantly via a Supabase-backed Control Plane that syncs to edge caches in 3 seconds.
|
|
159
176
|
|
|
160
177
|
## 🔒 Security Posture
|
|
161
178
|
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/zero-knowledge-gateway (The Root Folder)
|
|
2
|
-
│
|
|
3
|
-
├── /backend (Our Python Data Plane)
|
|
4
|
-
│ ├── main.py (The FastAPI middleware & Supabase logic)
|
|
5
|
-
│ ├── semantic-firewall.yaml
|
|
6
|
-
│ └── requirements.txt
|
|
7
|
-
│
|
|
8
|
-
├── /dashboard (Our Next.js Control Plane)
|
|
9
|
-
│ ├── /app (React pages & Tarpit UI)
|
|
10
|
-
│ ├── /components (shadcn/ui buttons and tables)
|
|
11
|
-
│ ├── tailwind.config.js
|
|
12
|
-
│ └── package.json
|
|
13
|
-
│
|
|
14
|
-
├── .env (Shared environment variables!)
|
|
15
|
-
└── README.md
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
QUICK RECAP
|
|
19
|
-
The Wedge (Data Plane): A fast, dumb Python interceptor that catches bad SQL without slowing down normal traffic.
|
|
20
|
-
|
|
21
|
-
The Intelligence Layer: An out-of-band Gemini integration that forces autonomous agents to explain themselves and standardizes their stochastic text into rigid JSON.
|
|
22
|
-
|
|
23
|
-
The Anchor: A deterministic YAML policy engine that makes the final safety decision without relying on AI.
|
|
24
|
-
|
|
25
|
-
The State Manager: A Supabase database that parks the request.
|
|
26
|
-
|
|
27
|
-
The Control Plane: A Next.js web dashboard where a human can review the interrogation and pull the plug.
|
|
28
|
-
|
|
29
|
-
This is a complete MVP. Solved the "rogue agent" problem in a way that actually scales.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_security_sdk.egg-info/requires.txt
RENAMED
|
File without changes
|
{agentx_security_sdk-0.2.2 → agentx_security_sdk-0.2.3}/agentx_security_sdk.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|