Skip to main content

Alinux

Alinux is an AI orchestration shell for a minimal Debian 12 desktop running Fluxbox. It converts natural-language requests into a small, validated set of desktop actions.

Install

python3 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade --no-cache-dir --index-url https://pypi.org/simple 'alinux[openai]'
python -c "import alinux; print(alinux.__version__)"

The base package has no compiled model dependency. Use python -m pip install alinux when running without an LLM, or install the openai extra for OpenAI, Groq, and other OpenAI-compatible providers.

When no API key is configured, Alinux uses Ollama's local JSON-schema API instead of stopping. Install Ollama, start it, and download the lightweight default model:

curl -fsSL https://ollama.com/install.sh | sh
ollama pull llama3.2:3b
alinux

Set ALINUX_LOCAL_MODEL to use another model already installed in Ollama.

For model access, export a key and optionally choose a provider/model. Any OpenAI-compatible API can be configured with a custom endpoint:

export ALINUX_API_KEY='your-key'
export ALINUX_MODEL='gpt-4o-mini'
export ALINUX_API_BASE_URL='https://your-provider.example/v1'

To use the built-in Groq/Llama configuration from the command line, set your Groq key and pass the flag:

export GROQ_API_KEY='your-groq-key'
alinux --use-default-groq-api

The flag selects llama-3.3-70b-versatile and Groq's API endpoint. It does not embed or fetch a secret key.

Groq is supported directly, including Alinux's built-in open model preset:

export ALINUX_PROVIDER='groq'
export ALINUX_API_KEY='your-groq-key'
alinux

With ALINUX_PROVIDER=groq and no model override, Alinux uses llama-3.3-70b-versatile at Groq's OpenAI-compatible endpoint. You can also select it explicitly with ALINUX_MODEL=llama-3.3-70b-versatile.

The desktop hooks expect xdotool, amixer, free, and uptime. Missing tools are reported as readable responses rather than terminating Alinux.

Run

alinux

Open the graphical Alinux window from a terminal with:

alinux open

To add Open Alinux to the Fluxbox desktop context menu, run this once inside the Fluxbox session:

alinux install-fluxbox-menu

Then restart or reconfigure Fluxbox. The installer uses the active Python interpreter and writes GUI errors to ~/.cache/alinux/gui.log, so menu launches continue to work even when Fluxbox has a minimal PATH. It updates ~/.fluxbox/menu without replacing your existing entries. The GUI requires Debian's python3-tk package and a valid DISPLAY.

Type requests such as show system status, turn the volume down, or open the terminal. Enter quit or press Ctrl-D to exit.

Alinux never executes arbitrary shell text from the model. Only the operations listed in its system prompt and system_controls.py are routable.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alinux-0.1.5.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alinux-0.1.5-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file alinux-0.1.5.tar.gz.

File metadata

  • Download URL: alinux-0.1.5.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.2

File hashes

Hashes for alinux-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4eacccdfc9e94b4a3e91b57c86d6779e54affafb7142bb1c328bea078a1898e6
MD5 e9111f17dba40288b763ce84d621cbbe
BLAKE2b-256 bef3ccba3c3e55c812bf3af400202a3d1fd949842eebcb557c319ae108695ff8

See more details on using hashes here.

File details

Details for the file alinux-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: alinux-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.2

File hashes

Hashes for alinux-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 34c063f9f39c722bb0481efda3e9764a9dfa9feccd289c1b2f0a37ffbd762aca
MD5 1a63fc6cae061c9e680c0c43270673e9
BLAKE2b-256 dd4a673a484ca5bc30fe9b0eefba067a29123ebc2a282dda7e500fdb5f26ee3d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.6

2 files

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page