Skip to content

[feature]: Craft Agent Integration & DeepSeek API Support #47

@LINYI1992

Description

@LINYI1992

What problem does this solve?

TokenTracker currently works well for tracking token usage from CLI tools and supported providers, but it lacks:

  • visibility into agent-based workflows (e.g., Craft Agent), where token usage happens across multiple steps and tool calls
  • support for newer LLM providers like DeepSeek, which are increasingly used for cost-efficient inference

This makes it harder to use TokenTracker in more advanced or production AI setups.

Proposed solution

  1. Add basic integration support for agent frameworks like Craft Agent:
    • track token usage per task / step
    • allow passing simple metadata (e.g., task_id, agent_name)
  2. Add DeepSeek API support:
    • support deepseek-v4
    • track token usage and cost via OpenAI-compatible interface

A lightweight implementation (e.g., wrapper or adapter) would already be very helpful.

Thanks for the great project!

Alternatives considered

No response

Category

New AI tool integration

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions