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-09-29
More in AI agents and LLM tools
A free desktop app where children in non-English-speaking countries practice English speaking and listening by talking with an AI companion. It can run locally and offline.
Forked 2026-09-28Last synced 2026-09-29License: MITAI agents and LLM toolsGitHub
An agent skill for Chinese patents. It helps find patentable points, write disclosure documents, explain patents in plain language, follow policy changes and assist with examination replies.
Forked 2026-09-28Last synced 2026-09-29License: MITAI agents and LLM toolsGitHub
A minimal Python library from Hugging Face for building AI agents that write and run code to solve tasks. It lets you set up capable agents in a few lines.
Forked 2026-09-28Last synced 2026-09-29License: Apache-2.0AI agents and LLM toolsGitHub
An open-source benchmark that measures how well AI agents handle realistic legal work. It provides tasks and evaluation for improving legal agents.
Forked 2026-09-28Last synced 2026-09-29License: MITAI agents and LLM toolsGitHub