Intelligent AI coding assistant with chat, code understanding and autonomous task execution, the same as Walnut AI for VS Code. Includes the Walnut engine 4.3.57.
Walnut AI is an AI coding assistant that understands your code, plans changes, edits files and runs commands for you, right inside Visual Studio. It is the same Walnut AI as in VS Code, connected to your Walnut projects.
Features
Chat with your codebase. Ask questions, mention files with @, attach screenshots, and get answers grounded in your solution.
Agent that does the work. In Agent mode Walnut reads, edits and creates files and runs commands. Plan mode shows a plan first and changes nothing until you approve it. Ask mode asks before every change.
Review every change. Changed Files lists what the agent touched. Open any file in Visual Studio's diff view, then accept or reject it, one file at a time or all at once.
Fixes what the compiler finds. Errors from the Error List reach the agent, so "fix the build errors" just works.
Inline suggestions. Grey ghost text as you type; press Tab to accept.
Your Walnut projects. See your tasks (Dev mode), work with Custom Methods (QA mode), fetch and save user stories, and create test cases, all with a preview before anything is saved.
Walnut Terminal. Run the Walnut command-line version without leaving Visual Studio.
Getting started
Install the extension and restart Visual Studio.
Open Extensions › Walnut AI › Open Chat.
Sign in when asked; your browser opens the Walnut sign-in page.
Pick your Walnut project at the top of the chat and start asking.
Settings are under Tools › Options › Walnut AI.
Requirements
Visual Studio 2022 (version 17.10 or newer) or Visual Studio 2026: Community, Professional or Enterprise
A Walnut AI account
Windows 10 or 11 with the Microsoft Edge WebView2 runtime (included with Windows 11 and Visual Studio)
Good to know
Your Visual Studio sign-in is separate from VS Code's: signing out in one does not sign you out of the other.
In Visual Studio 2022, flyouts such as Notifications open underneath the Walnut window.