MSHELL โ€” a next-generation Unix shell for AI-assisted development and mathematics.

๐Ÿš 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

Leave a Reply

Your email address will not be published. Required fields are marked *

WP2Social Auto Publish Powered By : XYZScripts.com