Skip to main content

Module deploy_agent

Module deploy_agent 

Source
Expand description

deploy_agent — the AI-callable “spin up a worker myself” tool.

Lets a running (root) agent deploy a new broker-agent worker on demand — as a local subprocess, in a Docker container, or on a remote host over SSH — wired to the configured broker. The agent then commands it with ask_agent by the returned id. Deployed handles are kept alive in a registry (they are kill-on-drop) and torn down via action=stop (or when the server exits).

Only registered on the Root surface when a broker is configured.

Structs§

DeployAgentTool
Deployed
One live deployment: how it was deployed + the kill-on-drop handle.

Type Aliases§

DeployedRegistry
Keeps deployed workers alive (the handles are kill-on-drop) and lets stop tear them down. Shared for the server’s lifetime.