Skip to content
CohortDocs

Child threads

A child thread is a thread another thread started. An agent can split a big task into parts and hand each to a child: its own agent, in its own worktree and branch, on whichever agent, model and login suits the part. Cohort tracks them all, and the parent hears when each one finishes.

Just ask, in plain words:

Split this into three child threads: one for the API, one for the UI, one for the docs. Use Codex for the docs. Wait for them, then merge their work.

Every agent Cohort runs gets Cohort’s tools to do this (start_thread, wait_for_threads, merge_thread and more; see MCP tools). Agents that run shell commands can do the same with the cohort CLI. More in Agents that drive Cohort.

  • Its own worktree, on a new branch made from the parent’s branch, so its work merges back into the parent’s branch. It can also share the parent’s folder, or work in another project (a shared library, say).
  • The parent’s agent and login unless the parent picks others. A child can run on any login of the machine, such as a customer’s, when the work belongs to them.
  • The parent’s access at most. A parent in Ask can’t start a child in Full access; it may start one with less (a Plan only reviewer).

In the thread list, a child sits indented under its parent (and its own children under it), marked “in <project>” when it works in another project. Its row says something only when it needs you or failed; its parent says what the work is.

A child’s permission requests and questions come to the Needs you stack like any thread’s. You can open a child, read it and message it like any other thread.

While the parent runs, its children show “Parent merges this” instead of a Merge button: the parent lands each one with merge_thread, which catches it up, runs the project’s checks and lands it on the parent’s branch. Once the parent is idle (or gone), you can merge a child yourself.

Stopping a parent doesn’t stop its children; the parent (or you) can stop each one. Archiving a parent archives all its children, and theirs, stopping any that still run.

Terminal window
cohort thread start --parent <parent-id> --project cohort --harness codex "Write the docs page"
cohort thread start --share-with <thread-id> "…" # work in that thread's folder
cohort thread list
Made by Bussin Bytes© 2026 Bussin Bytes Ltdcohort.bussinbytes.io