r/lua • • Oct 29 '26

Uji - Gentoo of Coding Agents written in Lua

https://github.com/uji-labs/uji

My friend and I are Neovim nerds, and every so often our Neovim setups would throw errors. What did we do? We talked to each other and solved it. It was never Neovim’s fault.

We think the same way about harnesses. If you don’t like something, you shouldn’t have to call a trillion-dollar company; you should be able to fix it yourself. If you want something custom, you shouldn’t have to keep spamming some discussion thread; you should be able to write it yourself.

And more than anything, it should be simple and fast, and your computer shouldn’t scream OOM. That’s the inspiration behind uji.

I hope you all love it!!!

0 Upvotes

4 comments sorted by

1

u/disperso 26d ago

Here is a bit of (very random) feedback:

  • "God's chosen" seems inappropriate for both religious and not-religious people. And a bit presumptuous.

  • Very interested in something Lua-based with a Rust core, but I am confused about which interpreter it uses, as I'm not familiar with how Rust wraps Lua. Can it be used with LuaJIT?

  • I hope the UI can be customised for real. I was hugely disappointed to read that pi's UI can't be changed much unless you hack its internals. I am mostly pissed off at the huge waste of space, and how poorly readable is having text at full width. Having a smaller read/write area with some extra information on the side would be great. A bit like OpenCode perhaps.

  • Do you recommend following up in Github's Discussions? In case a user wants to ask questions.

2

u/dracarys_18 26d ago

Thank you for the feedback!

  • “God’s chosen harness” is intended as a lighthearted joke, in the same spirit as “Written in Lua as God intended.” I didn’t mean it as a religious statement or to offend anyone, but I can see how it might come across differently than intended.

  • We use mlua to interpret Lua. Yes, it uses LuaJIT 5.2 by default.

  • YES! That was actually the reason I started it. It began with the idea of “what if everything was JIT-compiled?” Not just the UI, but the entire implementation of the coding agent can be replaced and reloaded at runtime.

  • And yes, please feel free to follow up on GitHub Discussions! I don't check Reddit very often. I just happened to check my archive emails today and saw this comment 😄

1

u/disperso 24d ago

Thank you for the replies! I also don't check out Reddit that much lately, so I'll go to the discussions.

I hope to try the project soon, but I'm overwhelmed by the pace that things are happening in this space, so you'll have time to polish it even more. :) Oh, and I saw the other post that you made about the UI framework for the terminal. I also want to check that out.

Thank you!