Quick start

This is the fastest path to a working machine. Install the CLI, sign in, create a machine, connect, and publish one app.

Install

Install the CLI globally with npm. If you use Nix, you can install the CLI from a checkout of this repository.

$ npm install -g aicomputer

Sign in

Run computer login to open the browser sign-in flow and store a dedicated API key locally for later CLI requests.

$ computer login

Create

Create a managed worker when you want the standard terminal, desktop, and agent workflow. Leave the handle blank if you want Agent Computer to generate one for you.

$ computer create my-machine

Connect

Use the browser when you want the app surface quickly. Use SSH when you want a terminal-first workflow.

$ computer open my-machine
$ computer open my-machine --terminal
$ computer ssh my-machine

Publish

Publish a port when your machine is serving an app you want over HTTPS. If you do not pass a subdomain, Agent Computer uses the port number.

$ computer ports publish my-machine 3000

That app will be available at https://3000--my-machine.computer.agentcomputer.ai.