Urgent.News

What's breaking now, across thousands of outlets.

Tech

Grep beats LSP? Why coding agents ignore your fancier tools

A recent study comparing code-finding and editing tools revealed interesting insights about the preferences of coding agents. The research measured token use and task success when using either grep or LSP-backed semantic navigation. Initially, the agent favored grep but sometimes chose the semantic path, even when it resulted in lower success rates.

The tool's interface and output shape were crucial factors in a model's decision-making process. A model's ability to use tools effectively is not solely based on precision; it also depends on how much context the tool provides and how well the interface allows the model to use that context directly. The study also found that the codebase's noise level influenced the value of semantic navigation.

On a clean repository, semantic navigation provided no significant advantage and used more tokens than grep. However, on a noisy repository, semantic navigation improved the F1 score by 0.246 and reduced token usage by 12%. The output shape of the LSP tool mattered significantly. When the semantic navigation tool returned source text alongside location data, the agent's performance improved.

This highlights the importance of designing interfaces that are familiar and easy for models to understand, as well as providing sufficient context for the next step in the task.

Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at agentconnect.md →

More in Tech

LEGO PlayStation Set Gets Official Reveal

Back in March, we saw leaks pointing at a LEGO and PlayStation collaboration. Now, the product of that collaboration has gotten its official announcement. This comes in the form of the first generation PlayStation console, plus one of the original pre-DualShock controllers with no analogue sticks.

Python PDF Archiving: 5 Checks for Fidelity, Latency, Privacy, and Retention

Short answer: for a US/EU SaaS archiving completed education forms, use an explicit fill job, require a flattened PDF as its output, and accept a provider only after representative files pass…

  • Provider must support explicit fill jobs generating flattened PDFs
  • Verify fidelity, latency, privacy, retention, and replay checks
  • Implement strict input validation with stable record ID for idempotency

Protótipos: como a herança realmente funciona no JavaScript

Introdução Muitas linguagens como C#, Java, entre outras são descritas como orientadas a objeto, possibilitando o paradigma Programação Orientada a Objeto (POO).

  • JavaScript is often described as prototype-based, not class-based like C# and Java
  • The .prototype property of constructor functions allows sharing methods among all instances

Is the Chip Supercycle Here to Stay?

Semiconductor industry executives share their insights with Bloomberg on the sidelines of the SEMICON Taiwan 2026 in Taipei, weighing in on the AI-driven chip supercycle and its sustainability. (Source: Bloomberg)

More from Friday 4 September →