interplane.Get Omega
Read in your language

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

branch main Branches Tags History

aien-sovereign-core-mv / crates / aien-mcp / src / lib.rs

55 lines · 1790 bytes Raw Blame History
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//! MCP session owner for AIEN.
17//!
18//! `aien-mcp` keeps the live session. J-Space receives a [`CapabilitySnapshot`]
19//! and may invoke only speculation-safe tools. An irreversible `tools/call`
20//! runs only when the Effect Broker presents an [`AuthorizedEffect`].
21
22mod approval;
23mod authority;
24mod broker;
25mod effect;
26mod error;
27pub mod memory;
28mod session;
29mod snapshot;
30mod transport;
31mod wire;
32
33#[cfg(test)]
34mod lane_tests;
35
36#[cfg(test)]
37mod transport_tests;
38
39#[cfg(test)]
40pub(crate) use effect::authorize_for_test;
41
42pub use approval::{ApprovalDesk, ApprovalError, ApprovalGrant, GrantStatus};
43pub use authority::{
44 intent_digest, AuthorityContext, AuthorityDecision, AuthorityOutcome, EffectAuthority,
45 EffectClassAuthority, EffectScope, Exposure, TrustLevel,
46};
47pub use broker::{
48 receipt_digest, Clock, EffectLane, McpBroker, SpeculativeLane, SpeculativeToolCall,
49};
50pub use effect::{AuthorizedEffect, EffectIntent, EffectReceipt, ToolResult};
51pub use error::Error;
52pub use session::SessionManager;
53pub use snapshot::CapabilitySnapshot;
54pub use transport::{LocalTool, LocalToolServer};
55pub use wire::{CallOutcome, McpWire};