Skip to content

Token tracking when using subagents #504

@krissetto

Description

@krissetto

At the moment the token tracking code in the TUI only seems to consider the currently active agent/session.

This means that the values displayed in the TUI change when an agent delegates a task to a sub-agent or a sub-agent finishes its task and returns control to it's parent, not giving the user a precise indication of the tokens actually used when running an agent team

It'd be nice to have an overall view of total tokens consumed by the full agent team, and also a way to see the consumption and cost per individual session (which would mean per sub-agent as well).

Metadata

Metadata

Labels

area/tuiFor features/issues/fixes related to the TUIkind/bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions