Attestable Builds

Attestable builds are a new approach to verifiable software distribution. Source code is compiled inside hardware-isolated environments that produce cryptographic proof linking binaries to their exact inputs.

API Overview

Base URL: https://kettle-anthropic-api-demo.lunal.dev

The Kettle API is Lunal's implementation of attestable builds. It lets you submit source code and get back an attestable build with provenance. Each build produces compiled artifacts alongside cryptographic provenance and attestation, so you can verify exactly what was built, from what source, and with which toolchain.

Provide either a ZIP file or a git repo URL as the source.

MethodEndpointDescription
POST/buildBuild and download outputs as a ZIP archive
POST/build/streamBuild with streaming progress via SSE

Quick Start

# Build from a git repo
curl -X POST https://kettle-anthropic-api-demo.lunal.dev/build \
  -F "repo_url=https://github.com/owner/repo" \
  -F "ref=main" \
  -o build.zip

# Build from a ZIP file
curl -X POST https://kettle-anthropic-api-demo.lunal.dev/build \
  -F "source=@source.zip" \
  -o build.zip

# Stream build progress (SSE)
curl -N -X POST https://kettle-anthropic-api-demo.lunal.dev/build/stream \
  -F "repo_url=https://github.com/owner/repo"