OpenClaw operations guide
Run your first native OpenClaw subagent
Short answer. Delegate one text task to a native OpenClaw subagent in a private chat and verify the child’s completed run and the parent’s reply. Send the prompt below. sessions_spawn is an agent tool. The prompt asks the agent to use it for a one-off run with a clean child transcript.
Last updated · Published
The OpenClaw Complete Setup Pack is an optional paid kit ($14.95). Use its workspace starter files to document when your agent should delegate a task.
By CWYN · Reviewed November 19, 2026 against OpenClaw 2026.11.5
1. Open a private chat with a working agent
Use your local Gateway’s Control UI and an agent that already answers ordinary prompts. A native subagent runs in a child session. For this first test, give it all the material it needs in the task text. See also when to use a Claude Code subagent or skill.
2. Ask the parent to start one child run
Send the prompt below. sessions_spawn is an agent tool. The prompt asks the agent to use it for a one-off run with a clean child transcript.
Use sessions_spawn to start one native subagent with mode "run" and context "isolated".
Give it this task: Alphabetize the words pear, fig, and apple. Return just the sorted list.
The child needs no files, network, or tools. Wait for its completion and report its list.
3. Check that the run started
In the parent conversation, open Subagents and look for the task under Running or Finished. If there’s no run and the parent reports that sessions_spawn is unavailable, check the agent’s tool policy before trying again.
4. Read the finished child transcript
Select the run under Finished and check that the child returned apple, fig, pear. The transcript gives you the child’s actual output even if the parent uses different wording.
5. Check the result in the parent chat
The completion event goes back to the requester for review. Look for the same list in the parent’s reply. If the child finished and the parent never reported back, keep the existing run for inspection before starting another.