starfold

Install the clients

The headless TypeScript and Python clients, and the embeddable browser client.

Headless clients

For agents and scripts that drive a starfold desktop: screenshots, waiting for the screen, mouse and keyboard, recordings and files.

npm install starfold
bun add starfold
pip install starfold
uv add starfold
  • TypeScript (starfold on npm): Node 20+, Bun and Deno; no dependencies. See TypeScript.
  • Python (starfold on PyPI): a blocking client and an asyncio one. See Python.

The clients alone install no server binary and no starfold command. To run a server on the same machine, or start one from code, install @starfold/server or starfold-server instead: each brings the client with it, at the same version. See Install the server.

Up to 0.3.2, starfold and starfold also carried the server. Staying on 0.3.2 changes nothing; moving to 0.4.0 moves the server imports (see each SDK's page).

The browser client

Every server serves its own page at /, so a viewer needs nothing but a browser. To show a starfold desktop inside a page of your own, install the embeddable client:

npm install @starfold/web
bun add @starfold/web

See Browser client.

On this page