rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:jusspound-netizen/dsh-token-optimizer
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A lightweight Python CLI that audits DeepSeek Harness (DSH) agent logs to find wasted tokens.
Instead of just tracking your bill, this tool tells you why you are burning tokens, finding the redundant tool calls and retry loops that agents fall into.
Requires Python 3.9+. No external packages needed.
python scripts/run.py path/to/your_agent_log.txt
Example Output:
=== DSH TOKEN OPTIMIZER REPORT ===
Log analyzed: test_log.txt
Estimated tokens in log: 71
Waste Patterns Detected:
- Redundant Calls: 4
- Retry Loops: 4
--- Savings Estimate ---
Potential Tokens Saved: 6,000
Estimated Cost Saved: $0.0180
Recommendation: Implement memoization or a retry backoff policy.
MIT
Want your AI agent to use these tools automatically? Browse my full catalog of AI agent skills for Jira, Sentry, DevOps, and agent observability on Agensi.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: llm-cost、deepseek-harness。