aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
aien-sovereign-core-mv / crates / aien-runtime / src / lib.rs
| 1 | // SPDX-License-Identifier: Apache-2.0 |
| 2 | // Copyright 2026 Drake Stapleton (AIEN / aien-dev) |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | |
| 16 | //! AIEN Runtime: Canonical Single-Process Host for Persistent Branching Intelligence |
| 17 | |
| 18 | pub mod allen_memory; |
| 19 | pub mod approved; |
| 20 | pub mod approved_auth; |
| 21 | pub mod approved_replay; |
| 22 | pub mod client; |
| 23 | pub mod compose; |
| 24 | pub mod compute_config; |
| 25 | pub mod context; |
| 26 | pub mod control; |
| 27 | pub mod cortex_mark; |
| 28 | pub mod destination; |
| 29 | pub mod effects; |
| 30 | pub mod generation; |
| 31 | pub mod kv_residency; |
| 32 | pub mod objective; |
| 33 | pub mod persona; |
| 34 | /// Headstart M3 (#537): opt-in provisional preparation and final commit fence. |
| 35 | #[cfg(feature = "provisional-prep")] |
| 36 | pub mod provisional; |
| 37 | pub mod requirements; |
| 38 | mod requirements_extract; |
| 39 | pub mod rsi; |
| 40 | pub mod sequence; |
| 41 | pub mod server; |
| 42 | pub mod shared_kv; |
| 43 | pub mod spine; |
| 44 | pub mod swarm; |
| 45 | pub mod trace_observer; |
| 46 | pub mod world; |
| 47 | |
| 48 | /// Test-only: one slot per process for tests that open a compose home (omega allows 4 handles). |
| 49 | #[cfg(test)] |
| 50 | #[path = "../tests/support/home_guard.rs"] |
| 51 | mod home_guard; |
| 52 | |
| 53 | pub use aien_kv_cache::create_shared_kv_manager; |
| 54 | pub use aien_scheduler::SchedulerConfig; |
| 55 | pub use client::*; |
| 56 | pub use compose::{ |
| 57 | authorize_desk_at_start_from_env, authorize_desk_setting, authorize_requires_desk_from_env, |
| 58 | check_file_proposal, compose_budgets_from_env, compose_dir_from_env, |
| 59 | compose_doc_max_tokens_from_env, parse_file_proposal, token_ids_sha256, ComposeBridge, |
| 60 | ComposeBudgets, ComposeProposer, FileProposal, Generation, AUTHORIZE_DESK_ENV, |
| 61 | }; |
| 62 | pub use context::*; |
| 63 | pub use control::*; |
| 64 | pub use rsi::*; |
| 65 | pub use sequence::*; |
| 66 | pub use server::*; |
| 67 | pub use spine::*; |
| 68 | pub use swarm::*; |
| 69 | pub use world::*; |