Green Observal: a carbon & sustainability layer for AI agents, MCPs, and tools #645
Apoorvgarg-creator
started this conversation in
Ideas
Replies: 3 comments
-
|
This sounds fantastic, I think an observability tool is the best way to calculate this. Observal is uniquely positioned to handle this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
+1 great idea |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
+1 would love to work towards this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Observal already traces every agent run, MCP call, and tool invocation. The same telemetry pipeline can power a sustainability layer that turns those traces into carbon, energy, and water-use metrics — so teams can see, attribute, and reduce the environmental cost of running AI.
This issue proposes a "Green Observal" initiative: a first-class layer + dashboard that measures the carbon footprint of every component type in the registry (agents, MCP servers, skills, hooks, evals) and helps the community make AI usage more sustainable.
Motivation
LLM-powered coding agents are becoming the default developer tool, and their environmental cost is largely invisible:
Observal is uniquely positioned to do this because the spans already exist. We just need to enrich them.
Proposal
1. Carbon model layer (backend)
Extend the OTEL collector + worker to compute per-span emissions:
tokens_in,tokens_out,model→ energy estimate via published model cards (e.g. ML.energy leaderboard, EcoLogits, AI Energy Score).kWh_per_cpu_hourfactor.sustainability.energy_whsustainability.co2e_gsustainability.water_l(optional)Backed by a pluggable
CarbonEstimatorinterface so the community can swap in better models as research improves.2. Registry metadata
Add an optional
sustainability:block to the agent/MCP YAML so publishers can declare:This makes sustainability a first-class signal when discovering components — like stars or downloads.
3. Sustainability dashboard (Grafana + web UI)
A new dashboard with:
4. Eval-aware budgets & policies
Optional guardrails surfaced via hooks:
These reuse existing hook + policy plumbing — no new enforcement engine needed.
Why this fits Observal specifically
Open questions for the community
Prior art / references
Call for collaborators
Looking for input from:
If there's enough interest, the next step is a small RFC PR adding the
sustainability.*span attributes and a v0 estimator behind a feature flag.Beta Was this translation helpful? Give feedback.
All reactions