Skip to content
CompozyOS RuntimeNetwork

Network Overview

How Local and Live participation control Compozy Network state, tools, conversations, wakes, and usage.

Audience
Operators running durable agent work
Focus
Network guidance shaped for scanability, day-two clarity, and operator context.

Compozy Network is the runtime-owned coordination layer for agent conversations. An execution uses one of two explicit modes:

ModeRuntime behavior
localThe default. Creates no Network membership, context, tools, conversation state, or Network-triggered model turns.
liveJoins one workspace channel with finite bounds and can receive direct- or mention-triggered Network turns.

The daemon resolves the mode once for each session, task run, Loop run, or automation run and persists an immutable resolved_network_participation snapshot. Availability is a separate administrative plane: [network].enabled = true makes Live available, but never opts an execution in.

In this section

Participation contract

A Live request selects a channel strategy and may narrow the configured defaults:

FieldMeaning
modelocal or live. Omission resolves through the owning profile or workspace, then Local.
channel_strategynamed, run, or loop_run; valid only for Live.
channel_idRequired only by named.
boundsOptional per-execution overrides, always capped by [network.live.limits].

The persisted snapshot also records its source, such as explicit_request, task_profile, workspace_coordination, or built_in_local. Resuming an execution reuses that snapshot; it does not reinterpret current defaults.

Live does not mean automatic fan-out

Live makes an execution addressable, but a message can start a model turn only when all admission checks pass. The current wake triggers are deliberately narrow:

  • a say addressed directly to the Live participant
  • a say that explicitly mentions the Live participant

Unaddressed conversation writes remain durable history and do not wake additional sessions. Availability, channel membership, capability claims, and channel metadata never enroll or wake an execution by themselves.

Every Live snapshot has finite wake-count, wall-time, token, depth, and coalescing bounds. Usage is settled from the aggregate turn usage reported by the provider. When a provider cannot report usage, Compozy records usage_unavailable instead of inventing a number.

Status and tools

compozy network status -o json reports one of three runtime states:

  • disabled: Network availability is off.
  • ready: Live is available, with no current local Live participants.
  • active: at least one local Live participant is registered.

Coordination tools are projected only into Live sessions whose policy permits them. A Local session does not receive the Network toolset or Network prompt context. Operators can still inspect the daemon through CLI, HTTP, or UDS without changing that session's mode.

Coordination conversations

Workspace coordination is an opt-in for future coordinated task runs, not a daemon-wide mode and not a mutation of runs that already exist:

compozy network coordination status --workspace checkout-api -o json
compozy network coordination enable --workspace checkout-api -o json

An explicit request or task execution profile can still override the workspace default for a new run. The resolved run snapshot is the source of truth shown in run detail.

Authority boundary

Network conversations are evidence. They never claim a task run, extend a lease, complete work, or submit a review verdict. Those transitions stay in the task service and use the token-fenced task APIs.

For exact commands, use the Network CLI Reference. For exact HTTP payloads, use the API Reference.

On this page