Skip to content

Quick Start

Terminal window
npm install -g sandcode

On first run, SANDCODE will prompt you for your z.ai API key:

Terminal window
$ sandcode
Welcome to SANDCODE
Enter your z.ai API key: sk-...

Or set it via environment variable:

Terminal window
export ZAI_API_KEY=sk-your-key-here
Terminal window
$ cd your-project
$ sandcode

That’s it. You’re in the REPL. Start asking questions, editing files, running commands — SANDCODE handles the rest.

  • Configuration — customize providers, models, and preferences
  • Features — explore auto memory, plugins, hooks, and more
  • Architecture — understand how SANDCODE works under the hood