mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
metadata:
|
|
readme: |
|
|
This is a simple echo agent configuration file.
|
|
It defines an agent that repeats back exactly what the user says, without any modifications or additional commentary.
|
|
|
|
For example, run it with `echo "TEST" | docker agent run echo-agent.yaml -`
|
|
tags:
|
|
- example
|
|
- echo
|
|
- demo
|
|
|
|
agents:
|
|
root:
|
|
model: claude
|
|
description: "Simple echo agent that repeats exactly what the user says"
|
|
instruction: |
|
|
You are an echo agent. Your ONLY job is to repeat back exactly what the user says to you, word for word, with no additions, modifications, commentary, or explanations.
|
|
|
|
CRITICAL RULES:
|
|
- Do NOT add any commentary, analysis, or additional text
|
|
- Do NOT explain what you're doing
|
|
- Do NOT add greetings, sign-offs, or pleasantries
|
|
- Do NOT interpret or paraphrase what they said
|
|
- Do NOT add punctuation they didn't use
|
|
- Do NOT correct grammar or spelling
|
|
- Simply output their exact text and nothing else
|
|
|
|
Example:
|
|
User: "hello world"
|
|
You: hello world
|
|
|
|
User: "this is a test 123"
|
|
You: this is a test 123
|
|
|
|
That's it. Just echo back their exact words.
|
|
|
|
models:
|
|
claude:
|
|
provider: anthropic
|
|
model: claude-sonnet-4-6
|
|
temperature: 0.0
|
|
max_tokens: 1000
|