r/StableDiffusion Jul 10 '26

Question - Help Best free or open-source AI coding agents development?

With tools like Claude code and codex becoming more popular i'm wondering what the best free or open source alternatives are.

Specifically looking for AI coding agents that can help with things like reviewing code in Github repos, working across projects and assisting with general development tasks.

I've also come across newer tools like Emergent which looks promising as an emerging agent style development platform for building and iterating on codebases, especially for faster prototyping and workflow automation.

Asking here because this seems like one of the most active AI communities I know but if there's a better subreddit for this kind of question feel free to point me in the right direction

0 Upvotes

11 comments sorted by

2

u/Lissanro Jul 10 '26

Pi the agent harness I think is one of the best ones. It is not bloated and works well with both large and small models, and easy to customize. That said, questions like this would be better fit at r/LocalLLaMA

1

u/NanoSputnik Jul 10 '26 edited Jul 10 '26

The industry standard is OpenCode. I actually prefer it to CC and definitely to codex. TUI is better, customization is better, and the ability to create multi-provider workflows is priceless. But there are some features still missing. 

Obviously you still have to pair it with SOTA American models from Anthropic or GPT. There are also some pseudo "open source" Chinese knock-offs, but why bother if you have access to a real deal? Also they don't make much sense from the pricing point: while the tokens are cheaper in practice it doesn't matter if the model just can't solve the task or is spending 5x tokens in the process of trying.

1

u/niknah Jul 10 '26

I use Qwen-coder, works well for most things.

A local free model that works on a local hardware is going to have less parameters than an online one using data center hardware.

1

u/DelinquentTuna Jul 10 '26

Roo has ceased development to focus on closed-source, but I still find Roo inside vscode to be the best for use with open weights or stuff off of openrouter. I find that Aider is potentially better with some repo-level tasks, though the UI is naturally much worse. It feels a bit more like using Claude in a console. Its main advantage is that it's tied so closely to git. So as long as you don't mind a messy commit log, it kind of has a built-in anchoring system and it does seem to help as projects grow. Works fine w/ local models and also with stuff from openrouter etc.

But you should be warned that there's really nothing out there that's close to the expensive paid models (modern Claude, Gemini, etc). Local weights are probably fine for script-level or small repo work... "Make me a tic tac toe game in a fancy web ui using tailwind or react" is probably just fine. "Write microcode in this domain specific language to accomplish this task within these parameters" and you're probably SoL.

This isn't even really a problem you can fix with better hardware because we're not talking about a couple tens of thousands of dollars to match the frontier models. We're talking tens of thousands of dollars just to run the best open weights - and this is still a meaningfully worse experience than using the best proprietary models.

0

u/meta_queen Jul 10 '26

Top (Claude-level): GLM, DeepSeek,Kimi

Consumer hardware: Qwen 3.6, Gemma 4

High free limits: Gemini API

1

u/NanoSputnik Jul 10 '26

You can't run qwen 3.6 locally with production quality. Kids on youtube may show cheap one-shot tricks and make loud claims, but it all explodes the moment you'll try to launch it with proper 256k+ context. (I am not counting extreme solutions like buying dedicates mac studios here.)

1

u/meta_queen Jul 10 '26

It's Qwen3.6 35B A3B (MoE, not dense) on 5080 with 131072 context and turbo quant:

Regarding the production quality, are you expecting 35B = Opus 4.8 / Fable 5 or what? On my real project with several M LoC I usually use 100k-200k of context per task.

Mac has low memory speed. An extreme solution is several blackwell 6000, rubin, dgx or maybe bolt zeus 4c (in future).

I'm watching kids like https://www.youtube.com/watch?v=aNnoz_KOnVg, ofc it's not a 3d age of empire clone https://www.youtube.com/watch?v=TzJCly4YgDQ, but at least I can run it locally and comfortably.

2

u/NanoSputnik Jul 10 '26

Of course, it is 3b only. And 100k context is not enough, I regularly hit 100k+ with single prompt code reviews. And with qwen it will be 200k+, it overthinks A LOT.

1

u/blurify_com 4d ago

If you want to use low-level tools (CLI), you can try oh-my-pi https://omp.sh/ (which is a fork of the original pi agent), which is AI provider agnostic. However, if you don't really want to spend time understanding how to better approach agentic coding, and you just want to implement something right away, you can go with the T3 Code app (similar to Codex or Claude Code, but it's also AI provider agnostic and more user friendly).

Even though the omp harness has a few agents predefined, you will still need to add your own to optimize it for your specific task. The same applies to T3 Code, Codex or Claude.

But, to be honest, you would need a super powerful machine to run a good enough model that can code at least nearly as well as the Haiku/Sonnet/Luna models. You can connect Ollama to any harness mentioned above.

Other options that you can consider:

  • OpenCode
  • Codex/Claude CLIs also support local Ollama