News for hackers. Stuff that matters.

nielstron

Re:I gave four coding agents $100 budget to build a PDF editor on Thursday October 08, 2026 @10:28PM (#50015238)
I gave 4 coding agents a $100 budget to build a functional PDF editor. The implementations are okay, but not great: within a few clicks I find bugs in almost all of them. I hypothesize that this is partly because agents don’t interact with software like humans: they don’t pursue concrete goals and experience friction on their way, and they also just look at the UI much less. In consequence, unless we change the way LLMs operate, we will be cursed with annoying SlopWare.
Re:Evaluating AGENTS.md: are they helpful for coding agents? on Tuesday February 17, 2026 @12:27PM (#47050174)
Yes that's a great summary and I agree broadly.

Note with different prompt types I refer to different types of meta-prompts to generate the AGENTS.md. All of these are quite useless. Some additional experiments not in the paper showed that other automated approaches are also useless ("memory" creating methods, broadly speaking).

Re:Evaluating AGENTS.md: are they helpful for coding agents? on Tuesday February 17, 2026 @12:26PM (#47050160)
It could... but as pointed out by other the significance is unclear and per-model results have even less samples than the benchmark average. So: maybe :)
Re:Evaluating AGENTS.md: are they helpful for coding agents? on Tuesday February 17, 2026 @04:55AM (#47045565)
Hey thanks for your review, a paper author here.

Regarding the 4% improvement for human written AGENTS.md: this would be huge indeed if it were a _consistent_ improvement. However, for example on Sonnet 4.5, performance _drops_ by over 2%. Qwen3 benefits most and GPT-5.2 improves by 1-2%.

The LLM-generated prompts follow the coding agent recommendations. We also show an ablation over different prompt types, and none have consistently better performance.

But ultimately I agree with your post. In fact we do recommend writing good AGENTS.md, manually and targetedly. This is emphasized for example at the end of our abstract and conclusion.

Re:Evaluating AGENTS.md: are they helpful for coding agents? on Tuesday February 17, 2026 @02:06AM (#47044555)
This is life of an LLM researcher. We literally ran the last experiments only a month ago on what were the latest models back then...
Re:Evaluating AGENTS.md: are they helpful for coding agents? on Tuesday February 17, 2026 @02:04AM (#47044540)
Exactly my thoughts... the model should just auto ingest README and CONTRIBUTING when started.
Re:Evaluating AGENTS.md: are they helpful for coding agents? on Tuesday February 17, 2026 @02:00AM (#47044517)
Hey, paper author here. We did try to get an even sample - we include both SWE-bench repos (which are large, popular and mostly human-written) and a sample of smaller, more recent repositories with existing AGENTS.md (these tend to contain LLM written code of course). Our findings generalize across both these samples. What is arguably missing are small repositories of completely human-written code, but this is quite difficult to obtain nowadays.
Re:Evaluating AGENTS.md: are they helpful for coding agents? on Tuesday February 17, 2026 @01:58AM (#47044493)
Hey, a paper author here :) I agree, if you know well about LLMs it shouldn't be too surprising that autogenerated context files are not helping - yet this is the default recommendation by major AI companies which we wanted to scrutinize.

> Their definition of context excludes prescriptive specs/requirements files.

Can you explain a bit what you mean here? If the context file specifies a desired behavior, we do check whether the LLM follows it, and this seems generally to work (Section 4.3).

Re:K2-Think: A Parameter-Efficient Reasoning System on Saturday September 13, 2025 @08:30AM (#45231514)
Debunking the Claims of K2-Think https://www.sri.inf.ethz.ch/blog/k2think
Re:K2-Think: A Parameter-Efficient Reasoning System on Saturday September 13, 2025 @08:30AM (#45231512)
Debunking the Claims of K2-Think https://www.sri.inf.ethz.ch/blog/k2think
Re:Type-constrained code generation with language models on Wednesday May 14, 2025 @08:01AM (#43983472)
noted. we'll make sure to critizise turing complete type systems more thoroughly next time :))
Re:Type-constrained code generation with language models on Wednesday May 14, 2025 @04:34AM (#43982257)
Yes this work is super cool too! Note that LSPs can not guarantee resolving the necessary types that we use to ensure the prefix property, which we leverage to avoid backtracking and generation loops.
Re:Type-constrained code generation with language models on Wednesday May 14, 2025 @02:16AM (#43981409)
thank you!
Re:Type-constrained code generation with language models on Wednesday May 14, 2025 @02:14AM (#43981397)
re detecting and switching language: you could run several constraint systems in parallel and switch as soon as one of them rejects the input and another accepts it

re backtracking: a core part of this paper is ensuring a prefix property. that is there is always a legitimate completion and the model can not "corner" itself!

research needs to be done for what kind of languages and language features this prefix property can be ensured

Re:Type-constrained code generation with language models on Wednesday May 14, 2025 @02:11AM (#43981374)
the problem with LSPs is that they don't guarantee generating a type annotation that we can use for constraints, i.e. we can not ensure the prefix property using LSPs. so we had to roll our own :)

Pulling in more features to help the system is definitely worth looking into!

Re:Type-constrained code generation with language models on Wednesday May 14, 2025 @02:10AM (#43981362)
The downside is that you need to properly preprocess code, have less non-code Training Data, and can not adapt easily to new programming languages
Re:Type-constrained code generation with language models on Wednesday May 14, 2025 @02:08AM (#43981352)
we were thinking about doing exactly this, the closest current work is probably the amazing "Learning Formal Mathematics from Intrinsic Motivation" by Poesia et al (they use constraints too increase the likelihood of generating correct theorems/proofs during RL)

https://arxiv.org/abs/2407.00695