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

Master Local Fine-Tuning with "gemma-trainer"
8h ago
Building a Plugin-Free Newsletter Popup on WordPress: Custom REST Endpoint Mailchimp API v3
8h ago
ภาษาโปรแกรมมิ่งที่ syntax ง่าย ทำให้ AI หลอนน้อยลง จริงหรือ?
8h ago
How I Built a File-Timestamp-Based Feedback Loop to Enforce AI Output Quality
8h ago
GitHub Trending Digest — 2026-07-07
9h ago