Files
docker-agent/examples/instruction_file.yaml
David Gageot 955967abda feat: allow instruction_file to accept a list of files
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.
2026-06-30 09:24:31 +02:00

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