Skip to content

feat: implement runtime LLM call categorization #225

@Aureliolo

Description

@Aureliolo

Summary

Data models for LLM call categorization (LLMCallCategory, CategoryBreakdown, OrchestrationRatio, CostRecord.call_category) exist, but runtime categorization logic (automatic tagging of calls as productive/coordination/system during multi-agent execution) is not implemented.

Design Spec Reference

  • §10.5 M4: Call Categorization + Orchestration Ratio — current state note

Scope

  • Automatic tagging of CostRecord.call_category during execution
  • Classification rules: direct task work = productive, inter-agent communication = coordination, framework overhead = system
  • Integration with AgentEngine and multi-agent coordination layer

Metadata

Metadata

Assignees

No one assigned

    Labels

    prio:lowNice to have, can deferscope:medium1-3 days of workspec:budgetDESIGN_SPEC Section 10 - Cost & Budget Managementtype:featureNew feature implementationv0.8Minor version v0.8v0.8.4Patch release v0.8.4

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions