Skip to main content

Module agent

Module agent 

Source
Expand description

Agent protocol adapters for resident relay-knowledge processes.

Modules§

acp
mcp

Structs§

AgentAdapterError
Error raised before or during agent adapter request mapping.
AgentAuditEvent
Redacted audit event for agent protocol requests.
AgentAuditLog
In-memory bounded audit log shared by resident agent adapters.
AgentAuditSink
Optional async sink for durable resident-agent audit events.

Enums§

AgentAdapterErrorKind
Stable adapter error categories for protocol-level governance.
AgentAuditQosDecision
QoS decision captured before agent adapter work reaches application services.
AgentAuditStatus
Final status captured for an agent protocol operation.

Constants§

MAX_AGENT_PATH_CHARS
MAX_AGENT_QUERY_CHARS

Functions§

authorize_limit
Validates tool limit without silently expanding caller budgets.
authorize_scope
Validates and authorizes an optional source scope before service invocation.
normalize_scope_for_policy
Normalizes optional source scope input while preserving policy semantics.
scope_not_authorized
Builds the shared scope authorization denial.
validate_optional_query_text
validate_path_texts
validate_query_text