Privent
  • Agent Security
  • Pricing
  • Docs
  • Blog
Privent

Agent Security for n8n workflows and AI Monitoring for enterprise AI usage, deployed in our cloud or fully on-prem.

GDPREU AI ActHIPAASOC 2SOC 2
Get your reportGet started

Product

  • Agent Security
  • Risk Report
  • Pricing
  • Use Cases

Integrations

  • n8n

Resources

  • Security
  • FAQ
  • Docs
  • Extension setup

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

Connect

  • LinkedIn
  • X / Twitter
  • Get started

© 2026 Privent Technologies, Inc. All rights reserved.

trust.privent.ai
Custom SDK

Embed Privent into any

agent architecture

The Privent SDK gives you direct access to ACARS scoring and APE transformation as a library. No orchestration framework required. Works with any Python or JavaScript agent: custom LLM loops, internal toolchains, proprietary pipelines.

Get startedAgent Security overview
How it works

How Privent integrates with Custom SDK

  1. 01

    Install and initialize

    Add the Privent SDK as a dependency. Initialize a client with your API key and deployment group. The SDK resolves your organization's active policy at startup.

  2. 02

    Wrap your payload before any external call

    Call `privent.scan(payload)` before sending data to any external LLM or API. The SDK runs ACARS scoring on the full payload context and returns a risk decision in under 50ms.

  3. 03

    Apply transformation and continue

    If risk exceeds threshold, APE returns a transformed payload with sensitive fields masked or fragmented. Your agent sends the safe version downstream. Every decision is logged to your Privent audit trail.

Integration

Drop-in integration

Add Privent to your existing Custom SDK pipeline without changing your architecture. One addition. Full graph-state visibility.

No proxy
No sidecar
Zero orchestration changes
agent.py
from privent import PriventClient
 
privent = PriventClient(
api_key="your_api_key",
deployment_group="engineering"
)
 
def run_agent(user_input: str):
payload = build_prompt(user_input) # your existing logic
 
result = privent.scan(payload)
if result.decision == "BLOCK":
return result.safe_response # APE-transformed
 
return call_llm(result.payload) # clean payload
Runtime visibility

What Privent reads at runtime

External gateways receive only the final prompt string. Privent reads everything in context, in real time.

01
Full payload contextEverything passed to privent.scan(): the complete prompt, tool arguments, or structured data object
02
Session historyPrior messages and tool call results accumulated within the same agent session
03
Metadata you attachAny additional context you pass (user ID, tenant, environment) used in policy evaluation
04
Risk decision + signalsACARS returns per-signal scores: regex, NER, embedding, semantic, retrieval, and structural
Use cases

Built for Custom SDK teams

01

Internal AI toolchains

Protect proprietary agent architectures built on raw LLM calls without switching to a supported orchestration framework.

02

Multi-tenant SaaS agents

Run per-tenant policy evaluation on agent payloads before they reach external models. Separate risk thresholds per deployment group.

03

SDK-gated LLM access

Require all internal teams to route LLM-bound data through the Privent SDK as a policy gate, enforced at the library layer.

Get started

Add Privent to your Custom SDK pipeline

We integrate in under 30 minutes. No orchestration changes required. Your pipelines keep running. Privent keeps watching.

Get startedRead the docs