Skip to main content

Crate agentmux_srv

Crate agentmux_srv 

Source

ModulesΒ§

adoption πŸ”’
Carry what channels kept to themselves into the shared store.
agents πŸ”’
Unified agent runner β€” single entry point for spawning Claude Code (or any future provider) used by BOTH the interactive agent pane and the headless drone Agent block.
ambient πŸ”’
Ambient Model Call (AMC) gateway β€” the single mandatory path for every non-user-driven (β€œambient”) model call in the backend: cheap, background LLM calls that augment the UX (e.g. summarizing what an agent is doing for the pane header / Swarm tree) rather than answering a user’s own turn. See docs/specs/SPEC_AMBIENT_MODEL_CALLS_FRAMEWORK_2026_07_03.md.
backend πŸ”’
boot_timing πŸ”’
Per-step timing for srv’s boot path, logged once as a single summary line when AGENTMUXSRV-ESTART is emitted.
bootstrap πŸ”’
Server bootstrap sequence, extracted from main().
broker πŸ”’
This module hosts two independent brokers, sharing this top-level namespace deliberately: β€œbroker” is this codebase’s general name for β€œthe one place that owns a fragmented concern and mediates access to it,” applied twice on purpose, not a coincidence of naming. broker::process is the second application of that pattern, per docs/specs/REPORT_PROCESS_ARCHITECTURE_STATE_AND_RETHINK_2026_07_22.md’s Β§6.6 β€” see that module’s own doc comment for its scope.
config πŸ”’
drone πŸ”’
Drone pane backend β€” issue #753 Phase 1.
event_log πŸ”’
headless πŸ”’
Headless mode: srv started directly β€” a container entrypoint, a server, CI β€” with no launcher or desktop host. docs/specs/SPEC_SRV_HEADLESS_MODE_2026_09_26.md.
identity πŸ”’
Identity injection at agent CLI spawn time.
messaging πŸ”’
Messaging bridge framework β€” common types shared by all platform bridges.
migrations πŸ”’
Data migration framework.
muxbus πŸ”’
persist πŸ”’
persist_subscriber πŸ”’
proc_name πŸ”’
The name ps, top and desktop system monitors show for this process on Linux.
reducer πŸ”’
registry πŸ”’
Shared, cross-version named-agent registry. File-per-agent JSON tree at <shared_home>/agents/registry/. See docs/specs/SPEC_SHARED_AGENT_REGISTRY_2026_05_12.md.
sagas πŸ”’
server πŸ”’
srv_info πŸ”’
What srv tells a UI about the machine it runs on: sent as the srvinfo event on every WebSocket connect (server/websocket.rs). A UI shows these names and builds paths from the home directory, and the paths have to be srv’s, which is only the same machine as the UI’s when the UI is the desktop app.
state πŸ”’
util πŸ”’
Small OS-level helpers shared across backend modules.

FunctionsΒ§

main πŸ”’