BMASS is an open-source experiment that boots a lightweight Linux environment from a USB drive, using a local language model as the primary operating interface rather than a conventional desktop.

Stars

106

7-day growth

+10

Forks

21

Open issues

0

License

MIT

Last updated

2026-07-28

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It demonstrates that a functional, private, offline AI operating shell can run on extremely modest hardware (4 GB RAM, 8 GB USB) using only free and open-source components, challenging the assumption that local AI requires expensive infrastructure.

Who it is for

  • Linux enthusiasts interested in novel AI–OS integration
  • Privacy advocates seeking offline-first AI solutions
  • Hardware-constrained users exploring local AI on old laptops
  • Open-source developers curious about perception–action loop architectures

Use cases

  • Booting a computer into an AI-mediated shell for system inspection and control
  • Running a private, offline AI assistant on a portable USB drive
  • Experimenting with model-driven operating system interaction patterns
  • Teaching AI and OS concepts with a minimal, reproducible prototype

Strengths

  • Boots from an 8 GB USB drive and runs on a 4 GB RAM laptop without internet
  • Uses a perception–action loop to execute shell commands and incorporate real system output
  • Built entirely with free open-source software (Alpine Linux, llama.cpp, Qwen3)
  • Transparent and inspectable: all source code and configuration are in the repository

Considerations

  • Still an experimental prototype with manual installation and hard-coded configuration
  • Security model is prototype-level: only safe inspection commands are auto-executed, but no persistent memory or package installer
  • Only tested on the reference BMASS environment; hardware compatibility is not guaranteed

README quick start

BMASS

Bootable Model As System

Boot directly into an AI operating shell.

BMASS is an open-source experiment that treats a local language model as the primary interface to a computer rather than another application running inside one.

Instead of booting a desktop and then opening an AI program, BMASS starts directly into a lightweight Linux environment where the AI becomes the operating interface.

The project explores a simple question:

What if the model was the system?

🤝 Become a Contributor: Post your GitHub username in Discussions and tell us how you'd like to help

23 July 2026

🚀 Major Architecture Update (Experimental)

BMASS has undergone its largest architectural change since the project began.

The previous prototype relied on Python orchestration around the language model. That layer has now largely been removed. BMASS is moving towards becoming a native Unix resident compiled directly from C++ using the llama.cpp libraries.

Rather than acting as a conventional chatbot, BMASS now follows a perception–action loop:

New loop



User Request
↓
Model
↓
Shell Action
↓
Linux
↓
Observation
↓
Model
↓
Final Answer


The BMASS runtime has been recompiled with a shell execution layer. When the model determines that operating system information is required, it emits a ... action. BMASS executes the command, captures the real output from Linux, feeds that observation back into the model, and allows the model to continue reasoning using actual system state rather than assumptions.

This removes a substantial amount of orchestration code while moving the intelligence closer to the operating system itself. The architecture is intentionally simple and is designed to evolve incrementally.

Included in this update

  • Native bmass executable
  • bmass.cpp source
  • Updated system-prompt.txt
  • Shell execution runtime
  • Screenshot demonstrating the perception–action loop

Important

This remains an experimental research project.

The implementation is evolving rapidly and has only been tested on the reference BMASS environment.

Please check file paths before building or running, as your installation layout may differ.

Bug reports, pull requests and architectural suggestions are very welcome.


Thank you to ev

Description

Bootable Model As System (BMASS) – an offline-first AI operating environment

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960
littledivy
Featured
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI & Machine Learning
1,482