SpaceCode

        # SpaceCode: a terminal coding agent

        SpaceCode runs on your machine. It edits files and runs commands in your repo, shows every diff and asks before it changes anything, remembers your project between sessions, and can hand long tasks to a cloud sandbox. Install with npm i -g spacecode, run spacecode login, then spacecode.

        
          [Sign in and get started](https://app.spacecode.app)
          [read how it works](/features.html)
        
      
      
    
  

  
    
      ## The workflow

      
      
        
          01
        
        
          ### Local agent REPL

          A full-screen terminal interface with a scrolling transcript, colored diffs for every file edit, a multiline prompt with @file mentions, and slash commands such as /compact, /resume and /model.

        
      
      
        
          02
        
        
          ### You approve every change

          By default the agent asks before each file edit or command. Shift+Tab switches modes, including a read-only plan mode, and --yolo skips prompts when you want it to.

        
      
      
        
          03
        
        
          ### Project memory

          After a session SpaceCode extracts decisions and open work items and shows them when you resume. Conversations are saved per project, so spacecode --continue picks up the last one.

        
      
    
  

  
    
      
        
          ## Pick up where you left off

        
        [Sign in and install the CLI](https://app.spacecode.app)