> ## Documentation Index
> Fetch the complete documentation index at: https://docs.architect.new/llms.txt
> Use this file to discover all available pages before exploring further.

# v2.0.2 — July 2, 2026

> Artifacts in Build Mode, branch switching, environment variables, a longer-lived sandbox, and self-healing error fixes.

More control over how you build, how you sync with GitHub, and how you connect your own tools — plus a sandbox that stays alive longer and fewer errors you ever need to touch.

## New

**Create artifacts while you build.** You can now ask Architect to generate standalone documents right inside Build Mode — feature spec PDFs, use case presentations, research docs, HTML or Word documents — anything related to the app you're working on. They appear in the **Artifacts tab** in the right panel, ready to view or download. → [Creating Artifacts](/build/artifacts)

<Frame>
  <img src="https://mintcdn.com/lyzr-636197f6/fFpLIL-8iv2SDgh2/images/build-mode/build_artifact.png?fit=max&auto=format&n=fFpLIL-8iv2SDgh2&q=85&s=a9af9a6f144df084fdf4528108fc98e1" alt="Artifacts tab in Architect Build Mode showing a Feature Spec PDF" width="2940" height="1668" data-path="images/build-mode/build_artifact.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/lyzr-636197f6/fFpLIL-8iv2SDgh2/images/build-mode/build_artifact_2.png?fit=max&auto=format&n=fFpLIL-8iv2SDgh2&q=85&s=d7daa88ee37f66638de6fc27bf8a8d23" alt="Artifact document open in the Architect right panel" width="2940" height="1670" data-path="images/build-mode/build_artifact_2.png" />
</Frame>

**Branch switching for GitHub.** You can now check out to any branch of your connected GitHub repo and have Architect build in that branch. Create a branch locally (e.g. a `dev` branch), push it to GitHub, and switch to it from the GitHub panel in Architect — it pulls the latest code from that branch and continues from there. Work on separate features or experiments in parallel, each in its own branch. Pull and push controls are also available for explicit syncing in either direction. → [Connecting Your GitHub](/build/github-connect)

<Frame>
  <img src="https://mintcdn.com/lyzr-636197f6/W3si6aCCVL82xfhU/images/github/github_feat.png?fit=max&auto=format&n=W3si6aCCVL82xfhU&q=85&s=2226ef31d3867f7d83556267c1e70a53" alt="Pull, Push and branch switcher controls in the Architect GitHub panel" width="2936" height="1672" data-path="images/github/github_feat.png" />
</Frame>

**Environment variables.** You can now add your own API keys and secrets directly to any Architect-built app via the **Environment variables** panel (⋮ menu → Environment variables). Add a key, then ask Architect to wire it up — for example, bring your own OpenAI key for Whisper transcription, connect an external database, or link any third-party service your app needs. → [Environment Variables](/build/environment-variables)

<Frame>
  <img src="https://mintcdn.com/lyzr-636197f6/W3si6aCCVL82xfhU/images/env_set/env_btn.png?fit=max&auto=format&n=W3si6aCCVL82xfhU&q=85&s=59c2fe0583192d4f263c46eda1244f89" alt="Environment Variables option in the Architect app menu" width="2940" height="1018" data-path="images/env_set/env_btn.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/lyzr-636197f6/W3si6aCCVL82xfhU/images/env_set/env_set.png?fit=max&auto=format&n=W3si6aCCVL82xfhU&q=85&s=32a5e4aa4194000c9cacf51e80d41d20" alt="Environment variables panel showing name and value fields" width="2940" height="1668" data-path="images/env_set/env_set.png" />
</Frame>

## Improvements

**Sandbox stays active for 10 minutes.** Your app preview sandbox now stays alive for at least 10 minutes, even if you step away from the screen. Previously the sandbox could die during short breaks, forcing you to refresh and wait for it to recover. Now it holds on long enough that you can come back and pick up right where you left off.

## Fixes

**Architect self-heals most build errors automatically.** When an error occurs during a build — like a `500 error` on `/api/agent` — Architect now fixes it on its own in most cases without you having to click the **"Help me fix it"** prompt. The prompt still appears for edge cases that need your input, but the vast majority of common errors are resolved silently before you even notice them.
