Skip to content
Child Sessions
DocsProduct Guide

Child Sessions

Let the agent split follow-up work into a fresh session that stays linked to the one it came from.

A child session is a new session that is linked to a parent session. It starts with fresh context, so the conversation history of the parent is not copied. It keeps the same repository scope, model selection, and harness as the parent. The agent creates a child when a piece of work needs its own session and its own pull request, and the child reports back to the parent when it is done. To branch a session yourself, use Fork session instead; see Session Lifecycle.

Open in app →

Find a child session

A child shows a strip above its transcript that reads Child of: followed by the parent title. In the sidebar Recent tab, children nest under their parent row in a collapsible Child sessions group. Inside a workspace, pinned parents are listed first. In the Groups tab, a group member's children nest beneath it even when they were never added to the group. These nested rows are shown for context only, so you cannot drag them or remove them from the group. See Session Groups for how groups work.

On mobile, the Home list shows only top-level sessions as cards. A parent card carries a summary strip such as 15 child sessions: 9 working, 1 question, 3 done, 2 idle. Tap it to open the list of children. When you bulk-select sessions, the sheet offers Include N child sessions.

Agent-created child sessions

Only the agent creates child sessions — there is no Create child menu item or /child command, and Fork session / /fork make an independent fork, not a child. The agent runs session child-create on the session machine when a piece of work needs a separate session and pull request. The agent can message its direct children, and a child can message its direct parent. A message wakes the recipient. Messages can carry file attachments: images, documents, code, data, audio, video, and ZIP archives.

Agent-created child sessions

These rules apply to agent-created children:

  • A child that an agent created cannot create another child.
  • Subagents cannot create child sessions.
  • A session can message only its direct parent and its direct children. It cannot message a grandparent or a grandchild.
  • An agent can create at most 10 child sessions per hour.

The agent uses the vflux CLI on the session machine for these actions:

bash
vflux session child-create --initial-message "<text>" [--file-path <path>]...
vflux session child-message --session-id <direct-child-id> --message "<text>" [--file-path <path>]...
vflux session parent-message --message "<text>" [--file-path <path>]...

Autobot sessions can create child sessions. Children report back to their parent.

Updates between parent and child

When a child reports to its parent, or a parent messages a child, the message appears in the chat as a compact, expandable card on the left side of the transcript rather than as raw text. The card header reads Child session update for a report from a child, Message from parent session for a message from the parent, or Session update while the sender's role is still being resolved, followed by the title of the session that sent it. The same cards appear in the mobile app.

Archive a parent and its children

Archiving a parent does not archive its children by default. When the session you are archiving has direct child sessions, the Archive Session? dialog shows an unchecked checkbox that reads Also archive N child sessions. Select it and click Archive to archive each child after the parent. If any child fails to archive, a toast reads Failed to archive N child sessions. The children's pull requests are left open.

Archive a parent and its child sessions

Cost limits

A parent and its children share the parent's session cost limit. A limit set on the parent applies to the whole family, and a child reads the parent's limit instead of getting a fresh one of its own. Billing itself is unchanged.

Notifications for child sessions

Children that an agent creates are muted by default. They do not send Slack messages or app notifications, because the parent session already reports their progress.

Child session notifications

To receive notifications from agent-created children, open Settings → Integrations → Slack. In the Child Sessions section, select Send me notifications for child sessions. This setting is per user. It applies to child sessions that an agent creates for sessions assigned to you or started by you. See Integrations for the rest of the Slack setup.