Menu

I built a USB drive that runs an offline AI coding agent on any laptop
πŸ–ΌοΈ

I built a USB drive that runs an offline AI coding agent on any laptop

DEV CommunityΒ·Muhammad UsmanΒ·6 months ago
#5PdpmUyG
#opensource#ai#productivity#showdev#code
Reading 0:00
15s threshold

I wanted something like Claude Code β€” but completely offline, on any laptop,

with nothing installed on the host machine.

So I built code-stick .

What it is

A CLI that turns any USB drive into a portable, self-contained AI coding agent.

You get file editing, multi-step tasks, and tool use β€” running entirely on the

stick against a local model. No internet. No installs. Nothing left on the host

when you unplug.

How it works

Run this once on your own machine:

npx code-stick install

Enter fullscreen mode

Exit fullscreen mode

Pick a model β€” Qwen2.5-Coder, DeepSeek-Coder, CodeGemma, or Phi-3.

It downloads everything onto the USB:

opencode + Ollama pre-built binaries for all five targets

Model weights in a USB-local Ollama store

Three launchers at the root: start-windows.bat, start-mac.command, start-linux.sh

From that point on, plug into any Windows, macOS, or Linux laptop, double-click

the matching launcher, and you get a full coding agent running at 127.0.0.1.

Quit β†’ Ollama process killed by…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.