START A TASK WITH SWAMP START
This guide shows you how to go from a freshly installed Swamp to an AI agent
working on your own task with swamp start, and how to come back to that task
later. swamp start runs on a desktop with a browser; for CI, containers or a
repo you set up yourself, use swamp repo init instead (see
Set up a repo directly).
Start
Run:
$ swamp startswamp start opens a page on 127.0.0.1 in your browser. The terminal keeps
the page running:
✓ Signed in to Swamp Club as alice
Open this page in your browser to continue:
http://127.0.0.1:56732/dashboard/start#token=...
This terminal keeps the page running. Press Ctrl-C to stop it.swamp start needs no credential to run. If you are not signed in, the page
shows only the sign-in step, and nothing else on the page works until you sign
in.
If the machine has no browser but you are working at it, pass --no-browser and
open the printed URL yourself.
Open the page from another machine
The page listens on 127.0.0.1 by default, so it opens only on the machine
running swamp start. To open it from another machine, such as the one you are
signed in to SSH from:
Serve the page on every address of the machine:
$ swamp start --no-browser --host 0.0.0.0
You will see output like:
✓ Signed in to Swamp Club as alice Open this page in your browser to continue: http://127.0.0.1:57034/dashboard/start#token=... From another machine, open: http://my-machine.local:57034/dashboard/start#token=... http://192.168.1.20:57034/dashboard/start#token=... ! Anyone who can reach this address and has the link can use this page, which launches agents on this machine. The link is sent unencrypted (HTTP). This terminal keeps the page running. Press Ctrl-C to stop it.Open one of the From another machine URLs in the browser on your own machine.
The page is served over plain HTTP, and anyone who can reach the address and has
the link, including the token after #token=, can use it. Use it on a network
you trust, and press Ctrl-C when you are done.
Adjust for your network:
- To serve on one address only, pass that address instead of
0.0.0.0, such as--host 192.168.1.20. - To open the page through a name the machine does not know as its own, such as
a fully qualified domain name or a Tailscale MagicDNS name, add it with
--trusted-hosts. The page refuses any other name with421. - To allow the page through a host firewall, such as the macOS application
firewall, allow
swamp, or fix the port with--portand allow that port.
With a --host that is not a loopback address, the page cannot open a terminal
window or folder picker on your machine, so it shows a command to copy instead.
See swamp dashboard
for the flags, which swamp start shares.
Choose a workspace
A workspace is the Swamp repo your agent works in. On the page:
- Create a workspace to get a new, empty repo. The page suggests a Name
you can change. Under it, Location is the folder to create the workspace
in: type a full path or one starting with
~, or choose one with Browse…. The folder must already exist. Leave Location empty to use the default shown in the field. As you type, the page shows the folder it will create,Creates <folder>, or what is wrong with the name or location. - Import an existing Swamp repo to work in it where it is. Nothing is moved or copied.
- Pick a workspace you already have.
The same workspaces are managed from the terminal with swamp workspace; see
Workspace Commands.
Describe the task and launch an agent
- Describe the task in your own words. Swamp saves it as a brief at
tasks/<date>-<slug>.mdin the workspace. - Pick an agent. The page lists every agent Swamp supports and marks the ones
found on your
PATH; only those can be picked. It preselects the agent you picked last. You can also set the workspace up for other agents at the same time. - Confirm that you trust the workspace folder, then launch.
Swamp opens the agent in a new terminal window in the workspace, and the agent
starts by reading the brief. The page shows a command to copy and run yourself
instead when no terminal window can be opened, when --host is not a loopback
address, or when swamp start runs in an SSH session. In the last two cases
Browse… is not available either; type the Location instead.
A workspace keeps every task you give it, each with its own brief, so you can add a new task to a workspace that already has one.
Come back to a task
Run swamp start again and open the workspace. Its page lists every task,
newest first, with the agent and how far it got.
Launch Agent reopens the agent without sending the task again. Claude Code, Codex and OpenCode continue their most recent conversation in the workspace; other agents open a fresh session.
To open a workspace directly, skipping the picker:
$ swamp start --workspace my-workspaceA name that is not registered yet is created as a new workspace. Add
--path <dir>to create it in<dir>/<name>;<dir>must already exist:$ swamp start --workspace my-workspace --path ~/code
--pathneeds--workspace, and is refused with--json.
More than one swamp start can have the same workspace open; the page notes
when another one has it open.
Change where new workspaces are created
New workspaces go in ~/.swamp/workspaces/ ($SWAMP_HOME/workspaces/ when
SWAMP_HOME is set). To create them somewhere else by default, set
workspaces.dir:
$ swamp config set workspaces.dir ~/codeThe Location field and --path still take precedence for a single workspace. To
go back to the data dir:
$ swamp config set workspaces.dir defaultCheck your workspaces from the terminal
swamp start status lists your workspaces, their tasks and the agents on your
PATH, without opening a page or changing anything:
$ swamp start status
✓ Signed in to Swamp Club as alice
Workspaces
infra-health 1 task
/Users/alice/.swamp/workspaces/infra-health
• Summarise yesterday's failed GitHub Actions runs.
created 2026-10-13 22:21 · launched with Claude Code
Agents
✓ Claude Code /Users/alice/.local/bin/claude
✓ Codex /opt/homebrew/bin/codex
✗ Cursor not on PATH (looked for cursor-agent)
...Add --workspace <name> to show one workspace. swamp start --json reports the
same information as JSON and starts nothing.
Open the dashboard
Once a workspace is open, Open dashboard in the page header shows that
workspace's behaviors, workflows, runs and data, with no swamp serve running.
A picker in its sidebar switches between workspaces. See
Local dashboard.
Stop
Press Ctrl-C in the terminal, or close the page:
Stopped. Run `swamp start` to get back to your workspaces.Set up a repo directly
swamp repo init sets up a Swamp repo in the current folder for the agents you
name, with no browser and no workspace registry. Use it for CI, containers, or
an existing project you want to set up yourself; see
per-agent setup. To add such a repo to swamp start
later, import it.