r/PiCodingAgent • u/aldapsiger • 1d ago
Discussion Another alternative to Pi, currently in beta
To be clear, no hate or issues with Pi. But if for some reason you're looking for an alternative, you might find Tuse interesting.
Tuse is just as minimalistic. But it's written in Rust and runs on Lua configs. Tuse is like nvim/the Linux kernel: a super thin core that nonetheless works without problems, benchmarks the same as Pi, but has orders of magnitude more features out of the box.
But the real power is the Lua configs. I really tried to design it so that we can build anything you want on top of Tuse. Your own compression, your own subagent system, your own orchestration, and so on.
Everything in the UI can be changed, you can subscribe to every event in the app, you can create your own commands, prompts, functions for the agent, and so on. And all of it is not a huge TS codebase but 10-20 lines of Lua config.
I hope you like it, share your ideas, there's a lot more planned. If the user base grows, the first thing I want to build is a package manager)
5
u/bitzap_sr 23h ago
> Skills are an over-engineered name for reusable prompts. Add one to your config:
> ...
> Then type #showme in the TUI.
Huh. No, I never invoke a skill manually myself. Skills are auto-loaded by the agent based on their description.
Hard pass for me.
3
u/aldapsiger 22h ago
it is 20 lines of lua code to implement auto-loaded skills system in Tuse, so it is not a blocker
But I really recommend to try prompt system in Tuse, #prompts also can take args, so you can dynamically create the exact context your agent needs for your intent
2
u/bitzap_sr 22h ago
That does not correct the "an over-engineered name for reusable prompts" claim, which is wrong given the use case I just described.
2
u/Asleep_Literature_70 19h ago
It looks interesting but honestly some horrible design decisions, mcp, plugins and skills specifically, even if there are workarounds.
1
u/aldapsiger 13h ago
What is horrible about it? Skills/MCP aren’t native LLM thing, that is why I don’t want to see them as the core of Tuse. I let everyone implement their version of skills/mcp in 20-30 loc
1
u/Asleep_Literature_70 10h ago
They are a "standard" now more or less, you're asking everyone to reinvent the wheel every time they use your app.
1
u/selenosmile 6h ago
+1. LLM's are trained to be able to use skills or better mcp tool calls. It's a part of the LLM ecosystem now.
9
u/Complex-Birthday-216 22h ago edited 22h ago
good luck. IMO it has potential, but I simply not ready to invest rewriting my pi plugins yet.
also, from my experience, software is feature first, performance later and I'm convinced it's gonna take time to optimize it if ever to be better than pi, consuming less memory when a large session is active.
give you a start anyway
edit:
I take my words back. you don't read the code and I'm convinced it can't be any meaningful quality. it has 28k LoC Rust.
I work on a project for a year, it has 30k lines. Again, took me a year to bloat it to that size.
Yours took you a week for prompting
1
u/cuberhino 18h ago
Could you give any advice on pi config? Or where to start? I’m tired of codex and Claude harnesses running my operations
1
u/Complex-Birthday-216 12h ago
Not really, add on demand what you need, but can look at my extensions. Ask me more if any plugin confuses you.
1
u/McBobrow 7h ago
soon going to release my PHPI agent, the pi rewrite in PHP, and you are all going to be amazed!!
2
1
1
1
u/jruz 1d ago
I was about to build this myself now that they went the opencode route, will take a look.
3
0
u/nerdoubt 1d ago
how to use opencode go subs?
0
u/aldapsiger 1d ago
install it with the script in README. Then: `tuse connect --name opencode-go --base https://opencode.ai/inference/go/openai/v1 --api openai-chat --key '$OPENCODE_API_KEY'`
0
u/nerdoubt 1d ago
0
u/aldapsiger 1d ago
Oh, I forgot about this...
I didnt implemented custum headers yet, maybe today/tomorrow i will ship a patch for it. For now you can ask your opencode to make a small proxy, so you can try Tuse with it, thank you
0
u/aldapsiger 1d ago
or use CliProxyAPI, not just for Tuse, for everything. It is a bit unsafe to give your API key to unknown app from GitHub
0
0
u/abecodes 1d ago
It reads not bad. Pi - unfortunately - is going into a very weird direction. Minimal core, extendable, script- and config driven sounds great. Time to brush up my lua skills. Hope to give this a spin before the year ends.
-1
u/firebat-66 1d ago
Are you the developer of this? If you decide to implement cordis with this, I would be VERY interested in working on a project with a Cordis implementation...
-2

3
u/hifanxx 1d ago
interesting, but too bare. lua config is intriguing, especially for us neovim users, but the forced external proxy dependency means that it’s not a complete product, yet.