lmarena / copilot-arena

86 stars 1 forks source link

Copilot Arena

| Discord | X |

Copilot Arena is an open source AI coding assistant that provides paired autocomplete completions from different LLMs, which include state-of-the-art models like GPT-4o, Codestral, Llama-3.1 and more.

Demo

Maintainers

X (formerly Twitter) Follow GitHub Website

X (formerly Twitter) Follow GitHub Website

Thank you for beta testing Copilot Arena! If you have feedback or suggestions, please submit an issue or join the conversation on Discord!

Code coming soon!

Installation Instructions

Download our extension from the Visual Studio Code Store.

If installed successfully you will see Arena showing up on the bottom right corner of your window. When a completion is being generated, the check mark changes to a spinning circle.

If you are using any other completion provider (e.g. Github Copilot), you must disable them when using Copilot Arena.

For manual installation, please follow the instructions here.

How do I use Copilot Arena?

Understanding Your Completions

Copilot Arena adopts a slightly different user interface compared to a typical code completion.

  1. Copilot Arena displays two completions, one on top of the other.
  2. Copilot Arena repeats the same line prefix to keep the top and bottom outputs as similar as possible.

Copilot Arena Example

Note: While we are still in the building process, you will also see two completion ids next to the ===== for debugging purposes. Please reference these ids when notifying us of any issues!

Accepting Completions

Press Tab to accept the top completion and Shift-Tab to accept the bottom completion. You can also choose to accept neither completion and continue typing.

Viewing your model preferences

Preference Example

Privacy

Your privacy is important to us. The code in your current file is sent to our servers and sent to various API providers. By default, we collect your code for research purposes. You can opt-out of this.

You can find these settings by searching for "arena" in your vscode settings or clicking the gear button of the Copilot Arena extension -> Extension Settings.

Have a question?

Check out our FAQs.