Space Agent is a Node.js server with a browser-first frontend — getting it running locally takes just a few commands. You will clone the repository, install dependencies, create an admin user, and start the server. From that point your browser becomes the full agent workspace, ready to build Spaces, Widgets, and Skills alongside you.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/agent0ai/space-agent/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, make sure you have Node.js 20 or later installed. Space Agent requires Node.js>=20 and uses ES modules throughout the codebase.
If you prefer not to use the terminal at all, the desktop app bundles everything into a single downloadable application — no Node.js installation or command line required.
Start the Server
The install step is fast — the production dependency tree is intentionally small. You will see a
node_modules/ directory appear once it completes.Before starting the server for the first time you need at least one user. The
node space user create command writes directly to the filesystem and can assign the user to one or more groups in the same call.Replace
"change-me-now" with a strong password before exposing the server to any network. The _admin group grants access to the admin shell and all system management commands.The
--groups flag accepts a comma-separated list. Adding _admin here creates the predefined admin group and assigns the new user to it in one step. User data is written to the logical L2 layer and group membership to L1.Run
node space serve to start the HTTP runtime. The server prints its version and the URL it is listening on:Navigate to http://localhost:3000 in any modern browser. You will see the login page. Sign in with the
admin username and the password you set in step 2.Alternative: Single-User Mode
If you are running Space Agent just for yourself on a trusted machine, you can skip user creation entirely by enablingSINGLE_USER_APP mode. The server runs as an always-authenticated implicit user named user with virtual _admin access — no login screen appears.
Development Mode
If you are making changes to the server or CLI source,npm run dev runs the same server with automatic restart on file changes in space, commands/, and server/:
Dev Server (npm run dev) starts the same watcher and auto-attaches to the spawned child process so breakpoints in server/ code still bind after each auto-restart.
npm run dev is a source-checkout development tool, not a node space CLI command. It is not intended for production use.Quick-Reference: All Startup Variants
What to Do Next
Deployment
Learn about desktop app, personal server, and production team modes — including zero-downtime supervision and writable state management.
CLI Reference
Browse all runtime parameters — HOST, PORT, WORKERS, CUSTOMWARE_PATH, and more — with types, defaults, and allowed values.