Your own server and scheduled tasks
Liho Server is the server side of Cowork for your VPS or physical server. Tasks and schedules on it run even when Cowork is closed, and the server’s files, browser and terminal are available in the same interface.
What you need
- An x86-64 server with Ubuntu 22.04+ or Debian 12+ and systemd, with SSH access as root or with sudo.
- A public IPv4 address and a free inbound TCP port 443, open both in the server firewall and at the hosting provider. Outbound HTTPS.
- Memory: 2 GB of RAM or more is recommended. With 1 GB the server works only with at least 2 GB of swap and one active agent turn.
- Liho Cowork on your computer and a Liho LLM account. No domain and no Docker are needed.
Steps
Copy the install command
In Cowork, open settings → “Servers” → “Add server” and click “Copy installation command”. It is the same command for every server:
Install Liho Servercurl -fsSL https://dl-cowork.liho.dev/server/install.sh | sudo bashRun it on the server
Connect to the server over SSH and run the command. The bootstrap checks the installer’s checksum before running it. The installer detects the IP address, creates the service and certificate, and installs the agent engine and a browser. It asks nothing about models, folders or domains. It prints five stages: Check server, Install Liho Server, Start and verify services, Authorize with Liho, Link Cowork.
Confirm the server in the browser
At the authorization stage the terminal prints an HTTPS link. Open it on your computer, sign in to the same Liho account you use in Cowork, compare the IP address and the certificate fingerprint, and click “Connect server”. Keep the terminal open until the installation finishes.
The server gets its own Liho LLM key; the app’s key is never sent to the server. If the link expired or the installation was interrupted, run
sudo liho-server enrollon the server.Choose the server for a task
The server appears under “Servers” in Cowork for the same account. In a new task, open “Execution location” and pick it instead of “This computer”. If you open a local project folder, Cowork copies it to the server once, after you confirm, and from then on the project lives there.
Create a scheduled task
Go to “Scheduled” → “New task”. Fill in “Name” and “What to do”, choose the server as the execution location, the model and the tools. Under “When to run” pick “On an interval”, “Every day”, “Weekdays”, “Every week” or “Manually”, set the time and time zone, and click “Create task”.
Example: “What to do”Open the pages listed in sources.txt, write prices and availability into prices.csv, add a column with the change since last week and briefly list what changed.Use the “Auto” approval mode for schedules: if the agent waits for an approval, a run without you may never finish.
Check the first run
“Run now” starts the task at once. Every run opens a new chat, and the results stay in the project folder on the server. You can download single files or a copy of the whole project from Cowork; the local original is never overwritten. Questions the agent asked while you were away wait under “Decisions”.
Maintain the server
Liho Server updates itself and postpones updates while work is running. For maintenance there are these commands:
Liho Server commandssudo liho-server status # service status sudo liho-server connection # connection details sudo liho-server enroll # repeat the browser confirmation sudo liho-server restart # restart the services sudo liho-server uninstall # remove, keeping the projects
What you get
- A server under “Servers” in Cowork, available for new tasks.
- A task that runs on schedule on the server, even when Cowork is closed and your computer is off.
- A separate chat and files in the server project folder for every run.
Limits
- One server runs at most 2 scheduled runs at a time and holds up to 32 schedules.
- Folders are not synced. A local project is copied to the server once, and later changes on your computer do not reach it. Git history, remotes and
.envfiles are not copied. The copy limit is 100,000 files, 2 GiB in total and 100 MiB per file. - The server cannot reach your desktop, local folders, cookies or the sign-ins on your computer.
localhoston the server means the server itself. The “Documents” and “Computer control” tools do not work on a server. - A scheduled task cannot access files outside its project folder.
- Liho Server is built for a single trusted owner: all projects run as one system user, without quotas or isolation between projects. Do not host other users on it.
- Model requests are paid from the balance of the same Liho LLM account.