MADSHELL was inspired by the gap between users’ growing needs to leverage command-line tools and the complexity of mastering CLI syntax. We wanted to create a terminal that feels intuitive for users of all experience levels, using natural language processing to bridge this gap.

The project integrates a fine-tuned Databricks model to translate natural language queries into accurate shell commands, allowing users to perform file, project, and system operations by typing commands as they think of them. MADSHELL autonomously execute commands, even providing support for chained commands.

Building MadShell required in-depth knowledge of Electron for desktop app functionality, xterm.js for terminal emulation, and careful orchestration of AI model calls and user interactions.

Throughout the process, we learned to optimize IPC communication with Electron and adjust NLP prompts to maximize accuracy. Our biggest challenge was fine-tuning our model to be incredibly lightweight yet accurate. Using a CLI requires speed, and writing to a user's machine means it must work accurately. We were able to create an experience just as fast as the traditional terminal with high levels of accuracy.

Built With

Share this project:

Updates