Hi everyone!
I've been working on AI for a little while!
Apologies to those of you who noticed that by being github-spammed by me, that was entirely unintentional.
I've been making so many little useful everyday tools that when Anthropic ran out of compute for Claude Code, I decided to make my own claude-code-alike. How hard could it be?
Well, turns out it's a lot harder than I thought it would be- duh- but I have a useful version of it working right now.
This is pretty alpha, and it only has basic safety- obvious stuff like rm -rf my-precious.txt gets stopped. But it does work. Especially with more advanced open source AI like the GLM 5.1 model (I took the plunge and signed up directly from z.ai) it works really well. It works so well i was able to dogfood and write large parts of 3code using 3code.
An exciting part is that nvidia's gpt-oss also works really not that bad at all, and is fast- and free (while it lasts). So with 3code, you can have free AI coding (for now).
It's all a bit rough around the edges for now and I'm working primarily on testing right now, but I decided I'd share what I have 'as is' after I noticed going further would require quite a bit of overhaul. It's basically vibe-spaghetti-code and fixing that is exactly where I noticed the open source models failing- and the 'big shot' models just barely being useful.
Turns out it pays to structure your code well even if AI is writing it for you. Who knew!
If you feel like it- give it a whirl. I use it on my normal machine and haven't had any deletion issues, but I do take very good backups- so if you don't, by all means use 3code as an excuse to start taking very good backups! There's also various sandboxes you can use, but I found failure isn't that frequent, so I'm fine with my approach.
So basically the reason to use 3code- except that it's written in Nim and is tiny- is that it's designed to get out of the way. Most coding agents, I found, are gimmicky- designed to be the 'next greatest thing' and don't worry that much about basics. I ruled out some because of inflated system prompts, while others were nice but felt like weird philosophical exercises. 3code is no investors, no bets on the future, no gimmicks- just my take at making coding with AI as simple as possible.
Feedback is very welcome!
I use it on my normal machine ...
What is your hardware?
I think so!
If you start it with experimental mode you can enter your own URL.
3code -x
:provider add
api key : **********************
url : https://api.openai.com/v1
Not sure about Claude though.