Needle

•

Offers code intelligence for large language model coding agents, enabling indexed search, symbol resolution, and compact, relevant output for development tasks.

Needle provides essential code intelligence for large language model (LLM) coding agents, dramatically reducing the number of costly API round trips. It consolidates common multi-call agent trajectories, such as searching for definitions and callers, or processing lengthy test and log outputs, into single, focused commands. With zero setup, Needle offers instant answers via an in-process fallback or low-millisecond responses from a background daemon, ensuring agents receive only the critical information they need to act, formatted relative to their current working directory.

Características Principales

01Ranked code search across names, paths, and contents using ripgrep engine
02Unified code intelligence (definitions, members, callers, tests) via one command
03Structured Git status and diffs for clear project state overviews
04Compact and filtered output for test runs, builds, and container logs under a token budget
050 GitHub stars
06Dual interface: CLI for shell access and MCP server for sandboxed agents

Casos de Uso

01Accelerating LLM agent code exploration by collapsing multiple search and read operations into a single query.
02Providing comprehensive code context (symbol definitions, references, related code) to LLM agents for efficient task execution.
03Streamlining agent error diagnosis by summarizing test failures or log diagnostics under a token budget.