Lexis banner

Lexis

6 devlogs
12h 10m 14s

(SHIP MESSAGE IS OUTDATED: WINDOWS NOW WORKS COMPLETELY) Talk to your terminal! Lexis translates english into platform-aware shell commands with risk checks before execution. It also has a web search MCP so it can install tools like yarn, brew, pn…

(SHIP MESSAGE IS OUTDATED: WINDOWS NOW WORKS COMPLETELY) Talk to your terminal! Lexis translates english into platform-aware shell commands with risk checks before execution. It also has a web search MCP so it can install tools like yarn, brew, pnpm, hackatime etc.

Demo Repository

Loading README...

Hridya (try stardance utils, channel for updates)

Fixes & improvements

  • I did some further edge case fixes for mlx
  • This included bigger timeouts for slower internet, custom npm caches etc.
  • I switched to ollama for windows cause llama.cpp was unstable and not working.
  • I also added a nice download indicator progress bar during setup for the model, for user to see how it is getting along.
Attachment
0
Hridya (try stardance utils, channel for updates)

Shipped this project!

Hours: 11.02
Cookies: 🍪 346
Multiplier: 26.11 cookies/hr

Have fun playing around with this! Personally i think this is one of my coolest projects!
If you want to exit for 1 terminal after installation, type exit, and if you want to uninstall just type uninstall or lx exit/lx uninstall.
Note: Balanced model is only about 4-5gb so they’re not huge models and if your laptop is not a potato you can run this. I have seen some instability on windows, which will be fixed in upcoming devlogs.

Hridya (try stardance utils, channel for updates)

Fixes

Just a load of fixes. Uninstall removed the model caches properly now, Intel chip macs now use llama.cpp instead of MLX like they would’ve before. A lot of setup/installation bugs fixed for mac/windows, Hooking into older powershell versions, Did a lot of code refactoring to make providers as 1 source of truth to prevent start args being messed up for different providers and such.

Attachment
0
Hridya (try stardance utils, channel for updates)

VLLM/MLX/Llama.cpp, Website Revamp

  • Ollama is now removed, and i have implemented support for MLX, vllm, llama.cpp. Llama.cpp is used for windows & linux. MLX obviously for mac, and vllm if a linux user has a nvidia gpu. This has shown considerable speed improvements in my limited testing.
  • Script has been improved quite a bit, to have fallbacks for like everything, so it auto installs brew/npm/python/pip etc if you don’t have it instead of failing.
  • I also removed double model review because it’s ineffective + its extra storage space for user.
  • Revamped website to have a bit more soul
  • Made uninstall also remove the model
Attachment
0
Hridya (try stardance utils, channel for updates)

Revamped website + fully functional with a lot more tweaks

  • Secondary bigger model for review of “critical” risk plans
  • Fully functioning web search, and lexis is now able to install tools like yarn, npm etc for user automatically.
  • Install script for unix/windows now exist and work.
  • Fallbacks added for when ollama daemon isnt running, and auto ollama install/serve etc.
  • Help command added along with exit for unhooking lexis from just that terminal, and uninstall for removing completely.
  • Made some improvements overall with parsing and system prompt
  • Added support for users who dont want every terminal to be hooked on by lexis, so they can use it like lx command
  • Changed website to talk to your terminal i think fits better, put install scripts into it, updated the showcase part.
Attachment
0
Hridya (try stardance utils, channel for updates)

The CLI!

  • so i worked on install scripts, they’re functional with recommendation of light/balanced/heavy models, setup of web search MCP etc.
  • The auto-attach into every terminal is also functional along with the run of them as well.
  • Web search works, but system prompt doesnt enforce it much so it’s still WIP.
  • Currently models are base qwen-coder not finetuned or such, i am not sure if it is worth doing i’ll run some evals.
  • It is also a bit slow about 4s for a normal query, and about 15-20s for a tool install, so i want to optimize further.
Attachment
0
Hridya (try stardance utils, channel for updates)

The website!

Worked on the website, went for a swiss minimalist sorta style. I think it looks great. Now to work upon the model itself, i gotta figure out a bunch of things thumbs-up like base model, dataset to specialize, set it up with the script, give it web search mcp so you can say things like setup hackatime.

Attachment
0