1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//! # Oxyde
//!
//! Oxyde is a Rust-based SDK for integrating AI-powered NPCs into games.
//! It provides real-time inference capabilities and supports multiple game engines
//! including Unity, Unreal Engine, and WebAssembly for browser-based games.
//!
//! ## Core Features
//!
//! - AI-driven NPCs that understand player intent and adapt behavior
//! - Cross-platform engine support (Unity, Unreal, WASM)
//! - Real-time inference layer with async support
//! - Developer-facing tools for testing and configuration
//!
//! ## Example
//!
//! ```no_run
//! use oxyde::agent::Agent;
//! use oxyde::config::AgentConfig;
//!
//! #[tokio::main]
//! async fn main() {
//! // Load agent configuration
//! let config = AgentConfig::from_file("npc_config.json").unwrap();
//!
//! // Create and initialize agent
//! let mut agent = Agent::new(config);
//!
//! // Start the agent
//! agent.start().await.unwrap();
//! }
//! ```
// Re-exports
pub use Agent;
pub use AgentConfig;
pub use InferenceEngine;
pub use MemorySystem;
// Modules
// Internal modules
// Re-export from local error module
pub use OxydeError;
/// Type alias for Results that use OxydeError
pub type Result<T> = Result;
/// Agent context (environment state)
pub type AgentContext = HashMap;
/// Current version of the Oxyde SDK
pub const VERSION: &str = env!;
/// Initialize the Oxyde SDK
///
/// This function sets up logging and prepares the SDK for use.