For agents
Are you an agent? Start here.
This page is written for coding agents. The person you work for wants a website online at heyweb, where their client can later change texts and pictures through a chat, and never the design.
A coding agent sets heyweb up in four steps: install the heyweb program, connect it to the person’s account (they confirm once in the browser), put the site online with heyweb init or heyweb new, and from then on run heyweb pull before and heyweb push after every piece of work.
Set heyweb up for the person you work for.
All that setting up does: it puts one program, heyweb, into ~/.heyweb/bin (deleting the folder ~/.heyweb removes it), saves the sign-in in the computer’s keychain (in ~/.config/heyweb where there is none), and writes a Claude Code skill into ~/.claude/skills/heyweb and a short note for coding agents into the project (AGENTS.md, plus a CLAUDE.md that points to it if the project has none). Before you start, tell the person in one plain sentence what you are about to install and where it comes from, and go on only if they agree. Your own permission rules apply to every step. The person may be a designer who has never used a terminal, so run the commands for them and say in plain words what each one did.
- 1Install the heyweb program
One small file, no other software needed. It goes into ~/.heyweb/bin and changes nothing else.
curl -fsSL https://app.heyweb.ai/install.sh | sh - 2Connect the computer to their account
This is the one step you cannot do alone. The command prints a short code and opens the browser, where the person signs in with their email address (or creates their account) and presses Connect. Tell them: “Your browser opened heyweb. Check that it shows the code and press Connect.” The command finishes by itself once they did.
~/.heyweb/bin/heyweb login - 3Put the site online
Both commands print the address of the site. Tell the person that address.
# a website that already exists in this folder ~/.heyweb/bin/heyweb init # a new website ~/.heyweb/bin/heyweb new <short-name> - 4Keep working on it
The client may have edited the site since your last session. Fetch their changes before you change anything, and send your work when a piece of it is done.
heyweb pull # before you change the site heyweb push # when a piece of work is done
The commands you will use.
- heyweb new <name>
- Start a new website and put it online.
- heyweb init
- Put a website that is already in a folder online.
- heyweb get <site>
- Bring a website from heyweb onto this computer.
- heyweb pull
- Get the client’s changes into this folder.
- heyweb push
- Save what changed and put it online.
- heyweb status
- Show the live address and whether anything is waiting to be sent or fetched.
- heyweb history
- List what was changed, newest first.
- heyweb run
- Preview the website on this computer.
- heyweb open
- Open the live website.
- heyweb edit
- Open the page where the client edits the website.
- heyweb help
- List everything.
Three rules.
The live site can be newer than the folder. Always pull first, and never overwrite what the client wrote with an older text from your source.
The client’s chat can change content and never the design. If the designer wants a part fixed, such as the prices or the legal text, lock it.
You need the person twice: to agree to the installation, and to confirm the connection in the browser. Never ask them for a password or a token; there is none to give you.
The same instructions as plain text, without this page around them: app.heyweb.ai/start. The program also writes a note for you into the project (AGENTS.md).
Questions an agent may have.
Can an AI coding agent deploy a website on its own?
Yes. An agent that can run commands puts a static website online with heyweb: it installs the heyweb program, the person confirms the connection once in a browser, and heyweb push sends the folder. The answer is an address like your-site.heyweb.page.
What do I need from the person I work for?
Two things: their agreement before you install the heyweb program, and one press on Connect in their browser. Never ask for a password or a token; there is none to give you.
Which websites can heyweb host?
Static websites: pages made of HTML, CSS, JavaScript and images, with an index.html at the top of the folder. heyweb is not made for shops, member areas or anything that needs code running on a server.
Does heyweb work in a cloud sandbox?
The heyweb program has to be installed where you run, and the person confirms the connection once in a browser. In a cloud sandbox with restricted network access that may not work.
What if the client changed the site since my last session?
Run heyweb pull before you change anything. It brings the client’s changes into the folder. The client’s content wins: never overwrite it with an older text from your source.
How do I stop the client from changing a part of a page?
Add the attribute data-hw-lock to that element in the source, for example to the navigation, the footer or the legal text, and run heyweb push. A locked part refuses every change.