The specification

Agent Composition 0.1

What an agent is made of, and how its parts relate

version 0.1.0-draftdate 2026-12-05

Rendered from composition/SPEC.md in the Common Agent Standards repository, at commit ed73bd59. The schema is at schema/composition.schema.json and the worked example at examples/design-agent.composition.json. Every version is on Versions and changelog.

Agent Composition is a canonical model of what an agent is made of and how its parts relate, so that an agent built in any framework can be taken apart, mapped and managed without losing track of what depends on what.

A composition is one JSON file. It lists the parts of an agent, says for each whether it works on any harness or only on one, and records the relationships between the parts: which skill builds on which, which file one skill reads from another, which parts were copied from where, and what each part needs from whoever runs the agent.

This specification is transport-neutral and framework-neutral. It requires no particular network, harness, model or vendor.


1. Scope#

1.1. What this standard is#

The Common Agent Specification describes an agent from the outside: how to call it, what it offers, who answers for it. It says nothing about the inside, on purpose. Agent Composition is the inside. It is optional: an agent that never shows its insides, such as one reached only at an A2A address, is still a complete Common Agent.

Agent Composition is descriptive in what it covers: it records an agent as it was built and never tells a framework how to build one. It is normative in its format: every composition follows the same parts, relationships and rules, so any tool can read any composition.

A composition names the same agent, by name and version, as its Common Agent Descriptor. Nothing else links the two.

1.2. How it relates to the Common Agent Specification#

The Common Agent Specification is the outside of an agent: its identity, its Descriptor, its refusals and the records others keep about it. This standard is the inside: the parts the agent is built from and what depends on what. An agent can conform to the Common Agent Specification with no composition at all, and a composition does not change what that specification requires of the agent. Publishing a composition is a choice the agent's owner makes.

1.3. How a composition is carried#

A composition is carried inside an Agent Plugin, under the extensions namespace net.commonagent, in a folder named net.commonagent/ that holds composition.json. Section 6.2 gives the layout.

Agent Plugins 1.0.0 allows extension namespaces written as reverse domain names and gives them no meaning of their own, and a client MUST ignore a namespace it does not implement. A client that has never heard of Agent Composition therefore installs and runs the plugin exactly as before.

1.4. Requirements language#

The key words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY are to be interpreted as described in RFC 2119.


2. Parts#

Six kinds of part make up an agent. Each one says whether it is portable (it works on any harness that follows the standard it names) or bound (it works only on the harness it names).

Part What it is In the Design agent
agent The whole: its name, version and where its source lives. design-agent, langchain-ai/design-agent at 86d8f66
instructions The prompt the agent works from. instructions.md
skill An Agent Skills folder: SKILL.md and its files. 36 skills, such as stills, launch-film, hyperframes
file A script, reference or asset. Usually inside a skill; sometimes stored apart. 793 files in its skills, plus 6 fonts in skill-binaries/
tool Something the agent calls: an MCP server, or a function in its own code. MCP servers it is set up for (Notion, Linear, Figma, GitHub and others); its own code tools (upload_files, fetch_asset, image, voice, render status and trace tools)
helper A sub-agent it starts for a piece of the work. worker (three effort levels), general-purpose, learning

Four kinds of need sit outside the agent. A part points at a need; the need is met by whoever runs the agent. A need says neither portable nor bound, because it is not built into the agent.

Need What it is In the Design agent
model A model role, with what it must do (see images, use tools). lead, helper, look, tool selector, learning
compute A machine the work runs on. A sandbox with Chrome, ffmpeg, HyperFrames and fonts
key An account it calls with. Names the service, never holds the secret. OpenAI or Gemini (images), ElevenLabs (voice and music), Groq (transcripts)
material Content the customer supplies and the agent reads. The brand pack and licensed fonts

3. Relationships#

Relationships carry what a list of parts cannot: what breaks when you move one part without another.

Relationship From and to In the Design agent
follows agent to instructions design-agent follows instructions.md
has agent to skill, tool, helper design-agent has 36 skills, its tools and 3 helpers
routes-to instructions or skill to skill instructions route to media-production, which routes to 10 skills
reads skill to file of another skill pr-to-video reads seven files from four other skills, such as hyperframes' script-format.md
builds-on skill to skill 16 skills build on hyperframes; 37 such links in all
stores-apart skill to file outside it hyperframes-creative stores 6 fonts in skill-binaries/
copied-from skill to a source and version 17 skills from heygen-com/hyperframes v0.8.169; 1 from langchain-ai/langsmith-skills
needs skill, tool or helper to need image tools need an OpenAI or Gemini key; rendering skills need the sandbox
shares helper to the agent's skills or tools every helper reads the same /skills/ as the lead

4. Rules#

  1. Every part MUST have an id unique within the composition, and a kind from section 2.
  2. Every part MUST say portable or bound. A bound part MUST name the harness it is bound to.
  3. Whatever a framework has that this model cannot express MUST still be recorded, as a bound part with the framework's own name for it. Nothing is dropped in the mapping without a trace.
  4. A key MUST NOT hold a secret. It names the service and what the key is for.
  5. A copied part SHOULD name its source, version and license.
  6. A file SHOULD carry its size and sha256, so a copy can be checked against the original.

5. The Design agent, composed#

The worked example is a real, public, open-source agent: the Design agent of LangChain, at langchain-ai/design-agent, commit 86d8f66. Its composition is in examples/design-agent.composition.json.

Count What it counts
36 skills
37 links between skills
18 skills copied from elsewhere
3 helpers

How its parts relate, drawn as one line for each relationship:

design-agent --follows--> instructions
instructions --routes-to--> media-production
media-production --routes-to--> stills, thumbnails, data-viz, storyboard, slideshow
media-production --routes-to--> launch-film
media-production --routes-to--> hyperframes
16 video skills --builds-on--> hyperframes
16 video skills --reads--> hyperframes-creative
hyperframes-creative --stores-apart--> 6 fonts
hyperframes --copied-from--> heygen-com/hyperframes v0.8.169
design-agent --has--> worker, general-purpose, learning
worker, general-purpose, learning --shares--> the agent's skills
16 video skills --needs--> sandbox
design-agent --has--> code tools
code tools --needs--> OpenAI, ElevenLabs and Groq keys

5.1. What is bound#

Mapped honestly, the Design agent splits in two. Its skills, files, instructions and MCP servers are portable. Its code tools, its three helpers, its check-ins and its use of LangSmith's Context Hub are bound to Deep Agents. The bound half is its engine: how it plans long jobs, delegates to helpers and watches renders.


6. Format#

6.1. The file#

A composition is one JSON file, composition.json. It has an agent member that names the agent, a parts array and a relationships array. Each member is defined by the JSON Schema in schema/composition.schema.json, version 0.1.0-draft, written for JSON Schema 2020-12.

An excerpt of the Design agent's:

{
  "agent": { "name": "design-agent", "version": "86d8f66", "source": "https://github.com/langchain-ai/design-agent" },
  "parts": [
    { "id": "instructions", "kind": "instructions", "path": "instructions.md", "portable": true },
    { "id": "hyperframes", "kind": "skill", "path": "skills/hyperframes", "portable": true },
    { "id": "pr-to-video", "kind": "skill", "path": "skills/pr-to-video", "portable": true },
    { "id": "fonts", "kind": "file", "path": "skill-binaries/hyperframes-creative/", "portable": true },
    { "id": "worker", "kind": "helper", "bound": "deepagents", "native": "SubAgent (async)" },
    { "id": "upload_files", "kind": "tool", "bound": "deepagents", "native": "code tool" },
    { "id": "sandbox", "kind": "compute", "needs": ["chrome", "ffmpeg", "hyperframes"] },
    { "id": "images-key", "kind": "key", "service": "OpenAI or Gemini", "for": "image generation" }
  ],
  "relationships": [
    { "from": "instructions", "rel": "routes-to", "to": "media-production" },
    { "from": "pr-to-video", "rel": "builds-on", "to": "hyperframes" },
    { "from": "pr-to-video", "rel": "reads", "to": "hyperframes", "file": "references/script-format.md" },
    { "from": "hyperframes-creative", "rel": "stores-apart", "to": "fonts" },
    { "from": "hyperframes", "rel": "copied-from", "source": "heygen-com/hyperframes", "version": "v0.8.169", "license": "Apache-2.0" },
    { "from": "worker", "rel": "shares", "to": "skills" }
  ]
}

The members are these.

Member Where What it says
agent top name and version of the agent, the same as in its Common Agent Descriptor, and optionally source and license. Relationships name the agent by this name.
parts[].id part The part's id, unique within the composition (rule 1).
parts[].kind part One of the ten kinds of section 2: agent, instructions, skill, file, tool, helper, model, compute, key and material.
parts[].portable part true for a portable part.
parts[].bound part The name of the harness a bound part is bound to, such as deepagents (rule 2).
parts[].native part The framework's own name for the part (rule 3).
parts[].path part Where the part is inside the agent's source.
parts[].size, parts[].sha256 file The size in bytes and the sha256 of the file (rule 6).
parts[].needs compute What the machine must provide.
parts[].service, parts[].for key The service the key is for and what it is used for (rule 4).
parts[].role, parts[].must model The model's role and what it must be able to do.
relationships[].from, .rel, .to relationship The part the relationship starts at, one of the nine names of section 3, and the part it ends at. A to of skills or tools means all of the agent's skills or all of its tools.
relationships[].file reads The file of the other skill that is read.
relationships[].source, .version, .license copied-from Where the part was copied from, at what version, under what license (rule 5). A copied-from relationship has a source and no to.
note top A sentence for a reader, such as that a composition is an excerpt.

6.2. Carried in an Agent Plugin#

A composition is carried in an Agent Plugin. The plugin's manifest has an extensions entry for the namespace net.commonagent, and a folder of the same name holds the file.

<name>/
├── plugin.json              the Agent Plugins manifest
├── skills/<name>/           the agent's skills
└── net.commonagent/
    └── composition.json     the composition
"extensions": {
  "net.commonagent": {
    "composition": { "path": "net.commonagent/composition.json", "sha256": "<digest>" }
  }
}

The pointer names the file and SHOULD carry the sha256 of its bytes. A reader that implements this standard finds every composition under this one key. A reader that does not implement it ignores the namespace, as Agent Plugins 1.0.0 requires.


7. Conformance#

A composition conforms to this version when it validates against the schema of section 6.1 and the MUST statements of section 4 hold. The schema cannot check three of them, so a checker also tests that:

  1. every part id is unique within the composition (rule 1);
  2. every from and to of a relationship names a part id, the name in agent, or one of skills and tools where section 6.1 allows it; and
  3. no key part carries a secret (rule 4).

A tool that reads compositions MUST ignore a member it does not know, so that a later version can add members. A tool that writes one MUST write only the members of this version.


8. Open questions#

These are open in this draft, and a later version will settle them.

  • Memory. The Design agent keeps two scopes, house rules in /memories/agent/ and a person's preferences in /memories/user/. Is memory a seventh part, or a need?
  • Shared context. Nothing in this agent reads another agent's context. The model has no place for it yet.
  • Routing by name. Skills also name other skills in their text ("use the storyboard skill"). This draft counts only file links. Should prose mentions count as routes-to?

9. References#

9.1. Normative#

9.2. Informative#


Appendix A: Mapping from Deep Agents (informative)#

This appendix is informative. It shows how the layout of LangChain Deep Agents maps into this model. Other frameworks get their own tables.

Deep Agents Agent Composition
instructions.md instructions, portable
skills/<name>/ skill with its files, portable
../<skill>/... links in SKILL.md reads and builds-on
skill-binaries/ files with stores-apart
skills-lock.json upstreams copied-from with source, version, license
config/mcp.toml servers tool (MCP), portable
tools built in code tool, bound: deepagents
SubAgent entries helper, bound: deepagents, with shares
model settings per role model needs
sandbox/ recipe compute need
Context Hub sync, check-ins, Slack channel recorded as bound: langsmith parts under their own names

Change history#

0.1.0-draft, 2026-12-05. The first draft. It defines six kinds of part and four kinds of need, nine relationships and six rules, a JSON format with a schema, how a composition is carried in an Agent Plugin under the net.commonagent namespace, and a worked example from the open-source Design agent of LangChain. Three questions are left open: memory, shared context and routing by name.