Live on 0G Aristotle mainnet

Co‑own the modelsyou help create.

Foundry is the supply-side protocol for 0G. Pool data, compute, and capital. Co-train an AI model. Own a verifiable, revenue-generating share — minted on mainnet, attributed inside a TEE.

  • 0G Storage·data
  • 0G Compute·TEE
  • 0G Chain·mint
  • Agent ID·trust
  • SDK·infer

The Ingot · a co-owned model on-chain

ingot:0x8e2…f4a · attested

The problem

Model creation is locked inside companies.

Training a useful AI model takes three things almost nobody has all of: data, compute, and capital. Today, the people who supply each of those capture none of the upside of what they help create. The ownership instrument doesn’t exist.

Computational linguist

Elena

A 50k-sentence labeled corpus for a low-resource language. Today, it sits on a hard drive.

contributesdata

Capital allocator

Marcus

Believes a legal-clause classifier will be valuable. Can't co-invest in a model's creation.

contributescapital

GPU operator

Aiko

Sells compute at spot price. Captures none of the upside of the models she helps create.

contributescompute

Foundry is the protocol where Elena, Marcus, and Aiko all become co-owners of the same Ingot — proportional to the value each one actually adds. Measured inside a TEE. Minted on-chain.

How it works

A foundry, on-chain. Anyone contributes. Everyone who matters, owns.

Five steps from open call to claimable revenue — each one verifiable on 0G mainnet.

  1. 01

    A Forge opens

    Anyone creates a Forge for a model they want trained. Data, compute, and capital are escrowed on-chain.

  2. 02

    Contributions roll in

    Smiths contribute datasets to 0G Storage, compute credits, or capital — independent wallets, real value.

  3. 03

    Verifiable attribution

    Inside a TEE on 0G Compute, baseline + contribution is measured against a secret holdout. Marginal delta = your share.

  4. 04

    Ownership mints

    $FORGE-denominated shares mint to contributors proportional to measured marginal contribution. The cap table is on-chain.

  5. 05

    Inference routes revenue

    Any 0G dApp calls the Ingot via the SDK. Payment hits the RevenueSplitter. Owners claim, on-chain, automatically.

TEE attestation · Forge #0042

verified

Multilingual Translator

ingot:0x8e2…f4a · baseline 21.4 → 38.7 BLEU

enclave

sgx

holdout

sealed

quote

0x7a3b…91d

Marginal Δ by contributor

0x8e…a2
data42.0%
0xb1…9f
data21.0%
0x44…0c
compute18.0%
0x7c…d3
capital12.0%
0x2a…15
data7.0%
share minted1,000 $FORGE-0042 → 5 wallets

Forge in Public

Live numbers ship the moment contracts deploy.

Contracts pending deploy

Counts will populate from chain logs

Forges live

0

Ingots minted

0

Total contributions

0

External Smiths

0

Revenue distributed

0.00OG

These tiles surface counts from the contract event logs. Deploy the protocol to populate them.

View full dashboard →

Build on Foundry

Three lines of code. Your agent calls a co-owned model.

Foundry is open by design. Drop our SDK into any AI agent project and inference a Foundry Ingot — revenue routes back to the contributors who made it good.

OpenAI-compatible

Drop our endpoint into any OpenAI client. Same shape. Just point the base URL.

Receipts on every call

Each inference returns an attested receipt — TEE quote + on-chain revenue tx.

Adapter-first

Native plugins for Vercel AI SDK, LangChain, and the OpenAI proxy. CLI included.

Streaming, tools, JSON-mode

Full feature parity — Ingots behave like any modern chat model.

quickstart.ts
"tk-k">import { Foundry } "tk-k">from '@foundryprotocol/sdk';
 
"tk-k">const foundry = "tk-k">new Foundry({ contracts: 'aristotle' });
 
"tk-k">const { output, receipt } = "tk-k">await foundry.inference.run(
'ingot:0x8e2…f4a',
{ input: 'Translate to French: Good morning' }
);
"tk-c">// ▲ revenue routes back to the Ingot's
"tk-c">// co-owners on-chain, automatically.
 
"tk-k">console.log(receipt.inferenceTxHash);
"tk-k">console.log(receipt.revenueTxHash);
200 OKrevenue routed · 0.0008 OG

Honesty as a feature

Every feature is Real, Stub, or Roadmap. No fourth category.

Real ships on mainnet or passes full tests. Stub is wired end-to-end but waiting on a final 0G primitive — usually one env var away. Roadmap is designed, dated, but unbuilt. This table is the source of truth.

9 real·5 stub·5 roadmap
Real

6 Solidity contracts — full integration test coverage

Real

LOO attribution math + on-chain digest commit

Real

$FORGE-denominated proportional ownership minting

Real

RevenueSplitter — pull-payment claims

Real

@foundryprotocol/sdk + Vercel AI / LangChain / OpenAI adapters

Real

Lineage Graph — read directly from Ingot.meta() on-chain

Real

Forge in Public dashboard — counts derived from chain logs

Real

TEE attestation envelope — ECDSA-signed, ecrecover-verifiable

Real

Deploy infrastructure — Makefile + Anvil dry-run in CI

Stub

Contracts deployed to 0G Aristotle mainnet

Stub

Inference proxy — OpenAI-compatible, routes via 0G Compute broker

Stub

AI-assisted Forge wizard — 0G Compute structured generation

Stub

TEE-hosted eval coordinator (SGX/TDX quote)

Stub

Live revenue tx hash in inference receipts

Roadmap

Shapley / influence-function attribution

Roadmap

Forge governance via $FORGE

Roadmap

Secondary market for Ingot shares

Roadmap

Reputation-weighted contribution caps

Roadmap

Full external audit

Foundry doesn’t use 0G. Foundry grows it.

Join a Forge as a contributor. Spin up your own. Or build on top — your agent project can call any Foundry Ingot in three lines.

5Forges7Ingots9Smiths0GLive on