Expand description
Caxton: A secure WebAssembly runtime for multi-agent systems
This crate provides a secure, isolated execution environment for WebAssembly-based agents with comprehensive resource management, security policies, and sandboxing capabilities.
Re-exports§
pub use domain_types::AgentId;pub use domain_types::AgentName;pub use domain_types::ConnectionPoolSize;pub use domain_types::CpuFuel;pub use domain_types::CpuFuelAmount;pub use domain_types::CpuFuelConsumed;pub use domain_types::ExecutionTime;pub use domain_types::FunctionDescription;pub use domain_types::FunctionModuleName;pub use domain_types::HostFunctionName;pub use domain_types::MaxAgentMemory;pub use domain_types::MaxAgents;pub use domain_types::MaxExports;pub use domain_types::MaxImportFunctions;pub use domain_types::MaxTableEntries;pub use domain_types::MaxTotalMemory;pub use domain_types::MemoryBytes;pub use domain_types::MessageCount;pub use domain_types::MessageSize;pub use domain_types::PermissionName;pub use domain_types::QueueDepth;pub use domain_types::RateLimitPerSecond;pub use domain_types::ResourceCreationError;pub use domain_types::RetryAttempt;pub use domain_types::StorageCleanupIntervalMs;pub use domain_types::TestAgentId;pub use domain_types::TestSequence;pub use domain_types::ValidationError;pub use domain_types::WorkerId;pub use domain::AgentLifecycle;pub use domain::AgentLifecycleState;pub use domain::AgentVersion;pub use domain::CustomValidationRule;pub use domain::DeploymentConfig;pub use domain::DeploymentError;pub use domain::DeploymentId;pub use domain::DeploymentRequest;pub use domain::DeploymentResult;pub use domain::DeploymentStatus;pub use domain::DeploymentStrategy;pub use domain::HotReloadConfig;pub use domain::HotReloadError;pub use domain::HotReloadId;pub use domain::HotReloadRequest;pub use domain::HotReloadResult;pub use domain::HotReloadStatus;pub use domain::HotReloadStrategy;pub use domain::ResourceRequirements;pub use domain::TrafficSplitPercentage;pub use domain::ValidationFailure;pub use domain::ValidationResult;pub use domain::ValidationRuleType;pub use domain::ValidationWarning;pub use domain::VersionNumber;pub use domain::WasmModule;pub use domain::WasmSecurityPolicy;pub use domain::WasmValidationError;pub use resource_manager::ResourceLimits;pub use runtime::WasmRuntime;pub use runtime::WasmRuntimeConfig;pub use sandbox::Sandbox;pub use security::SecurityPolicy;pub use agent_lifecycle_manager::AgentLifecycleManager;pub use agent_lifecycle_manager::AgentStatus;pub use agent_lifecycle_manager::DeploymentManager as DeploymentManagerTrait;pub use agent_lifecycle_manager::HealthStatus;pub use agent_lifecycle_manager::HotReloadManager as HotReloadManagerTrait;pub use agent_lifecycle_manager::LifecycleError;pub use agent_lifecycle_manager::OperationResult;pub use agent_lifecycle_manager::WasmModuleValidator as WasmModuleValidatorTrait;pub use deployment_manager::CaxtonDeploymentManager;pub use deployment_manager::InstanceManager;pub use deployment_manager::ResourceAllocator;pub use hot_reload_manager::CaxtonHotReloadManager;pub use hot_reload_manager::RuntimeManager;pub use hot_reload_manager::TrafficRouter;pub use wasm_module_validator::CaxtonWasmModuleValidator;pub use wasm_module_validator::ValidationConfig;pub use wasm_module_validator::ValidationStatistics;
Modules§
- agent_
lifecycle_ manager - Core agent lifecycle management orchestration Agent Lifecycle Manager
- deployment_
manager - Agent deployment operations and strategies Deployment Manager
- domain
- Advanced domain types for type-safe state management
- domain_
types - Domain types for preventing primitive obsession Domain types for the Caxton WebAssembly runtime
- host_
functions - Host function registry and management Host function management for WebAssembly agents
- hot_
reload_ manager - Hot reload operations with zero downtime Hot Reload Manager
- message_
router - High-performance async message router for agent communication Core Message Router for Caxton Multi-Agent System
- resource_
manager - Resource management and limit enforcement Resource management and limit enforcement for WebAssembly agents
- runtime
- WebAssembly runtime module for agent lifecycle management WebAssembly runtime for managing agent lifecycle and execution
- sandbox
- Sandbox module for isolated agent execution Sandbox module providing isolated execution environments for WebAssembly agents
- security
- Security policy configuration and enforcement Security policy configuration for WebAssembly agent execution
- time_
provider - Time abstraction layer for testable time operations Time abstraction layer for testable time-dependent operations
- wasm_
module_ validator - WASM module validation and security analysis WASM Module Validator