Add run instructions to creator agent prompt#2154
Merged
dgageot merged 1 commit intodocker:mainfrom Mar 18, 2026
Merged
Conversation
Tell the creator agent to instruct users to run their generated agent with 'docker agent run <file.yaml>', preventing hallucinated commands like 'docker agent start'. Assisted-By: docker-agent
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
This PR correctly adds instructions for the creator agent to tell users how to run their generated agent configurations.
The command docker agent run <file.yaml> is correct for end users who have docker-agent installed as a Docker CLI plugin (the standard installation method). This differs from the development command ./bin/docker-agent run documented in AGENTS.md, which is specifically for developers running the locally-built binary.
No issues found in the changed code.
gtardif
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The creator agent had no instructions on how to tell users to run their generated agent, causing it to hallucinate incorrect commands like
docker agent start file.yaml.This adds a "Running the Generated Agent" section to
pkg/creator/instructions.txtthat explicitly tells the creator agent to instruct users to run with:docker agent run <file.yaml>