HUB
Sign inSign up
wombat logo

illuin/wombat

By illuin

•Updated about 7 hours ago

Multi-criteria environmental impact tracker for digital and AI services.

Image
2

3.0K

illuin/wombat repository overview

⁠Wombat Carbon Tracker

Wombat is a multi-criteria environmental impact tracker for digital and AI services.

Its goal is to streamline the use of astounding work being done by others on environmental footprint calculators, methodology and referential data (namely works from Boavizta⁠, SustainableAIGroup⁠, Ecologits⁠..) and use it where it has the biggest impact:

  • at the software design stage, so as to inform key solution sizing decisions
  • after launch, at the operations stage, so as to inform decision makers on the evolution of their solution's impact

To do that, we focused on a few key ideas:

  • a tool that is adaptable regarding data sources, to make it easier to aggregate quality data, but also offer fallback strategies when that data isn't readily available
  • a tool that is easy to deploy, so as to be able to justify setting it up alongside a lone AI stack, just like it can aggregate data from dozens of different projects in a more centralized fashion
  • a tool that doesn't reinvent the wheel, there are many people working on other challenging parts of the estimation process, so we built a modular system with integrations for calculation engines like Boavizta, Ecologits (and soon CLEER), we also expect to encounter situations where methodology has to be tweaked in one way or another: we built wombat with that in mind
  • a tool that tries to contextualize ecological impact with financial and business metrics: these combined metrics can help paint a complete picture of how much your AI stack costs; most often a large LLM that is costly to use also has a large environmental footprint

In short, Wombat is:

More complete documentation can be found over at GitHub⁠.

⁠How to run

Wombat works out of the box: it needs no configuration file to start. Run it, open the dashboard at http://localhost:8080⁠, and create your first environment and its assets from the Environments page:

docker run -p 8080:8080 illuin/wombat:latest

Its SQLite database then lives in the container. Here is a sample docker-compose local setup for:

  • Wombat app
  • local boavizta & ecologits APIs
  • temporary sqlite + periodic S3 backup (this is a demo ; on a local setup you would rather swap that out for an sqlite db file written to a docker volume and do away with the backup)
services:
  wombat:
    container_name: wombat
    image: illuin/wombat:latest
    ports:
      - "8080:8080"
    volumes:
      - ./application.yaml:/deployments/config/application.yaml:ro
      - ./data:/var/data:rw

  boavizta:
    container_name: boavizta
    image: ghcr.io/boavizta/boaviztapi:2.4.1

  ecologits:
    container_name: ecologits
    image: ghcr.io/mlco2/ecologits-api:0.0.2

With the following application.yaml file:

persistence:
  backend:
    sqlite:
      jdbc-url: "jdbc:sqlite:/var/data/local.db"

wombat:
  connector:
    boavizta:
      uri: "http://boavizta:5000/v1/"
    ecologits:
      uri: "http://ecologits:80/"
⁠Provisioning environments (optional)

Environments can also be provisioned from a YAML file, read at every startup: those it declares are kept in sync with it, and read-only from the dashboard and the API. See environments and provisioning⁠.

Mount it at /deployments/monitored/monitored-environments.yaml, or point WOMBAT_MONITOR_ENVIRONMENTS_FILE at it:

    volumes:
      - ./monitored-environments.yaml:/deployments/monitored/monitored-environments.yaml:ro
      - ./secrets:/secrets:ro # optional: secrets referenced by assets, such as the kubeconfig of a live kubernetes-api asset

For example, this monitored-environments.yaml file:

environments:
  demo:
    id: demo
    assets:
      # This type models static Kubernetes container workloads using superposed temporal scenarios.
      # It runs immediately out-of-the-box without requiring live cluster credentials.
      - type: tech.illuin.wombat-module.kubernetes-static
        id: demo-cluster
        environment-id: demo
        profile:
          provider: aws
          instance-type: c5.xlarge
          location: FRA
          lifespan: 5y
          node-count: 1
          zone-id: Europe/Paris
          scenarios:
            - type: constant
              load: 0.10
            - type: user_activity
              baseline-load: 0.10
              peak-load: 0.75
              opening-time: "08:00:00"
              closing-time: "18:00:00"
              applicability:
                days-of-week: [MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY]
            - type: batch_activity
              baseline-load: 0.0
              peak-load: 0.90
              trigger-time: "02:00:00"
              duration: PT2H
      # This type models static LLM workloads using superposed temporal scenarios across multiple models.
      # It runs immediately out-of-the-box without requiring external API credentials.
      - type: tech.illuin.wombat-module.llm-static
        id: demo-llm
        environment-id: demo
        profile:
          zone-id: Europe/Paris
          models:
            # Interactive chat assistant model with diurnal user traffic (bell curve on weekdays, over a light baseline)
            - provider: mistralai
              model: mistral-large-latest
              location: FRA
              request-per-year: 1000000
              output-token-per-request: 400
              scenarios:
                - type: constant
                  level: 0.01  # nights and weekends, at a hundredth of the weekday peak
                - type: user_activity
                  opening-time: "08:00:00"
                  closing-time: "18:00:00"
                  curve: bell
                  jitter: 0.05
                  applicability:
                    days-of-week: [MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY]
            # Scheduled document/PDF batch extraction model running nocturnal processing jobs
            - provider: openai
              model: gpt-5.5-pro
              location: SWE
              request-per-year: 100000
              output-token-per-request: 2000
              scenarios:
                - type: batch_activity
                  trigger-time: "02:00:00"
                  duration: PT2H
                  smoothing: linear_ramp
      # Alternatively, monitor live clusters via the Kubernetes Metrics API (requires a kubeconfig in a secret source, see compose.yaml):
      # - type: tech.illuin.wombat-module.kubernetes-api
      #   id: prod-cluster
      #   environment-id: demo
      #   namespace: my-project-namespace # this should match the namespace you deployed your applications to
      #   kubeconfig-key: my-kube # the secret holding your kubeconfig, e.g. the file secrets/my-kube mounted in compose.yaml
      #   profile:
      #     provider: aws
      #     instance-type: c5.xlarge
      #     location: FRA
      #     lifespan: 5y

Static modeling assets run out-of-the-box without requiring live cluster credentials. If you choose to monitor live clusters via tech.illuin.wombat-module.kubernetes-api, the asset names its kubeconfig in kubeconfig-key, a secret resolved like any other: see secret management⁠. For instance, save the kubeconfig as secrets/my-kube, uncomment the ./secrets:/secrets:ro volume in compose.yaml and secret.directory in application.yaml. The kubeconfig is read in memory, so it must inline its certificates and keys (certificate-authority-data, client-certificate-data, client-key-data) rather than point at files.

⁠Custom Extensions

Wombat allows user to provide custom modules built with wombat-core (see repository⁠) to extend its functionality.

Custom modules (e.g. wombat-simulator) are loaded at startup from every JAR found in module.extension.path (defaults to extensions, relative to the working directory, i.e. app/extensions when running from app/). Override it with -Dmodule.extension.path=... or MODULE_EXTENSION_PATH=....

When starting up the app with a custom extension, you should see logs like these:

2026-10-01 16:42:56,837 INFO  [tech.illuin.wombat.module.extension.DynamicExtensionLoader] (Quarkus Main Thread) Loading extensions from /path/to/extensions (1 jar(s))
2026-10-01 16:42:56,839 INFO  [tech.illuin.wombat.module.extension.DynamicExtensionLoader] (Quarkus Main Thread) Discovered extension module tech.illuin.wombat.module.simulator.k8s.KubernetesSimulatorModule for asset-type tech.illuin.wombat-simulator.kubernetes
2026-10-01 16:42:56,839 INFO  [tech.illuin.wombat.module.extension.DynamicExtensionLoader] (Quarkus Main Thread) Discovered extension module tech.illuin.wombat.module.simulator.llm.LLMSimulatorModule for asset-type tech.illuin.wombat-simulator.llm
2026-10-01 16:42:56,839 INFO  [tech.illuin.wombat.module.WombatModuleConfig] (Quarkus Main Thread) Wiring 6 wombat module(s): [KubernetesSimulatedModule, LLMSimulatedModule, LLMStaticModule, KubernetesAPIModule, KubernetesSimulatorModule, LLMSimulatorModule]

Tag summary

Content type

Image

Digest

sha256:f1e10afd0…

Size

167.4 MB

Last updated

about 7 hours ago

docker pull illuin/wombat