# twinny

> Open-source VS Code extension for AI coding with local models. Code completion, chat, inline edits, and reviews run on your infrastructure. No telemetry or accounts.

- **Category:** AI Assistant
- **Licence:** MIT
- **Latest version:** v4.0.20
- **Open source:** oss
- **Languages:** Typescript
- **Platforms:** Docker Compose, Helm, NPM
- **Tags:** Local Ai, LLM, Ollama, Developer Tools, Code Review, Self Hosted, Embeddings, Self Hosted Ai, Code Completion, Code generation, Air gapped, Llama.cpp, Local llm, No telemetry, Artificial intelligence, Ai coding assistant, Private ai, Vscode Extension, Code Review Assistant, Team Gateway, Code Chat, Self Hosted Llm

## Description

This open-source VS Code extension adds AI-powered coding features that run entirely on your own hardware. It offers ghost-text completions, inline diff-based edits, a chat sidebar that can reference files and symbols, and an optional agent mode that can modify files and run commands. A built-in workspace index combines keyword and vector search for context. It also handles code review, commit-message generation, terminal command suggestions, and user-editable prompt templates. The extension talks to any OpenAI-compatible server you run — Ollama, LM Studio, llama.cpp, or a hosted API — and can also connect to a self-hosted team gateway (twinny-server) that shares models across developers, enforces policy, and adds PR-review plugins, SSO, shared indexes, backups, and audit logs. The gateway is deployed via npx, Docker, or Helm. Free for solo use and teams up to five seats; larger teams buy licences. No telemetry, no required accounts, MIT licence.

## Links

- [Homepage](https://github.com/twinnydotdev/twinny)
- [Website](https://twinny.dev)
- [Docker](ghcr.io/twinnydotdev/twinny-server)
- [Demo](https://demo.twinny.dev)
- [Documentation](https://docs.twinny.dev/)
- [GitHub](https://github.com/twinnydotdev/twinny)
- [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=rjmacarthy.twinny)
- [Open VSX](https://open-vsx.org/extension/rjmacarthy/twinny)
- [Blog](https://blog.twinny.dev/)
- [Twitter/X](https://x.com/twinnydotdev)

---
Source: https://selfhost.directory/project/twinny