Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

Why AI Coding Agents Stumble on External Dependencies — and How a New Tool Fixes It

The Parameter 2 min read

AI-powered coding assistants like Cursor, Claude Code, and GitHub Copilot excel at navigating your local codebase, but they often fail when they encounter external open-source dependencies. Instead of using the correct APIs, they guess, hallucinate, and waste tokens in endless retry loops.

In a recent episode of The Parameter, host Henry Osborn spoke with Nathan Burg, CPO and Co-Founder of GitHits, about why this happens and how his team built a solution. GitHits creates a version-aware index of public open-source code that supplies real-time context and working implementation examples directly to coding agents via the Model Context Protocol (MCP).

"We found that model weights alone aren't enough for precise code generation," Burg explained. "Agents need to see real, compilable examples from the actual libraries they're trying to use."

The discussion covered several key insights:

  • The failure point: AI agents cannot reliably resolve dependency boundaries because they lack up-to-date knowledge of third-party APIs, especially for less popular or rapidly evolving packages.
  • The 'Vibe Coding' trap: Many developers rely on agents to write code that looks plausible but fails at runtime due to hallucinated function signatures or import paths.
  • A real-world win: Burg demonstrated how he used GitHits to force Cursor to write a working CUDA kernel in a single shot — a task that typically requires multiple iterations and manual debugging.
  • Measurable improvement: A live benchmark on an Elixir pipeline showed a 4x throughput increase for embedding pipelines when agents had access to dependency-aware context.

The episode highlights a growing challenge in AI-assisted development: as agents become more autonomous, their inability to handle external dependencies becomes a critical bottleneck. GitHits' approach — building a structured, versioned index of open-source code — may point the way toward more reliable AI coding tools.

React