RAMDeck Coding Guide — VS Code, Cursor & Auto-Build (Beta)
Home / Docs / VS Code & Auto-Build (Beta)
Search & All Documentation Guides
On This Page (Table of Contents)
AI Coding & App Building

RAMDeck Coding, IDEs & Auto-Build (Beta)

RAMDeck is the turnkey plug-and-play consumer hardware hub that pools RAM and GPUs across existing computers and phones in under 5 minutes with zero terminal commands—power your favorite code editors at $0/month or launch instant apps with Auto-Build Workshop Beta.

Which Coding Workflow Should I Use?

ToolBest ForWhere Files Live
RAMDeck VS Code / Cursor ExtensionReal software projects, multi-file edits, native editor diffs, and terminal test feedback.Your local IDE workspace
OpenClaw, Claude Code, Codex CLI & MCPAutonomous terminal and 24/7 workflows powered by pooled local hardware for $0/month.Your local machine using Hub APIs or Private RAG
Cline / Continue.dev / Aider / OpenAI SDKBringing your own agent plugin or custom Python/JS automation script.Your local machine or app
Auto-Build Card 1 (Build App or Script) BetaInstant interactive browser tools (dashboards, timers, calculators) and single Python/shell scripts.Browser memory until you click Download
Auto-Build Card 2 (Edit a Folder) BetaQuick bug fixes or unit tests inside one local folder without opening an IDE.Only the single folder you connect

Official VS Code, Cursor & Windsurf Extension

Most home setups stall when cloud-first coding extensions overload local models with giant system prompts and huge chat histories. The official RAMDeck Auto-Build extension solves this by sending only the focused file slices and failing lines needed for the current step.

  1. Install from Marketplace or OpenVSX: Search RAMDeck Auto-Build in the VS Code Marketplace (trademav.ramdeck-auto-build) or OpenVSX inside Cursor and Windsurf.
  2. Or install 100% offline from your Hub: Open the Connect tab in your RAMDeck Dashboard, pick VS Code, Cursor, or Windsurf, and click Download .vsix Extension (or copy the 1-line install command):
Offline / LAN Editor Install
code --install-extension ramdeck-vscode.vsix
cursor --install-extension ramdeck-vscode.vsix
windsurf --install-extension ramdeck-vscode.vsix
  • Automatic Hub connection: Defaults to http://ramdeck.local:8420 (or set your Tailscale Hub URL in settings when coding away from home, plus your rdk_... passkey under the collapsible Hub Passkey section if Protected mode is enabled).
  • Built-in safety: Reviews red-squiggle editor diagnostics, displays native side-by-side diffs, respects workspace symlink boundaries, and includes 1-click Undo (even deleting newly created files cleanly).

OpenClaw, Claude Code, Codex CLI, MCP & Third-Party IDEs

RAMDeck exposes four compatible gateway interfaces from a single Hardware Hub: standard OpenAI Chat Completions (/v1/chat/completions), the OpenAI Responses API (/v1/responses), the Anthropic Messages API (/v1/messages), and a built-in Streamable HTTP Model Context Protocol server (/mcp). Open the Connect tab in your dashboard for copy-and-paste configs pre-filled with your Hub address and active model.

OpenClaw, Claude Code, OpenAI Codex CLI & MCP Quick Setup
# 1. OpenClaw (24/7 Agent via OpenAI Completions)
openclaw onboard --non-interactive --accept-risk --skip-health \
  --auth-choice custom-api-key --custom-base-url "http://ramdeck.local:8420/v1" \
  --custom-provider-id ramdeck --custom-compatibility openai-completions \
  --custom-api-key "ramdeck-local" --custom-model-id "<ACTIVE_MODEL_ID>"

# 2. Claude Code (Anthropic /v1/messages Gateway)
export ANTHROPIC_BASE_URL="http://ramdeck.local:8420"
export ANTHROPIC_AUTH_TOKEN="ramdeck-local"
export ANTHROPIC_API_KEY=""
export ANTHROPIC_MODEL="<ACTIVE_MODEL_ID>"
claude

# 3. OpenAI Codex CLI (~/.codex/config.toml via /v1/responses)
model = "<ACTIVE_MODEL_ID>"
model_provider = "ramdeck"
[model_providers.ramdeck]
base_url = "http://ramdeck.local:8420/v1"
wire_api = "responses"
env_key = "RAMDECK_API_KEY"

# 4. Built-In MCP Server (Search Private Docs + Query Active Model)
claude mcp add --transport http ramdeck http://ramdeck.local:8420/mcp

Standard OpenAI clients—including Cursor, Cline, Continue.dev, Aider, Open WebUI, and custom Python scripts—connect directly to http://ramdeck.local:8420/v1:

OpenAI Base URL & Python SDK Example
# Home Wi-Fi Base URL:
http://ramdeck.local:8420/v1

# Python (openai package)
from openai import OpenAI

client = OpenAI(
    base_url="http://ramdeck.local:8420/v1",
    api_key="ramdeck-local",  # Replace with rdk_... passkey in Protected mode or over Tailscale
)
active_model = client.models.list().data[0].id
resp = client.chat.completions.create(
    model=active_model,
    messages=[{"role": "user", "content": "Explain how this function works."}],
)
print(resp.choices[0].message.content)
Important: Tip for Cline Users

If using third-party Cline with a ~32k–38k local context window, enable Cline’s Use Compact Prompt setting in provider preferences so massive agent instructions don’t exhaust local memory.

Auto-Build Workshop (Beta): How It Works

Switch the top pill inside Chat from Chat to ⚡ Auto-Build Beta to open a guided, two-card workspace directly in your browser. Use Cmd/Ctrl+Enter anytime to launch a build.

Guide to Both Auto-Build Cards

Card 1: Build App or Script Here

Best for creating quick interactive web tools or single scripts with zero setup on your laptop.

  • Interactive Browser Apps: Ask for a calculator, timer, budget planner, or dashboard widget. RAMDeck generates the HTML/CSS/JS, runs automated self-tests inside a secure browser sandbox, repairs any runtime or missing-button errors, and renders the live app on the right under Live App.
  • Incremental Updates & Undo: Once an app is generated, check Update the current web app instead of starting from scratch to add features without losing your working version, or click Undo Last Edit to revert.
  • Standalone Scripts: Mention a Python, JavaScript, TypeScript, Bash, or PowerShell script (for example, “make a python script that acts like a calculator”). RAMDeck checks syntax automatically, opens Code / Files with a green Syntax Verified pill, and lets you Copy Code or Download the script directly.

Card 2: Edit a Folder on My Computer

Best when you want quick test fixes inside one project folder without installing an IDE extension.

  1. Connect once: Selecting Card 2 automatically prepares a 1-line Terminal (macOS/Linux) or PowerShell (Windows) command. Paste and run it inside the specific project folder you want RAMDeck to access.
  2. Connected status bar: Once connected, setup collapses into a clean green Connected bar showing file count, a folder switcher, + Link Another Folder, and a quick link to open the full VS Code / Cursor extension.
  3. Automatic verification & Undo: RAMDeck auto-detects project tests (and falls back cleanly to Python syntax verification when no test suite is present). You can optionally override the test command inside Past Runs & Advanced Settings. Every edit creates a backup so Undo Last Edit restores modified files and deletes newly created files in 1 click.
  4. Strict folder isolation: The folder helper jails every file read and edit strictly to the folder you launched it inside, blocking parent traversal or external symlinks.

Getting Reliable Results (Models & Limits)

Recommended Models for Coding

Auto-Build Beta and IDE agents work best with 14B+ or 30B+ Coder models (such as Qwen Coder). Very small 1B–7B models can still answer questions in normal Chat, but often struggle with consistent structured edits during multi-step coding runs.

Common Questions

Where are Auto-Build apps or scripts saved? Do they fill up my Hardware Hub?+

Browser apps and standalone scripts stay inside your current browser dashboard session until you click Copy Code or Download—nothing is stored permanently on the Hub’s disk.

Why did Card 2 ask me to run a 1-line command on my computer?+

Browsers restrict websites from reading arbitrary folders on your hard drive without permission. Running that 1-line command inside your chosen folder gives your local Hub permission strictly to that folder and nowhere else.

Can I stop a long coding run partway through?+

Yes. Click the red Stop button anytime during a run in Auto-Build (or Stop inside the VS Code sidebar), and click Undo Last Edit if you want to roll back any applied changes.

Ready to Pool Your Own Computers & Phones?

RAMDeck Hardware Hub (134% Funded on Indiegogo · ships in January + Free Unplug-and-Walk Node USB) — $0/month private local AI across 5 operating systems.

Order RAMDeck Hub →
Scroll to Top