Terminal coding agent# A coding agent in your terminal that remembers your project

Run SpaceCode in your own repo. You approve every file edit and command, it keeps project memory between sessions, and heavy work can move to a disposable cloud sandbox.

[Sign in and get your key](https://app.spacecode.app)[Install the CLI](/#install)Free early access. Daily launch limits apply.

## Install in two commands

SpaceCode needs Node.js. Install the CLI, then run spacecode login to sign in from the browser and save your API key.

npm i -g spacecode
Features## What SpaceCode does

- ### Local agent REPL A full-screen terminal UI with colored diffs, approval before each file edit or command, plan mode (read-only), /compact, /resume and --continue.
- ### Project memory After a session it extracts decisions and open work items and shows them when you resume.
- ### Claude Code import spacecode import-claude copies your CLAUDE.md and project memory. Skills, commands and stdio MCP servers can be imported; MCP commands run only after spacecode approve-mcp.
- ### Scriptable Run headless with spacecode -p or spacecode exec, and use the MCP server so other tools can drive it.
- ### Cloud sandboxes Offload a task to a disposable cloud sandbox. It auto-commits and pushes to your repo before it is destroyed.
- ### No provider keys SpaceCode runs on non-Anthropic models through an AI gateway, so you do not bring your own model keys. One model is routed.

How it works## From install to first task

- 1### Install and sign in npm i -g spacecode, then spacecode login opens a browser sign-in and saves your API key.
- 2### Work in your repo Start the REPL in a git repository. Review each diff and approve edits and commands as they come.
- 3### Resume or offload Come back later with --continue and your project memory. Send heavy tasks to a cloud sandbox that pushes its work to your repo.

FAQ## Questions, answered.

### What is SpaceCode?

A terminal coding agent with optional cloud sandboxes. You run it locally against your own repository and approve what it changes.

### Is it free?

SpaceCode is in free early access with open sign-in. Daily launch limits apply.

### Do I need my own model API keys?

No. SpaceCode runs on non-Anthropic models through an AI gateway, and one model is routed. You do not choose between models.

### What happens to a cloud sandbox?

A sandbox is disposable. It auto-commits and pushes to your repo before it is destroyed, so treat your repository, not the sandbox, as the place your work lives.

### Can I bring my Claude Code setup?

Yes. spacecode import-claude copies your CLAUDE.md and project memory, and skills, commands and stdio MCP servers can be imported.

### Who runs SpaceCode?

Inference LLC, operating as Galactic.

Get started## Install SpaceCode and run your first task

npm i -g spacecode

[Sign in and get your key](https://app.spacecode.app)