Skip to content

[FEATURE]:Show subagent token usage in TUI token counter #22103

@Alexxiehui6018

Description

@Alexxiehui6018

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Feature Request

Currently, the TUI displays token usage in the top-right corner, but this only reflects
the main session's token consumption. When the Task tool spawns subagents, their token
usage is not visible anywhere in the interface.

Proposed Behavior

Show subagent token usage either:

  • As a separate counter (e.g., main: 12k | sub: 8k)
  • Or as a breakdown when hovering / expanding the token display
  • Or include subagent tokens in the total counter with an indicator

Use Case

When using Task tool heavily (e.g., parallel agents for large tasks), it's hard to
understand the true cost of a session without subagent token visibility. This matters
for budget tracking and context management.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions