Skip to content

Your offline AI pair programmer for VSCode on Windows.

License

Notifications You must be signed in to change notification settings

winstxnhdw/Wingman

Repository files navigation

Wingman

linting: pylint deploy.yml formatter.yml dependabot.yml CodeQL

Monorepo for Wingman

Note

Did you know that the Win in Wingman stands for Windows?

Wingman is a fast CPU-first offline AI pair programmer for Visual Studio Code on Windows. Wingman comes with a self-contained FastAPI server that leverages the fast inference speeds of ctransformers and a lightweight 4-bit quantised model to provide a seamless pair programming experience on low-end machines. You may find the used model here.

Features

  • No internet connection required
  • No API keys required
  • No GPU required
  • Self-contained
  • Fast

Usage

Important

Ensure that Visual Studio Code has already been installed.

You can download the portable executable here.

Development

If you would like to contribute to Wingman, here is some information to get you started.

Requirements

Setup

Install all TypeScript dependencies.

yarn

Install all server dependencies.

poetry install

Download the model.

python scripts/download_model.py

Build

Minify, bundle and package the extension.

yarn package

Human-readable bundle of your Node application. For debugging purposes.

yarn build test

Build the installer.

python scripts/build.py

Test

Test the Visual Studio Code extension.

yarn test

Test the server.

pytest

Credits

A special thank you to Alyssa for the amazing extension logo and banner!