coder / coder/internal

Add AI Agent Selection Parameter to Dogfood Template

Open
#916 0 comments 0 reactions 0 assignees View on GitHub
project/tasks
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Context

We now have multiple AI agents supporting Coder Tasks (Cursor, Codex, Claude, with Sourcegraph AMP coming soon). Currently, to dogfood different agents, we need to replicate the entire dogfood template for each agent.

## Proposal

Extend the existing dogfood template to include a parameter that allows users to select which AI agent to use for their workspace, similar to how we currently allow IDE selection.

## Requirements

- Add a `coder_parameter` for AI agent selection to the dogfood template
- Support at minimum: Cursor, Codex, Claude (with Sourcegraph AMP when available)
- Include necessary API key configuration for each supported agent
- Add conditional module logic to provision the selected agent
- Consider adding `display_on_task = true` property if needed for UX
-
## UX Considerations

- Agent selection should be presented as part of the parameters during workspace creation

## Technical Notes

- Will require API keys for each model provider
- Need conditional module for each supported agent

## Benefits

- Enables dogfooding of all supported AI agents without template duplication
- Provides better testing coverage across different agent implementations
- Improves developer experience for internal teams

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.