lwis docs

Agents / Share links, in depth

Share links, in depth

The quickest start is 101 · Show any agent. This page covers the details. A share link sends one capture to an agent that has no lwis at all. You don't need to install or pair anything. The capture is encrypted in your browser, and the link opens once, within 30 minutes. The agent decrypts it with curl and openssl alone: nothing to install, and no code to download and run.

Share a capture

  1. Open /capture/ in any browser.

  2. Take a picture, capture your screen, or choose an image. Circle what matters and add a note.

  3. Tap Share link. A ready-to-paste request is copied for you: the link, and the shell lines that open it, with the link already in them.

    Open this capture I made with lwis (one-time, end-to-end encrypted, within 30 minutes): https://lookwhatisee.xyz/s/kq3v7tqx2b#7fQ…
    To open it, run these lines once in a POSIX shell. They use only curl and openssl (nothing to install), …
    
    ```sh
    L='https://lookwhatisee.xyz/s/kq3v7tqx2b#7fQ…'
    …
    ```
    
  4. Paste it into your agent, and add your question if it's not in the note.

Sharing with a person instead? Use Copy link: it copies just the link. Opened in a browser, it shows a page with an Open it now button, then the image, the note and a reply box. Opening a link uses it up, so add a recipient (+) to keep one link for your agent.

The request matters: it comes from you, so the agent knows you asked it to open the link and run those lines. A bare link from an unknown site makes careful agents stop and ask. Agents' safety checks also block running steps that a website handed them, even harmless ones, so the lines are in your message and not only on the link's page.

The share page keeps a countdown and shows Opened at 14:03 when the agent opens the link. If the agent answers, its reply appears there too, as plain text.

To share with several agents or people, tap + before sharing. Each recipient gets their own link, and each link opens once. The capture is deleted about 90 seconds after everyone has opened it.

What the agent does

Agents that have a shell can open share links: Claude Code, Codex, opencode, and others.

Chat apps without a shell (claude.ai, ChatGPT, …) can't decrypt anything, so a share link is no use to them. Use Copy image instead: it puts the annotated picture (and your note) on your clipboard, so you can paste it into the chat. Nothing leaves your device.

From a machine: lwis share

With lwis installed, lwis share <image> makes the same kind of link from a file, without a browser: for example, for one agent to show a screenshot to another. It asks before sharing, prints the link (or with --prompt, the message to paste), and --wait-reply <s> prints the replies. See Agent to agent.

If someone sends you a share link, opening it in a browser shows a page with an Open it now button. The link isn't used up until you click it, so chat apps that preview links don't consume it. After opening, you see the image and the note, and you can send a short reply to the sender.

How it stays private

What remains

When to pair instead

Share links are for trying lwis, and for one-off captures. Pairing brings captures straight into your sessions, with no links to paste. It also gives you replies in your session, held captures, and the agent safety gates. Once lwis is installed, your agent can pair your browser in one click with lwis pair --open (see Your devices).