0Gkitv1.11.0
0gkit Kits · 8 kits · author your own

Drop-in feature kits for any 0G app.

One command adds a working, typed, upgradeable feature to your project — wired to your installed @foundryprotocol/0gkit-* packages. Kits are multi-framework: one kit, every base.

0g add <kit>

Upgradeable · Typed · Multi-framework · CI-gated per kit×base combo

0gkit Kits

Drop-in feature kits for your 0G app.

Add a working, typed, upgradeable feature at scaffold time or into an existing project. One command — the kit wires itself.

🔐Verifiable AI

sealed-inference

TEE-attested private inference with a verified attestation badge in the UI.

Attestation actually shown + verified
View kit
🔮Verifiable AI

ai-oracle

Attested off-chain AI answer → on-chain commitment. Foundational kit; prediction-market composes it.

Composable — kits build on kits
View kit
🧠Agent Infrastructure

agent-memory

Persistent, namespaced agent memory on 0G Storage. Lib-only core works on all 9 bases.

Works across every template base
View kit
⚙️Agent Infrastructure

durable-agent

Long-running, resumable agent loop on 0gkit-jobs. Survives restarts; step ledger + OTEL traces.

Durable by design — survives restarts
View kit
📈Markets & Onchain Data

prediction-market

Full-stack AI-resolved prediction market with on-chain anchored proofs.

Flagship showcase — composes ai-oracle
View kit
📡Markets & Onchain Data

live-feed

Reorg-safe live event/social feed via 0gkit-indexer.

Reorg-safe by default
View kit
🖼️Assets

inft-studio

Intelligent-NFT mint + gallery: Storage metadata, typed contract via 0gkit-contracts, optional attested provenance.

Typed contracts + generation provenance
View kit
💹DeFi — testnet / demo

yield-intel

AI yield analysis + attested decision log. User executes manually. Testnet-default, prominently demo-labelled.

Honest: analysis only, no auto-execution
View kit

Add any kit at scaffold time or drop it into an existing project:

npm create 0gkit-app@latest my-app -- --kits agent-memory,prediction-market
0g add prediction-market
A skills repo for 0G

Built a reusable 0G pattern? Publish it as a kit.

One command scaffolds a registry-valid kit — portable core, per-base adapters, an optional React UI, and a docs stub. Open a PR to the catalog and every project on 0gkit can install it with 0g add.

# scaffold a new kit
0g kits new my-kit
# …fill it in, then
pnpm kits:check
Why 0gkit Kits

Built to last, not just to scaffold.

Every kit is upgradeable, typed, multi-framework, and CI-gated from day one — the structural foundations you'd otherwise have to build and maintain yourself.

Upgradeable, not a code dump

Logic lives in versioned `0gkit-*` packages; the overlay is thin glue. `0g update` pulls fixes and improvements into a project you already scaffolded.

Multi-framework by design

One kit works across the React, Hono, MCP, and Node bases. Write the feature once — it wires itself into whichever base you scaffolded.

Typed errors, surfaced in the UI

Every kit rides the `ZeroGError` 45-code taxonomy — each error carries a `.code`, a `.hint`, and a `helpUrl` you can render straight into the kit UI.

Durable where it matters

The durable-agent kit gives you a restartable agent loop on `0gkit-jobs` — a step ledger and OTEL traces mean it survives restarts and crashes.

Kits compose kits

prediction-market composes ai-oracle; the engine resolves dependency order, dedupes shared packages, and keeps the graph cycle-safe for you.

CI-gated per kit × base

Every kit×base combination is typecheck- and build-gated in CI (`pnpm kits:check`). If a kit compiles on a base, it's because the matrix proved it.

Observability out of the box

`0gkit-observability` OpenTelemetry instrumentation is wired into durable-agent — traces, spans, and `0g.*` semantic attributes with no extra setup.

Yours, under MIT

MIT-licensed with no strings. Every primitive keeps a `.raw()` escape hatch to the underlying 0G SDK, so you are never blocked or locked in.

Stop wiring SDKs. Start shipping on 0G.

One command picks a template, writes a network-aware .env.example, installs deps, and runs git init. The next step is cd.

npm create 0gkit-app@latest
60-second tutorialBrowse 9 templates