Expand description
Canonical Cedar agent action verbs with typed helpers.
Rust equivalents of the TypeScript and Python builders in the sibling
packages. The underlying schema file lives at
schemas/agent-actions.cedarschema.json in the repository root.
These helpers produce Cedar authorization request values that any Cedar evaluator (cedar-policy, cedar-wasm, or a remote evaluator) can consume. This crate does not itself evaluate policies; it is a typed-builder layer on top of the canonical schema.
Structs§
- Agent
Endpoint - Canonical
Agent::Endpointattributes. - Agent
Executable - Canonical
Agent::Executableattributes. - Agent
File - Canonical
Agent::Fileattributes. - Agent
Principal - Canonical
Agent::Principalattributes. - Agent
Tool - Canonical
Agent::Toolattributes. - Cedar
Authorization Request - Canonical Cedar authorization request shape.
- Connect
Context - Context for
Agent::Action::"connect"requests. - Exec
Context - Context for
Agent::Action::"exec"requests. - Open
Context - Context for
Agent::Action::"open"requests. - Request
Tool Context - Context for
Agent::Action::"request_tool"requests.
Enums§
- Action
Verb - The four canonical AI-agent action verbs.
Constants§
- SCHEMA_
NAMESPACE - The canonical schema namespace for agent action verbs.
Functions§
- action_
uid - Build a fully-qualified Cedar action UID string.
- build_
connect_ request - Build a Cedar authorization request for a
connectaction. - build_
exec_ request - Build a Cedar authorization request for an
execaction. - build_
open_ request - Build a Cedar authorization request for an
openaction. - build_
request_ tool_ request - Build a Cedar authorization request for a
request_toolaction. - entity_
uid - Build a fully-qualified Cedar entity UID string.