1#![allow(missing_docs)]
8
9pub mod agent_group;
12pub mod agent_lifecycle;
13pub mod agent_runtime;
14pub mod daemon;
15pub mod readiness;
16pub mod supervisor;
17
18pub mod agent_log_db;
21
22pub mod budget;
25pub mod cron;
26pub mod orchestrator;
27pub mod resilience;
30
31pub mod access_manager;
34pub mod auth;
35pub mod capability;
36pub mod credential;
37
38mod audit_persistence;
45
46pub mod knowledge_dream;
49pub mod persistence_hook;
50
51pub mod a2a;
54pub mod coordination;
55pub mod email;
56pub mod event_bus;
57pub mod mcp;
58
59pub mod embedding;
62pub mod memory;
63pub mod onboarding;
64pub mod persona;
65
66pub mod skill;
69pub mod tools;
70#[cfg(feature = "wasm-sandbox")]
71pub mod wasm_sandbox;
72pub mod workers;
73
74pub mod backup;
77pub mod config;
78pub mod git_layer;
79pub mod mount;
80pub mod project;
81pub mod resource_monitor;
82pub mod session_context;
83pub mod state_store;
84
85pub mod engine;
88pub mod error;
89pub mod metrics;
90pub mod observability;
91#[cfg(feature = "otel")]
92pub mod telemetry_otel;
93pub mod types;
94#[cfg(feature = "otel")]
95pub use telemetry_otel as telemetry;
96#[cfg(not(feature = "otel"))]
97pub mod telemetry_stub;
98#[cfg(not(feature = "otel"))]
99pub use telemetry_stub as telemetry;
100
101pub mod kernel_handle;
104
105pub use agent_group::{OxiosAgentGroup, OxiosAgentGroupStatus, OxiosGroupAgent};
111pub use agent_lifecycle::AgentLifecycleManager;
112pub use agent_runtime::AgentRuntime;
113pub use daemon::{DaemonManager, DaemonStatus};
114pub use persistence_hook::PersistenceHook;
115pub use readiness::{ReadinessGate, SubsystemState};
116pub use supervisor::{BasicSupervisor, Supervisor};
117
118pub use budget::{
120 BudgetExceeded, BudgetInfo, BudgetKind, BudgetLimit, BudgetManager, FullBudgetInfo,
121};
122pub use cron::{CronJob, CronJobResult, CronJobUpdate, CronScheduler, JobSource};
124pub use orchestrator::{AgentRole, OrchestrationResult, Orchestrator, SubTask};
125pub use types::Priority;
127
128pub use access_manager::{
130 AccessManager, Action, AgentPermissions, ApprovalStatus, PendingApproval, RbacAuditEntry,
131 RbacManager, RbacPolicy, Role, Subject,
132};
133pub use auth::{AuthManager, KeyMeta};
137pub use capability::template::CapabilityTemplate;
138pub use capability::{CSpace, Capability, CapabilityId, Issuer, ResourceRef, Rights};
139pub use credential::CredentialStore;
140pub use oxi_sdk::observability::audit_trail::AgentId as AuditAgentId;
141pub use oxi_sdk::observability::{
142 AuditAction, AuditError, AuditPersistence, AuditTrail, HashDigest, TrailEntry,
143};
144
145pub use a2a::{
147 A2ACircuitBreaker, A2AMessage, A2AProtocol, A2ARequest, A2AResponse, AgentCard,
148 AgentCardRegistry, CircuitState, DelegationHandler, TaskPriority, TaskSpec,
149};
150pub use email::{SendReceipt, SmtpClient};
151pub use event_bus::{EventBus, KernelEvent};
152pub use mcp::{
153 McpBridge, McpCapabilities, McpServer, McpTool, McpToolCallResult as CallToolResult,
154};
155
156pub use embedding::{EmbeddingProvider, EmbeddingVector, TfIdfEmbeddingProvider};
158
159#[cfg(feature = "embedding-gguf")]
161pub use embedding::gguf::{EmbeddingDimension, GgufEmbeddingProvider, GgufModelLoader};
162
163pub use memory::auto_memory_bridge::{
164 AutoMemoryBridge, ExportResult, GuidancePattern, ImportResult, InsightCategory, MemoryInsight,
165 SyncDirection, SyncResult,
166};
167pub use memory::{
168 DreamCheckpoint, DreamConfig, DreamProcess, DreamReport, HnswIndex, HnswMemoryIndex,
169 MemoryManager, ProactiveRecall, RecallTiming, SemanticHit,
170};
171pub use memory::{MemoryEntry, MemoryTier, MemoryType, ProtectionLevel, TextVector, content_hash};
172pub use oxios_memory::memory::flash_attention::{
173 BenchmarkResult as AttentionBenchmarkResult, FlashAttention, FlashAttentionConfig,
174 MemoryEstimate,
175};
176pub use oxios_memory::memory::{
177 HyperbolicConfig, HyperbolicEmbedding, batch_euclidean_to_poincare, euclidean_to_poincare,
178 hyperbolic_distance, mobius_add, mobius_scalar_mul,
179};
180pub use oxios_memory::{
181 AutoClassifier, AutoProtector, CompactionTree, CurationCandidate, CurationReport, DecayEngine,
182 EmbeddingCache, HistoricalPeriod, MemoryBudget, MemoryGraph, MemoryMapEntry, MemoryNeighbor,
183 RootEntry, RootIndex, SonaEngine, TopicEntry,
184};
185
186pub use oxios_memory::{
190 ChunkConfig, TextChunk, chunk_fixed, chunk_paragraphs, cosine_similarity_f32, l2_normalize_f32,
191 l2_normalize_f64,
192};
193
194#[cfg(feature = "sqlite-memory")]
196pub use oxios_memory::memory::sqlite::SqliteMemoryStore;
197#[cfg(feature = "sqlite-memory")]
198pub use oxios_memory::memory::sqlite::cache::{self as sqlite_cache};
199#[cfg(feature = "sqlite-memory")]
200pub use oxios_memory::memory::sqlite::migration::{self as sqlite_migration, MigrationReport};
201#[cfg(feature = "sqlite-memory")]
202pub use oxios_memory::memory::sqlite::search::{
203 Bm25Hit, RankedMemory, VectorHit, reciprocal_rank_fusion,
204};
205#[cfg(feature = "sqlite-memory")]
206pub use oxios_memory::memory::sqlite::{MemoryDatabase, bytes_to_f32_slice, f32_slice_to_bytes};
207pub use persona::{Persona, PersonaManager, PersonaStore, default_personas};
208
209pub use skill::clawhub::{
211 ClawHubClient, ClawHubInstaller, ClawHubLockEntry, ClawHubLockfile, ClawHubOrigin,
212 ClawHubSearchResult, ClawHubSkillDetail, ClawHubSkillMeta, ClawHubVersion, DownloadedArchive,
213 InstallResult, UpdateAvailable, UpdateResult,
214};
215pub use skill::skills_sh::{
216 SkillsShAuditEntry, SkillsShAuditResponse, SkillsShClient, SkillsShFile, SkillsShInstallResult,
217 SkillsShInstaller, SkillsShOrigin, SkillsShSearchResponse, SkillsShSkill, SkillsShSkillDetail,
218};
219pub use skill::{
220 InstallKind, Requirements, RequirementsCheck, Skill, SkillConfig, SkillEntry, SkillFormat,
221 SkillInstallSpec, SkillInvocationPolicy, SkillManager, SkillMeta, SkillMetadata, SkillRef,
222 SkillSnapshot, SkillSource, SkillState, SkillStatus,
223};
224pub use tools::ToolMeta;
225pub use tools::tool_types::{ArgumentDef, ToolDef};
226pub use tools::{ExecTool, KnowledgeTool};
227#[cfg(feature = "wasm-sandbox")]
228pub use wasm_sandbox::{ResourceKind, WasmConfig, WasmError, WasmSandbox};
229
230pub use backup::{BackupManifest, BackupSection};
232pub use config::{
233 BrowserConfig, ChannelsConfig, CronConfig, DaemonConfig, EmailConfig, EmbeddingConfig,
234 EngineConfig, ExecConfig, ExecMode, GitConfig, InlineCronJob, LoggingConfig, MarketplaceConfig,
235 McpConfig, McpServerDef, MemoryConfig, MountsConfig, OrchestratorConfig, OxiosConfig,
236 PersonaConfig, SkillsShConfig, SqliteMemoryConfig,
237};
238pub use git_layer::{
239 CommitContext, CommitDiff, CommitInfo, DiffKind, DiffStats, FileDiff, GitLayer, LogEntry,
240};
241pub use mount::{
242 DetectionResult as MountDetectionResult, Mount, MountId, MountMeta, MountSource,
243 PromotionConfig, detect_mounts,
244};
245#[cfg(feature = "sqlite-memory")]
246pub use mount::{MountManager, MountManagerError};
247pub use project::{
248 ConversationBuffer, ConversationTurn, DetectionResult, Project, ProjectId, ProjectSource,
249 detect_project, extract_path, find_by_id, find_by_name,
250};
251#[cfg(feature = "sqlite-memory")]
252pub use project::{ProjectManager, ProjectManagerError};
253pub use resource_monitor::{OverloadThreshold, ResourceMonitor, ResourceSnapshot};
254pub use state_store::{
255 AgentResponse, PruneConfig, PruneThrottle, Session, SessionId, SessionSummary, StateStore,
256};
257
258pub use engine::{EngineHandle, EngineProvider, OxiosEngine};
260pub use error::{HttpStatus, KernelError, KernelResult};
261pub use metrics::{get_metrics, register_builtin_metrics, registry};
262pub use observability::{
263 AuditEntry as SdkAuditEntry, AuditFilter, CostSnapshot, CostTracker, Span, SpanGuard, SpanKind,
264 TokenUsage, Tracer as SdkTracer, audit_log, cost_tracker, tracer,
265};
266pub use types::{AgentId, AgentInfo, AgentStatus, ToolCallRecord};
267
268pub use kernel_handle::KernelHandle;
270pub use kernel_handle::MarketplaceApi;
271pub use kernel_handle::{
272 A2aApi, AgentApi, CalendarApi, CopilotResponse, EmailApi, EngineApi, EngineConfigResponse,
273 ExecApi, ExtensionApi, FallbackEvent, InfraApi, InputModality as EngineInputModality,
274 KnowledgeContext, KnowledgeLens, KnowledgeNote, McpApi, MemoryNote, ModelInfo, MountApi,
275 MountInfo, PersonaApi, ProjectApi, ProjectInfo, ProviderCategory, ProviderInfo,
276 RoutingConfigSnapshot, RoutingStats, RoutingStatsSnapshot, RoutingUpdate, SecurityApi,
277 SharedExecConfig, StateApi, ValidateKeyResult,
278};
279pub use session_context::SessionContext;
280
281