Lab status: workforce rebuilding on measured foundations — qualification program runningread the audit →
KEEN LABS

GuidesCode

Ask about a file, or have the AI rewrite it

The Code AI panel has two modes. Ask answers questions about the open file. Patch rewrites it and waits for you to approve the result.

Draft · 7 steps unverifiedRevised 2026-08-18Open Code

Draft — not yet walked in the live product

All 7 steps below were written by reading the Keenoble source rather than by performing them, and each unwalked one is tagged [UNVERIFIED]. Reading a component tells you what a control is labelled; it does not prove the control is reachable, that the order is right, or that the result is what the text says. Until a reviewer has walked every step, this page is excluded from the sitemap, marked noindex, and publishes no structured data.

Before you start

  • A file open in the Code editor.

Steps

  1. Find the AI panel on the right. At the top are two tabs: “Ask” and “Patch”. [Unverified]

    On desktop the panel can be hidden with the “AI panel” switch in the top bar. On a narrow screen it is one of the three panes in the bottom switcher — “Files”, “Editor”, “AI”.

  2. For a question, stay on “Ask”. Type into the box at the bottom — “Ask about the code...” — and press Enter. [Unverified]

    Three shortcut chips sit above the response area: “Explain the code”, “Find bugs”, “Add types”. Clicking one fills the box.

  3. Read the answer as it streams into the panel. Ask does not change your file. [Unverified]

  4. To change the file, switch to “Patch”. The box now reads “Describe the change...” and its border changes colour. [Unverified]

    The Patch chips are “Fix bugs”, “Add error handling” and “Clean up”.

  5. Describe the change and press Enter. The panel shows “Generating patch...”. [Unverified]

  6. When it finishes, a banner reads “Patch ready” with “Apply” and “Reject”. Nothing has been written to your file yet. [Unverified]

  7. Click “Apply” to write the new version into the editor, or “Reject” to discard it. [Unverified]

What it costs

Both modes are ordinary model calls charged in Sparks. Generating a patch you then reject still costs what the call cost — the charge is for the work, not for the acceptance.

When Patch refuses

It tells you which of the three things happened rather than failing quietly: “No code in editor.” if there is nothing to patch, “AI returned empty output.” if the model produced nothing usable, and “No changes — AI returned identical code.” when the rewrite matched what you already had.

Inline AI and ghost text

Ctrl+K opens the inline AI inside the editor, on the selection you are working in. The top bar also has a “Ghost text” switch for inline completions; both are on by default.

The row at the bottom of the AI panel reading “Terminal — sandboxed coding agent” carries a "Pro Max" badge. It is a reserved slot, not a feature that is hiding — nothing runs there yet.

Having problems with the platform? Contact us at support@keenlabs.pro. If a step here does not match what Keenoble does, the step is the bug — send it to the same address. All the guides are at /guides; shorter answers are on the FAQ.