Skip to content

About

πŸ”Œ Portable uncensored AI agent that runs from USB/SSD. 13 autonomous tools (deep search, OSINT, code execution), persistent memory, 5 GGUF models, zero install, zero traces. Cross-platform (Windows + Linux).

Topics

Resources

Stars

11 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

USB AI Agent β€” Portable Uncensored AI + Autonomous Agent

Plug in. Run one script. Get a fully autonomous AI agent with 13 tools, deep search, OSINT, and persistent memory β€” all from a portable USB/SSD. Zero install, zero traces.

USB AI Agent β€” startup banner with a live Ollama connection

πŸ”₯ What Makes This Different

The original USB-Uncensored-LLM (now archived) was a great portable chat. This takes it further β€” it's not just a chat, it's an agent that can actually DO things.

Feature Original This Project
Chat βœ… βœ…
Web Search ❌ (broken) βœ… DuckDuckGo Lite
Deep Search (multi-source) ❌ βœ… Fetches + reads + synthesizes
OSINT (email lookup) ❌ βœ… Holehe (121+ sites)
OSINT (username search) ❌ βœ… Maigret (600+ platforms)
OSINT (social search) ❌ βœ… Agent Reach (15 platforms)
File Operations ❌ βœ… Read/Write/List
Code Execution ❌ βœ… Python + Shell
Persistent Memory ❌ βœ… Auto-saves to USB
Cross-Platform Partial βœ… Windows + Linux
Autonomous Tool Calling ❌ βœ… Model decides which tools to use

πŸš€ Quick Start

Windows

# First time: install engine + models (interactive menu)
Windows\install.bat

# Unattended variants
Windows\install.bat -Models 1 -Yes     # engine + Gemma 2B only, no prompts
Windows\install.bat -Models 1,3        # two models
Windows\install.bat -SkipModels        # engine + Python only, models later

# Every time: launch the agent
Windows\start-agent.bat

install.bat calls Windows\install-core.ps1 (same folder) β€” that script does all the work: portable Python, portable Ollama engine, GGUF downloads, Modelfiles, import.

Linux (including Tails)

# First time: install engine + models
bash Linux/install.sh

# Every time: launch the agent
bash Linux/start-agent.sh

A local web chat UI ships alongside the CLI (Linux/start.sh / Windows/start-fast-chat.bat) β€” no cloud, no account:

USB AI Agent β€” local web chat UI

πŸ› οΈ Available Tools

The agent has 13 tools it can use autonomously:

Category Tool Description
πŸ” Search web_search Search the web (DuckDuckGo Lite)
πŸ” Search deep_search Multi-source research (search β†’ fetch β†’ synthesize)
πŸ” Search web_get Download and extract any webpage
πŸ•΅οΈ OSINT osint_email Check where an email is registered (121+ sites)
πŸ•΅οΈ OSINT osint_username Find a username across 600+ platforms
πŸ•΅οΈ OSINT osint_social Search 15 social platforms simultaneously
πŸ“ Files read_file Read any file on the system
πŸ“ Files write_file Create or overwrite files
πŸ“ Files list_files List directory contents
⚑ Exec run_command Execute shell commands
🐍 Exec run_python Execute Python code
🧠 Memory remember Save information persistently
🧠 Memory recall Retrieve saved information

🧠 Models Included

Pre-configured for 5 uncensored GGUF models (~25GB total):

  1. Gemma 2 2B Abliterated (~1.7 GB) β€” Blazing fast, recommended for all
  2. Gemma 4 E4B Ultra Uncensored (~5.3 GB) β€” Maximum compliance
  3. Qwen 3.5 9B Uncensored (~5.6 GB) β€” Best for agent/tool calling
  4. NemoMix Unleashed 12B (~7.5 GB) β€” Heavyweight reasoning
  5. Dolphin 2.9 Llama 3 8B (~4.9 GB) β€” Classic uncensored

Models are downloaded once and work on any OS without re-downloading.

πŸ’» Requirements

  • USB 3.0 drive or SSD with 30+ GB free
  • Host PC: 8 GB RAM minimum (16 GB recommended for 9B/12B models)
  • Linux: python3 (built-in on most distros)
  • Windows: nothing (auto-downloads portable Python on first run)

πŸ“‚ Architecture

USB-AI-Agent/
β”œβ”€β”€ Windows/
β”‚   β”œβ”€β”€ install.bat          # Entry point: downloads Python + Ollama + models
β”‚   β”œβ”€β”€ install-core.ps1     # The actual installer (called by install.bat)
β”‚   β”œβ”€β”€ start-agent.bat      # πŸ†• Launches the autonomous agent
β”‚   └── start-fast-chat.bat  # Original web chat UI
β”œβ”€β”€ Linux/
β”‚   β”œβ”€β”€ install.sh           # Downloads Ollama Linux + models
β”‚   β”œβ”€β”€ start-agent.sh       # πŸ†• Launches the agent
β”‚   └── start.sh             # Original web chat
β”œβ”€β”€ Shared/
β”‚   β”œβ”€β”€ agent.py             # πŸ†• The autonomous agent (13 tools)
β”‚   β”œβ”€β”€ chat_server.py       # Web chat server
β”‚   β”œβ”€β”€ FastChatUI.html      # The web chat interface it serves
β”‚   β”œβ”€β”€ scripts/             # Shared model catalog + UI asset downloader
β”‚   β”œβ”€β”€ python/              # Auto-downloaded portable Python
β”‚   β”œβ”€β”€ bin/                 # Portable Ollama engine
β”‚   β”œβ”€β”€ logs/                # Install logs
β”‚   └── models/              # GGUF model files + Modelfiles
└── .gitignore

πŸ”’ Privacy

  • Everything runs fully offline after initial download
  • Zero data leaves your machine (except web searches when online)
  • No accounts, no telemetry, no tracking
  • Chat history saves only to your USB drive
  • Works on Tails and other privacy-focused Linux distros

πŸ“± Android Apps

This repo also includes standalone Android applications built with Capacitor + React:

App File Description
πŸ›Έ Blu android-apks/Blu-v1.0.apk AI talking friend β€” your personal AI companion
πŸ€– ZENO android-apks/ZENO-v1.3-fix.apk AI friend v1.3 β€” improved AI companion with fixes
✈️ AI Flight Search android-apks/AI-Flight-Search.apk AI-powered flight search app

All apps are Capacitor-based (React + TypeScript) and can be side-loaded on any Android device.

🧰 Troubleshooting

Symptom What to do
install.bat says install-core.ps1 is missing Fixed in this repo β€” that file used to be absent, so the Windows installer could not run at all. Update your copy of Windows\ (or re-clone) and run install.bat again. It is not your antivirus.
A download stops halfway Just run install.bat again. Partial files resume (curl -C -) and finished ones are skipped.
start-agent.bat says Ollama Engine Not Found The engine step did not complete. Re-run install.bat (it retries only what failed).
Import fails during setup See the log written to Shared\logs\install-<timestamp>.log, then re-run install.bat.
PowerShell blocks the script install.bat already passes -ExecutionPolicy Bypass; run it from cmd with Windows\install.bat -SkipModels to isolate the failing step.

Requirements on the host PC: Windows 10/11 with curl.exe (built in since 1803) and about 4 GB free beyond the models (portable Python ~11 MB, engine ~2 GB after extraction).

πŸ™ Credits

Built on top of USB-Uncensored-LLM by Tech Jarves.

OSINT tools: Holehe, Maigret, Agent Reach.

πŸ”— More from Pusu

Project Description
πŸ›‘οΈ Pusu AdBlocker Chrome MV3 ad blocker β€” 35,000+ rules, zero tracking
🌐 AI-Flight-Search AI-powered flight search engine
πŸ’‘ ZENO AI project β€” details coming soon

βš–οΈ License

MIT β€” same as the original project.

About

πŸ”Œ Portable uncensored AI agent that runs from USB/SSD. 13 autonomous tools (deep search, OSINT, code execution), persistent memory, 5 GGUF models, zero install, zero traces. Cross-platform (Windows + Linux).

Topics

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages