github / github/copilot-cli

Agent configuration needs an effort and length configuration

Open
#3,678 0 comments 4 reactions 0 assignees View on GitHub
area:agents area:configuration area:models
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the feature or problem you'd like to solve

I can only define which model an agent should be using, but cannot configure anything with that model such as effort level and context length.

### Proposed solution

In [custom agents configuration](https://docs.github.com/en/copilot/reference/custom-agents-configuration) there should be a configuration for effort (like claude code has) and context length.

This would allow me to make research agents that can take advantage of higher reasoning and context length vs task agents who don't necessarily need the added effort and window.

### Example prompts or workflows
Sample agent configuration I'd like:
```
---
name: sample-research-agent
description: "Agent to do some deep research in a large codebase."
tools:
- "*"

# Proposed: structured model configuration block
model: claude-opus-4.7 # base model (decoupled from effort/context)
effort: high # low | medium | high | xhigh (claude code supports this already)
context_length: long # default | long
---
```

Also changes to `task` tool call to launch subagents:
```
// Current (only knob is a suffixed model ID)
{
"agent_type": "general-purpose",
"model": "claude-opus-4.7",
"name": "review-agent-d",
"prompt": "..."
}

// Proposed (orthogonal, composable)
{
"agent_type": "general-purpose",
"model": "claude-opus-4.7",
"effort": "xhigh",
"context_length": "long",
"name": "review-agent-d",
"prompt": "..."
}
```

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.