๐ Meet MSHELL โ a next-generation Unix shell for AI-assisted development and mathematics by Art2Dec SoftLab. A single C binary that replaces bash as your login shell โ adding native LLM integration, polyglot code execution, and a complete Workflow engine without sacrificing standard shell compatibility.
โก Shell & Scripting:
โ
Bash compatibility โ pipes, redirections, standard Unix commands work as-is
โ
Native .ms scripts (#!/bin/mshell) โ variables, IF/FOR/WHILE/FUNC, full control flow with AST-based parser
โ
Embedded Lua engine โ inline math: arithmetic, trigonometry, statistics, calculus, matrix and vector operations, all via eval
โ
pythonexec โ execute Python code inline, one-liners or multi-statement
โ
Native execution of C, C++, Go, Rust, Python, Lua, Bash โ compiled and run on demand
๐ค AI Integration โ Different AI Models Simultaneously:
โ
ollamaN โ chat mode: conversational LLM with 200 message pairs persistent context per model
โ
ollamaNexec โ exec mode: generate and automatically execute code, bash scripts, Python โ no manual steps
โ
-url= / url= option โ fetch any web page and pass to LLM in one command
โ
PDF, DOCX, XLSX, DjVu โ auto-extracted and included in LLM context when referenced by filename
โ
urlcache โ 50-slot web page cache: load, view, refresh, merge slots for multi-source analysis
โ
Pipe mode (-p) โ chain LLM output into standard Unix pipes
โ
Image analysis โ image=path.png sends image directly to multimodal LLM
โ
Vendors: Ollama (hundreds of local & cloud models), Claude, OpenAI, Gemini
๐ Visualization โ Live GUI from CLI:
โ
ollamaNexec commands generate and runs matplotlib, plotly, seaborn and other frameworks code on the fly โ chart opens as real GUI window instantly
๐ mshell Workflow:
โ
Plain Markdown (.md) files as executable polyglot pipelines โ documentation and code in one file
โ
8 languages per pipeline โ bash, python, c, cpp, rust, go, lua, mshell โ each block auto compiled and run
โ
Inter-language variable system (Interlang) โ named variables flow between any language blocks via MSH_VAR_* files
โ
LLM directives inline (<!–@1–>) โ up to 3 models as pipeline stages, async parallel execution
โ
Full control flow: WHILE, FOREACH, LOOP, TRY/CATCH, SPLIT/MERGE, IF/routing
โ
Generative โ Materialized: LLM-driven workflows captured into deterministic, LLM-free production artifacts
๐ง Built-in GUI Apps:
โ
edi โ visual Workflow and languages editor
โ
mshell Studio โ Library Manager (per-language compilation profiles) + Knowledge Base/Validator (error pattern learning, auto-fix)
๐ฅ๏ธ Platform: Linux x86_64 ยท ARM64 โ Ubuntu 22.04/24.04 LTS, Debian 12/13, Raspberry Pi 4/5
โ๏ธ Tech stack: C ยท embedded Lua ยท GCC/G++/rustc/go/python3
๐ Art2Dec SoftLab ยท mshell Ecosystem: [https://www.appservgrid.com/paw92/index.php/2026/02/04/mshell-v-1-4-1-cheatsheet-january-26th-2026/]
#mshell #AI #LLM #Linux #Shell #Polyglot #mshellWorkflow #RaspberryPi #Ollama #Claude #OpenAI #Art2DecSoftLab #DevTools #Mathematics #Automation

