Skip to content

[Feature Request] Access to full trajectory and token usage for each request #3210

@Lawhy

Description

@Lawhy

Required prerequisites

Motivation

When planning budget for agentic systems, we would like to see which request along the trajectory costs more tokens than others. The token usage of each base model request can be a good signal for budget planning, reward model, and more. Would like to see CAMEL support easy access to full trajectory and token usage for each request along the trajectory, attributing to individual agents and tool calls.

@boerz-coding please add some specific examples to describe the gap.

Solution

No response

Alternatives

No response

Additional context

No response

Sub-issues

Metadata

Metadata

Labels

P1Task with middle level priorityenhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions