Getting Started
Overview
What is SANDCODE?
Section titled “What is SANDCODE?”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.
Why it exists
Section titled “Why it exists”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.
Architecture at a glance
Section titled “Architecture at a glance”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.js → tsx → src/entrypoints/cli.tsx → src/main.tsx → Ink React UI.
Read the full architecture guide for details.