Windsurf Cascade
Cascade allows us to expose a new paradigm in the world of coding assitants: AI Flows.
Cascade allows us to expose a new paradigm in the world of coding assitants: AI Flows.
A next-gen evolution of the traditional Chat panel, Cascade is your agentic chatbot that can collaborate with you like never before, carrying out tasks with real-time awareness of your prior actions.
To open Cascade, click the Cascade icon in the top right corner of the Windsurf window.
You can open Cascade with the following keyboard shortcut Cmd+L
Selected text in the editor or terminal will automatically be included.
If you are unable to see certain features, please make sure you are on the latest version!
https://mintlify.s3.us-west-1.amazonaws.com/codeium/assets/cascade-model-select.mp4
Model selection
Select your desired model from the selection menu below the chat input.
https://mintlify.s3.us-west-1.amazonaws.com/codeium/assets/cascade-write-chat-modes.mp4
Write/Chat Modes
Cascade comes in two modes: Write and Chat.
Write mode allows Cascade to create and make modifications to your codebase, while Chat mode is optimized for questions around your codebase or general coding principles.
Image Upload
Add images to your prompt to be referenced in Cascade’s suggestions.
Currently only available for use with GPT-4o and Claude 3.5 Sonnet models, and only images up to 1MB in size are supported.
Real-time collaboration
A unique capability of Windsurf and Cascade is that it is aware of your real-time actions, allowing for unprecented amounts of collaboration.
No longer do you have to prompt the AI with context on your prior actions, as Cascade and Windsurf are already aware.
In the following video, you will see how a recent variable name change was flawlessly detected within Cascade, simply by prompting it with continue
to rename the other instances.
https://mintlify.s3.us-west-1.amazonaws.com/codeium/assets/windsurf-continue.mp4
Direct access to tools and terminal
Cascade can detect which packages and tools that you’re using, which ones need to be installed, and even install them for you. Just ask Cascade how to run your project and press Accept.
https://mintlify.s3.us-west-1.amazonaws.com/codeium/assets/pip-install-demo-raw.mp4
Revert to previous steps
You have the ability to revert changes that Cascade has made if you want to. Hover your mouse over the prompt and click on the arrow on the right. This will revert all code changes back to the state of your codebase at the desired step. Note: reverts are currently irreversible, so be careful!