twinny
Open-source AI coding assistant for VS Code. Coding agent, code completion, chat, edits and reviews with local or hosted models. Your models, your infrastructure.
Install / Use
npx skills add twinnydotdev/twinnyInstalls into whichever agent you are using.
Other
Other agent config
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of twinny
twinny scores 90/100 on our quality scale, 356th of 953 AI & Machine Learning skills we index (top 38%).
Its Other is 8.3 KB long, well organised into 9 sections with 1 code example: a thorough specification that gives an agent plenty to work with.
With 3,691 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 2 days ago, so twinny is actively maintained.
- Our last check on 2026-10-20 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
twinny compared with similar skills
All 4 of these similar skills score higher than twinny; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| twinny (this skill)by twinnydotdev | 90 | 3.7k | 2d ago | Other |
| claude-memby thedotmack | 100 | 113.8k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 91.0k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.0k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install twinny?
- Run
npx skills add twinnydotdev/twinny. The install tabs above show the steps for each supported agent. - Which AI agents does twinny work with?
- It is written for Universal, as a Other file. Other agents that read the same format can often use it too.
- Is twinny safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is twinny still maintained?
- The repository was last updated 2 days ago, so twinny is actively maintained.
Skill content
View source on GitHubtwinny
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.
Install from the Marketplace · Documentation · What's new · Changelog · Teams · 中文 · Português (BR)
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.
Getting started
- Install twinny from the Marketplace (VS Code 1.93 or newer).
- 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.
- 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.
What it does
- Code completion. Fill-in-the-middle suggestions as you type, streamed as ghost text and stopped at a sensible end. Context comes from open files, imports, the language server and your recent edits. Tuned to work well with a 7B model.
- Inline edit. Ctrl+I, describe a change, and review it as a diff in the editor. Accept or reject per hunk. Fix with twinny on any diagnostic.
- Chat with your code. Type
@to attach files, symbols, the problems panel, the git diff, the terminal, or a search of the workspace index. Conversations are kept. - Workspace index. Hybrid keyword and vector search over the workspace, reranked before it reaches the prompt, updated on save. Sources show under replies.
- Code review of the working tree, a branch against its base, or a GitHub pull request, and commit messages from the staged diff.
- Terminal. Write a command from a description, shown before it runs. When one fails, twinny finds the file and line and offers the fix.
- Prompt templates you can edit, and every feature is a plain VS Code command you can rebind.
Everything runs against a server you control. No telemetry, no account. See Status bar, logs and privacy.
Model servers and providers
| Where the model runs | How |
| --- | --- |
| On your machine | Ollama, LM Studio, llama.cpp, QVAC, Oobabooga, LiteLLM, Open WebUI, or any OpenAI-compatible server. |
| On another of your computers | Devices: pair with a code and use that machine's GPU over an encrypted peer-to-peer link. No account, no relay. |
| On a hosted API | OpenAI, Anthropic, Mistral (Codestral for completion), DeepSeek, OpenRouter, Gemini, Groq, Cohere, Perplexity. |
| On your team's gateway | Connect to a twinny-server and use the models the team set up. See below. |
Mix them: a local model for completion, a hosted one for chat. The supported models page says which models work for which job on which hardware.
Teams: one gateway for everyone
twinny-server is a small dependency-free server that runs on the machine with the models and serves chat, completion and embeddings to every developer's VS Code. Prompts go to your gateway and your backend, nowhere else.
npx twinny-server quickstart
That finds your model server, writes a configuration, makes an admin key and serves. From the admin page you set the team's default models, send each developer an invite link that opens VS Code and connects them, and see usage per person and per model.
- A key per developer, stored as a hash, revoked live. Usage, failures and tokens per person and per model; never the content.
- Pool the team's own computers. A developer flips Share this computer and their local server serves the team through the gateway. No port to open.
- Plugins (licence): pull requests and issues from GitHub, GitLab, Gitea and Bitbucket listed on the admin page and reviewed by your own models, with the review posted back to the host; Slack, Discord and Teams notifications; SSO sign-in with any OpenID Connect provider; one shared context index for every developer's chat; nightly backups.
- Team policy (licence): team-only providers, locked defaults, routing rules that keep a workspace on local backends, a team system prompt. Shown for consent before connecting.
- Recording (licence): keep prompts and replies on the gateway, disclosed to every developer, exported as training data.
- Operations: a hash-chained audit log of every admin change, read-only admin keys, Prometheus metrics, costs per developer when a model has a price, a request queue for a shared GPU, Docker and a Helm chart.
Free for five developers, forever. A licence bought by card at twinny.dev adds seats and switches on policy, recording and plugins; it is checked locally and the gateway never phones home. A 30-day trial token with every feature is issued by email, no card. See the teams guide, licensing and seats, and the operator reference in docs/gateway.md.
Repository layout
| Path | What |
| --- | --- |
| src/extension | The VS Code extension, by feature: completion, chat, inline edit, review, terminal, embeddings, providers, team connection. |
| src/webview | The sidebar (React). |
| src/protocol | The wire protocol between the extension and a gateway, and the WebSocket peer protocol for pooled computers. |
| src/gateway | The gateway: routes, keys, usage, licensing, admin page, plugins. Built into packages/twinny-server/cli.js. |
| src/licensing | Licence token verification (the signing side is private). |
| packages/twinny-server | The npm package and Docker files for the gateway. |
| deploy/helm | Helm chart for Kubernetes. |
| docs | The operator reference for the gateway and design notes. |
Contributing
Issues and pull requests are welcome on GitHub. Describe a larger change in an issue first. CONTRIBUTING.md has the build and test steps; the suite runs headless with xvfb-run -a npm test. Questions go to discussions or @twinnydotdev.
Support twinny
twinny is free and open source, written and maintained by one person since 2023. If it earns its keep, a team licence is the best way to support it.
License
MIT. twinny is actively developed and provided as is.
Related Skills
claude-mem
113.8kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
91.0kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
79.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
