cots 0.2.0

Cots.ai SDK for Rust. cots::agents::AgentClient — configure once with tenant_id/agent_id, then guard() every governed action through the PEP/PDP before executing it.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The agent interceptor client: `cots::agents::AgentClient`.
//!
//! Configure once with your `tenant_id`/`agent_id`, then call
//! [`AgentClient::guard`] around every real-world action your agent takes.

mod client;
mod control_plane;
mod types;

pub use client::AgentClient;
pub use control_plane::ControlPlaneClient;
pub use types::{
    Agent, AgentConfig, ApprovalOutcome, ApprovalRequest, ActionEventStatus, GovernedOutcome,
    GovernedResult, InterceptResult, NormalizedAction, OrgUser, PepConfig, Tenant,
    TenantRegistration,
};