Skip to content
Search docs
Search the docs and jump to the section
Sign in

Projects

A project is the folder of files an agent, workflow or factory keeps between runs. A run finds its project's files in /work, and /work is saved as a new version each time a step finishes.

Which project a run uses

  • A saved agent, workflow or factory has one project of its own, made the first time it saves something. Its scheduled runs use the same one.
  • Mentioning a project with @ in New makes the run work in that one. Later runs of what it made do too.
  • Any other run with a sandbox has a project of its own.

What is kept

Everything in /work, except folders such as node_modules, .venv and __pycache__, and whatever the project's .gitignore names. A packed project can be 200 MB.

When two runs save at once, changes to different lines are joined. If both changed the same lines, the project is left as it was and the second run's activity says so. Its files are kept, but nothing in the app shows them.

Browsing

Projects in the sidebar lists them. Open one to see its folders, read a file, pick an older version or download a zip.

Deleting

Delete project in a row's menu deletes the project and its files after you confirm. Runs that used it stay. It is refused while a run is working in the project or a preview of it is running. The next run of the workflow, agent or factory that worked in it starts a new, empty project. It needs the permission to delete runs.

Running what was built

Run it starts the version you are looking at in a sandbox of its own and gives you a link. It stops by itself after 30 minutes, or when you press Stop.

It needs Daytona or Docker Cloud Sandboxes. Docker with gVisor cannot give a sandbox an address, so there the button is off. On Daytona this has not been run.

Agents are told to say how the project starts in werker.preview.json, at its root:

{ "install": "npm install", "start": "node server.js", "port": 4000 }

Without it, Werker tries package.json scripts, then Python apps, then plain web pages, and says what it assumed.

The running site is code an agent wrote:

  • it is served from the provider's address, not Werker's, and gets none of your keys;
  • the address is not private: anyone who has it can open the site until it stops.

Backups

Projects are files on the server, not in the database, so a database backup does not include them. Back up the projects folder too (self-hosting).

This page as markdown apps/site/src/content/docs/projects.md