Coding

Twinny ✓

Local AI code completion for VS Code.

1.6k views 12 saves Free
More categories (4)

Verdict

A quick read before you dig into the full page.

Best if
Local AI code completion for VS Code
Skip if
Limited tools compared to Copilot
Pick this when
Operates locally

Considering Cursor instead? Compare side by side

Overview

Twinny is an AI code completion extension for Visual Studio Code. It operates locally, ensuring your code remains private, and is designed to enhance code completion tasks with seamless integration with Ollama.

This straightforward plugin is comparable to Github Copilot, but the difference lies in its cost-effectiveness and privacy. It comes at no charge and ensures total user confidentiality.

Once twinny and Ollama are installed in Visual Studio Code, they work together to provide users with an interactive coding assistant that suggests code in real time.

Users will be able to tell the system is operational through an icon at the bottom of the editor, showing what models are running. Twinny supports multiple programming languages, offering features like configurable endpoint and port for Ollama API, auto code completion, chat feature like Copilot Chat, viewing differences for code completions, and accepting solutions directly to the editor.

Your chat history with twinny is preserved per conversation, allowing for easy reference. The extension is easy to install, ensures fast and accurate code completions, and is freely available.

Twinny website

Access & connections

Where you can use Twinny, and what it plugs into.

Platforms

Web

Integrations

Capabilities

What this tool accepts, produces, and is strongest at.

Input

  • Code

Output

  • Code

Supported features

  • Autocomplete

Pros & cons

Pros

  • Operates locally
  • Enhances code completion
  • Seamless integration with Ollama
  • Cost effective
  • Ensures user confidentiality
  • Real-time code suggestions
  • Supports multiple programming languages
  • Configurable endpoint and port
Show 14 more
  • Chat feature
  • Visual comparison for code completions
  • Accept solutions directly to editor
  • Preserves chat history
  • Easy installation
  • Fast and accurate completions
  • Open-source
  • Auto code completion
  • Copy generated code blocks
  • Works with Ollama
  • Shows operational models
  • Interactive coding assistant
  • Tells system’s operational status
  • Freely available

Cons

  • Requires Visual Studio Code
  • Requires separate Ollama installation
  • No standalone functionality
  • Lacks extensive user reviews
  • Limited tools compared to Copilot
  • Usage requires constant Internet connection
  • Dependent on Ollama API updates
  • Frequent updates may disrupt workflow
Show 2 more
  • No advanced setting or customization
  • No support for all languages

Compare alternatives

Similar tools in the catalog — with a clear reason to open each one.

Releases 1

Initial release October 1, 2023 Current
Initial release of Twinny.

FAQ 12

How does Twinny differ from Github Copilot?
Twinny differs from Github Copilot in terms of its cost-effectiveness and privacy. Twinny is free to use and ensures total user confidentiality by operating locally, which means your code remains private. It also offers a chat feature like Copilot Chat.
Is Twinny free to use?
Yes, Twinny is free to use.
How does Twinny ensure user privacy?
Twinny ensures user privacy by operating locally. This means that the code generation and completion tasks are performed on your own device, thus ensuring total confidentiality of your code.
Does Twinny support multiple programming languages?
Yes, Twinny supports multiple programming languages.
What is the function of Ollama API with Twinny?
The function of Ollama API with Twinny is to provide the code completion tasks. It allows for the seamless integration of the two, enhancing the code completion capabilities of Twinny.
Does Twinny offer auto code completion?
Yes, Twinny offers auto code completion. It generates and suggests code in real-time as you are typing in the Visual Studio Code editor.
Can you explain the chat feature in Twinny?
The chat feature in Twinny is similar to the Copilot Chat you find in Github Copilot. It allows for interactive coding, with Twinny suggesting code in real time during your chat conversation. The chat history with Twinny is also preserved per conversation for easy reference.
How do I know if Twinny is functional in my editor after installation?
Upon successful installation of Twinny and Ollama in Visual Studio Code, an icon showing what models are running appears at the bottom of the editor. This icon displays the operational status of the system.
Can I accept code solutions directly to the editor with Twinny?
Yes, with Twinny you can accept code solutions directly to the editor which enhances your coding productivity.
How does code completion work in Twinny?
In Twinny, code completion works with the help of AI. As you type into the editor, Twinny immediately generates and suggests code to complete your current task. These suggestions are based on your conversation with Twinny.
What is Ollama and how is it integrated with Twinny?
Ollama is a service that works in conjunction with Twinny. During the installation process of Twinny extension in Visual Studio Code, it automatically prompts and guides you through the installation of Ollama using two default small models. Ollama enhances the capability of Twinny by handling the code completion tasks.
How can I install Twinny?
You can install Twinny from the Visual Studio Marketplace. Upon selection, the extension will automatically guide you through the installation process of both Twinny and Ollama.
Twinny Free