Skip to content

twinny

Your free and private AI assistant for VS Code. Code completion, inline edits and chat, powered by a model server you choose: on your machine, on another of your devices, or hosted.

Start here

What twinny does

Code completion

Fill-in-the-middle suggestions as you type, with context from open files, recent edits and IntelliSense. Press Tab to accept.

Inline edit

Press Ctrl+I, describe a change, and review it as a diff in the editor. Accept, reject, or refine.

Chat

Ask about your code with files, symbols, problems, git changes and terminal output attached with @.

Workspace index

Embed the workspace so chat can find the code a question is about, ranked by a local reranker.

Code review and commits

Review the working tree, a branch or a GitHub pull request, and write commit messages.

Terminal

Write a command from a description, or fix the last error with the output attached.

Devices

Use the GPU in another of your computers over an encrypted peer-to-peer link. No account, no relay.

Private by default

Everything runs against a server you control. No telemetry, no sign-in, MIT licensed.