# Conflicts: # apps/cli/tests/profiles/cua-mcp/expected/tools.json # packages/core/tool-executor-ptc/README.i18n.yaml # packages/ptc-runtime/ptc-runtime-node/README.i18n.yaml # packages/ptc-runtime/ptc-runtime-node/README.md # packages/ptc-runtime/ptc-runtime-node/README.zh.md # packages/ptc-runtime/ptc-runtime-node/src/bootstrap.ts # packages/ptc-runtime/ptc-runtime-node/src/process.ts # packages/ptc-runtime/ptc-runtime-node/src/protocol.ts # packages/ptc-runtime/ptc-runtime-node/tests/bootstrap.spec.ts # snapshots/sdk/cua-run-code/tool-schemas.expected.json # snapshots/session/cua-run-code-ptc/system-prompt.expected.md # snapshots/session/cua-run-code-scoped/tool-schemas.expected.json # snapshots/session/cua-run-code/tool-schemas.expected.json # snapshots/session/ptc-persistent-scoped/tool-schemas.expected.json # snapshots/session/ptc-persistent/tool-schemas.expected.json # snapshots/session/ptc-reset/tool-schemas.expected.json # snapshots/session/ptc-scoped-repl/tool-schemas.expected.json # snapshots/session/ptc-timeout-fallback/tool-schemas.expected.json
description, kind
| description | kind |
|---|---|
| The workflow group map: model-authored orchestration scripts that fan out subagents, for users and maintainers navigating the group. | package-group |
packages/workflow
English | 中文
Summary
The workflow group lets an agent run orchestration scripts that delegate work to subagents and return a final value. The workflow tool supports scripted fan-out. Scripts use the shared PTC Node process runtime under the calling Session's file policy. Workflow hooks and child lifecycle remain owned by the workflow engine.
Table of Contents
Packages
| Package | Role | ctx key |
|---|---|---|
workflow |
Runs a model-written orchestration script that fans out subagents | ctx.workflowEngine |
workflow-ptc |
Runs workflow scripts through the shared sandboxed PTC Node process runtime | registers on ctx.workflowEngine |
tool-workflow |
Gives the model the workflow tool for scripted multi-agent orchestration |
registers on ctx.tools |
Related documentation
- Workflow subsystem — the seam's types, start request, and
workflow/*events. - Generated tool catalog — the
workflowtool schema the model receives. - Generated tool catalog — the
ralphtool schema the model receives. - Generated configuration catalog — every accepted engine config field.
- historical Dynamic workflows Agent Note — the seam design and its decisions.
- Harness-level goal-based execution reference — the fixed fresh-agent loop design and deferred work.
Dev Note
Working context for maintainers — click to expand
None.