Pluck

•
43
•

Optimizes code retrieval for AI coding agents by providing token-efficient, context-aware search and exploration capabilities.

Pluck is a local Rust daemon designed to revolutionize how AI coding agents interact with codebases. By replacing traditional `cat` and `grep` commands, it offers an agent-facing layer for code search that significantly reduces context window token waste. It achieves this through advanced features like AST-level chunking, a hybrid BM25F and semantic search engine, and innovative session-aware deduplication, ensuring agents receive precise, relevant code snippets while minimizing redundant information. Pluck integrates natively with the Model Context Protocol (MCP) and provides a range of specialized tools for intelligent code exploration, impact analysis, and even log compression, making AI coding more efficient and cost-effective.

主な機能

01Hybrid BM25F and Semantic Search with Reciprocal-Rank Fusion
02AST-level Code Chunking via Tree-sitter for precise context
03Session-aware Deduplication to minimize LLM token waste
04Smart Outline for files and specialized tools for call graph, impact, and dependency analysis
051 GitHub stars
06Persistent MCP-native daemon for sub-millisecond warm search and incremental indexing

ユースケース

01Enhancing AI coding agent efficiency and context window utilization
02Intelligent code exploration and dependency analysis for developers
03Reducing token consumption in LLM-powered development workflows