OpenAgentID documentation
Source referencesPackage entries

openagent-claude-agent (Rust)

OpenAgent identity, capability control, and tamper-evident audit hooks for the Claude Agent SDK. Framework-agnostic Rust trait surface — the TypeScript package is the reference integration; this crate lets any Rust agent harness adopt the same lifecycle contracts.

Purpose

OpenAgent identity, capability control, and tamper-evident audit hooks for the Claude Agent SDK. Framework-agnostic Rust trait surface — the TypeScript package is the reference integration; this crate lets any Rust agent harness adopt the same lifecycle contracts.

Read the framework integrations guide.

Source contract

FieldValue
Packageopenagent-claude-agent
Version0.1.0
LanguageRust
Runtime floor1.78
Manifestopenagent-sdk/integrations/claude-agent-sdk/rust/Cargo.toml
DistributionSource package; registry publication not verified

Manifest SHA-256: c0f0a76ddbfc1f48b105a5a3b87fdd57a8e01b82fb63169384d6e2a3bb09153a. The recorded Git revision identifies the containing repository; the manifest and entry-point hashes identify this working-tree snapshot.

Integration

Use the package root above from an authorized source checkout. Preserve sibling dependencies and their version/feature requirements. Install the runtime and compile the selected package before using its generated artifacts. The task guide describes configuration, trust boundaries, and error behavior. Test/conformance and deployment packages are supporting tools, not interchangeable production identity providers.

Features and optional dependencies

{
  "default": [
    "std"
  ],
  "std": [],
  "skills-policy": [
    "dep:openagent-skills-policy"
  ],
  "openagent-full": [
    "openagent-sdk/full"
  ]
}

Exported entry points

The declarations below are extracted from the named entry files. This is a navigable source reference, not compiler-generated documentation of every transitive module. Feature gates and runtime requirements still apply. Private implementation files are not promoted to public APIs merely because they contain a public declaration.

openagent-sdk/integrations/claude-agent-sdk/rust/src/lib.rs

Source SHA-256: e8f91183afd16d5b68e4263a8ac0e6b53399b2e83daea317c8758d1f22ac7e51.

pub mod audit;
pub mod error;
pub mod hash;
pub mod hooks;
pub mod identity;
pub mod plugin;
pub mod policy;
pub use error::Error;
pub use hooks::{HookContext, OpenAgentHooks};
pub use plugin::{OpenAgentPlugin, PluginConfig};

Module signatures and options

Browse the declared public source modules. This includes signatures, struct fields, enums, traits, method declarations, source comments and conditional attributes.

On this page