this post was submitted on 09 Nov 2026
-9 points (28.6% liked)

Programming

29278 readers
300 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
 

I've been running deep research with agents for the past few weeks on one question: what is the most promising future for cheap, fully local AI-driven software engineering?

After weeks of deep-research agent runs, the most recent and promising stack for cheap, fully local AI-driven software engineering found by 5 agents was:

Qwen4 27B + CoDoc

Turns out that the answer was David and the rock.

  1. Qwen4 27B (David). Quantized, it should fit on a single 24 GB consumer GPU. The coding capability at this size is now good enough for the bulk of day-to-day engineering work provided the agent has the right context.

  2. CoDoc (the rock). This is a proposed standard where every software library ships AI-optimized documentation inside the package itself: docs/README.md as entry point, docs/index.md as catalog, plain markdown throughout. Version-matched by construction, offline, deterministic. In the JavaScript ecosystem npm install puts the docs on disk next to the code.

According to the research agents: the bottleneck for a 27B local model is not raw intelligence, it's the context. A small model hallucinating a v5 API is a context problem, not a capability problem and CoDoc fixes the context for free.

The evidence in the white-paper points in the same direction:

  • Vercel's own agent evals on Next.js 16 APIs (absent from training data): 100% pass rate with bundled docs + an AGENTS.md pointer, vs 53% without. The on-demand "skill" variant maxed at 79% and was never even invoked in 56% of cases.
  • The unknown European IT company, Amadeus, claims that they have observed reduction in hallucinated APIs, the use of deprecated patterns and repeated correction cycles but they do not provide any rigorous evidence beyond these statements. They say that they intend to develop CoDocBench to address this gap.

Now the Goliath part. The big labs' and hyperscalers' moat was never the model: open weights are commoditizing fast. Their moat is the paid context layer: RAG pipelines, hosted doc intermediaries, MCP servers, enterprise knowledge add-ons, etc. According to the research agents: CoDoc collapses that entire layer into npm install or the equivalent in each ecosystem. A standard that makes context free, local, and version-pinned is an existential matter for anyone monetizing context scarcity.

And now the best part, the timing :) The AI bubble is popping as I type this. Goliath's capital expenditure thesis requires inference to keep getting more expensive and cloud dependency to keep deepening. With David and his rock, a decent modern laptop doing your engineering agent's job for electricity money is Goliath's worst nightmare.

The standard itself comes from an unknown European IT company, not from any lab, which is exactly why I believe it adds to its credibility (despite its lack of first-hand evidence): it has no incentive to route your context through a metered API or sell you tokens, quite the contrary, it has all the incentives to make inference as cheap as possible.

I have read CoDoc's white-paper and while it is far from perfect, I do mostly agree with the output of the research agents that picked up on Qwen4 27B + CoDoc as the most promising future for cheap, fully local AI-driven software engineering.

And you, do you think that it is game over for the AI Goliaths?

you are viewing a single comment's thread
view the rest of the comments
[–] FizzyOrange@programming.dev 2 points 5 days ago (2 children)

Pure drivel.

docs/README.md as entry point

Wow how innovative.

The big labs’ and hyperscalers’ moat was never the model

Uhm, yes it was. Open weight models are nowhere near the capabilities of frontier models. I'm guessing you didn't use a frontier model to generate this slop.

[–] igororeuzinski@lemmy.org 1 points 4 days ago

lol

Since you like guessing, let me also guess. OpenAI or Anthropic fanboy here?

[–] robertdegallan@lemmy.org -1 points 5 days ago (1 children)

You called it "pure drivel" and then quoted the one line that's a file-naming convention, not the argument... The moat in CoDoc is that the documentation ships inside the package, version-matched, offline, deterministic. Can you tell me what proportion of software libraries today ship complete AI-optimized documentation within the library's artifact? I'll wait.

And to your frontier-model guess, the models behind the research agents are: Opus 5.5 and Astra. So no, not slop.

As for "open weight models are nowhere near the capabilities of frontier models": sure, on raw benchmark scores (but they always end up catching up). Vercel's evals on Next.js 16 APIs (absent from training data) show 100% pass rate with bundled docs vs 53% without. As stated in the post, the bottleneck for a 27B local model isn't raw intelligence, it's context. CoDoc fixes the context for free. A 27B on your laptop with the right context can beat a frontier model that's hallucinating your v5 API signatures.

Keep letting the Goliaths vacuum your code, your tokens, and your money. The fizzy orange drink is on them.

P.S. Post and comment 100% written by a human, in case you had any doubts :)

[–] FizzyOrange@programming.dev 1 points 3 days ago (1 children)

The moat in CoDoc is that the documentation ships inside the package, version-matched, offline, deterministic. Can you tell me what proportion of software libraries today ship complete AI-optimized documentation within the library’s artifact? I’ll wait.

Wow what a moat. I would say maybe 50% of software already does that. For example 100% of Rust crates ship the docs with the code. In any case I don't think this really matters because AI will happily skip the docs and just figure things out from the source code, which is usually better anyway.

Vercel’s evals

Using which model? They don't say? Huh.

A 27B on your laptop with the right context can beat a frontier model that’s hallucinating your v5 API signatures.

Frontier models very rarely hallucinate anymore, and they're actually really good at writing tests now so I really doubt this.

[–] robertdegallan@lemmy.org 1 points 2 days ago* (last edited 2 days ago) (1 children)

I would say maybe 50% of software already does that.

Would you care to show some evidence, or is it a vibe?

For example 100% of Rust crates ship the docs with the code.

True, and that's actually a point for CoDoc, not against it. Rust already does the right thing. The question is what the other 90% of the whole software ecosystem is doing.

AI will happily skip the docs and just figure things out from the source code, which is usually better anyway.

Show us the evidence. Vercel's evals say the opposite: 100% pass rate with bundled docs vs 53% without, on APIs absent from training data. It got it wrong 47% of the time. The docs weren't skipped... they were the difference.

Using which model? They don’t say? Huh.

Let me save you some tokens: https://nextjs.org/evals

Frontier models very rarely hallucinate anymore, and they’re actually really good at writing tests now

How does that address a frontier-model hallucinating your v5 API signatures? Would you like to find this out at runtime and burn more tokens for the corrections?

Spoiler: If you look at the Next.js evals here you will see that even GPT 6 Astra (high) benefits from bundled documentation.

[–] FizzyOrange@programming.dev 1 points 2 days ago

Yeah so Opus 5.5 (which is what I use basically 100% of the time currently) gets 100% anyway. As do most of the other frontier models.

Would you care to show some evidence, or is it a vibe?

It's an very conservative estimate based on my experience. Almost all open source software these days keeps their docs in the same Git repo as their source. I haven't checked these, but go and look at e.g. LLVM, Git, libpng, SDL, Qt, etc. if you don't believe me.

Show us the evidence.

Nah, too much work and you wouldn't believe me anyway. I've seen it with my eyes though. Hell, frontier models are happy to reverse engineer binaries without prompting in order to get things done. Reading a bit of source code is nothing to them. (Does it violate a "no reverse engineering" license agreement if AI does it of its own volition lol...)

Would you like to find this out at runtime

No I'm not dumb enough to use dynamic typing.