trust-engine-mcp 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- trust_engine_mcp-0.1.0/LICENSE +21 -0
- trust_engine_mcp-0.1.0/PKG-INFO +135 -0
- trust_engine_mcp-0.1.0/README.md +111 -0
- trust_engine_mcp-0.1.0/pyproject.toml +51 -0
- trust_engine_mcp-0.1.0/setup.cfg +4 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/__init__.py +3 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/__main__.py +3 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/data/aider-model-diet.json +193 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/data/retirements.json +998 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/data/tasks_template.csv +4 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/data.py +106 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/models.py +61 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/pilot.py +181 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/server.py +142 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/tools.py +442 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp/usage.py +341 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp.egg-info/PKG-INFO +135 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp.egg-info/SOURCES.txt +21 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp.egg-info/dependency_links.txt +1 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp.egg-info/entry_points.txt +2 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp.egg-info/requires.txt +6 -0
- trust_engine_mcp-0.1.0/src/trust_engine_mcp.egg-info/top_level.txt +1 -0
- trust_engine_mcp-0.1.0/tests/test_server.py +295 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Trust Engine AI
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: trust-engine-mcp
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Free MCP server for AI agents: model retirement dates with sources, public cost-vs-quality benchmark, local usage-cost analysis and a free pilot request.
|
|
5
|
+
Author-email: Trust Engine AI <hello@agenttrustapi.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://agenttrustapi.com
|
|
8
|
+
Project-URL: Source, https://github.com/DinevDecor/trust-engine-mcp
|
|
9
|
+
Project-URL: Retirement calendar, https://agenttrustapi.com/retirements/
|
|
10
|
+
Project-URL: For LLM agents, https://agenttrustapi.com/llms.txt
|
|
11
|
+
Keywords: mcp,llm,model-deprecation,model-retirement,llm-cost,ai-agents,evals
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: mcp<3.0,>=1.9
|
|
19
|
+
Requires-Dist: httpx<1.0,>=0.27
|
|
20
|
+
Provides-Extra: dev
|
|
21
|
+
Requires-Dist: pytest<9.0,>=8.3; extra == "dev"
|
|
22
|
+
Requires-Dist: ruff>=0.6; extra == "dev"
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
|
|
25
|
+
# trust-engine-mcp
|
|
26
|
+
|
|
27
|
+
Free MCP server from [Trust Engine AI](https://agenttrustapi.com). It answers questions agents otherwise search the web for:
|
|
28
|
+
|
|
29
|
+
- **Is a model we use being retired, and when?** Verified dates for Anthropic, OpenAI, Google Gemini API and Vertex AI,
|
|
30
|
+
AWS Bedrock and Mistral. Each date has its official source URL and the date it was checked.
|
|
31
|
+
- **Why do our agents cost so much?** It reads an OpenAI or Anthropic usage/cost export **locally** and shows spend by
|
|
32
|
+
model, cost drivers and the fixes you can make yourself.
|
|
33
|
+
- **Is a cheaper model good enough?** You get our public benchmark numbers, a savings estimate for the model pairs we
|
|
34
|
+
measured, and a ready request for a free pilot on your own tasks.
|
|
35
|
+
|
|
36
|
+
Read-only. No key, no account, no telemetry. The server only sends GET requests to `agenttrustapi.com`.
|
|
37
|
+
|
|
38
|
+
> **Honesty notes.** The retirement data is copied from vendor pages, so follow `source_url` before you act on a date.
|
|
39
|
+
> The benchmark is one coding agent on 27 public exercises: it compares the models fairly, but it does not predict
|
|
40
|
+
> results on your tasks. Savings estimates exist only for pairs we measured; for any other pair the tool gives no
|
|
41
|
+
> number. Nothing is sent for you: `request_pilot` drafts an e-mail that a person sends.
|
|
42
|
+
|
|
43
|
+
## Connect with one command
|
|
44
|
+
|
|
45
|
+
Needs Python 3.10+ and [`uv`](https://docs.astral.sh/uv/).
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
# Claude Code
|
|
49
|
+
claude mcp add --transport stdio trust-engine -- uvx trust-engine-mcp
|
|
50
|
+
|
|
51
|
+
# Codex CLI
|
|
52
|
+
codex mcp add trust-engine -- uvx trust-engine-mcp
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Claude Desktop, Cursor and other stdio clients use this config (`claude_desktop_config.json`, `.cursor/mcp.json`):
|
|
56
|
+
|
|
57
|
+
```json
|
|
58
|
+
{
|
|
59
|
+
"mcpServers": {
|
|
60
|
+
"trust-engine": { "command": "uvx", "args": ["trust-engine-mcp"] }
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Claude Desktop can also install the one-file bundle `trust-engine-mcp-<version>.mcpb` from the GitHub releases.
|
|
66
|
+
Without uv, run `pip install trust-engine-mcp` and use the command `trust-engine-mcp`.
|
|
67
|
+
|
|
68
|
+
## Try this first
|
|
69
|
+
|
|
70
|
+
> Use the trust-engine tools. We use claude-sonnet-4-5, gpt-4o and gemini-2.5-flash. Which of them are being
|
|
71
|
+
> retired, on which platform, and by when must we re-test? Cite the sources.
|
|
72
|
+
|
|
73
|
+
> Here is our usage export (CSV). Why are our agents so expensive? List the quick fixes we can do ourselves this week.
|
|
74
|
+
|
|
75
|
+
> Is Claude Sonnet good enough instead of Opus for coding work? Show the benchmark numbers and what we would save on
|
|
76
|
+
> a $4,000 monthly bill. Then tell me how to test this on our own tasks.
|
|
77
|
+
|
|
78
|
+
## Tools
|
|
79
|
+
|
|
80
|
+
| Tool | Answers |
|
|
81
|
+
|---|---|
|
|
82
|
+
| `check_my_models(models)` | For each model your agent uses: retirement date per platform, days left, the vendor's replacement, the source, and the next step ("re-test before ...") |
|
|
83
|
+
| `model_retirements(provider?, model?, before_date?, include_past?, text_models_only?)` | Upcoming retirements and deprecations, filtered, with sources |
|
|
84
|
+
| `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 |
|
|
85
|
+
| `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 |
|
|
86
|
+
| `estimate_switch_savings(monthly_bill_usd, from_model, to_model)` | Measured cost ratio and the arithmetic, for measured pairs only |
|
|
87
|
+
| `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 |
|
|
88
|
+
| `request_pilot(company?, use_case?, models?, task_count?, monthly_bill_usd?, notes?)` | A draft e-mail and `mailto:` link to hello@agenttrustapi.com for a person to send |
|
|
89
|
+
| `pricing()` | Published prices (US$, valid from 12 Nov 2026), incl. the fixed-price 7-day test ($1,390), 24/7 watch and Bulgarian review |
|
|
90
|
+
|
|
91
|
+
### Usage exports `analyze_usage` reads
|
|
92
|
+
|
|
93
|
+
Column names are matched loosely; case, spaces and separators are ignored. Only a model column is required.
|
|
94
|
+
|
|
95
|
+
- model: `model`, `model_name`, `model_id`, `snapshot_id`, `line_item` (e.g. "gpt-4o-2024-08-06, input")
|
|
96
|
+
- cost: `cost`, `cost_usd`, `amount`, `amount_value`, `spend`, `total_cost`
|
|
97
|
+
- requests: `requests`, `num_model_requests`, `n_requests`, `request_count`
|
|
98
|
+
- tokens: `input_tokens`, `prompt_tokens`, `n_context_tokens_total`, `uncached_input_tokens`, `output_tokens`,
|
|
99
|
+
`completion_tokens`, `cache_read_input_tokens`, `input_cached_tokens`, `cache_creation_input_tokens`
|
|
100
|
+
- reliability: `errors`, `error_count`, `status`, `status_code`, `retries`
|
|
101
|
+
- other: `batch`, `service_tier`, `date`, `start_time`, `bucket_start`
|
|
102
|
+
|
|
103
|
+
## Data sources
|
|
104
|
+
|
|
105
|
+
| Data | URL | License |
|
|
106
|
+
|---|---|---|
|
|
107
|
+
| Model retirement calendar | <https://agenttrustapi.com/retirements.json> ([schema](https://agenttrustapi.com/retirements.schema.json), [Atom](https://agenttrustapi.com/retirements.atom), [page](https://agenttrustapi.com/retirements/)) | CC BY 4.0 |
|
|
108
|
+
| Aider model-diet benchmark | <https://agenttrustapi.com/benchmarks/aider-model-diet.json> ([report](https://agenttrustapi.com/reports/model-diet-aider/), [protocol](https://agenttrustapi.com/reports/model-diet-aider/protocol.md), [raw CSV](https://agenttrustapi.com/reports/model-diet-aider/results.csv)) | as on the report |
|
|
109
|
+
| Pilot task template | <https://agenttrustapi.com/pilot/tasks_template.csv> | — |
|
|
110
|
+
|
|
111
|
+
The server caches each file for 6 hours with a 10-second timeout. The package includes a snapshot of both files. If
|
|
112
|
+
the site is unreachable, the server uses that snapshot and says so in every answer.
|
|
113
|
+
|
|
114
|
+
## Environment
|
|
115
|
+
|
|
116
|
+
| Variable | Default | Meaning |
|
|
117
|
+
|---|---|---|
|
|
118
|
+
| `TRUST_ENGINE_OFFLINE` | `0` | `1`: never fetch; use the bundled snapshot only |
|
|
119
|
+
| `TRUST_ENGINE_BASE_URL` | `https://agenttrustapi.com` | data host (for testing against a local copy) |
|
|
120
|
+
|
|
121
|
+
## Development
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
pip install -e ".[dev]"
|
|
125
|
+
pytest && ruff check .
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
The tests use fixtures and a fake site. They make no network calls.
|
|
129
|
+
|
|
130
|
+
## License
|
|
131
|
+
|
|
132
|
+
Code MIT © 2026 Trust Engine AI. Retirement data CC BY 4.0. Contact: hello@agenttrustapi.com
|
|
133
|
+
|
|
134
|
+
<!-- Official MCP Registry ownership marker -->
|
|
135
|
+
mcp-name: io.github.DinevDecor/trust-engine-mcp
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# trust-engine-mcp
|
|
2
|
+
|
|
3
|
+
Free MCP server from [Trust Engine AI](https://agenttrustapi.com). It answers questions agents otherwise search the web for:
|
|
4
|
+
|
|
5
|
+
- **Is a model we use being retired, and when?** Verified dates for Anthropic, OpenAI, Google Gemini API and Vertex AI,
|
|
6
|
+
AWS Bedrock and Mistral. Each date has its official source URL and the date it was checked.
|
|
7
|
+
- **Why do our agents cost so much?** It reads an OpenAI or Anthropic usage/cost export **locally** and shows spend by
|
|
8
|
+
model, cost drivers and the fixes you can make yourself.
|
|
9
|
+
- **Is a cheaper model good enough?** You get our public benchmark numbers, a savings estimate for the model pairs we
|
|
10
|
+
measured, and a ready request for a free pilot on your own tasks.
|
|
11
|
+
|
|
12
|
+
Read-only. No key, no account, no telemetry. The server only sends GET requests to `agenttrustapi.com`.
|
|
13
|
+
|
|
14
|
+
> **Honesty notes.** The retirement data is copied from vendor pages, so follow `source_url` before you act on a date.
|
|
15
|
+
> The benchmark is one coding agent on 27 public exercises: it compares the models fairly, but it does not predict
|
|
16
|
+
> results on your tasks. Savings estimates exist only for pairs we measured; for any other pair the tool gives no
|
|
17
|
+
> number. Nothing is sent for you: `request_pilot` drafts an e-mail that a person sends.
|
|
18
|
+
|
|
19
|
+
## Connect with one command
|
|
20
|
+
|
|
21
|
+
Needs Python 3.10+ and [`uv`](https://docs.astral.sh/uv/).
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# Claude Code
|
|
25
|
+
claude mcp add --transport stdio trust-engine -- uvx trust-engine-mcp
|
|
26
|
+
|
|
27
|
+
# Codex CLI
|
|
28
|
+
codex mcp add trust-engine -- uvx trust-engine-mcp
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Claude Desktop, Cursor and other stdio clients use this config (`claude_desktop_config.json`, `.cursor/mcp.json`):
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
{
|
|
35
|
+
"mcpServers": {
|
|
36
|
+
"trust-engine": { "command": "uvx", "args": ["trust-engine-mcp"] }
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Claude Desktop can also install the one-file bundle `trust-engine-mcp-<version>.mcpb` from the GitHub releases.
|
|
42
|
+
Without uv, run `pip install trust-engine-mcp` and use the command `trust-engine-mcp`.
|
|
43
|
+
|
|
44
|
+
## Try this first
|
|
45
|
+
|
|
46
|
+
> Use the trust-engine tools. We use claude-sonnet-4-5, gpt-4o and gemini-2.5-flash. Which of them are being
|
|
47
|
+
> retired, on which platform, and by when must we re-test? Cite the sources.
|
|
48
|
+
|
|
49
|
+
> Here is our usage export (CSV). Why are our agents so expensive? List the quick fixes we can do ourselves this week.
|
|
50
|
+
|
|
51
|
+
> Is Claude Sonnet good enough instead of Opus for coding work? Show the benchmark numbers and what we would save on
|
|
52
|
+
> a $4,000 monthly bill. Then tell me how to test this on our own tasks.
|
|
53
|
+
|
|
54
|
+
## Tools
|
|
55
|
+
|
|
56
|
+
| Tool | Answers |
|
|
57
|
+
|---|---|
|
|
58
|
+
| `check_my_models(models)` | For each model your agent uses: retirement date per platform, days left, the vendor's replacement, the source, and the next step ("re-test before ...") |
|
|
59
|
+
| `model_retirements(provider?, model?, before_date?, include_past?, text_models_only?)` | Upcoming retirements and deprecations, filtered, with sources |
|
|
60
|
+
| `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 |
|
|
61
|
+
| `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 |
|
|
62
|
+
| `estimate_switch_savings(monthly_bill_usd, from_model, to_model)` | Measured cost ratio and the arithmetic, for measured pairs only |
|
|
63
|
+
| `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 |
|
|
64
|
+
| `request_pilot(company?, use_case?, models?, task_count?, monthly_bill_usd?, notes?)` | A draft e-mail and `mailto:` link to hello@agenttrustapi.com for a person to send |
|
|
65
|
+
| `pricing()` | Published prices (US$, valid from 12 Nov 2026), incl. the fixed-price 7-day test ($1,390), 24/7 watch and Bulgarian review |
|
|
66
|
+
|
|
67
|
+
### Usage exports `analyze_usage` reads
|
|
68
|
+
|
|
69
|
+
Column names are matched loosely; case, spaces and separators are ignored. Only a model column is required.
|
|
70
|
+
|
|
71
|
+
- model: `model`, `model_name`, `model_id`, `snapshot_id`, `line_item` (e.g. "gpt-4o-2024-08-06, input")
|
|
72
|
+
- cost: `cost`, `cost_usd`, `amount`, `amount_value`, `spend`, `total_cost`
|
|
73
|
+
- requests: `requests`, `num_model_requests`, `n_requests`, `request_count`
|
|
74
|
+
- tokens: `input_tokens`, `prompt_tokens`, `n_context_tokens_total`, `uncached_input_tokens`, `output_tokens`,
|
|
75
|
+
`completion_tokens`, `cache_read_input_tokens`, `input_cached_tokens`, `cache_creation_input_tokens`
|
|
76
|
+
- reliability: `errors`, `error_count`, `status`, `status_code`, `retries`
|
|
77
|
+
- other: `batch`, `service_tier`, `date`, `start_time`, `bucket_start`
|
|
78
|
+
|
|
79
|
+
## Data sources
|
|
80
|
+
|
|
81
|
+
| Data | URL | License |
|
|
82
|
+
|---|---|---|
|
|
83
|
+
| Model retirement calendar | <https://agenttrustapi.com/retirements.json> ([schema](https://agenttrustapi.com/retirements.schema.json), [Atom](https://agenttrustapi.com/retirements.atom), [page](https://agenttrustapi.com/retirements/)) | CC BY 4.0 |
|
|
84
|
+
| Aider model-diet benchmark | <https://agenttrustapi.com/benchmarks/aider-model-diet.json> ([report](https://agenttrustapi.com/reports/model-diet-aider/), [protocol](https://agenttrustapi.com/reports/model-diet-aider/protocol.md), [raw CSV](https://agenttrustapi.com/reports/model-diet-aider/results.csv)) | as on the report |
|
|
85
|
+
| Pilot task template | <https://agenttrustapi.com/pilot/tasks_template.csv> | — |
|
|
86
|
+
|
|
87
|
+
The server caches each file for 6 hours with a 10-second timeout. The package includes a snapshot of both files. If
|
|
88
|
+
the site is unreachable, the server uses that snapshot and says so in every answer.
|
|
89
|
+
|
|
90
|
+
## Environment
|
|
91
|
+
|
|
92
|
+
| Variable | Default | Meaning |
|
|
93
|
+
|---|---|---|
|
|
94
|
+
| `TRUST_ENGINE_OFFLINE` | `0` | `1`: never fetch; use the bundled snapshot only |
|
|
95
|
+
| `TRUST_ENGINE_BASE_URL` | `https://agenttrustapi.com` | data host (for testing against a local copy) |
|
|
96
|
+
|
|
97
|
+
## Development
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
pip install -e ".[dev]"
|
|
101
|
+
pytest && ruff check .
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
The tests use fixtures and a fake site. They make no network calls.
|
|
105
|
+
|
|
106
|
+
## License
|
|
107
|
+
|
|
108
|
+
Code MIT © 2026 Trust Engine AI. Retirement data CC BY 4.0. Contact: hello@agenttrustapi.com
|
|
109
|
+
|
|
110
|
+
<!-- Official MCP Registry ownership marker -->
|
|
111
|
+
mcp-name: io.github.DinevDecor/trust-engine-mcp
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "trust-engine-mcp"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Free MCP server for AI agents: model retirement dates with sources, public cost-vs-quality benchmark, local usage-cost analysis and a free pilot request."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
license-files = ["LICENSE"]
|
|
12
|
+
requires-python = ">=3.10"
|
|
13
|
+
authors = [{ name = "Trust Engine AI", email = "hello@agenttrustapi.com" }]
|
|
14
|
+
keywords = ["mcp", "llm", "model-deprecation", "model-retirement", "llm-cost", "ai-agents", "evals"]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Operating System :: OS Independent",
|
|
18
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
19
|
+
]
|
|
20
|
+
dependencies = [
|
|
21
|
+
"mcp>=1.9,<3.0",
|
|
22
|
+
"httpx>=0.27,<1.0",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[project.optional-dependencies]
|
|
26
|
+
dev = ["pytest>=8.3,<9.0", "ruff>=0.6"]
|
|
27
|
+
|
|
28
|
+
[project.urls]
|
|
29
|
+
Homepage = "https://agenttrustapi.com"
|
|
30
|
+
Source = "https://github.com/DinevDecor/trust-engine-mcp"
|
|
31
|
+
"Retirement calendar" = "https://agenttrustapi.com/retirements/"
|
|
32
|
+
"For LLM agents" = "https://agenttrustapi.com/llms.txt"
|
|
33
|
+
|
|
34
|
+
[project.scripts]
|
|
35
|
+
trust-engine-mcp = "trust_engine_mcp.server:main"
|
|
36
|
+
|
|
37
|
+
[tool.setuptools.packages.find]
|
|
38
|
+
where = ["src"]
|
|
39
|
+
|
|
40
|
+
[tool.setuptools.package-data]
|
|
41
|
+
trust_engine_mcp = ["data/*.json", "data/*.csv"]
|
|
42
|
+
|
|
43
|
+
[tool.pytest.ini_options]
|
|
44
|
+
testpaths = ["tests"]
|
|
45
|
+
|
|
46
|
+
[tool.ruff]
|
|
47
|
+
line-length = 120
|
|
48
|
+
target-version = "py310"
|
|
49
|
+
|
|
50
|
+
[tool.ruff.lint]
|
|
51
|
+
select = ["E", "F", "I", "B", "UP"]
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Model diet for a coding agent (Aider): Opus vs Sonnet vs Haiku 5.5",
|
|
3
|
+
"publisher": {
|
|
4
|
+
"name": "Trust Engine AI",
|
|
5
|
+
"url": "https://agenttrustapi.com/",
|
|
6
|
+
"email": "hello@agenttrustapi.com"
|
|
7
|
+
},
|
|
8
|
+
"date": "2026-11-11",
|
|
9
|
+
"report_url": "https://agenttrustapi.com/reports/model-diet-aider/",
|
|
10
|
+
"method_url": "https://agenttrustapi.com/reports/model-diet-aider/protocol.md",
|
|
11
|
+
"raw_data_url": "https://agenttrustapi.com/reports/model-diet-aider/results.csv",
|
|
12
|
+
"agent": "Aider 0.86.2, default settings per model",
|
|
13
|
+
"exam": "Aider polyglot benchmark, Python part; hidden tests; one attempt plus one retry with the test output",
|
|
14
|
+
"exercises_in_analysis": 27,
|
|
15
|
+
"exercises_planned": 34,
|
|
16
|
+
"solved_means": "all hidden tests pass after at most one retry (pass@2)",
|
|
17
|
+
"cost_method": "tokens x list price, read from the agent's own output; not yet reconciled with the invoice",
|
|
18
|
+
"models": [
|
|
19
|
+
{
|
|
20
|
+
"model": "claude-haiku-5-5",
|
|
21
|
+
"name": "Claude Haiku 5.5",
|
|
22
|
+
"exercises": 27,
|
|
23
|
+
"solved_first_try": 15,
|
|
24
|
+
"solved": 22,
|
|
25
|
+
"total_cost_usd": 0.2023,
|
|
26
|
+
"cost_per_exercise_usd": 0.0075,
|
|
27
|
+
"cost_per_solved_usd": 0.0092,
|
|
28
|
+
"median_seconds": 30.2,
|
|
29
|
+
"failed": [
|
|
30
|
+
"dot-dsl",
|
|
31
|
+
"forth",
|
|
32
|
+
"hangman",
|
|
33
|
+
"paasio",
|
|
34
|
+
"rest-api"
|
|
35
|
+
],
|
|
36
|
+
"list_price_usd_per_mtok": {
|
|
37
|
+
"input": 0.1,
|
|
38
|
+
"output": 0.5
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"model": "claude-sonnet-5-5",
|
|
43
|
+
"name": "Claude Sonnet 5.5",
|
|
44
|
+
"exercises": 27,
|
|
45
|
+
"solved_first_try": 25,
|
|
46
|
+
"solved": 26,
|
|
47
|
+
"total_cost_usd": 3.9499,
|
|
48
|
+
"cost_per_exercise_usd": 0.1463,
|
|
49
|
+
"cost_per_solved_usd": 0.1519,
|
|
50
|
+
"median_seconds": 27.4,
|
|
51
|
+
"failed": [
|
|
52
|
+
"paasio"
|
|
53
|
+
],
|
|
54
|
+
"list_price_usd_per_mtok": {
|
|
55
|
+
"input": 2,
|
|
56
|
+
"output": 10
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"model": "claude-opus-5-5",
|
|
61
|
+
"name": "Claude Opus 5.5",
|
|
62
|
+
"exercises": 27,
|
|
63
|
+
"solved_first_try": 26,
|
|
64
|
+
"solved": 26,
|
|
65
|
+
"total_cost_usd": 7.7078,
|
|
66
|
+
"cost_per_exercise_usd": 0.2855,
|
|
67
|
+
"cost_per_solved_usd": 0.2965,
|
|
68
|
+
"median_seconds": 33.1,
|
|
69
|
+
"failed": [
|
|
70
|
+
"paasio"
|
|
71
|
+
],
|
|
72
|
+
"list_price_usd_per_mtok": {
|
|
73
|
+
"input": 4,
|
|
74
|
+
"output": 20
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"pairs": [
|
|
79
|
+
{
|
|
80
|
+
"from": "claude-haiku-5-5",
|
|
81
|
+
"to": "claude-sonnet-5-5",
|
|
82
|
+
"cost_per_solved_ratio": 16.5109,
|
|
83
|
+
"change_pct": 1551.1,
|
|
84
|
+
"solved_from": 22,
|
|
85
|
+
"solved_to": 26,
|
|
86
|
+
"lost_tasks": [],
|
|
87
|
+
"gained_tasks": [
|
|
88
|
+
"dot-dsl",
|
|
89
|
+
"forth",
|
|
90
|
+
"hangman",
|
|
91
|
+
"rest-api"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"from": "claude-haiku-5-5",
|
|
96
|
+
"to": "claude-opus-5-5",
|
|
97
|
+
"cost_per_solved_ratio": 32.2283,
|
|
98
|
+
"change_pct": 3122.8,
|
|
99
|
+
"solved_from": 22,
|
|
100
|
+
"solved_to": 26,
|
|
101
|
+
"lost_tasks": [],
|
|
102
|
+
"gained_tasks": [
|
|
103
|
+
"dot-dsl",
|
|
104
|
+
"forth",
|
|
105
|
+
"hangman",
|
|
106
|
+
"rest-api"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"from": "claude-sonnet-5-5",
|
|
111
|
+
"to": "claude-haiku-5-5",
|
|
112
|
+
"cost_per_solved_ratio": 0.0606,
|
|
113
|
+
"change_pct": -93.9,
|
|
114
|
+
"solved_from": 26,
|
|
115
|
+
"solved_to": 22,
|
|
116
|
+
"lost_tasks": [
|
|
117
|
+
"dot-dsl",
|
|
118
|
+
"forth",
|
|
119
|
+
"hangman",
|
|
120
|
+
"rest-api"
|
|
121
|
+
],
|
|
122
|
+
"gained_tasks": []
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"from": "claude-sonnet-5-5",
|
|
126
|
+
"to": "claude-opus-5-5",
|
|
127
|
+
"cost_per_solved_ratio": 1.9519,
|
|
128
|
+
"change_pct": 95.2,
|
|
129
|
+
"solved_from": 26,
|
|
130
|
+
"solved_to": 26,
|
|
131
|
+
"lost_tasks": [],
|
|
132
|
+
"gained_tasks": []
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"from": "claude-opus-5-5",
|
|
136
|
+
"to": "claude-haiku-5-5",
|
|
137
|
+
"cost_per_solved_ratio": 0.031,
|
|
138
|
+
"change_pct": -96.9,
|
|
139
|
+
"solved_from": 26,
|
|
140
|
+
"solved_to": 22,
|
|
141
|
+
"lost_tasks": [
|
|
142
|
+
"dot-dsl",
|
|
143
|
+
"forth",
|
|
144
|
+
"hangman",
|
|
145
|
+
"rest-api"
|
|
146
|
+
],
|
|
147
|
+
"gained_tasks": []
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"from": "claude-opus-5-5",
|
|
151
|
+
"to": "claude-sonnet-5-5",
|
|
152
|
+
"cost_per_solved_ratio": 0.5123,
|
|
153
|
+
"change_pct": -48.8,
|
|
154
|
+
"solved_from": 26,
|
|
155
|
+
"solved_to": 26,
|
|
156
|
+
"lost_tasks": [],
|
|
157
|
+
"gained_tasks": []
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"haiku_losses": [
|
|
161
|
+
{
|
|
162
|
+
"exercise": "forth",
|
|
163
|
+
"what": "a small language interpreter: arithmetic and division-by-zero handling",
|
|
164
|
+
"failing_tests": 11,
|
|
165
|
+
"tests": 54
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"exercise": "rest-api",
|
|
169
|
+
"what": "a small REST API: balances between users",
|
|
170
|
+
"failing_tests": 8,
|
|
171
|
+
"tests": 9
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"exercise": "dot-dsl",
|
|
175
|
+
"what": "a graph parser: errors for malformed input",
|
|
176
|
+
"failing_tests": 3,
|
|
177
|
+
"tests": 12
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"exercise": "hangman",
|
|
181
|
+
"what": "a word game: the same correct letter twice counts as a miss",
|
|
182
|
+
"failing_tests": 1,
|
|
183
|
+
"tests": 7
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"limits": [
|
|
187
|
+
"One agent, one language, 27 of 34 exercises (API credits ran out mid-run; every exercise that finished for all three models is reported).",
|
|
188
|
+
"Public benchmark: models may have seen it. Comparing models is fair; absolute rates are not a forecast.",
|
|
189
|
+
"The agent fetched some web pages named in the exercises, which the protocol did not allow.",
|
|
190
|
+
"Costs are estimates from token counts.",
|
|
191
|
+
"One public benchmark, not your tasks: a pilot on 20-30 of your own tasks measures what matters to you."
|
|
192
|
+
]
|
|
193
|
+
}
|