Weave turns your OpenCode sessions into a tank of jellies. Leave it on a spare screen and you can see which agents are working, which are idle, and which are waiting for you, without opening a session list.
One jelly is one session.
Weave is read-only. It watches your sessions and never sends commands to OpenCode.
Every unarchived root session and its subagents become jellies. Archiving a root hides the whole family. A root session is slightly larger than its own subagents. A session that remains on screen keeps its place. New sessions fade in, and sessions that leave fade out.
Each server gets a species in the order you list your servers, cycling through moon, fried egg, and white-spotted. Connect a laptop, a remote machine, and a shared server, and the tank shows which sessions come from each one.
A running session is a little brighter. A pending permission glows coral. A pending question glows amber. An OpenCode outage leaves the jellies already on screen while Weave tries to reconnect. If it cannot reconnect, restart Weave.
Select a jelly to read its session details and see a live close-up.
Hover or focus a jelly to see its title. Click, tap, or press Enter to open the placard. Its close-up shows the selected jelly live, and a faint line follows the jelly to the placard. The title is a button. It copies a text summary of the session, including the title, source, status, and directory. Escape or a click on empty water closes the placard. On a phone, the placard becomes a fixed bottom sheet.
Weave connects to one or more OpenCode servers. It reconnects to each server independently, so an unavailable server does not hide the others. The top-left status icon is green when every server is connected. It is amber while a server is connecting or retrying, and red when a server is unavailable. Click or tap it to see the server names. If the browser loses its connection to Weave, the status list disappears and a notice asks you to refresh the page.
You need Bun 1.4.4 or newer and a reachable OpenCode server.
bun installStart the server with the URL and password of your OpenCode server:
WEAVE_OPENCODE_URL=http://127.0.0.1:4096 \
WEAVE_OPENCODE_PASSWORD=your-password \
bun run serveStart the client in another terminal:
bun run devOpen http://127.0.0.1:5173. The client proxies /rpc to
WEAVE_DEV_RPC_URL, which defaults to http://127.0.0.1:4310. If you change
WEAVE_PORT, set WEAVE_DEV_RPC_URL to match.
| Variable | Required | Default | Meaning |
|---|---|---|---|
WEAVE_OPENCODE_SOURCES |
no | none | Ordered JSON array of OpenCode sources |
WEAVE_OPENCODE_URL |
fallback | none | URL of the OpenCode server |
WEAVE_OPENCODE_PASSWORD |
fallback | none | OpenCode password |
WEAVE_HOST |
no | 127.0.0.1 |
Host the server listens on |
WEAVE_PORT |
no | 4310 |
Port the server listens on |
For more than one server, set WEAVE_OPENCODE_SOURCES:
WEAVE_OPENCODE_SOURCES='[{"id":"laptop","username":"opencode","password":"replace-laptop-password","url":"http://127.0.0.1:4096"},{"id":"remote","username":"remote-user","password":"replace-remote-password","url":"https://opencode.example.com"}]' \
bun run serveEach entry needs a unique id, a username, a password, and an HTTP or HTTPS
url. The array must not be empty. Credentials stay on the backend and never
reach the browser.
When WEAVE_OPENCODE_SOURCES is set, it overrides WEAVE_OPENCODE_URL and
WEAVE_OPENCODE_PASSWORD. Without it, those two variables configure one server
with ID local. Invalid configuration stops startup. Restart Weave after a
configuration change.
A Bun server reads sessions from your OpenCode servers. A React client draws the tank with Three.js from one shared live connection.
The tank shows no visible session list, dashboard, or navigation at rest. The water makes one orbit in about eight minutes. Jellies pass through one another. The glass is the only boundary.
To work on the tank without a real OpenCode server, run:
bun run dev:mockThis starts a fake OpenCode, the Weave server, and the client. It prints
DEV_READY with the UI URL and a control URL for switching fixtures, including a
session that leaves and returns.
Other commands:
bun run checkruns typecheck, lint, format check, and tests.bun run buildwrites the client build todist/client.bun run previewserves that build and proxies/rpcto the same server URL asdev.bun run verifyruns the RPC and browser checks in.agents/skills/verify-weave.bun run formatformats the repository.


