takoserver

Takoform Host

Declare infrastructure. The Host prices, provisions, and meters it.

Takoserver owns the accounts, money, and machines. Declare an exact Form, fund a prepaid wallet, and inspect every usage charge.

Host primitives

Exact Form identity

FormRef

Every declaration pins group, kind, definition version, and schema digest.

Prepaid hold / capture

reservations → capture

Work holds wallet balance, captures on success, and releases on failure.

edge.objects

bucketBindings

ObjectBucket binds through bucketBindings to the exact edge.objects interface.

Provision + meter

Deployment

Provision Deployments, record usage, and capture reported AI token use.

The Host describes itself

GET https://api.takoserver.com/.well-known/takoform/v1

{
  "api_versions": [
    "forms.takoform.com/v1"
  ],
  "features": {
    "service_forms": true,
    "exact_form_ref": true,
    "optimistic_concurrency": true,
    "idempotent_lifecycle": true,
    "operations": true,
    "artifact_upload": true,
    "support_profiles": true
  },
  "endpoints": {
    "api": "https://api.takoserver.com/apis/forms.takoform.com/v1"
  }
}

Usage-based, prepaid billing

wallet hold capture on success release on failure

Measured usage is accumulated at fine precision and settled to your wallet in clear rollups. You can see what was used and charged.

Open source. Self-host the whole Host.

bun install
bun src/entry-bun.ts

The first run creates its schema, generates the keys it signs with, prints a console sign-in, and starts serving.

Endpoints