# twinnydotdev/twinny

The most no-nonsense, locally or API-hosted AI code completion plugin for Visual Studio Code - like GitHub Copilot but 100% free.

Repository: https://github.com/twinnydotdev/twinny
Canonical: https://ross.abutalabs.com/products/twinny
Homepage: https://twinny.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: artificial-intelligence, code-generation, vscode-extension, code-completion, copilot, codellama, llama2, ollama, ollama-api, code-chat, free, ollama-chat, private, llamacpp, symmetry
Archived: true
Last push: 2025-08-07T10:12:07+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 35, release rhythm 40, longevity 79
- inputs: {"age_days": 1108, "days_push": 391, "days_rel": 505, "gap_med": 21.5, "n_releases_24m": 9}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3630, forks 226 (observed 2026-08-28T04:08:12.013474+00:00)

## What it is
Twinny is a free, MIT-licensed Visual Studio Code extension providing AI code completion (fill-in-the-middle) and code chat, working with local Ollama/llama.cpp endpoints or hosted APIs like OpenAI and Anthropic. It includes workspace embeddings for context-aware assistance and a P2P 'Symmetry' network for sharing AI inference. The project has since been archived.

## Use cases
- get free AI code completion in vscode without github copilot
- run code completion locally with ollama for privacy
- chat with an AI about my code inside the editor
- generate git commit messages automatically
- get refactoring and test suggestions from an LLM in vscode
- use workspace embeddings for context-aware AI coding help

## When to choose
- you want a free, open-source Copilot alternative in VS Code
- you need offline/local AI completion via Ollama or llama.cpp
- you want code chat, commit message generation, and diff views in one extension

## When to avoid
- you need actively maintained software - the project is archived
- you use an editor other than VS Code
- you need enterprise support or guaranteed updates

## Facets
- artifact type: plugin
- maturity: abandoned
- function: llm-inference, agent-framework, rag, chatbot
- domain: developer-tools, artificial-intelligence, large-language-models, text-editors
- platform: editor-plugin, cross-platform
- tags: vscode-extension, code-completion, copilot-alternative, ollama, local-ai, fill-in-the-middle, workspace-embeddings, p2p-inference

## Member repositories
- twinnydotdev/twinny (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:12.013474+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:53.669941+00:00, confidence not recorded.
  - readme: https://github.com/twinnydotdev/twinny (fetched 2026-08-28T04:08:12.013474+00:00, sha 85273267fb3e)
  - homepage: https://twinny.dev (fetched 2026-08-29T09:26:34.400707+00:00, sha 68b48fde30d8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
