Trust Engine AI: model retirements and agent cost

io.github.DinevDecor由 GitHub 帳號 DinevDecor 發布v0.2.2更新於 Nov 14, 2026

Model retirement dates with sources, public cost-vs-quality benchmark, local usage-cost check. Free.

發布方自己的服務:model.tools — Zero-Auth Agent Utilities

概覽

AI 產生的概覽

唯讀 MCP 伺服器:掃描程式碼庫中的 AI 模型 ID,提供附來源的退役日期,並在本機分析用量成本匯出檔。

可以做什麼
  • 掃描工作目錄或傳入文字中的 AI 模型 ID,標出即將退役的模型及所在檔案與行號
  • 依平台查核一組模型的退役日期、剩餘天數、廠商替代型號與來源
  • 依供應商、模型或日期篩選列出即將退役與棄用的模型
  • 在本機分析 OpenAI 或 Anthropic 用量/成本匯出檔,查看各模型花費與成本驅動因素
  • 顯示公開編碼基準結果,並為已量測的模型組合估算節省金額
  • 準備試辦任務範本,並草擬一封由人工寄出的試辦申請郵件
適用情境
適用於需要確認程式碼或代理所用模型是否即將退役、模型呼叫開始失敗時,或希望在不外傳用量資料的前提下了解並降低代理花費的情境。
執行需求
以 uvx 執行的本機程序(需 Python 3.10+ 與 uv),或以 pip 安裝;不需帳號或 API 金鑰。更新資料需連線 agenttrustapi.com,無法連線時改用內建快照。可選環境變數 TRUST_ENGINE_OFFLINE 與 TRUST_ENGINE_BASE_URL。
安裝前請注意
伺服器會向 agenttrustapi.com 送出 GET 請求,附帶 User-Agent 與含 ref 參數的連結,用於依管道統計使用量。退役日期抄自廠商頁面,行動前應核對所引來源。基準結果來自單一編碼代理在公開題目上的測試,無法預測你自己任務上的表現。節省估算僅涵蓋已量測的模型組合。伺服器不會代你寄送任何內容,試辦申請僅產生草稿。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Trust Engine AI: model retirements and agent cost,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

trust-engine-mcp

Free MCP server from Trust Engine AI. It answers questions agents otherwise search the web for:

  • Which AI models does this code use, and are any being retired? scan_for_models finds the model ids in the working directory (read-only, on your machine) and checks them against the calendar. The same scan runs as a command (trust-engine-mcp check) and as a GitHub Action, without an agent.
  • Is a model we use being retired, and when? Verified dates for Anthropic, OpenAI, Google Gemini API and Vertex AI, AWS Bedrock and Mistral. Each date has its official source URL and the date it was checked.
  • Why do our agents cost so much? It reads an OpenAI or Anthropic usage/cost export locally and shows spend by model, cost drivers and the fixes you can make yourself.
  • Is a cheaper model good enough? You get our public benchmark numbers, a savings estimate for the model pairs we measured, and a ready request for a free pilot on your own tasks.

Read-only. No key, no account, no telemetry. The server only sends GET requests to agenttrustapi.com, with the User-Agent trust-engine-mcp/<version> (mcp|cli|action) so we can count use per channel; links to agenttrustapi.com in answers carry ?ref=mcp, ?ref=cli or ?ref=action for the same reason. Nothing else is recorded or sent.

Honesty notes. The retirement data is copied from vendor pages, so follow source_url before you act on a date. The benchmark is one coding agent on 27 public exercises: it compares the models fairly, but it does not predict results on your tasks. Savings estimates exist only for pairs we measured; for any other pair the tool gives no number. Nothing is sent for you: request_pilot drafts an e-mail that a person sends.

Connect with one command

Needs Python 3.10+ and uv.

bash
# Claude Codeclaude mcp add --transport stdio trust-engine -- uvx trust-engine-mcp
# Codex CLIcodex mcp add trust-engine -- uvx trust-engine-mcp

Claude Desktop, Cursor and other stdio clients use this config (claude_desktop_config.json, .cursor/mcp.json):

json
{  "mcpServers": {    "trust-engine": { "command": "uvx", "args": ["trust-engine-mcp"] }  }}

Claude Desktop can also install the one-file bundle trust-engine-mcp-<version>.mcpb from the GitHub releases. Without uv, run pip install trust-engine-mcp and use the command trust-engine-mcp.

Try this first

Are we using any deprecated AI models in this repo?

Use the trust-engine tools. We use claude-sonnet-4-5, gpt-4o and gemini-2.5-flash. Which of them are being retired, on which platform, and by when must we re-test? Cite the sources.

Here is our usage export (CSV). Why are our agents so expensive? List the quick fixes we can do ourselves this week.

Is Claude Sonnet good enough instead of Opus for coding work? Show the benchmark numbers and what we would save on a $4,000 monthly bill. Then tell me how to test this on our own tasks.

Tools

ToolAnswers
scan_for_models(path?, texts?)Finds every model id from the calendar in the working directory (or in texts you pass) as a whole token, with file:line for each, plus the check_my_models result for those models. path must be inside the working directory. Limits: 20,000 files / 50 MB; single files over 1 MB (data dumps, bundles) are skipped and listed, not read; code and config files are read first, prose next. Skips .git, node_modules, venv, .venv, dist, build, __pycache__, .next, .nuxt, coverage, .cache, target and test caches, lockfiles and binaries. Never opens .env or .env.* (only .env.example, .env.sample, .env.template); skipped ones are listed by name
check_my_models(models)For each model your agent uses: retirement date per platform, days left, the vendor's replacement, the source, and what to do before the date
model_retirements(provider?, model?, before_date?, include_past?, text_models_only?)Upcoming retirements and deprecations, filtered, with sources
analyze_usage(csv_text? | rows?)Spend by model, top-model share, models on the retirement calendar, cost drivers, next steps. Runs offline; nothing is uploaded
benchmark_results()Public Aider benchmark for Claude Opus, Sonnet and Haiku 5.5: tasks solved, cost per solved task, failed tasks, method and raw data
estimate_switch_savings(monthly_bill_usd, from_model, to_model)Measured cost ratio and the arithmetic, for measured pairs only
prepare_pilot_tasks(csv_text?, use_case?)The pilot task format (CSV template), how to pick 20-30 tasks, how to mask personal data, and an offline check of a draft
request_pilot(company?, use_case?, models?, task_count?, monthly_bill_usd?, notes?)A draft e-mail and mailto: link to [email protected] for a person to send
pricing()Published prices (US$, valid from 12 Nov 2026), incl. the fixed-price 7-day test ($1,390), 24/7 watch and Bulgarian review

What the scan does not see: model ids built at runtime (from environment variables or string concatenation), models that are not on the calendar, and ids written in a form the calendar does not list. Aliases such as gpt-4.1 match the dated snapshot on the calendar (gpt-4.1-2025-04-14); the answer says so, because an alias can point to a newer snapshot.

Check a repository without an agent

Command line

bash
uvx trust-engine-mcp check            # scan the current folderuvx trust-engine-mcp check src --days 90

It prints each model found, its dates, replacement and source, and where it is used. Exit code 1 if a model found retires within --days days (default 60; a date that has already passed counts), otherwise 0. trust-engine-mcp with no arguments still starts the MCP server.

GitHub Action

yaml
# .github/workflows/model-retirements.ymlname: model retirementson:  pull_request:  schedule:    - cron: "17 6 * * 1"   # Mondayspermissions:  contents: readjobs:  check:    runs-on: ubuntu-latest    steps:      - uses: actions/checkout@v4      - uses: DinevDecor/trust-engine-mcp/check@v1        with:          days: "60"                  # default 60          # path: "."                 # default: the whole repository          # fail-on-retiring: "true"  # default false: warnings only

It adds a warning on each line that uses a model retiring within days and a table to the job summary. It needs no token and posts no comments. By default the step never fails; set fail-on-retiring: "true" to fail it.

Usage exports analyze_usage reads

Column names are matched loosely; case, spaces and separators are ignored. Only a model column is required.

  • model: model, model_name, model_id, snapshot_id, line_item (e.g. "gpt-4o-2024-08-06, input")
  • cost: cost, cost_usd, amount, amount_value, spend, total_cost
  • requests: requests, num_model_requests, n_requests, request_count
  • tokens: input_tokens, prompt_tokens, n_context_tokens_total, uncached_input_tokens, output_tokens, completion_tokens, cache_read_input_tokens, input_cached_tokens, cache_creation_input_tokens
  • reliability: errors, error_count, status, status_code, retries
  • other: batch, service_tier, date, start_time, bucket_start

Data sources

DataURLLicense
Model retirement calendarhttps://agenttrustapi.com/retirements.json (schema, Atom, page)CC BY 4.0
Aider model-diet benchmarkhttps://agenttrustapi.com/benchmarks/aider-model-diet.json (report, protocol, raw CSV)as on the report
Pilot task templatehttps://agenttrustapi.com/pilot/tasks_template.csv—

The server caches each file for 6 hours with a 10-second timeout. The package includes a snapshot of both files. If the site is unreachable, the server uses that snapshot and says so in every answer.

Environment

VariableDefaultMeaning
TRUST_ENGINE_OFFLINE01: never fetch; use the bundled snapshot only
TRUST_ENGINE_BASE_URLhttps://agenttrustapi.comdata host (for testing against a local copy)

Development

bash
pip install -e ".[dev]"pytest && ruff check .

The tests use fixtures and a fake site. They make no network calls.

License

Code MIT © 2026 Trust Engine AI. Retirement data CC BY 4.0. Contact: [email protected]

mcp-name: io.github.DinevDecor/trust-engine-mcp

來源:README.md,提交 c46ed5a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

4
  1. v0.2.2最新Nov 14, 2026
  2. v0.2.1Nov 14, 2026
  3. v0.2.0Nov 14, 2026
  4. v0.1.0Nov 12, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Model 整合