# Run your first native OpenClaw subagent

Canonical: https://cwyn.com/pages/openclaw-guide-first-native-subagent.html
Last updated: 2026-11-23T05:42:51-05:00

OpenClaw operations guide

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 November 23, 2026 · Published November 19, 2026

The [OpenClaw Complete Setup Pack](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html) is an optional paid kit ($14.95). Use its workspace starter files to document when your agent should delegate a task.

OpenClaw Complete Setup Pack $14.95

Start an OpenClaw workspace with editable instructions, local Gateway and tool presets, and checklists for pairing, memory, costs and rollback.

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](https://docs.openclaw.ai/tools/subagents) 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](https://cwyn.com/pages/claude-code-guide-skills-vs-subagents-hooks.html).

## 2. Ask the parent to start one child run

Send the prompt below. `sessions_spawn` is an [agent tool](https://docs.openclaw.ai/tools/subagents/tool-reference). 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](https://docs.openclaw.ai/tools/subagents/slash-command#completion-delivery) 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.

[Get your free CWYN Score](https://cwyn.com/pages/score.html)

## Related guides

- [OpenClaw subagent accepted but no result: recover the child handoff](https://cwyn.com/pages/openclaw-guide-subagent-no-result.html)
- [OpenClaw subagent uses an expensive model](https://cwyn.com/pages/openclaw-guide-subagent-model-cost.html)
- [OpenClaw automation error: agentId outside caller scope](https://cwyn.com/pages/openclaw-guide-automation-agent-outside-caller-scope.html)

## Next steps

- [All 135 OpenClaw guides](https://cwyn.com/guides/openclaw/)
- [OpenClaw setup walkthrough](https://cwyn.com/setup/openclaw/)
- [Check your OpenClaw AGENTS.md](https://cwyn.com/score/setup-file-checker/?profile=openclaw)
- [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html)
