Skip to content
All docs
Core concepts

Inline chat & ⌘K

Edit code by describing the change — right where your cursor is.

Press ⌘K on a selection and describe what you want: “make this async”, “extract the retry logic”, “add a docstring with examples”. Arshas streams back a real diff, in place, that you can apply, edit, or reject hunk by hunk.

Diffs, not chat bubbles

Inline chat never pastes code into a sidebar for you to copy back. Every response is rendered as a diff against your actual file, with syntax highlighting and your formatter applied. What you see is exactly what lands when you press accept.

For larger conversations, the chat panel (⌘L) has full codebase context: ask how the auth flow works, where a config value is read, or why a test is failing, and answers cite the exact files and lines they came from.

Scoping context

Use @-mentions to control what the model sees: @file pulls in a specific file, @folder a directory, @docs your indexed documentation, and @web a live search. Precise context produces precise edits — the best ⌘K prompts read like a good commit message.