Skip to content

Overview

SANDCODE is an AI-powered coding assistant that lives in your terminal. It reads your codebase, understands context, and writes production-ready code alongside you — editing files, running commands, searching code, all from a single prompt.

It uses GLM-5.1 from z.ai as its default model, but supports any compatible API provider. Ships with zero external SDK dependencies.

SANDCODE was built for developers who want:

  • Privacy — No telemetry, no data sent to third parties. Your code stays on your machine.
  • Independence — Configurable AI providers. Bring your own API key. No vendor lock-in.
  • Control — Open source (MIT). Fork it, customize it, make it yours.

SANDCODE is a terminal application built with:

  • React + Ink — renders in the terminal using React components
  • Commander.js — CLI argument parsing
  • Vendored SDK — fully self-contained, no external npm dependencies

The entry flow: bin/sandcode.jstsxsrc/entrypoints/cli.tsxsrc/main.tsx → Ink React UI.

Read the full architecture guide for details.