twinny social preview
agent-framework3,650MIT

twinny

Open-source AI coding assistant for VS Code. Code completion, chat, edits and reviews with local or hosted models. Your models, your infrastructure.

Updated Sep 24, 2026
Platforms
Pricing
free-open-source
Status
active
License
MIT

What it does

Core capabilities at a glance

  • AI Coding Assistant
  • Artificial Intelligence
  • Code Chat
  • Code Completion
  • Code Generation
  • Code Review
  • Code Review Assistant
  • Developer Tools

Deep dive

The full breakdown - performance, comparisons, and setup

twinny

twinny is an agent framework - Open-source AI coding assistant for VS Code. Code completion, chat, edits and reviews with local or hosted models. Your models, your infrastructure.

Overview

The AI coding assistant for Visual Studio Code that stays inside your network. Code completion, inline edits, chat, code review and more, on a model server you choose: on your machine, on another of your devices, on a hosted API, or on one gateway your whole team shares. Free, open source, MIT licensed, no telemetry, no sign-in.

For teams: one gateway on your network serves every developer's VS Code, with a key per person, usage, policy and an admin page. 'npx twinny-server quickstart' sets it up. Free for five developers, $6 a seat a month after that, and a 30-day trial with no card. Details, prices and a live admin page at twinny.dev.

  1. Install twinny from the Marketplace (VS Code 1.93 or newer). 2. Run a model server. Ollama, LM Studio and llama.cpp are found on their usual ports at first start; twinny asks which models to use. 3. Type. Completions appear as ghost text; the sidebar has chat.

The quick start covers picking a server and models for your hardware, and troubleshooting explains every error message.

twinny is open-source, written primarily in TypeScript, with 3,650 GitHub stars under the MIT license. The latest release is v4.0.20 (2026-09-22).

How it fits a local-AI stack

twinny runs on your own hardware, so pair it with a model and a GPU sized to your needs. Use the VRAM calculator to pick a model that fits your card, and see what you can run for hardware guidance. Related agent frameworks in the directory:

Sources

Stats from GitHub, 2026-09-24.

Frequently asked

Quick answers to common questions

What is twinny?

twinny is a agent-framework tool for local AI workloads. Open-source AI coding assistant for VS Code. Code completion, chat, edits and reviews with local or hosted models. Your models, your infrastructure.

Is twinny free and open source?

Yes, twinny has 3,650 GitHub stars and is licensed under MIT. You can self-host it for free on .

What hardware do I need for twinny?

The hardware requirements depend on which models you run. Check our hardware directory for compatible GPUs and systems. twinny has 3,650 GitHub stars and an active community.

Does twinny support GPU acceleration?

twinny's GPU support depends on your specific setup. Check the documentation for details. For the best performance, pair it with an NVIDIA RTX 4090 or 5090.

What are the best alternatives to twinny?

Popular alternatives include other agent-framework tools in our directory. Browse our full collection at /tool for comparisons, community reviews, and benchmark data to find the right fit for your workflow.

How much does twinny cost?

twinny is free-open-source. It is completely free and open source to self-host.

Pairs well with

Complementary tools, models, and hardware

Comments coming soon

Configure NEXT_PUBLIC_GISCUS_REPO_ID and NEXT_PUBLIC_GISCUS_CATEGORY_ID at giscus.app to enable.