ai-devkit
ai-devkit copied to clipboard
agent console: support an initial prompt/task when starting an agent
The most common reason to start an agent is to give it work. The pane has no way to send a first message — startAgent is invoked with args: [].
Add an optional "initial message" field that is sent to the agent after it starts (e.g. via agent send).
Refs: packages/agent-manager/src/runtime/ManagedAgentRuntime.ts:119-124