rawq: Local CLI Tool for AI Agent Semantic Code Search

What rawq does
rawq is a local CLI tool that helps AI agents find relevant code without reading entire files. It uses semantic search to guide AI agents to specific code parts instead of whole files, letting them use read/grep on the right files. The tool is not RAG nor a replacement for read/grep.
Technical implementation
rawq uses a 33MB local model by default that works via ONNX runtime for semantic search, combined with BM25 lexical search via tantivy. The tool supports tree sitter code chunking for 16 languages and works on any GPU thanks to ONNX with DirectML, CUDA, or CoreML, with automatic CPU fallback.
Performance and features
In testing, AI agents that were using rawq consumed 4x fewer tokens and completed tasks 2x faster compared to blind read/grep tools. rawq also has a map command that shows the structure of a codebase.
Development details
The tool is written in Rust, fully open-source, and released under MIT license. It's available on GitHub at https://github.com/auyelbekov/rawq.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Hippo v0.21.0: Biologically-Inspired Memory for AI Agents with Multi-Tool Support
Hippo v0.21.0 introduces one-command setup for multiple AI coding tools including Claude Code, OpenCode, OpenClaw, Codex, Cursor, and Pi. The memory system features decay, retrieval strengthening, and consolidation with zero runtime dependencies.

Workflow orchestrator with AI CLI integration for sysadmin tasks
A developer built a file-based workflow orchestrator called 'workflow' that integrates with Claude Code, Codex CLI, and Gemini CLI. It generates, updates, fixes, and refines YAML workflows from natural language descriptions for sysadmin tasks.

WebClaw: Open-Source MCP Server for Web Extraction with Claude
WebClaw is an open-source MCP server built with Claude Code that provides web extraction tools for Claude Desktop and Claude Code, solving Claude's built-in web_fetch limitations with TLS fingerprinting and content optimization.

MCP Server Directory Lists 1000+ Servers Across 20 Categories
A curated directory provides install commands and config snippets for over 1000 MCP servers across categories including databases, developer tools, browser automation, AI/ML, and cloud/devops. The directory is free to browse and submit to.