mechane

Persistent agents over HTTP.

Private beta

A mech is an agent with its own files and conversation history. Each task runs in a fresh sandbox that restores the mech’s last checkpoint.

How runs work

POST /v1/mechs/{id}/runs
  1. Run 01 · sandboxWrite note.txt
  2. CheckpointFiles + conversation
  3. Run 02 · sandboxRevise note.txt
Failed or cancelled runs keep the previous checkpoint. External tool actions are not undone.

First request

mechane-api.mechane.workers.dev
# Create a mech (MECHANE_API_KEY comes from the dashboard)
curl https://mechane-api.mechane.workers.dev/v1/mechs \
  -H "Authorization: Bearer $MECHANE_API_KEY" \
  -d '{"id":"ada","model":"gpt-6-luna"}'

# Send it a task; the 202 response includes the run id
curl https://mechane-api.mechane.workers.dev/v1/mechs/ada/runs \
  -H "Authorization: Bearer $MECHANE_API_KEY" \
  -H 'Idempotency-Key: first-note' \
  -d '{"input":"Write hello to note.txt."}'

# Follow the run (stream excerpt)
curl -N https://mechane-api.mechane.workers.dev/v1/mechs/ada/runs/$RUN_ID/events \
  -H "Authorization: Bearer $MECHANE_API_KEY"
id: 3
event: run.output
data: {"text":"Wrote hello to note.txt."}

id: 4
event: run.status
data: {"status":"completed"}

Specifications

Model
GPT-6 Luna
Harness
Codex 0.156.0
Runs per mech
One at a time
Run deadline
15 minutes
Checkpoint
16 MiB, 10,000 files
Events
Server-sent, resumable

Compute & credits

Prepaid per mech · USD
Compute and credit rates
UsageUnitUSD
GPT-6 Luna input1M tokens$0.20
GPT-6 Luna cached input1M tokens$0.02
GPT-6 Luna output1M tokens$1.00
Active sandbox runtime1 hour, metered per second$0.09