openai / openai/codex

Context size per subagent

Open
#40,377 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CLI config context enhancement subagent
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What variant of Codex are you using?

0.149.1

What feature would you like to see?

Need a feature for codex to be more effective. Currently subagents get same context size globally and attempts to set per subagent context size , auto compact being ignored. Please add feature to set context limits for subagent separately

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the subagent context-size handling and auto-compaction logic in the Rust repository, then trace how the global limit is propagated. Done means subagents can use an independently configured context limit and auto-compaction respects that limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ai-infra-agents
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.