mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
When several paths are listed their contents are concatenated in order, separated by a blank line, so a shared preamble can be reused across agents.
21 lines
821 B
YAML
21 lines
821 B
YAML
agents:
|
|
coordinator:
|
|
model: openai/gpt-5-mini
|
|
description: Routes work between specialist agents
|
|
# Instead of inlining a long prompt here, point at a Markdown file kept
|
|
# next to the config. The path is relative to this config file's directory
|
|
# and its contents are loaded as the agent's instruction at startup.
|
|
instruction_file: instructions/coordinator.md
|
|
sub_agents:
|
|
- writer
|
|
|
|
writer:
|
|
model: openai/gpt-5-mini
|
|
description: Drafts and edits written content
|
|
# instruction_file also accepts a list of files. Their contents are
|
|
# concatenated in order (separated by a blank line), so a shared preamble
|
|
# can be reused across agents while each appends its own specifics.
|
|
instruction_file:
|
|
- instructions/shared-preamble.md
|
|
- instructions/writer.md
|