Originally published byDev.to
Portable AI on a USB Stick
Package an AI agent with bundled Python, Ollama, and memory into a 340MB self-contained package that runs on any x86_64 Linux machine.
Structure
norax-portable/
βββ norax.sh # Launcher
βββ python/ # Standalone venv (252MB)
βββ bin/ollama # Ollama binary (42MB)
βββ lib/ollama/ # GGML CPU libs (6.4MB)
βββ norax/ # Agent source (2.1MB)
βββ memory/ # Memory database (35MB)
βββ config/ # Runtime config
Key Decisions
- CPU-only Ollama β stripped GPU libs, saves 5GB
- Bundled venv β no system Python needed
- Relative paths β works from any mount point
- Model download on first run
Results
- Full agent runtime with memory, tools, HTTP API
- Ollama inference (CPU mode)
- Memory persistence across sessions
- No system dependencies required
Portable AI is possible today. Bundle the runtime, strip the GPU libs, use relative paths.
πΊπΈ
More news from United StatesUnited States
NORTH AMERICA
Related News
π I Built a Dropshipping Automation Pipeline β Here's What I Learned (and What I'd Do Differently)
10h ago
How I Cut My LLM API Bill by 40x: A Freelancer's Migration Story
10h ago

Mattress Firm Coupons: Save up to $600
3h ago
Google Ordered to Pay $2 Billion For Anti-Competitive Practices By Swedish Court
20h ago
The Censorship Wall: Why Every AI Companion App Ends Up Filtering You
20h ago