Skip to main content

Crate noxy_sdk

Crate noxy_sdk 

Source
Expand description

SDK for AI agent runtimes integrating with the Noxy Decision Layer: send encrypted, actionable decision payloads (tool proposals, approvals, next-step hints) to registered agent devices over gRPC.

The wire API is agent.proto (noxy.agent.AgentService): RouteDecision, GetDecisionOutcome, GetQuota, GetIdentityDevices.

Re-exports§

pub use config::NoxyConfig;
pub use decision_outcome::is_terminal_human_outcome;
pub use decision_outcome::SendDecisionAndWaitNoDecisionIdError;
pub use decision_outcome::SendDecisionAndWaitOptions;
pub use decision_outcome::WaitForDecisionOutcomeOptions;
pub use decision_outcome::WaitForDecisionOutcomeTimeoutError;
pub use types::NoxyDeliveryOutcome;
pub use types::NoxyDeliveryStatus;
pub use types::NoxyGetDecisionOutcomeResponse;
pub use types::NoxyGetQuotaResponse;
pub use types::NoxyHumanDecisionOutcome;
pub use types::NoxyIdentityDevice;
pub use types::NoxyQuotaStatus;

Modules§

config
decision_outcome
Options and helpers for human-in-the-loop decision polling (mirrors Node decision-outcome).
kyber_provider
Kyber768 post-quantum key encapsulation for decision payload encryption.
retries
Retry logic for transient network errors.
transport
gRPC transport layer for Noxy relay communication.
types
Type definitions matching agent.proto and the SDK API.

Structs§

NoxyAgentClient

Functions§

init_noxy_agent_client
Initialize the Noxy Decision Layer client (async: establishes the gRPC connection).