opencode coding agent
DeepSeek V4.1 Flash via OpenRouter, in a sandbox that reaches the public internet (served with --allow-external-network: it needs openrouter.ai), never your LAN. API: /agent
Open the full opencode interfacefinding the app port…
Use it from your own terminal
1. Install opencode 1.18.23 (either line):
npm i -g opencode-ai@1.18.23
curl -fsSL https://opencode.ai/install | bash -s -- --version 1.18.23
2. Attach to this capsule from any machine on your tailnet:
Files, commands and the model all run in this capsule's container; the OpenRouter key stays in the m64 gate. (If the capsule was served with a token, run it as OPENCODE_SERVER_PASSWORD=<token> opencode attach ….)
Quick test (simple chat)
Each session gets an empty folder.
Session: none yet
Files