.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
CODEMODE_PROVIDER
Model provider The agent runs on any tool-capable model known to @earendil-works/pi-ai. Default is Cloudflare Workers AI (no key on disk;…
CODEMODE_MODEL
CLOUDFLARE_ACCOUNT_ID
Workers AI credential (account id + an API token with Workers AI scope).
CLOUDFLARE_API_KEY
secret
CODEMODE_WRITE_SCOPE
Self-heal loop knobs Confine agent writes to one directory (the hosted demo sets this).
CODEMODE_MAX_TOOL_CALLS
Skip the agent's own `bun run check` self-verify (minimal sandboxes do this). CODEMODE_DISABLE_VERIFY=1 Hard ceilings so a wandering model…
CODEMODE_PROMPT_TIMEOUT_MS
CODEMODE_RALPH_NUDGES
ALCHEMY_PASSWORD
secret
Deploy (alchemy to molt.coey.dev)
MOLT_PROXY_SECRET
secret
Guards the Worker inference proxy and is injected into the container. Does not expire (the Worker runs inference through its AI binding).
brew install flyctl && fly launch --from https://github.com/acoyfellow/molt
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/acoyfellow/molt
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/acoyfellow/molt