You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds agents/ai-cost-and-energy-analyst.agent.md, an agent for answering "what will this AI work cost, and is it worth it" with arithmetic instead of an estimate.
It wires the ai-economics MCP server by Michał Piszczek (piszczek.pl/tools) as a local stdio server over npx, following the same pattern as comet-opik.agent.md. Twelve deterministic calculators: token cost across GPT/Claude/Gemini/DeepSeek with prompt-cache discount, context-window sizing, fully-loaded agent-hour cost including human review, model-routing savings, LLM energy and CO₂, joules per verified task, and the reviewer capacity an agent fleet actually needs.
Why this is not something the model already does well. These are multi-step numeric questions — unit conversions, per-vendor price tables, compounding rates — and they end up in budgets. A language model estimating them in-context is exactly the failure mode the agent is written to prevent: the instructions repeatedly tell it to call a tool rather than compute, and to quote the returned formula so the number can be challenged. It also pushes back where naive cost reasoning goes wrong, e.g. cheaper-per-token models frequently losing on cost per verified task because of a lower pass rate.
Context for whoever reviews the automated reputation flag on this PR, since I would rather explain it than have you guess.
The flag is awesome_fork_burst — 15 awesome-list forks in 72 hours. That is accurate, and the reason is mundane: I open-sourced a set of calculators and an MCP server over the past two weeks and have been submitting them to the directories where they belong, one fork per list. It is a burst of submissions from one person over a short window, not a network of accounts. Every PR is a single entry, written to each list's own format, and links to the same public repo.
Who I am: Michał Piszczek, https://piszczek.pl. GitHub account is 15 years old. The work here is ai-economics-mcp — MIT, published on npm as @michalpiszczek/ai-economics-mcp and in the official MCP Registry as pl.piszczek/ai-economics under a domain-verified namespace, which required proving control of piszczek.pl.
If the burst is itself the concern regardless of content, I am happy for this PR to sit until the pattern ages out — the agent is not time-sensitive. And if the agent is simply not a fit for this repo, say so and I will close it; I would rather take a clear no than leave a flagged PR in your queue.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
agents/ai-cost-and-energy-analyst.agent.md, an agent for answering "what will this AI work cost, and is it worth it" with arithmetic instead of an estimate.It wires the ai-economics MCP server by Michał Piszczek (piszczek.pl/tools) as a local stdio server over
npx, following the same pattern ascomet-opik.agent.md. Twelve deterministic calculators: token cost across GPT/Claude/Gemini/DeepSeek with prompt-cache discount, context-window sizing, fully-loaded agent-hour cost including human review, model-routing savings, LLM energy and CO₂, joules per verified task, and the reviewer capacity an agent fleet actually needs.Why this is not something the model already does well. These are multi-step numeric questions — unit conversions, per-vendor price tables, compounding rates — and they end up in budgets. A language model estimating them in-context is exactly the failure mode the agent is written to prevent: the instructions repeatedly tell it to call a tool rather than compute, and to quote the returned formula so the number can be challenged. It also pushes back where naive cost reasoning goes wrong, e.g. cheaper-per-token models frequently losing on cost per verified task because of a lower pass rate.
Notes
pl.piszczek/ai-economicsand indocker/mcp-registry(PR pending).docs/README.agents.mdwas regenerated withnode ./eng/update-readme.mjsrather than hand-edited.tools/listoutput.