govagent 3.0.3__tar.gz → 3.2.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.
- {govagent-3.0.3 → govagent-3.2.0}/LICENSE +21 -21
- {govagent-3.0.3 → govagent-3.2.0}/PKG-INFO +17 -8
- {govagent-3.0.3 → govagent-3.2.0}/README.md +431 -422
- {govagent-3.0.3 → govagent-3.2.0}/pyproject.toml +66 -66
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/__init__.py +21 -21
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/agent.py +253 -253
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/context/__init__.py +11 -11
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/context/fiscal_ledger.py +41 -41
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/context/session.py +15 -15
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/extensions/crewai/enforcer.py +210 -210
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/extensions/ibm/bob_mcp_proxy.py +45 -45
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/extensions/ibm/watsonx_bus.py +43 -43
- govagent-3.2.0/src/govagent/governance/__init__.py +11 -0
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/governance/cfo_analytics.py +88 -88
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/governance/evidence.py +153 -153
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/governance/meta.py +96 -96
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/guards/__init__.py +6 -6
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/guards/circuit_breaker.py +55 -55
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/guards/privacy.py +19 -19
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/guards/semantic.py +71 -71
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/hitl/__init__.py +15 -15
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/hitl/adapters.py +18 -18
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/hitl/manager.py +110 -110
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/hitl/slack_adapter.py +200 -200
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/llm/__init__.py +4 -4
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/llm/base.py +28 -28
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/llm/ollama.py +39 -39
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/llm/router.py +70 -70
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/policy.py +105 -83
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/pricing.py +22 -22
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/registry/__init__.py +22 -22
- govagent-3.2.0/src/govagent/registry/harbor_verifier.py +172 -0
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/registry/manager.py +110 -110
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/registry/schemas.py +56 -56
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/telemetry/__init__.py +3 -3
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/telemetry/exporters/__init__.py +13 -13
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/telemetry/exporters/azure.py +29 -29
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/telemetry/exporters/base.py +8 -8
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/telemetry/exporters/cloudwatch.py +35 -35
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/telemetry/exporters/federated.py +81 -81
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/telemetry/exporters/mock.py +8 -8
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/telemetry/manager.py +70 -70
- govagent-3.0.3/src/govagent/governance/__init__.py +0 -4
- govagent-3.0.3/src/govagent/registry/harbor_verifier.py +0 -34
- {govagent-3.0.3 → govagent-3.2.0}/src/govagent/extensions/__init__.py +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Niraj Kakodkar
|
|
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.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Niraj Kakodkar
|
|
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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: govagent
|
|
3
|
-
Version: 3.0
|
|
3
|
+
Version: 3.2.0
|
|
4
4
|
Summary: The Governance-First Framework for Agentic AI, Enterprise Middleware & OCI Supply Chain Gating
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -39,13 +39,13 @@ Requires-Dist: slack-sdk (>=3.0.0)
|
|
|
39
39
|
Requires-Dist: spacy (>=3.0.0)
|
|
40
40
|
Project-URL: Bug Tracker, https://github.com/thekakodkar/govagent/issues
|
|
41
41
|
Project-URL: Homepage, https://github.com/thekakodkar/govagent
|
|
42
|
-
Project-URL: LinkedIn, https://
|
|
42
|
+
Project-URL: LinkedIn, https://thekakodkar.github.io/govAgent/
|
|
43
43
|
Project-URL: Repository, https://github.com/thekakodkar/govagent
|
|
44
44
|
Description-Content-Type: text/markdown
|
|
45
45
|
|
|
46
|
-
<img width="
|
|
46
|
+
<img width="100%" alt="govAgent logo" src="https://github.com/user-attachments/assets/7aed634c-34e0-450c-9a7e-ee03ecd26ea5" />
|
|
47
47
|
|
|
48
|
-
# govAgent (v3.0
|
|
48
|
+
# govAgent (v3.1.0)
|
|
49
49
|
|
|
50
50
|
**The Governance-First Control Plane for AI Agents & Swarms**
|
|
51
51
|
|
|
@@ -64,6 +64,13 @@ Ideal for:
|
|
|
64
64
|
* **Regulated Verticals:** Providing verifiable compliance out-of-the-box for Fintech, Supply Chain, Healthcare, Heavy Industry, and Legal infrastructure.
|
|
65
65
|
* **Sovereign Infrastructure Operations:** Powering local Small Language Models (SLMs) and private inference nodes safely alongside or entirely independent of cloud providers.
|
|
66
66
|
|
|
67
|
+
### Usage Guide
|
|
68
|
+
<p align="center">
|
|
69
|
+
<a href="https://thekakodkar.github.io/govAgent/">
|
|
70
|
+
govAgent v3.1.0 - Library Documentation
|
|
71
|
+
</a>
|
|
72
|
+
</p>
|
|
73
|
+
|
|
67
74
|
### 🎞️ Video Walkthrough
|
|
68
75
|
|
|
69
76
|
<p align="center">
|
|
@@ -208,7 +215,7 @@ python -m spacy download en_core_web_lg
|
|
|
208
215
|
uvicorn api.server:app --host 127.0.0.1 --port 8000
|
|
209
216
|
npm run dev
|
|
210
217
|
```
|
|
211
|
-
## 🏗️ Core Pillars: The v3.0
|
|
218
|
+
## 🏗️ Core Pillars: The v3.1.0 Sovereign Architecture
|
|
212
219
|
GovAgent utilizes a highly modular package structure to enforce a strict "Separation of Duties" across any enterprise application vertical:
|
|
213
220
|
|
|
214
221
|
**govagent.context (The State):** Manages thread-safe session isolation, asynchronous parent-to-child trace propagation, and live cumulative Total Cost of Operation (TCO) calculation matrices across decentralized agent swarms.
|
|
@@ -224,6 +231,8 @@ GovAgent utilizes a highly modular package structure to enforce a strict "Separa
|
|
|
224
231
|
|
|
225
232
|
**govagent.governance.meta (The Optimization):** Hosts the MetaGovernor engine, an automated self-healing policy loop. It continuously scrapes friction logs and repeated circuit-breaker events (such as successive budget rejections) to autonomously compile non-hallucinated, data-backed POLICY_AMENDMENT_PROPOSALS for review.
|
|
226
233
|
|
|
234
|
+
**govagent.governance (3.1.0 exports):** `CFOAnalyticsEngine`, `EvidencePackGenerator`, and `ComplianceDossier` are importable from `govagent.governance`. The evidence generator reads a local JSONL buffer. A multi-tenant dossier is built from stored rows in the private control plane, [govagent-platform](https://github.com/thekakodkar/govagent-platform). `Policy` reads nested `fiscal_governance.global_limits` and `alignment` unless the same key is set at the top level. `HarborVerifier` calls Harbor v2 and fails closed unless the process is explicitly using the `mock-token` offline stub.
|
|
235
|
+
|
|
227
236
|
**govagent.api & govagent.hitl (The Gateway & Judiciary):** Powers the stateless REST communication network. It exposes an async FastAPI gateway that integrates seamlessly with a Next.js long-polling frontend dashboard, while routing out-of-band policy breaches to corporate Slack workspaces via firewall-resilient webhooks to enforce role-weighted, multi-signature human consensus.
|
|
228
237
|
|
|
229
238
|
---
|
|
@@ -243,7 +252,7 @@ async def process_payment(amount: float, reference_id: str):
|
|
|
243
252
|
"""Executes a disbursement following corporate policy and OCI container validation."""
|
|
244
253
|
return f"SUCCESS: Transacted ${amount} for Ref: {reference_id}"
|
|
245
254
|
```
|
|
246
|
-
### Bootstrap an Executive Agent (v3.0
|
|
255
|
+
### Bootstrap an Executive Agent (v3.1.0 Pluggable Router Pattern)
|
|
247
256
|
|
|
248
257
|
```python
|
|
249
258
|
import asyncio
|
|
@@ -314,7 +323,7 @@ Every session generates an immutable snapshot routed directly to external cloud
|
|
|
314
323
|
|
|
315
324
|
In an institutional setting, "State Management" is insufficient; you require Sovereignty. GovAgent v1.0.0 is engineered horizontally to transform "Black Box" multi-agent workflows into transparent, compliance-vetted execution lifecycles across all commercial sectors.
|
|
316
325
|
|
|
317
|
-
| Feature | **GovAgent v3.0
|
|
326
|
+
| Feature | **GovAgent v3.1.0** | LangGraph | Standard Orchestrators |
|
|
318
327
|
| --- | --- | --- | --- |
|
|
319
328
|
| **Architectural Scope** | ✅ **Modular Control Plane** | ⚠️ Local State Graph | ❌ Ad-Hoc Swarm Execution |
|
|
320
329
|
| **State Management** | ✅ **Isolated Fiscal Ledger** | ⚠️ Shared Thread State | ❌ Global context |
|
|
@@ -462,7 +471,7 @@ We enforce a strict branching strategy to keep `main` stable:
|
|
|
462
471
|
|
|
463
472
|
---
|
|
464
473
|
### Author Stamp
|
|
465
|
-
* **Framework:** GovAgent v3.0
|
|
474
|
+
* **Framework:** GovAgent v3.1.0
|
|
466
475
|
* **Compliance:** Designed for Article 9, 12, and 14 Accountability
|
|
467
476
|
* **Status:** Active / Open-Source Standard
|
|
468
477
|
|