Expand description
Group-chat sub-agent hierarchy — local LLM / Webizen agents are bound to human principals.
Each participant may run a different model/backend. Processed outcomes (not raw prompts)
can be shared with other participants when an explicit OutcomeSharingPolicy permits it.
Structs§
- Mention
- A parsed
@mentionextracted from a chat prompt. - Outcome
Sharing Policy - Permission for sharing Webizen-processed outcomes (summaries, grounded answers) with peers.
- Participant
Agent Config - Local user’s sub-agent binding for a chat session.
- Peer
Agent Summary - Summary of a peer’s disclosed agent for cooperative multi-LLM briefing.
Enums§
- Agent
Backend Kind - Outcome
Visibility - Prompt
Dispatch - The outcome of parsing a prompt for agent dispatch.
Functions§
- bind_
local_ roster_ agent - Bind the local session projection to a named roster agent immediately before its turn. The roster remains the source of truth; this small session record is used solely to attribute the persisted chat message.
- build_
cooperative_ agents_ block - Builds cooperative-agents-block.
- can_
relay_ agent_ outcome - Whether a processed agent outcome may be relayed to group peers.
- can_
use_ in_ peer_ llm_ context - Whether another participant’s sub-agent may cite this outcome in inference context.
- can_
view_ agent_ outcome - Whether
viewer_didmay read a peer’s shared agent outcome in relay / UI. - collect_
peer_ agent_ summaries - Collect peer agent disclosures from committed, shareable agent messages in the session.
- compile_
sub_ agent_ did - Deterministic sub-agent DID scoped to principal + session.
- decorate_
local_ agent_ message - Apply sub-agent metadata to an agent-role message from the local principal.
- default_
outcome_ sharing - Default outcome-sharing policy.
- default_
outcome_ sharing_ for_ profile - Default outcome-sharing for a profile.
- ensure_
local_ agent_ config - Ensures local-agent-config.
- fresh_
local_ agent_ config - Fresh local agent config.
- is_
participant truewhen participant.- load_
local_ agent_ config - Loads local-agent-config.
- local_
agent_ display_ name - Local agent-display-name.
- parse_
mention - Parse the first
@mentionfrom a prompt. - participant_
dids - Participant DIDs.
- resolve_
mention - Resolve a parsed mention against the roster.
- resolve_
prompt_ dispatch - Parse a prompt and resolve any
@mentionagainst the roster. - save_
local_ agent_ config - Saves local-agent-config.
- strip_
mention - Strip the first
@mentionfrom a prompt, returning the cleaned text. - update_
outcome_ sharing - Updates outcome-sharing policy.
- validate_
ingested_ agent_ message - Validates an ingested agent message.