Flowise-CoPilot
Flowise-CoPilot brings your Flowise chatflows into the VS Code chat experience. It lets you store a Flowise project ID once, reuse it across sessions, and send prompts from the VS Code chat UI to your Flowise instance.
Features
- Adds a chat participant named
@flowise for running prompts against a Flowise chatflow.
- Stores a Flowise project ID in extension state for reuse.
- Falls back to a workspace-local
.flowise.json file for project configuration.
- Adds commands to set or clear the saved Flowise project ID.
Requirements
- VS Code
1.116.0 or newer.
- A reachable Flowise instance.
- A valid Flowise chatflow or project ID.
Setup
- Pull the latest Flowise image from Docker Hub: https://hub.docker.com/r/flowiseai/flowise
- If no container exists, run:
docker run -d \
--name flowise \
-p 3000:3000 \
-v flowise_data:/root/.flowise \
flowiseai/flowise:hotfix-sensitive-logging
- If the container already exists, start it:
docker start flowise
- Open
http://localhost:3000 (startup can take a while).
- For first-time setup, register on your local machine (not in the cloud). Otherwise, log in.
- Create or open your Flowise application.
- Copy your Flowise project ID from the URL. Example:
http://localhost:3000/v2/agentcanvas/ce4a137c-9321-4471-b945-2a38b8037042
In this example, the Flowise project ID is:
ce4a137c-9321-4471-b945-2a38b8037042
- In the Command Palette, run
Insert Flowise Project ID and paste the ID.
You only need to do this once unless your Flowise project changes.
If baseUrl is omitted, the extension uses http://localhost:3000.
Usage
- Open the VS Code chat view.
- Address the participant with
@flowise.
- Enter your prompt.
The extension sends the prompt to POST /api/v1/prediction/{flowiseId} on your configured Flowise instance and returns the response in chat.
Commands
Insert Flowise Project ID: saves or updates the Flowise project ID.
Clear Flowise Project ID: removes the saved ID from extension storage.
Known Limitations
- Responses are currently requested in non-streaming mode.
- The extension expects the Flowise prediction endpoint to be available without additional custom authentication handling.
- If no saved project ID exists and no
.flowise.json file is present, requests cannot be sent.
Release Notes
0.0.2
Initial public release.