From b67b525e669fe698366d503da3337906bbe6fe90 Mon Sep 17 00:00:00 2001 From: baturhantasdelen-sudo Date: Sat, 1 Aug 2026 01:25:36 +0300 Subject: [PATCH] feat(docs): add Nexus Shield guardrail integration guide Co-authored-by: Cursor --- docs.json | 1 + docs/integrations/nexus_shield.md | 39 +++++++++++++++++++++ integrations/guardrails/nexus-shield.mdx | 44 ++++++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 docs/integrations/nexus_shield.md create mode 100644 integrations/guardrails/nexus-shield.mdx diff --git a/docs.json b/docs.json index 1f7a8c53..bc737115 100644 --- a/docs.json +++ b/docs.json @@ -524,6 +524,7 @@ "integrations/guardrails/lasso", "integrations/guardrails/lakera", "integrations/guardrails/mistral", + "integrations/guardrails/nexus-shield", "integrations/guardrails/pangea", "integrations/guardrails/patronus-ai", "integrations/guardrails/palo-alto-panw-prisma", diff --git a/docs/integrations/nexus_shield.md b/docs/integrations/nexus_shield.md new file mode 100644 index 00000000..884a8086 --- /dev/null +++ b/docs/integrations/nexus_shield.md @@ -0,0 +1,39 @@ +# Nexus Shield Integration (Sub-10ms Guardrail Proxy) + +Nexus Shield provides in-RAM PII sanitization and security guardrails for Portkey-routed LLM requests with sub-10ms overhead. + +## Usage with Portkey + +You can route your requests through Nexus Shield by specifying its endpoint in your Portkey configuration or setting `base_url`. + +```python +from portkey_ai import Portkey + +portkey = Portkey( + api_key="PORTKEY_API_KEY", + base_url="https://api.nexusshield.ai/v1", + custom_headers={"X-API-Key": "nx_live_YOUR_KEY"}, +) + +response = portkey.chat.completions.create( + model="gpt-4o", + messages=[{"role": "user", "content": "Hello, my phone is 555-0199"}], +) + +print(response) +``` + +## Features + +- **Sub-10ms Overhead:** Real-time RAM pattern evaluation before upstream LLM calls. +- **Zero-Log PII Redaction:** Sanitizes sensitive information without disk persistence. + +## Get a Trial API Key + +Register for a 14-day free trial at [api.nexusshield.ai](https://api.nexusshield.ai): + +```bash +curl -X POST https://api.nexusshield.ai/v1/auth/register-trial \ + -H "Content-Type: application/json" \ + -d '{"email":"you@company.com"}' +``` diff --git a/integrations/guardrails/nexus-shield.mdx b/integrations/guardrails/nexus-shield.mdx new file mode 100644 index 00000000..23806364 --- /dev/null +++ b/integrations/guardrails/nexus-shield.mdx @@ -0,0 +1,44 @@ +--- +title: "Nexus Shield" +description: "Sub-10ms in-RAM PII sanitization and security guardrail proxy for Portkey" +--- + +# Nexus Shield Integration (Sub-10ms Guardrail Proxy) + +Nexus Shield provides in-RAM PII sanitization and security guardrails for Portkey-routed LLM requests with sub-10ms overhead. + +## Usage with Portkey + +You can route your requests through Nexus Shield by specifying its endpoint in your Portkey configuration or setting `base_url`. + +```python +from portkey_ai import Portkey + +portkey = Portkey( + api_key="PORTKEY_API_KEY", + base_url="https://api.nexusshield.ai/v1", + custom_headers={"X-API-Key": "nx_live_YOUR_KEY"}, +) + +response = portkey.chat.completions.create( + model="gpt-4o", + messages=[{"role": "user", "content": "Hello, my phone is 555-0199"}], +) + +print(response) +``` + +## Features + +- **Sub-10ms Overhead:** Real-time RAM pattern evaluation before upstream LLM calls. +- **Zero-Log PII Redaction:** Sanitizes sensitive information without disk persistence. + +## Get a Trial API Key + +Register for a 14-day free trial at [api.nexusshield.ai](https://api.nexusshield.ai): + +```bash +curl -X POST https://api.nexusshield.ai/v1/auth/register-trial \ + -H "Content-Type: application/json" \ + -d '{"email":"you@company.com"}' +```