AI agents are moving fast — and governance can’t be an afterthought
At Microsoft Ignite, we announced the public preview of Purview integration with the Agent Framework SDK—making it easier to build AI agents that are secure, compliant, and enterprise‑ready from day one.
AI agents are quickly moving from demos to production. They reason over enterprise data, collaborate with other agents, and take real actions. As that happens, one thing becomes non‑negotiable:
Governance has to be built in. That’s where Purview SDK comes in.
Agentic AI Changes the Security Model
Traditional apps expose risks at the UI or API layer.
AI agents are different.
Agents can:
- Process sensitive enterprise data in prompts and responses
- Collaborate with other agents across workflows
- Act autonomously on behalf of users
Without built‑in controls, even a well‑designed agent can create compliance gaps.
Purview SDK brings Microsoft’s enterprise data security and compliance directly into the agent runtime, so governance travels with the agent—not after it.
What You Get with Purview SDK + Agent Framework
This integration delivers a few key things developers and enterprises care about most:
Inline Data Protection
Evaluate prompts and responses against Data Loss Prevention (DLP) policies in real time.
Content can be allowed or blocked automatically.
Built‑In Governance
Send AI interactions to Purview for audit, eDiscovery, communication compliance, and lifecycle management—without custom plumbing.
Enterprise‑Ready by Design
Ship agents that meet enterprise security expectations from the start, not as a follow‑up project.
All of this is done natively through Agent Framework middleware, so governance feels like part of the platform—not an add‑on.
How Enforcement Works (Quickly)
When an agent runs:
- Prompts and responses flow through the Agent Framework pipeline
- Purview SDK evaluates content against configured policies
- A decision is returned: allow, redact, or block
- Governance signals are logged for audit and compliance
This same model works for:
- User‑to‑agent interactions
- Agent‑to‑agent communication
- Multi‑agent workflows
Try It: Add Purview SDK in Minutes
Here’s a minimal Python example using Agent Framework:
That’s it! From that point on:
- Prompts and responses are evaluated against Purview policies setup within the enterprise tenant
- Sensitive data can be automatically blocked
- Interactions are logged for governance and audit
Designed for Real Agent Systems
Most production AI apps aren’t single‑agent systems.
Purview SDK supports:
- Agent‑level enforcement for fine‑grained control
- Workflow‑level enforcement across orchestration steps
- Agent‑to‑agent governance to protect data as agents collaborate
This makes it a natural fit for enterprise‑scale, multi‑agent architectures.
Get Started Today
You can start experimenting right away:
- Try the Purview SDK with Agent Framework
Follow the Microsoft Learn docs to configure Purview SDK with Agent Framework. - Explore the GitHub samples
See examples of policy‑enforced agents in Python and .NET.
Secure AI, Without Slowing It Down
AI agents are quickly becoming production systems—not experiments.
By integrating Purview SDK directly into the Agent Framework, Microsoft is making governance a default capability, not a deployment blocker.
Build intelligent agents. Protect sensitive data. Scale with confidence.