Portable developer surface
Prepare a verified release with the SDK and tools.
Choose the narrow package for each step: define protocol data, build deterministic bytes, resolve and mount the work, prepare a wallet-neutral request, bind a chain adapter, or hand a reviewed operation to Studio.
Data and state model
The portable toolchain passes canonical objects and receipts between bounded stages.
Source and build identity
A resolved source graph, exact toolchain/options, output bytes, canonical build recipe, verification receipt, catalog record, and optional deployment record form separate linked commitments.
Review and wallet identity
Publish plans, wallet requests, wallet-intent plans, wallet links, module-review requests, and FRAY intents carry canonical integrity plus explicit not-performed signing/submission state.
Runtime identity
Manifest, resource graph, presentation, module/plugin graph, capabilities, viewer ID, and exact context travel to the host verifier without giving the child application ambient authority.
Choose the package for the task
Each package has one primary job and a named mutation boundary. The complete package reference stays here so developers can trace an exported surface to source and tests.
@keel/protocol
Framework-free protocol types and validators for manifests, canonical integrity, source verification, portable roots, caches, presentations, attribution, IP control, RPC policy, capabilities, module indexes, project stacks, and stake objects.
- Source
- keel-sdk/packages/protocol/src/
- Tests
- keel-sdk/tests/protocol.test.mjs; portable-root.test.mjs; capability-policy.test.mjs; keel-presentation.test.mjs
- Network/write boundary
- Pure data, validation, hashing, and policy algebra; no wallet or chain mutation.
- Consumers read normalized typed values and canonical commitments.
- Callers construct protocol objects, but validation rejects unknown versions, malformed fields, unsafe sizes, and inconsistent bindings.
Source · SDK / contract
keel-sdk/packages/protocol/package.json ↗@keel/builder
Deterministic audit, compression, wrapping, chunk planning, cost analysis, build recipes, and the complete author/register/review module pipeline.
- Source
- keel-sdk/packages/builder/src/
- Tests
- keel-sdk/tests/builder*.test.mjs; keel-build-recipe.test.mjs; keel-module-assurance.test.mjs; keel-modules-reproduction.test.mjs
- Network/write boundary
- Local files and generated plans/receipts; publication requires a separate adapter and wallet.
- Reads a bounded workspace and resolved import graph rather than trusting a directory listing.
- Writes deterministic local outputs, plans, locks, and receipts; it does not make a chain deployment true.
- Source drift, output drift, recipe drift, missing vectors, ambiguous modules, cycles, and dependency-boundary violations fail closed.
Source · SDK / contract
keel-sdk/packages/builder/package.json ↗@keel/viewer
The audited recovery and execution boundary: readers, recursive resolver, chunk-store reconstruction, verified gateway, sandbox, mount, bridges, plugin/market policy, collection verification, IP actions, frozen datasets, and viewer bundles.
- Source
- keel-sdk/packages/viewer/src/
- Tests
- keel-sdk/tests/viewer.test.mjs; readers.test.mjs; sandbox-browser.test.mjs; host-bridge*.test.mjs; presentation-bridge.test.mjs; adversarial-boundary.test.mjs
- Authority
- Retrieves and verifies; it does not receive token, registry, or wallet mutation authority.
- Host code retrieves exact declared resources and verifies decoded bytes before creator code mounts.
- Creator code receives verified local content and bounded context inside an opaque origin with no ambient wallet or raw network.
- Bridge source/origin, message size, session, replay, capability, operation, and postcondition checks fail closed.
Source · SDK / contract
keel-sdk/packages/viewer/package.json ↗@keel/sdk
Typed ABIs, module registry, campaign and OneMint builders, collection verification, FRAY intents, wallet requests/links/intents, publication plans, managed publication, Studio capability discovery, and module-review requests.
- Source
- keel-sdk/packages/sdk/src/
- Tests
- keel-sdk/tests/sdk*.test.mjs; one-mint-sdk.test.mjs; collection-verification.test.mjs; fray-policy-source-conformance.test.mjs
- Wallet boundary
- Creates and verifies review envelopes or typed data; it has no wallet stack and does not sign or submit.
- All money, quantities, nonces, IDs, and timestamps are bounded canonical integer values.
- Callers must inject chain-specific encoding, RPC reads, simulation, and explicit wallet approval.
- Chain/config mismatch, altered policy terms, stale nonce, unsupported transport, missing adapter validation, and tampered integrity fail closed.
Source · SDK / contract
keel-sdk/packages/sdk/package.json ↗@keel/studio-core
Strict server-side preparation for media, manifests, delivery plans, estimates, Hold graphs, Tezos recursion, OnchFS carriers, OBJKT exports, module catalogs, stake objects, and verification receipts.
- Source
- keel-sdk/packages/studio-core/src/
- Tests
- keel-sdk/tests/studio-core.test.mjs; keel-bench.test.mjs; source-verification.test.mjs
- Authority
- Prepares server-side artifacts and plans; it is not the browser rendering trust root.
- Reads source media, declared module graphs, catalog metadata, and bounded carrier profiles.
- Writes prepared files and plans; a deployment receipt and fresh viewer verification remain separate stages.
- Remote imports, archive paths, decompression, media transforms, carrier limits, and source provenance are bounded and explicit.
Source · SDK / contract
keel-sdk/packages/studio-core/package.json ↗@keel/ethereum-adapter
Ethereum-specific offline encoding and preflight for KeelHold operations plus exact account-signs/agent-submits factory execution with injected viem-compatible clients.
- Source
- keel-sdk/packages/ethereum-adapter/src/
- Tests
- keel-sdk/tests/ethereum-adapter*.test.mjs
- Chain boundary
- Ethereum only; generic and Tezos requests remain deferred until a family-specific adapter exists.
- Reads verified local plan bytes plus injected chain/code/config/nonce state.
- The account signer authorizes exact collection config; the linked agent wallet may submit only that exact call.
- Wrong chain, code, factory, agent, nonce, config digest, event fields, graph receipt, or changed wallet state stops execution.
Source · SDK / contract
keel-sdk/packages/ethereum-adapter/package.json ↗@keel/mcp
An stdio agent bridge for bounded analysis, deterministic local preparation, module selection, review envelopes, FRAY intake, and Studio capability discovery.
- Source
- keel-sdk/packages/mcp/src/
- Tests
- keel-sdk/tests/mcp.test.mjs; mcp-fray-auction-intent.test.mjs
- Authority
- Local review and optional bounded Studio staging; never signs, submits, claims faucet funds, or mutates a wallet.
- Workspace reads reject traversal, unstable files, final symlinks, oversized files, and oversized protocol frames.
- Remote carrier bytes are unavailable by default; metadata-only resolution is never reported as content verification.
- The callable registry in tools.ts is authoritative; generated or remembered tool lists must not replace it.
Source · SDK / contract
keel-sdk/packages/mcp/package.json ↗@keel/sandbox-sdk
Developer and agent tooling for project inspection, preparation, browser-facing sandbox documents, and portable command-line use.
- Source
- keel-sdk/packages/sandbox-sdk/src/
- Tests
- keel-sdk/tests/sandbox-sdk.test.mjs
- Authority
- Local project and output files only; no chain or wallet authority.
- It shares the production sandbox contract instead of inventing a weaker developer-only runtime.
- Project inspection and emitted documents remain bounded by the same manifest, resource, and capability rules.
Source · SDK / contract
keel-sdk/packages/sandbox-sdk/package.json ↗@keel/sprite-codex
Deterministic lossless WebP atlases, semantic masks, multi-bundle libraries, browser loading, integer selection, and material stems for reproducible visual systems.
- Source
- keel-sdk/packages/sprite-codex/src/
- Tests
- keel-sdk/tests/sprite-codex.test.mjs; three-vault-seed.test.mjs
- Authority
- Compiles and loads committed assets; it does not choose an uncommitted reroll or mutate collection state.
- Source manifests bind bundle, asset, material, revision, selection epoch, seed domain, and palette behavior.
- Old selection modulus and dependency graphs remain stable; malformed atlases, masks, or identities fail validation.
Source · SDK / contract
keel-sdk/packages/sprite-codex/package.json ↗@keel/web3-boundary-tests
Integration tests for reference-client web3:// compatibility, ERC-7617/7618 streaming, the dependency-free stream loader, arbitrary artifacts, and repository Forge guardrails.
- Source
- keel-sdk/packages/web3-boundary-tests/
- Tests
- test/reference-client.test.mjs; stream-loader.test.mjs; arbitrary-artifact.test.mjs; forge-guardrail.test.mjs
- Authority
- Test-only; it makes no deployment or production-browser claim.
- The package checks an external compatibility boundary rather than redefining Keel's native object identity.
- Passing locally proves the exercised clients and fixtures, not every browser, gateway, chain, or deployment.
Source · Implemented locally
keel-sdk/packages/web3-boundary-tests/package.json ↗Choose an MCP operation
Start with the action the agent must prepare, then confirm its read, write, network, and wallet boundary. The source registry remains authoritative for the complete callable set.
Studio website is the default
The website provides the creator workflow and wallet review through the user's existing Studio account and connected wallet. KEEL Desktop is entirely optional; agents should not require it, another wallet setup, or a separate signing page for supported Studio work.
- Authorize the scoped agent connection at https://studio.onkeel.io/studio#agents; hosted MCP is https://studio.onkeel.io/api/mcp.
- Hosted keel_workspace and keel_create_draft return a private release reviewUrl. Local keel-studio-stage-project returns handoffUrl; keel-studio-draft returns reviewUrl.
- The creator opens the returned website link and approves the exact operation with the selected wallet. Draft creation never signs or broadcasts.
Local analysis and preparation
Inspect, build, verify, estimate, and plan bounded local work.
- analyze
- build
- verify
- cost
- upload-plan
- chain-plan
- ethereum-encode
- publish-plan
Modules, wallets, FRAY, and Studio
Resolve exact reusable modules, prepare non-custodial review requests, collect FRAY policy, stage bounded source, and inspect supported chains/capabilities.
- module-resolve
- module-lock
- wallet-request-prepare
- wallet-link
- module-review-prepare
- fray-auction-intake
- fray-stage-project
- keel-chain-guide
- keel-library-search
- keel-studio-capabilities
MCP security boundary
The server never signs, submits, claims faucet funds, or moves wallet assets. Chain-plan and metadata-only catalog operations must not be rendered as chain-ready or byte-verified when their adapter/carrier evidence is missing.
Reuse a script creation module
These reusable JavaScript modules are content-addressed creation inputs, not smart contracts. Resolve the exact catalog identity and verification disposition before binding one into a project.
Published creation-module examples
Each module has readable source, deterministic output or behavioral vectors, catalog identity, and independent deployment status.
- Source
- keel-sdk/examples/library/*.js
- Assurance
- keel-sdk/tests/keel-module-assurance.test.mjs; keel-modules-reproduction.test.mjs
- palette
- hotkeys
- orbit-camera
- noise2d
- verified-assets
- seeded-random
- sprite-sheet
- audio-envelope
- shader-uniforms
- thumbnail-capture
- frame-clock
Trust lifecycle
Graph and library registries bind exact module bytes and metadata. Module review can sanction, deprecate, or revoke one exact spec while verified and deployed remain independent facts.
Ethereum and Tezos realizations
Portable packages are shared; encoding and submission are family-specific.
Ethereum
@keel/ethereum-adapter can encode verified Hold operations and enforce the exact factory account/agent handoff. The SDK exports EVM ABIs and EIP-712 helpers.
Tezos
Wallet requests support bounded Micheline and Tezos transport hints, while generic chain-plan and factory-link paths fail closed until a contract-specific Tezos adapter exists.
Studio surface and exact evidence
Studio consumes these packages but remains a coordinator, not a protocol oracle.
Capability discovery
Clients read /.well-known/keel-capabilities before upload or wallet work and reject unknown protocol versions and unsupported fields.
const capabilities = await fetchStudioCapabilities(studioUrl);
const target = capabilities.chains.find((chain) => chain.network === "sepolia");
if (target?.status !== "ready") throw new Error(target?.reason);Managed preparation
Studio Core produces source-bound manifests, media derivatives, estimates, upload plans, carrier exports, and receipts used by Studio services.
Evidence boundary
Local package tests prove the exercised source and fixtures. They do not prove a public deployment, wallet connector, live RPC, or chain receipt unless that evidence is separately named.

