# VS Code extension

{% hint style="warning" %}
**Private preview.** This surface is not yet generally available. Adapters live in the Python SDK today and the rendering / configuration UX is under iteration. Contact <support@layerlens.ai> to request access to the private preview.
{% endhint %}

The Stratix VS Code extension brings evaluations into the editor. Run an eval from a code lens, inspect results in a side panel, and surface judge verdicts inline as you iterate on a prompt file.

## Install

From the VS Code marketplace, search "LayerLens Stratix" and install. The extension prompts for your API key on first activation.

## What it does

* **Run evaluations** from a code lens above any `.py` test or eval file
* **Inspect results** in a side panel — scores, per-row outputs, judge verdicts
* **Compare runs** — side-by-side
* **Show judge feedback inline** in prompt files
* **Open in browser** — jump from a result to the Premium UI

## Sign in

`Ctrl/Cmd + Shift + P` → **LayerLens: Sign in** → paste your API key. Keys are stored in the OS keychain via the VS Code Secrets API.

## Configuration

`settings.json`:

```json
{
 "layerlens.apiKey": "...",
 "layerlens.defaultOrg": "...",
 "layerlens.runEvalsOnSave": false
}
```

## Where to next

* [SDK quickstart](/2.-get-started/sdk.md)
* [Stratix Premium — Evaluations](/8.-evaluate-score-the-outputs/evaluations.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.layerlens.ai/6.-build-wire-your-code/vscode-extension.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
