cortexhub 0.1.1__tar.gz → 0.1.2__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.
- {cortexhub-0.1.1 → cortexhub-0.1.2}/PKG-INFO +8 -14
- {cortexhub-0.1.1 → cortexhub-0.1.2}/README.md +7 -13
- {cortexhub-0.1.1 → cortexhub-0.1.2}/pyproject.toml +1 -1
- {cortexhub-0.1.1 → cortexhub-0.1.2}/.gitignore +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/__init__.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/adapters/__init__.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/adapters/base.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/adapters/claude_agents.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/adapters/crewai.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/adapters/langgraph.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/adapters/openai_agents.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/audit/__init__.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/audit/events.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/auto_protect.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/backend/__init__.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/backend/client.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/client.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/config.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/context/__init__.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/context/enricher.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/errors.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/frameworks.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/guardrails/__init__.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/guardrails/injection.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/guardrails/pii.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/guardrails/secrets.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/interceptors/__init__.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/interceptors/llm.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/interceptors/mcp.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/pipeline.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/policy/__init__.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/policy/effects.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/policy/evaluator.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/policy/loader.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/policy/models.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/policy/sync.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/telemetry/__init__.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/telemetry/otel.py +0 -0
- {cortexhub-0.1.1 → cortexhub-0.1.2}/src/cortexhub/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cortexhub
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: CortexHub Python SDK - Policy-as-Code for AI Agents
|
|
5
5
|
Project-URL: Homepage, https://cortexhub.ai
|
|
6
6
|
Project-URL: Documentation, https://docs.cortexhub.ai
|
|
@@ -107,21 +107,16 @@ from langgraph.prebuilt import create_react_agent
|
|
|
107
107
|
## Configuration
|
|
108
108
|
|
|
109
109
|
```bash
|
|
110
|
-
# Required: API key
|
|
110
|
+
# Required: API key
|
|
111
111
|
export CORTEXHUB_API_KEY=ch_live_...
|
|
112
112
|
|
|
113
|
-
# Optional: Backend URL (defaults to production)
|
|
114
|
-
export CORTEXHUB_API_URL=https://api.cortexhub.ai
|
|
115
|
-
|
|
116
|
-
# Optional: provider keys for your framework or examples
|
|
117
|
-
export OPENAI_API_KEY=sk-...
|
|
118
113
|
```
|
|
119
114
|
|
|
120
115
|
## Features
|
|
121
116
|
|
|
122
|
-
- **Policy Enforcement** -
|
|
123
|
-
- **PII Detection** -
|
|
124
|
-
- **Secrets Detection** -
|
|
117
|
+
- **Policy Enforcement** - Cloud configuration, local evaluation
|
|
118
|
+
- **PII Detection** - 50+ entity types, configurable
|
|
119
|
+
- **Secrets Detection** - 30+ secret types
|
|
125
120
|
- **Configurable Guardrails** - Select specific PII/secret types to redact
|
|
126
121
|
- **Custom Patterns** - Add company-specific regex patterns
|
|
127
122
|
- **OpenTelemetry** - Industry-standard observability
|
|
@@ -185,12 +180,11 @@ The SDK applies your configuration automatically:
|
|
|
185
180
|
|
|
186
181
|
## Examples
|
|
187
182
|
|
|
188
|
-
Examples live in the separate `
|
|
189
|
-
itself does not ship example scripts).
|
|
183
|
+
Examples live in the separate `examples` repository
|
|
190
184
|
|
|
191
185
|
```bash
|
|
192
|
-
git clone git@github.com:cortexhub/
|
|
193
|
-
cd
|
|
186
|
+
git clone git@github.com:cortexhub/examples.git
|
|
187
|
+
cd examples/langgraph # or crewai, openai-agents, claude-agents
|
|
194
188
|
```
|
|
195
189
|
|
|
196
190
|
## Important: Initialization Order
|
|
@@ -47,21 +47,16 @@ from langgraph.prebuilt import create_react_agent
|
|
|
47
47
|
## Configuration
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
-
# Required: API key
|
|
50
|
+
# Required: API key
|
|
51
51
|
export CORTEXHUB_API_KEY=ch_live_...
|
|
52
52
|
|
|
53
|
-
# Optional: Backend URL (defaults to production)
|
|
54
|
-
export CORTEXHUB_API_URL=https://api.cortexhub.ai
|
|
55
|
-
|
|
56
|
-
# Optional: provider keys for your framework or examples
|
|
57
|
-
export OPENAI_API_KEY=sk-...
|
|
58
53
|
```
|
|
59
54
|
|
|
60
55
|
## Features
|
|
61
56
|
|
|
62
|
-
- **Policy Enforcement** -
|
|
63
|
-
- **PII Detection** -
|
|
64
|
-
- **Secrets Detection** -
|
|
57
|
+
- **Policy Enforcement** - Cloud configuration, local evaluation
|
|
58
|
+
- **PII Detection** - 50+ entity types, configurable
|
|
59
|
+
- **Secrets Detection** - 30+ secret types
|
|
65
60
|
- **Configurable Guardrails** - Select specific PII/secret types to redact
|
|
66
61
|
- **Custom Patterns** - Add company-specific regex patterns
|
|
67
62
|
- **OpenTelemetry** - Industry-standard observability
|
|
@@ -125,12 +120,11 @@ The SDK applies your configuration automatically:
|
|
|
125
120
|
|
|
126
121
|
## Examples
|
|
127
122
|
|
|
128
|
-
Examples live in the separate `
|
|
129
|
-
itself does not ship example scripts).
|
|
123
|
+
Examples live in the separate `examples` repository
|
|
130
124
|
|
|
131
125
|
```bash
|
|
132
|
-
git clone git@github.com:cortexhub/
|
|
133
|
-
cd
|
|
126
|
+
git clone git@github.com:cortexhub/examples.git
|
|
127
|
+
cd examples/langgraph # or crewai, openai-agents, claude-agents
|
|
134
128
|
```
|
|
135
129
|
|
|
136
130
|
## Important: Initialization Order
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|