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
//! The built-in assistant: a server-owned agent session, present the moment
//! `aion server` runs.
//!
//! This is the ops-console doctrine applied to an agent. The console is
//! compiled into the binary and served at `/` with no operator step; the
//! assistant is the same — the agent harnesses ship in the binary as a
//! catalogue ([`aion_integration_acp::catalogue`]), a session is opened from
//! the console, and the server owns the harness process for its lifetime.
//! There is no document to deploy, no worker to start, and no configuration to
//! write: a stock `cargo install aion-cli` therefore carries the assistant.
//!
//! # The brain is a seam, not a dependency
//!
//! Nothing here names one agent. WHICH harness serves a session is the
//! operator's pick from the shipped catalogue, made per session in the console
//! and remembered per caller; every launch setting is the catalogue entry's
//! own. This module describes the surface, mints the session credential, and
//! drives the process; it never decides which brain answers.
//!
//! # What lives here
//!
//! - [`descriptor`] — what `GET /assistant` says: the catalogue with this
//! machine's availability reading, the tool wiring a session is handed,
//! whether sessions can be opened, and the reading caller's grant standing.
//! - [`sessions`] — the live harness processes, their durable transcripts, and
//! the surface that drives them.
//! - [`mcp`] — the assistant-only MCP route: the tools about one conversation,
//! behind that session's own server-minted bearer.
//! - `grounding` — the version-true Aion and AWL reference pack every spawned
//! agent is pointed at.
/// The grounding pack a spawned agent reads Aion and AWL out of.
pub
pub use ;
/// The assistant-only MCP route: the tools about one conversation, behind the
/// session's own bearer.
/// Server-owned assistant sessions: the live harness processes, their durable
/// transcripts, and the surface that drives them.