Structs§
- Host
Config Provider ConfigProviderbacked by the operator’s [HostConfig::agents] map.- Runtime
Agent Node Handler - Production
AgentNodeHandlerwrapping the agentic-worker runtime.
Enums§
- DwAgent
Dispatch - How a
dw.agentflow node executes.
Traits§
- Agent
Node Handler - Bridges a
DwAgentflow node into the agentic-worker runtime.
Functions§
- agent_
configs_ from_ manifest - Deserialize raw agent blobs from a pack manifest into typed
AgentConfigstructs. - build_
agent_ node_ handler - Build the production
DwAgenthandler if the environment is configured. - build_
agent_ runtime - Construct the shared
AgentRuntimefrom the environment. - dw_
agent_ dispatch_ mode - Resolve how
dw.agentnodes execute.GREENTIC_AW_DISPATCH=natsroutes them over the out-of-process agentic NATS path; anything else (incl. unset) keeps the in-process path — zero regression by default. Pure overget_envfor testability (mirrorsshould_serve_agentic_inproc). - load_
process_ agent_ configs - Load process-level base agent configs from the manifests directory.
- merge_
agent_ sources - Merge pack-provided agent configs with operator-declared ones.
- merge_
sidecar_ into - Fill
blobsfrom adw-agents.jsonsidecarmap, inserting each entry only when its agent_id is absent — somanifest.agentsstays authoritative and the sidecar only bridges packs whose manifest could not carry agents. - serve_
agentic - Run the agentic-worker runtime as a NATS-consuming service.
- should_
serve_ agentic_ inproc - Decide whether the runner process should host the agentic-worker NATS service in-process (the opt-in co-host path).