Microsoft.Agents.AI.AgentHooks
Microsoft Agent Framework support for the Agent-Hooks interception protocol (AGENT-HOOKS-0.1, maintained by the Responsible AI project at github.com/responsibleai/agent-hooks): fail-closed policy interception across the agent, model-call and tool-call seams, with transform write-back, buffered streaming and verdict-gated history persistence.
Install
dotnet add package Microsoft.Agents.AI.AgentHooks --version 1.22.0-alpha.260918.1
Install-Package Microsoft.Agents.AI.AgentHooks -Version 1.22.0-alpha.260918.1
<PackageReference Include="Microsoft.Agents.AI.AgentHooks" Version="1.22.0-alpha.260918.1" />
Frameworks
Dependencies
Adoption guide
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.
Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.
The published metadata declares 42 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.