osgrep
A local semantic code search tool that works like grep but takes natural-language questions. It is built to help coding agents find relevant code faster and with fewer tokens.
Share on XLicense: Apache-2.0
Overview
osgrep is a local semantic code search tool that works like grep but accepts natural-language questions. It is built for coding agents, helping them find relevant code with fewer tokens. Embeddings run locally through onnxruntime-node, and each repository gets its own index that is created on the first search. You install it with npm and search from inside a repo.
Key features
- Finds concepts such as where authentication is handled
- Call graph tracing with the trace command
- Labels code roles such as orchestration and definition
- Fully local embeddings, with a separate index per repository
- Output includes symbols, roles and call graphs for agents
Best for
Developers and coding agents that need to find code by meaning in a repository. Embedding models of about 150MB are downloaded during setup or on first use.
- Upstream
- Ryandonofrio3/osgrep
- Fork on GitHub
- Guo-astro/osgrep
- Upstream stars
- 1.1k
- Category
- AI agents and LLM tools
- Language
- TypeScript
- License
- Apache-2.0
- Forked
- 2025-11-23
- Sync status
- In syncLast synced 2026-10-10
More in AI agents and LLM tools
An open-source curriculum for learning AI engineering by implementing model internals, retrieval pipelines, and agent runtimes. Study through lessons, interactive labs, or staged coding projects, and inspect the code and evaluation results.
Forked 2026-10-09Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub
A small, hackable character-level language model that learns patterns from line-based text files and generates similar items, such as name ideas.
Forked 2026-10-09Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub
uzu is an inference engine for running AI models in apps, helping developers keep inference on-device instead of relying on remote services. Use it to download a model and build chat features.
Forked 2026-10-09Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub
Anti Slop gives AI coding agents rules to avoid generic UI, filler text, and AI-shaped code. Use it as a filter alongside your own design direction.
Forked 2026-10-08Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub