AI products and toolsReviewed · twinnydotdev

twinny: AI coding assistant for VS Code on your own model server

twinny is a free, MIT-licensed Visual Studio Code extension that adds AI code completion, inline edits, chat and code review for developers who want to choose where their model runs. The main catch is that you have to connect it to a model backend: a local server, another of your computers, a hosted API or a team gateway. The optional team gateway also needs a paid licence beyond five developers. The README describes fill-in-the-middle completion, diff-based inline edit, chat with @ attachments, an experimental agent mode, a hybrid workspace index, commit messages, terminal help, and connections to Ollama, LM Studio, llama.cpp, other OpenAI-compatible servers and several hosted APIs. It also describes twinny-server, a gateway started through npm that serves a whole team. These claims come from the project's own README and were not run or tested.

Researched 14 Nov 2026

In short.

twinny is a free, MIT-licensed Visual Studio Code extension that adds AI code completion, inline edits, chat and code review for developers who want to choose where their model runs. The main catch is that you have to connect it to a model backend: a local server, another of your computers, a hosted API or a team gateway. The optional team gateway also needs a paid licence beyond five developers. According to the README, it works with Ollama, LM Studio, llama.cpp, any OpenAI-compatible server, a paired second computer, nine named hosted APIs, or a team gateway called twinny-server. It says there is no telemetry and no sign-in. Everything here comes from the project's README and LICENSE at one captured revision. Nothing was installed, run or benchmarked, so quality, speed, privacy and security claims are the maintainer's statements, not verified results.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is one file: README.md at [https://github.com/twinnydotdev/twinny/blob/main/README.md], captured at revision 48e5ee52e2c8690ff84680096625949c1fce55e3 (SHA-256 480653ca6a80ad3f4e87e5717ccc207a1c30f3906ddbeb7233227fe3fe2d218f, 8,674 bytes). The repository LICENSE from the same revision (MIT, SHA-256 be39d8b910b783ec715eaeef231375cfe4bbb75d49afd32a436a37a5541ab3a8, 1,060 bytes) was captured beside it as a licence notice. It sits outside the selected file and is cited for licence terms, copyright and authorship in several sections. Not covered: the source code, the twinny-server package, CHANGELOG.md, CONTRIBUTING.md, docs/gateway.md, the documentation site, the Marketplace listing, pricing pages and the issue tracker. Nothing was installed, run or tested, so every statement about behaviour, privacy, performance and security is the README's own claim.

The overview

Identity

twinny is an AI coding assistant packaged as a Visual Studio Code extension. The README is published in the repository twinnydotdev/twinny on GitHub, and the copyright line in the LICENSE reads Copyright (c) 2023 Richard Macarthy. The README says one person has written and maintained the project since 2023.

The README also covers a second component in the same repository: twinny-server, a small dependency-free gateway. It is distributed as an npm package with Docker files and a Helm chart, and it serves chat, completion and embeddings to many developers' VS Code installs. The extension and the gateway are separate things with separate pricing, so read them separately.

Related addresses given in the README: the Marketplace listing [https://marketplace.visualstudio.com/items?itemName=rjmacarthy.twinny], the documentation [https://docs.twinny.dev/] and the commercial site [https://twinny.dev/]. Those pages were not captured, so nothing is reported from them here.

Assessment

On the captured evidence, twinny looks like a substantial, feature-rich assistant rather than a stub. The README is specific about features, supported servers, setup commands, the team gateway, pricing and the repository layout, and the project is under an MIT licence.

Its main idea is control over where prompts go. You choose the model server (your machine, another of your computers, a hosted API, or a team gateway) and can mix them, for example a local model for completion and a hosted one for chat. That suits people who do not want code sent to a vendor-run service by default.

What this review cannot establish is how well it works. The README gives no benchmarks, no completion-quality figures, no list of supported programming languages and no release or version number. The phrase tuned to work well with a 7B model is a claim, not a measurement. Treat it as a promising, well-described tool and try it on your own code and hardware before relying on it.

Who it is for

Individual developers who use VS Code and want AI help without signing in to a vendor service, especially those already running a local model server such as Ollama, LM Studio or llama.cpp.

Teams or organisations that want one shared model gateway on their own network, with a key per developer, usage reporting and policy controls. The README positions twinny-server for this, and a paid licence adds seats and features.

People who want to mix local and hosted models, or pool the GPUs of several team computers.

It suits you less if you do not use VS Code (the README describes only a VS Code extension and mentions no other editor), or if you want an assistant with no setup, because you must first run or connect to a model server. Beginners can follow the three-step start in the README, but the README leaves the choice of models for your hardware to the linked documentation.

Capabilities

According to the README, the extension offers eight features. (1) Code completion: fill-in-the-middle suggestions shown as ghost text, with context from open files, imports, the language server and recent edits. (2) Inline edit: press Ctrl+I, describe a change, review it as a diff and accept or reject each hunk. A Fix with twinny action is also available on diagnostics. (3) Chat: type @ to attach files, symbols, the problems panel, the git diff, the terminal or a workspace-index search. Conversations are kept. (4) Agent mode, marked experimental: the model can read, search and edit files and run commands in the workspace. Each step is shown, and commands ask first unless you change that. (5) Workspace index: hybrid keyword and vector search, reranked and updated on save, with sources shown under replies. (6) Code review of the working tree, a branch against its base, or a GitHub pull request, plus commit messages written from the staged diff. (7) Terminal help: it writes a command from a description and shows it before it runs, and suggests a fix when a command fails. (8) Editable prompt templates. Every feature is also a plain VS Code command you can rebind.

Providers come in four groups. Local: Ollama, LM Studio, llama.cpp, QVAC, Oobabooga, LiteLLM, Open WebUI and any OpenAI-compatible server. Another computer: a Devices feature that pairs a second machine over an encrypted peer-to-peer link. Hosted APIs: OpenAI, Anthropic, Mistral (Codestral for completion), DeepSeek, OpenRouter, Gemini, Groq, Cohere and Perplexity. Team: a twinny-server gateway.

The team gateway (twinny-server) offers a key per developer, stored as a hash and revocable live. It reports usage, failures and tokens per person and per model, and the README says this usage reporting never includes the content. That statement applies to usage reporting only, not to the gateway as a whole: the licensed Recording feature described below can keep prompts and replies on the gateway. The gateway can also pool team computers, queue requests for a shared GPU, keep a hash-chained audit log of admin changes, issue read-only admin keys, expose Prometheus metrics and show cost per developer when a model has a price. Docker and a Helm chart are provided. A paid licence unlocks three more groups. Plugins: pull request review for GitHub, GitLab, Gitea and Bitbucket, Slack, Discord and Teams notifications, OpenID Connect sign-in, a shared context index and nightly backups. Team policy: team-only providers, locked defaults, routing rules and a team system prompt. Recording: prompts and replies kept on the gateway, disclosed to every developer and exportable as training data.

None of these features were tried for this report.

Using it

Requirements

The README states two requirements: Visual Studio Code 1.93 or newer, and a model server you can reach. Ollama, LM Studio and llama.cpp are detected on their usual ports at first start, and twinny then asks which models to use. Authentication requirements for the named hosted providers are unknown from the captured README.

For the team gateway, the README shows the command npx twinny-server quickstart. That implies Node.js and npm on the machine that hosts the models. The captured file does not state which Node.js version is needed. Docker and a Helm chart are also mentioned for deployment.

The README does not state operating-system support, minimum RAM or GPU, which models suit a given machine (it points to the linked supported-models page) or which programming languages completion is tuned for. Hardware needs depend on the model you run and are unknown from this evidence.

How it works

The extension runs inside VS Code and sends prompts to a model endpoint you configure. For completion, the README describes fill-in-the-middle suggestions as you type. Context comes from open files, imports, the language server and your recent edits. Suggestions are streamed as ghost text and stopped at what the README calls a sensible end. In chat, @ mentions attach the context you choose to the prompt.

The workspace index combines keyword and vector search, reranks results before they reach the prompt, updates on save and shows sources under replies. The README says indexes are isolated by workspace identity. If you update from the older name-based index storage, you should rebuild once in the Embeddings tab, and existing indexes are left untouched.

In agent mode, which the README marks experimental, the model can read, search and edit files and run commands in the workspace, with each step shown in the reply. The README says commands ask first unless you say otherwise.

For teams, twinny-server runs on the machine with the models. It uses a wire protocol defined in src/protocol and passes requests on to your backend. The README says prompts go only to your gateway and your backend. Licences are checked locally, and the README says the gateway never phones home. The Devices feature uses a pairing code and an encrypted peer-to-peer link with no relay and no account. The implementation of these features was not inspected; only the README description was read.

Setup

The README gives three steps for the extension. First, install twinny from the Marketplace (VS Code 1.93 or newer). Second, run a model server: Ollama, LM Studio and llama.cpp are found on their usual ports at first start, and twinny asks which models to use. Third, start typing: completions appear as ghost text, and the sidebar provides chat. The README links a quick start [https://docs.twinny.dev/getting-started/quick-start/] for choosing models and a troubleshooting page [https://docs.twinny.dev/getting-started/troubleshooting/] for error messages.

For a team, the README gives one command: npx twinny-server quickstart. It says this finds your model server, writes a configuration, creates an admin key and starts serving. From the admin page you set default models, send each developer an invite link that opens VS Code and connects them, and view usage. The command downloads and runs an npm package, so review it as you would any code you run on a server. Its contents were not examined here.

According to the README, contributors can run the test suite headless with xvfb-run -a npm test. Build steps are in CONTRIBUTING.md, which was not captured.

Example

Here is a solo developer scenario that follows the README; it was not run. Start Ollama on its usual port, install the extension, choose models when twinny asks at first start, open a project and begin typing. A suggestion should appear as ghost text. Press Ctrl+I, describe the change you want and review the proposed diff in the editor, accepting or rejecting each hunk. In the sidebar chat, type @, attach the git diff or a file, then ask a question about it.

A team scenario, also based only on the README: on the GPU machine, run npx twinny-server quickstart, open the admin page, choose default models and send each developer an invite link. The link opens each developer's VS Code and connects it, and the admin page shows usage per person and per model.

Output quality, speed and the actual prompts and screens were not observed, so no sample output is shown.

Assessment & evidence

Limitations and risks

The README labels agent mode experimental. It can edit files and run commands, so keep the ask-first setting for commands and use version control. Each step is shown, but how safely it behaves was not assessed.

Privacy depends on your choices. The README says everything runs against a server you control, with no telemetry and no account, and that gateway prompts go only to your gateway and backend. If you pick a hosted API, your code and prompts go to that provider under its terms. The gateway's optional Recording feature keeps prompts and replies on the gateway, and the README says it is disclosed to every developer. The no-telemetry claim was not audited.

Quality depends on the model and hardware you use. The README has no benchmarks, no list of supported languages and no hardware guidance. Running models locally needs hardware the README does not size.

According to the README, one person maintains the project, so continuity, response times and how quickly security fixes arrive are unknown. The README itself says it is provided as is. VS Code is the only editor mentioned. After some updates, the workspace index must be rebuilt once by hand.

Only the README and LICENSE were captured. No source code, tests, changelog, release history, issue tracker or documentation site was read, and nothing was run.

Reasoning

The assessment rests on what the README states, weighted by how easily each statement can be checked. Feature lists, supported providers, setup commands, the VS Code 1.93 requirement and pricing are concrete and specific, so they are reported as the project's stated position, but their only source is the README. The LICENSE file backs up just one point: the README's statement that the project is under the MIT licence. Statements that would need testing are reported as claims: tuned to work well with a 7B model, no telemetry, licence checks that never phone home, and encrypted peer-to-peer links with no relay.

The README hangs together, which gives some confidence that the tool is real and usable: it names concrete commands, a repository layout and a test command. That does not prove quality. Where the README is silent (programming languages, hardware sizing, release versions, operating systems, Node.js version), this report says unknown rather than filling the gap.

Alternatives

The README does not name or compare any other tools, and none were assessed here. The capabilities, pricing, data handling and terms of alternatives are therefore unknown from this evidence.

If you compare twinny with other coding assistants, its documented features suggest these points to check. Editor support: the README describes only VS Code. Model backends: twinny lists local servers such as Ollama, LM Studio and llama.cpp, any OpenAI-compatible server, a paired second computer, nine named hosted APIs and a team gateway, and you can use different backends for different jobs. Sign-in and telemetry: twinny says it has neither. Features: fill-in-the-middle completion, diff-based inline edit, chat with attachable context, experimental agent mode, workspace index, code review, commit messages and terminal help. Team controls: per-developer keys, usage reporting, policy and an audit log. Licence: MIT. Pricing: the extension is free, and the gateway is free for five developers, then $15 a seat a month, or $29 once for Personal.

The README gives these reasons to consider twinny: a choice of model backend, no sign-in, a team gateway with per-developer keys, and a one-time Personal licence. The captured evidence suggests looking elsewhere if you use an editor other than VS Code, or if you need support terms or audits. The README describes neither for this one-maintainer project, which it provides as is.

Evidence base

The evidence is two files captured from the repository at revision 48e5ee52e2c8690ff84680096625949c1fce55e3: the README (evidence_c922e71e-3411-4c39-b996-46d61006ac0f, 8,674 bytes, the selected file) and the LICENSE (evidence_a27d1b6f-1fe1-4c12-915a-e85876532b8a, 1,060 bytes, a licence notice).

Strength: the README is detailed and specific, and the LICENSE confirms the MIT claim. Weakness: the README is the maintainer's own description, a single source from someone with a commercial interest in the paid gateway. There is no independent review, no benchmark, no code inspection and no run. The linked pages (documentation, Marketplace listing, changelog, pricing, CONTRIBUTING.md, docs/gateway.md) were not captured and are not used as evidence.

Access & freshness

Costs

The README describes the extension as free and open source. It gives these prices for the team gateway: free for five developers, forever; $15 a seat a month after that; Personal at $29 once for one person who wants every licence feature on their own gateway; and a 30-day trial with every feature, issued by email with no card. The README is not fully clear on how the free five-developer tier combines with the per-seat price, so confirm the seat rules on the licensing page [https://docs.twinny.dev/teams/licensing/] before budgeting.

A paid licence switches on policy, recording and plugins for the team gateway. It is bought by card at [https://twinny.dev/#pricing] and checked locally.

Costs the evidence does not cover: charges from hosted API providers if you use them (set by those providers), electricity and hardware for running local models, and any support or service terms. These remain unknown.

Rights and licence

The LICENSE file in the repository at the captured revision is the MIT licence, Copyright (c) 2023 Richard Macarthy. It permits using, copying, modifying, merging, publishing, distributing, sublicensing and selling copies of the software, provided the copyright notice and permission notice are included in all copies or substantial portions. The software is provided as is, without warranty. The README also states MIT.

One point to keep in view. The README says the licence-checking code is in the repository but the signing side is private, and that paid licences switch on policy, recording and plugins in the gateway. The captured LICENSE is a single MIT notice for the repository. This review did not check which files, if any, carry other terms, and does not interpret how the paid licence relates to the MIT grant. If you plan to redistribute or fork the gateway, read the licensing page and the repository directly.

The README text itself can be reused under the same notice, as long as the copyright and permission notice are kept with it.

Freshness

The files were captured on 14 November 2026 at repository revision 48e5ee52e2c8690ff84680096625949c1fce55e3. The README describes twinny as actively developed. However, the captured text has no version number, release date or changelog entry, and nothing in it shows when features such as the experimental agent mode or the index-storage change were introduced.

Prices, supported providers and feature names may have changed since this capture. The README links a What's new page and a changelog that were not read, so the current extension version and recent changes are unknown. Check the Marketplace listing and documentation for the current state.

Suggested actions

If you want to try it, install it from the Marketplace on VS Code 1.93 or newer, point it at a local server you already trust, and test completion and inline edit on a non-critical project first. Use the supported-models page linked in the README to pick models that fit your hardware.

If you use agent mode, keep command approval switched on and work in a folder under version control.

If you choose a hosted provider, read that provider's data terms. The no-telemetry statement covers twinny itself, not the model API.

If you plan a team rollout, read the teams guide [https://docs.twinny.dev/teams/overview/] and the licensing page [https://docs.twinny.dev/teams/licensing/] and confirm the seat and price rules. Review the npm package before running npx twinny-server quickstart on a shared machine, and tell your developers before deciding on the Recording and policy features.

Before relying on it, check the changelog and the repository's recent activity. If privacy matters to you, verify the privacy claims with your own network monitoring.

Evidence for this report

LICENSEnotice · checked 2026-11-14
README.mdselected · checked 2026-11-14