Concept
LunarShell
- < 7 MB DMG
- < 200 MB idle memory
- < 1 second install
- < 1 second capability launch
LunarShell is an ultrafast, AI-native, single-runtime modular software system.
The entire system is distributed in a DMG smaller than 7 MB—smaller than many individual images or documents—and typically consumes less than 200 MB of memory at idle. It installs in under a second, and any capability can be invoked in under a second.
Those capabilities can remain stateful and available in the background at extremely low overhead.
This performance is not incidental. It is what enables the architecture.
Applications are an abstraction
Modern desktop computing is organized around applications:
To edit video, you launch a video editor. To record audio, you launch a recorder. To synthesize sound, you launch a synthesizer.
Each application is treated as a discrete software environment with its own lifecycle and boundaries.
But the application is not the capability.
Video editing is a capability. Recording is a capability. Synthesis is a capability. Calling an API is a capability.
LunarShell removes the requirement that each of these capabilities exist as an independent application.
Instead:
Invoke any capability through LunarShell, without opening a separate application for each one.
Capabilities are implemented as modules within a single runtime. A module might be a tiny API visualization, a recorder, a synthesizer, or a full-screen video editor. To a human it can behave like an application. Architecturally, it remains part of one system.
Why a shell?
In computer science, a shell is an interface through which an operator invokes the capabilities of an underlying system.
The traditional abstraction is roughly:
Human → Shell → System
A Unix shell, for example, interprets commands and provides access to programs and operating-system facilities. Shells can be textual or graphical; the defining idea is the intermediary layer, not the command line itself. (IBM)
LunarShell applies that abstraction to software capabilities:
Human / Agent → LunarShell → Capabilities
It is not an operating system and does not replace the macOS shell. It is a capability shell running above the operating system.
The OS manages processes, memory, hardware and system resources.
LunarShell manages capabilities and their invocation.
An old idea, with different constraints
The idea of keeping useful capabilities immediately available has historical precedent.
In the DOS era, Terminate-and-Stay-Resident programs (TSRs) could return control to DOS while leaving part of themselves resident in memory. They could then be invoked instantly, often with a hotkey. Borland’s Sidekick, released in 1984, famously used this model to keep a calculator, notepad, calendar, address book and other tools immediately accessible while another program was running. (Wikipedia)
Conceptually, this was powerful:
persistent capability → instant invocation → return to what you were doing
But TSRs were constrained by the architecture of DOS. They occupied scarce conventional memory, commonly hooked interrupts, could conflict with other resident programs, and sometimes caused compatibility and stability problems. DOS’s 640 KB conventional-memory environment made every permanently resident byte significant. (Justia Patents Search)
LunarShell revisits the useful part of that idea without reproducing the mechanism.
It does not implement a collection of independent TSR-like programs. Capabilities are modules of a deliberately designed shared runtime. Common infrastructure is implemented once rather than replicated across a collection of standalone applications.
That makes persistent capability inexpensive rather than exceptional.
A module can maintain state while consuming almost no additional resources when inactive, then become interactive in under a second when invoked.
Why this matters for AI
Conventional applications were designed primarily around a human operating a graphical interface.
AI agents create a different requirement.
An agent does not fundamentally need an application. It needs a capability it can invoke.
LunarShell therefore makes agent invocation part of the architecture rather than adding an AI assistant on top of conventional applications.
A capability can expose the same underlying functionality to two operators:
Human → Interface ─┐
├→ Capability
Agent → Invocation ─┘Because those capabilities exist within one runtime, an agent can operate across them as parts of one system rather than treating every application as a separate environment.
Record audio. Process it. Pass it to another module. Edit media. Query an API. Transform data. Export a result.
The boundaries between those operations no longer need to correspond to application boundaries.
From applications to capabilities
This produces a different software hierarchy.
Conventional desktop computing
Operating System → Applications → Capabilities
LunarShell
Operating System → LunarShell → Capabilities
with:
Human / Agent → LunarShell → Capabilities
This architecture has several consequences:
- Near-instant invocation. Capabilities become available in under a second.
- Persistent state. Modules can remain available in the background without requiring a heavyweight application to remain active.
- Low duplication. Modules share a common runtime and common infrastructure.
- Low resource overhead. The complete environment remains extremely small relative to the functionality it contains.
- Composability. Capabilities can cooperate without treating application boundaries as fundamental architectural boundaries.
- Extensibility. New modules extend the capability set of the system.
- Agent-native operation. Agents address capabilities directly rather than merely simulating a human operating a collection of unrelated GUIs.
- Human compatibility. A module can still expand into a conventional full-screen graphical interface whenever that is the best way for a person to use it.
The capability shell
The application-centric model made sense when the primary operator of a computer was a human manually selecting and operating one application at a time.
That assumption is changing.
Humans still need interfaces. But increasingly, software also has another operator: the agent.
A system designed for both should not require every capability to carry the architectural weight of a standalone application, nor should an agent be forced to navigate software exclusively through boundaries created for human interaction.
LunarShell replaces that requirement with a single, ultrafast modular runtime in which capabilities are persistent, composable and directly invocable.
The operating system manages the machine.
LunarShell manages the capabilities.
Humans and agents invoke them.
The application remains a useful interface—but it no longer needs to be the fundamental boundary of software.