Directory / Microsoft Agent Framework (Semantic Kernel)
Microsoft Agent Framework (Semantic Kernel)
Wrap a tool in ApprovalRequiredAIFunction to require human approval. Function middleware can validate or block tool calls and end the loop. OpenTelemetry spans record each tool call.
Lock this down first
Wrap every write tool in an approval wrapper and add function middleware that rejects bad arguments.
Scorecard
| Criterion | Rating | Notes |
|---|---|---|
| Permission granularity | 2/3 | Function middleware intercepts tool calls for input validation and execution control. |
| Human approval gates | 2/3 | ApprovalRequiredAIFunction makes a tool require human approval before it runs. |
| Sandboxing | Unverified | Not confirmed in the docs we checked. |
| Secrets handling | Unverified | Not confirmed in the docs we checked. |
| Audit logs | 2/3 | execute_tool spans record function arguments and results. Prompts and responses only with enable_sensitive_data. |
| Kill switch / interrupt | 2/3 | Function middleware can set Terminate to stop the function-calling loop. |
| Network egress control | Unverified | Not confirmed in the docs we checked. |
Sources
Vendor? Request a correction. We review corrections within 7 days.
