---
title: "More problems"
description: "The post outlines research problems for the next phase of AI programming, centered on making coding systems predict actions, perform larger edits, understand codebases, and debug software. Proposed directions include low-latency next-action models for keystrokes, locations, files, terminal commands, and edits; background execution for “perfect edits” and pseudocode compilation; and multi-file changes supported by stronger tool use, reasoning, and agent trajectories. For context, retrieval alone is described as insufficient for codebase questions requiring multiple hops, while useful context may span documentation, source, history, UI pixels, logs, and messages. The post recommends combining retrieval, recurrence, and long-context attention, alongside specialized rerankers, multi-hop embedders, caching, and codebase-level retrieval. For reliability, it proposes calibrated bug detection, always-on AI linting, runtime-state tracking through cursor/debug, and improved debugger tool use, while noting trade-offs involving latency, false positives, infrastructure, and user experience."
---

# More problems

[Cursor](https://yomu.fyi/company/cursor) · Aman Sanger · May 25, 2024

**Type:** Explainer

## Summary

The post outlines research problems for the next phase of AI programming, centered on making coding systems predict actions, perform larger edits, understand codebases, and debug software. Proposed directions include low-latency next-action models for keystrokes, locations, files, terminal commands, and edits; background execution for “perfect edits” and pseudocode compilation; and multi-file changes supported by stronger tool use, reasoning, and agent trajectories. For context, retrieval alone is described as insufficient for codebase questions requiring multiple hops, while useful context may span documentation, source, history, UI pixels, logs, and messages. The post recommends combining retrieval, recurrence, and long-context attention, alongside specialized rerankers, multi-hop embedders, caching, and codebase-level retrieval. For reliability, it proposes calibrated bug detection, always-on AI linting, runtime-state tracking through cursor/debug, and improved debugger tool use, while noting trade-offs involving latency, false positives, infrastructure, and user experience.

## Context

The post identifies problems for the next phase of AI programming: coding systems must better predict user actions, generate larger and multi-file edits, retrieve and connect information across codebases, and detect and debug bugs without excessive false positives or latency.

## Approach / What changed

The proposed approach combines next-action prediction, background and asynchronous code generation, stronger editor-specific tool use, inference-time compute, retrieval, recurrence, long-context attention, multi-hop retrieval, specialized rerankers, runtime-state tracking, and improved model training for debugging and codebase understanding.

## Takeaways

- Copilot++ is being extended toward next-action prediction for locations, files, terminal commands, and edits, including sequences of low-entropy changes such as repeated tab presses.
- The post argues that difficult codebase questions require multi-hop retrieval and proposes training multi-hop embedders, improving rerankers, using prefix caching, and researching codebase-level retrieval.
- Always-on AI linting would need to be cheaper and faster than AI review, run several times a minute, and use a lower false-positive rate; debugging could add runtime variable-state information through cursor/debug.

**Tags:** [AI](https://yomu.fyi/topic/ai), [Debugging](https://yomu.fyi/topic/debugging), [LLMs](https://yomu.fyi/topic/llm), [Retrieval-Augmented Generation](https://yomu.fyi/topic/retrieval-augmented-generation)

- Source: [Cursor](https://cursor.com/blog/problems-2024)
- Source URL: https://cursor.com/blog/problems-2024
- Ingested by Yomu: 2026-09-02T11:54:45.834Z

[Read original post](https://cursor.com/blog/problems-2024)
