Skip to main content

Agent Control Specification: a stateless policy decision runtime implementing the agent-hooks interceptor contract.

Project description

agent-control-spec (Python)

Python binding for the Agent Control Specification runtime: a stateless policy decision engine that plugs into any agent-hooks host as an interceptor.

pip install --pre agent-control-spec
from agent_hooks import InterceptionEmitter, EnforcementMode
from agent_control_spec import AcsInterceptor

emitter = InterceptionEmitter(mode=EnforcementMode.ENFORCE)
emitter.register(AcsInterceptor("manifest.yaml"), "acs")

The manifest binds policies (Rego through OPA, Cedar through the built-in evaluator, or test doubles) to interception points; the runtime evaluates each context and returns an agent-hooks verdict. Engine failures never raise into the host loop: they normalize into fail-closed deny verdicts with runtime_error:* reasons.

Trust model: a cooperative contract, not a security boundary — the host is fully trusted. See the repository's SECURITY.md.

Docs and spec: https://github.com/responsibleai/agent-control-spec

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_control_spec-0.4.0a1.tar.gz (130.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_control_spec-0.4.0a1-cp311-abi3-manylinux_2_39_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.39+ x86-64

File details

Details for the file agent_control_spec-0.4.0a1.tar.gz.

File metadata

  • Download URL: agent_control_spec-0.4.0a1.tar.gz
  • Upload date:
  • Size: 130.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for agent_control_spec-0.4.0a1.tar.gz
Algorithm Hash digest
SHA256 5435d30ed81417485106fe99fab1b005eda18f11ebd3c4003fba05989589a53f
MD5 67fc2b8ffde01a67b0701bc309cfc925
BLAKE2b-256 0a6ee62d1aa31cb8a1241d7793632756ea9b3539b3eb54a4b01aad24bb217dd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_control_spec-0.4.0a1.tar.gz:

Publisher: release.yml on responsibleai/agent-control-spec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agent_control_spec-0.4.0a1-cp311-abi3-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for agent_control_spec-0.4.0a1-cp311-abi3-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 9abb9b6343a0ba09087bd948f8826212323f667e775e92cc69a2ecc152d62cb2
MD5 fd5c3ef24b4827298ebf6b512a0bb975
BLAKE2b-256 e48ae0ece108c46e0728ea39ebd24e07f32e85737a5716127e9414635ec21a5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_control_spec-0.4.0a1-cp311-abi3-manylinux_2_39_x86_64.whl:

Publisher: release.yml on responsibleai/agent-control-spec

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page