← 返回
未分类 Key

TrustMeImWorking(相信我,在工作了)

按计划自动消耗您的 AI token,持工作模拟、平均和即时三种模式,并提供实时仪表盘。
老伯德
未分类 community v1.0.0 1 版本 99319.7 Key: 需要
★ 0
Stars
📥 146
下载
💾 1
安装
1
版本
#latest

概述

TrustMeImWorking

Automatically consume your AI API token quota on a schedule — so your usage metrics always look healthy.

What it does

TrustMeImWorking runs as a background daemon that calls your configured LLM API at controlled intervals, consuming tokens according to your daily/weekly budget. It supports three run modes:

ModeBehaviour
-----------------
Work Simulation (recommended)Fires during working hours on weekdays, using realistic job-related prompts (code review, architecture design, data analysis…). Looks exactly like real usage.
SpreadDistributes today's budget evenly across the remaining hours, so consumption is smooth and natural-looking.
ImmediateStarts consuming right now; resets at 00:00 each day.

Quick start

# 1. Clone
git clone https://github.com/pengtianhao48-lab/TrustMeImWorking
cd TrustMeImWorking

# 2. Install dependencies
pip install -r requirements.txt

# 3. Configure (interactive wizard)
python3 tmw.py wizard

# 4. Start (real-time dashboard)
python3 tmw.py start

Wizard

The interactive wizard (python3 tmw.py wizard) walks you through:

  1. Language — English or 中文
  2. Platform — OpenAI, DeepSeek, Anthropic, Gemini, Groq, or Custom
  3. Base URL — official endpoint or a third-party relay / company gateway
  4. Model — with platform defaults pre-filled
  5. API Key — stored only in local config.json, never committed
  6. Weekly budget — min/max token range
  7. Job description — used to generate realistic work-simulation prompts
  8. Run mode — work / spread / immediate
  9. Work hours — start/end time, timezone (work mode only)
  10. Enterprise gateway — custom headers, proxy, mTLS, JWT (optional)

Dashboard

python3 tmw.py start opens a live dashboard that refreshes every 2 seconds:

╭──────────────────────────────────────────────────────────────────────╮
│ TrustMeImWorking   Platform: DeepSeek   Mode: Work-Simulation        │
│                    Uptime: 01m 23s      Config: config.json          │
╰──────────────────────────────────────────────────────────────────────╯
╭─────────────────────────── Consumption ──────────────────────────────╮
│ Today      ████████████████████████░░░░   12,345 / 14,000  (88%)    │
│ This week  ███████████████████████░░░░░   67,890 / 50,000–80,000    │
╰──────────────────────────────────────────────────────────────────────╯
╭──────────────────────────── Session ─────────────────────────────────╮
│ ● ACTIVE  This session: 1,234 / 8,800  (14%)                         │
│ ███░░░░░░░░░░░░░░░░░░░░░░░░░                                         │
│ Today's progress:  5,200 / 14,000  (37%)                             │
│ Prompt: How does Kubernetes handle container orchestration…           │
╰──────────────────────────────────────────────────────────────────────╯
  Press Ctrl+C to stop

Commands

CommandDescription
----------------------
python3 tmw.py wizardInteractive setup wizard
python3 tmw.py startStart daemon with live dashboard
python3 tmw.py start -bStart as background daemon (silent)
python3 tmw.py stopStop background daemon
python3 tmw.py logsView recent log (last 50 lines)
python3 tmw.py logs -n 200View more log lines
python3 tmw.py statusShow consumption stats
python3 tmw.py runRun one session immediately
python3 tmw.py run --dry-runSimulate without calling the API

Requirements

  • Python 3.8+
  • pip install -r requirements.txt (rich, openai, requests)
  • An API key for any OpenAI-compatible LLM service

Configuration

All settings are stored in config.json (auto-generated by the wizard). The file is listed in .gitignore and never committed.

Supported platforms

OpenAI · DeepSeek · Anthropic · Google Gemini · Groq · Any OpenAI-compatible endpoint (Ollama, vLLM, LM Studio, SiliconFlow, company gateways, etc.)

版本历史

共 1 个版本

  • v1.0.0 Initial release 当前
    2026-04-12 15:26 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,062 📥 799,877
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,219 📥 266,850
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,517