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.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
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-11-08
More in AI agents and LLM tools
/last30days is an AI-agent skill for researching recent discussions across social platforms, video, news, markets, and the web. It brings scattered signals together in a synthesized brief for trend research and preparation.
Forked 2026-10-22Last synced 2026-11-08License: MITAI agents and LLM toolsGitHub
A portable C99 inference engine for running Kimi K3 on a CPU without a GPU or machine-learning framework. It streams the large checkpoint from disk to support inference with limited RAM, for batch text generation or text chat.
Forked 2026-10-21Last synced 2026-11-08License: Apache-2.0AI agents and LLM toolsGitHub
LayerFS gives AI agents writable workspaces over shared history, so they can work in parallel without copying the base. Use it to checkpoint, branch, rewind, and merge agent changes.
Forked 2026-10-21Last synced 2026-11-08License: MITAI agents and LLM toolsGitHub
Magnitude runs open models locally and tunes kernels for your hardware. Use it to connect local models to supported agents or an OpenAI-compatible client.
Forked 2026-10-19Last synced 2026-11-08License: Apache-2.0AI agents and LLM toolsGitHub