@agentprodready/security
v1.0.1
Published
**Centralized authorization** for AgentProdReady — identity normalization, allow/deny decisions, delegation, revocation, and Security Context production.
Downloads
2,330
Readme
@agentprodready/security
Centralized authorization for AgentProdReady — identity normalization, allow/deny decisions, delegation, revocation, and Security Context production.
| | |
|---|---|
| Status | Production contracts published (1.0.x) |
| Install | npm install @agentprodready/security |
| Module | ESM |
| License | MIT |
Installation
npm install @agentprodready/securityPulled automatically by Agent Framework and many platform packages.
Features
| Feature | Description | |---|---| | Authorization outcomes | Structured allow/deny with scope & obligations | | Authority state | Active / inactive semantics for consumers | | Delegation & revocation | First-class security operations | | Security Context | Produced for Runtime / Agent / Tool paths | | Reference adapters | Deterministic helpers for tests |
Ownership rule
Security decides.
Everyone else consumes the decision.Agent Framework, Tools, Memory, and Persistence must not invent their own authorization.
Usage (conceptual)
import type { AuthorityState } from '@agentprodready/security';
// Agent Framework expects AgentAuthorizationOutcome-shaped decisions.
// Produce them from Security in Composition — do not hardcode in production.Reference host uses LocalReference HTTP auth for demos only.
Not production authentication. See SECURITY.md.
Related packages
| Package | Role |
|---|---|
| @agentprodready/agent-framework | Requires auth on register/lifecycle/invoke |
| @agentprodready/tool-framework | Tool authorization |
| @agentprodready/audit | Accountability records |
Documentation
License
MIT © 2026 ameenmari
