StructZero
Home / Docs / Getting Started

Getting Started

Available

Configure your local workstation environment, start Docker sandboxes, and initialize your codebase with Project DNA.

Step 01 PREREQUISITES

Environment & Sandbox Verification

StructZero requires Node.js 20+ and Docker to run isolated build and compilation sandboxes.

# Verify local runtime versions
node --version # >= v20.x
docker --version # Docker Engine 24+
docker compose version # Compose v2.20+
Step 02 CREDENTIAL CONFIGURATION

Configure Model Endpoints

Set your API keys for Anthropic, Google Vertex, or DeepSeek in your project environment. StructZero supports local Ollama endpoints for offline execution.

# .env configuration
ANTHROPIC_API_KEY="sk-ant-..."
GEMINI_API_KEY="AIzaSy..."
DEEPSEEK_API_KEY="sk-..."
OLLAMA_BASE_URL="http://localhost:11434" # optional local fallback
Step 03 INITIALIZATION

Initialize Codebase with Project DNA

Run the Project DNA indexer to extract Abstract Syntax Trees, exported symbols, and route topology maps for your existing workspace.

npx structzero init
✓ Project DNA: 142 AST module contracts indexed
✓ Sandbox verified: Docker socket proxy clean
✓ Platform workspace ready at http://localhost:8080