Enterprise Pricing
Get a demo
Sub-Agents

Compose, don't repeat.
Nest agents inside agents.

Save any workflow as a sub-agent. Call it from anywhere as a single node with typed inputs, typed outputs, and a version pin. Build a private team library of reusable building blocks. Recursive composition with cycle detection. The agentic equivalent of well-named functions.

app.demandsphere.com - Agents / Library
Caller agent
Weekly Citation Report
Caller agent
Monthly Exec Digest
Caller agent
Q3 Citation Audit
Caller agent
Brand Mention Alert
Format Report
v2.1 · pinned
in: citations[] Claude classify JS format out: markdown
1 definition · reused by 4 agents
Sub-agent features

Build a private library. Reuse, don't duplicate.

Typed input/output contracts
Define the shape of what goes in and what comes out. Callers see the contract before they connect. Schema mismatches caught at design time, not runtime.
Version pinning
Pin a caller to v2.1, :latest, or :prod. Edit the sub-agent without breaking pinned callers. Bump caller versions explicitly when you're ready.
Recursive composition
Sub-agents call sub-agents. Cycle detection prevents infinite loops; configurable depth limits keep budgets sane. Build utility layers your whole team depends on.
Team library
Promote any sub-agent to a private team library. Discoverable by your workspace, searchable, with usage analytics so you know which patterns matter.
Independent run history
Each sub-agent invocation is logged separately - debug a complex parent by drilling into specific sub-agent runs. Replay sub-agents with custom input.
Cost isolation
Per-sub-agent budgets and credit attribution. Know exactly which sub-agent is driving cost in a deep pipeline. Set hard caps to prevent runaway calls.
Version pinning

Edit freely. Callers never break.

Format Report - version history
v1.9
v2.0
v2.1 :prod
v2.2 draft
Weekly Citation Reportv2.1
Monthly Exec Digestv2.1
Q3 Citation Auditv2.0
Brand Mention Alert:latest


Common questions

Frequently asked

A sub-agent is a saved workflow that can be called from another workflow as a single node. It has typed inputs, typed outputs, an independent version history, and a contract that downstream agents depend on. Sub-agents make complex pipelines composable instead of copy-pasted.

Functionally they're the same workflow. The difference is in how they're consumed - a sub-agent has a defined input/output schema, is callable as a node, and supports version pinning so changes don't break callers. Promote any agent to a sub-agent in one click.

Yes. Recursive composition is supported, with cycle detection and depth limits. A typical pattern is a 'utility' sub-agent layer (formatters, classifiers, validators) that gets called by many higher-level workflows.

Every save creates a new version. Callers pin to a specific version (or :latest, or a stability tag like :prod). Editing the sub-agent doesn't break callers pinned to an older version. You bump callers explicitly when you're ready.

Build your first sub-agent

Book a strategy session and we'll factor one of your messier workflows into reusable sub-agents.