Skip to content

Add a generalist coding agent#1625

Merged
dgageot merged 1 commit intodocker:mainfrom
dgageot:coding-agent
Feb 9, 2026
Merged

Add a generalist coding agent#1625
dgageot merged 1 commit intodocker:mainfrom
dgageot:coding-agent

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Feb 6, 2026

No description provided.

@dgageot dgageot requested a review from a team as a code owner February 6, 2026 15:25
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Review Summary

Found one bug in the new BuiltinAgentNames() function that causes non-deterministic ordering in shell completions. The function iterates over a map without sorting, which will cause agent names to appear in random order each time users invoke shell completion.

✅ The rest of the PR looks good - clean refactoring to support multiple built-in agents.

You search the web for documentation, articles, and technical references.

When given a query:
1. Use context7 to search library/framework documentation
Copy link
Member

Choose a reason for hiding this comment

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

There is no context7 mcp server config

sub_agents:
- librarian
toolsets:
- type: filesystem
Copy link
Member

Choose a reason for hiding this comment

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

maybe we can filter the fs tools and give it only what's needed. For example do we need the "search file" and "search file contents" tools if it has a shell

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll give it a try

@krissetto
Copy link
Contributor

Just thinking out loud here..

Since this will be shipped as a built-in agent and not just an example or sorts, i kinda feel like we should make this general coding assistant much more "fully featured", with some sort of plan build review type of flow, or at least having the agent team pre-configured to be able to do so. just having an opus + haiku thing just doesn't seem very useful to me.

Also, I've never really seen the golang_developer agent in our delegate to the librarian (not a good name imho) if not for silly prompts that had nothing to do with coding, so is it even worth it to include it? just give opus the tool since it has literally everything else

Honestly i don't know if shipping this as is will be super valuable to most users who enjoy using defaults, as it only caters to anthropic users and doesn't really seem like it'd be good at doing its job with so many different tasks in the system prompt if not relying on some of the best models out there (aka opus).

Definitely don't wanna block this, just throwin' out some food for though if we want to provide a "proper" coding agent as a built-in thing. We can definitely iterate on it over time

@rumpl
Copy link
Member

rumpl commented Feb 6, 2026

Also, I've never really seen the golang_developer agent in our delegate to the librarian

By design, up to the user to tell the coder to use it, I like it like that

librarian (not a good name imho)

Stole it from Amp

@krissetto
Copy link
Contributor

krissetto commented Feb 6, 2026

Stole it from Amp

What is Amp? 🧌

By design, up to the user to tell the coder to use it, I like it like that

If the user doesn't know about it and its purpose, because its a default, what percentage of users do you think would ask? 😛

@dgageot
Copy link
Member Author

dgageot commented Feb 7, 2026

@krissetto @rumpl Like you, I see this as a starting point. Let's iterate after the merge to make this default coding agent awesome

Signed-off-by: David Gageot <david.gageot@docker.com>
@dgageot dgageot merged commit e90c8e4 into docker:main Feb 9, 2026
5 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.

3 participants