Skip to content

Add run instructions to creator agent prompt#2154

Merged
dgageot merged 1 commit intodocker:mainfrom
dgageot:board/add-to-pkg-creator-instructions-txt-the-78f468fd
Mar 18, 2026
Merged

Add run instructions to creator agent prompt#2154
dgageot merged 1 commit intodocker:mainfrom
dgageot:board/add-to-pkg-creator-instructions-txt-the-78f468fd

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Mar 18, 2026

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.txt that explicitly tells the creator agent to instruct users to run with:

docker agent run <file.yaml>

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
Copy link

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@dgageot dgageot merged commit 6d396ca into docker:main Mar 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants