Govern
How to Govern Semantic Kernel Agents
Semantic Kernel lets you build agents with plugins and planners. Cordum governs which plugins execute, when, and under what constraints.
The problem with ungoverned Semantic Kernel agents
- Plugins expose functions to the AI. The planner decides which to call. No policy layer between decision and execution.
- Filters provide hooks but building governance inside filters couples policy to application code.
- Multi-step plans execute sequentially. If step 3 is high-risk, you only find out when it runs.
- Enterprise teams across multiple services end up with inconsistent governance.
How Cordum governs Semantic Kernel
1
Route Semantic Kernel tasks through Cordum
Submit kernel execution requests as Cordum jobs. Safety Kernel evaluates requested plugins.
// Submit the run as a Cordum job. The Safety Kernel checks it before dispatch.
// The topic must be registered, with a worker on it that runs the agent.
const res = await fetch(`${process.env.CORDUM_GATEWAY_URL}/api/v1/jobs`, {
method: "POST",
headers: {
"X-API-Key": process.env.CORDUM_API_KEY,
"X-Tenant-ID": "default",
"Content-Type": "application/json",
},
body: JSON.stringify({
topic: "job.semantic-kernel.agent.run",
capability: "EmailPlugin",
context: { agent: "customer-service-agent", goal: customerRequest },
}),
});
const { job_id } = await res.json();2
Centralize plugin access policies
One policy bundle governs all Semantic Kernel services. No per-service filter implementations.
3
Per-step governance
Each plugin call is checked before it runs. Require approval for sensitive plugins, or deny them outright.
4
Consistent audit across services
Centralized audit trail regardless of how many services use the kernel.
Semantic Kernel native vs Cordum governance
| Area | Semantic Kernel Native | With Cordum |
|---|---|---|
| Plugin access governance | Filters (code-coupled) | Declarative policy rules, centralized |
| Per-step evaluation | Planner executes without policy check | Check each step before it runs |
| Approval workflows | Must build custom in filters | Built-in with policy-linked approvers |
| Cross-service consistency | Per-service filter implementations | One policy bundle across all services |
| Audit trail | Telemetry/logging (per-service) | Centralized structured run timeline |
FAQ
Does Cordum replace Semantic Kernel filters?
It can. You can still use filters for non-governance concerns like logging and telemetry.
Does this work with both C# and Python SDKs?
Yes. Cordum governs via CAP v2, which is language-agnostic.
Related guides
Ready to govern your Semantic Kernel agents?
Start with the open-source Cordum platform. Add policies, approvals, and audit trails in minutes.