Carbon Ops Guardrails — audit-ready carbon accounting for AI workloads
Project description
Carbon Ops Guardrails
Audit-ready carbon accounting pipeline for AI workloads. This repository captures the system design described in the portfolio site and provides scaffolding for future implementation.
What you can expect
- Signed telemetry ledger – every emission estimate will be ed25519 signed and anchored via Merkle proofs.
- Energy-to-carbon estimation – ingestion jobs will convert runtime metrics into kWh and CO₂e using grid intensity APIs.
- Evidence exports – repeatable audit packages with inclusion proofs and configuration snapshots.
Repository layout
carbon-ops/
├── README.md
├── pyproject.toml
├── src/
│ └── carbon_ops/
│ ├── __init__.py
│ ├── config.py
│ ├── ledger.py
│ └── pipeline.py
└── tests/
└── test_placeholder.py
Quick start
- Create and activate a Python 3.11 virtual environment.
- Install the package in editable mode:
pip install -e ".[dev]". - Run the placeholder tests:
pytest.
Next steps
- Implement telemetry ingestion adapters for Vertex AI job logs.
- Flesh out the ledger module with ed25519 signing and Merkle tree anchoring.
- Integrate grid intensity providers (e.g., WattTime) and unit tests around estimation logic.
Licensing
Choose an open-source license before publishing (MIT, Apache-2.0, or BUSL-1.1 are all viable depending on release strategy).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
carbon_ops-0.1.0.tar.gz
(4.7 kB
view details)
File details
Details for the file carbon_ops-0.1.0.tar.gz.
File metadata
- Download URL: carbon_ops-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c526e31016f67a7b4a8d9211c112d106cc9ef4ace20944fd7a6b1a7e6a3c8d1a
|
|
| MD5 |
13f1589f0de90e4d3591b3e6801a6581
|
|
| BLAKE2b-256 |
0a21350ffcc32149af753cdc28edf5dc8c1427b92f781df50ec444c2fa80af1a
|