Files
docker-agent/examples/shared-toolsets.yaml
T
Arnaud Héritier d11fbf1a91 chore(examples): bump stale model references to current-generation values
Bumps model IDs across examples/*.yaml (and the gopher.hcl sibling) to the
current-generation anchors: Claude Sonnet 5 / Opus 5 (with Sonnet 4.6 / Opus
4.8 kept where a key signals a cheaper/fallback tier), GPT-5.6-sol/-terra,
Gemini 3.8 Flash, Grok 4.5, Kimi K3, and Llama 4 Maverick on OpenRouter.

Refs #4137.
2026-09-03 08:38:54 +00:00

43 lines
1.1 KiB
YAML

# yaml-language-server: $schema=../agent-schema.json
# This example demonstrates how to use the top-level `toolsets` section to
# define toolsets once and reuse them across multiple agents via `use_toolsets`,
# avoiding duplication.
models:
model:
provider: anthropic
model: claude-sonnet-5
max_tokens: 64000
# Define reusable toolsets once at the top level. Any toolset type is allowed.
toolsets:
fs:
type: filesystem
docs:
type: fetch
allowed_domains:
- docker.com
- docs.docker.com
agents:
root:
model: model
description: Lead developer
instruction: |
You are the lead developer. Coordinate the team.
sub_agents: [reviewer]
# Pull in the shared toolsets by name. Inline toolsets (think) come first,
# followed by the referenced toolsets in order.
use_toolsets: [fs, docs]
toolsets:
- type: think
reviewer:
model: model
description: Code reviewer
instruction: |
You review code changes.
# The same toolset definitions are reused here.
use_toolsets: [fs]