# Ryandonofrio3/osgrep

Open Source Semantic Search for your AI Agent

Repository: https://github.com/Ryandonofrio3/osgrep
Canonical: https://ross.abutalabs.com/products/osgrep
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: colbert, embeddings, grep, grep-search
Last push: 2026-01-17T19:45:10+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 62, release rhythm 60, longevity 20
- inputs: {"age_days": 285, "days_push": 228, "days_rel": 267, "gap_med": 0, "n_releases_24m": 48}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1139, forks 67 (observed 2026-08-28T04:03:44.280708+00:00)

## What it is
osgrep is a local, grep-like semantic search CLI for codebases, built for AI coding agents. It uses local embeddings (ColBERT via onnxruntime-node) to answer natural-language queries and trace call graphs, with plugins for Claude Code and OpenCode.

## Use cases
- semantic code search with natural language queries
- find where authentication is handled in a codebase
- trace function call graphs for impact analysis
- reduce LLM token usage when agents explore code
- index repositories locally for private code search
- list symbols and code roles in a project

## When to choose
- you want grep-style speed but semantic, concept-level code search
- you need fully local, private embeddings without cloud APIs
- you use Claude Code or OpenCode and want agent-ready search output
- you need call graph tracing and symbol role detection

## When to avoid
- you only need exact string matching that plain grep already handles
- you cannot spare ~150MB for local embedding models
- you need cloud-scale search across many remote repositories

## Facets
- artifact type: cli-tool
- maturity: active
- function: search-engine, cli, rag, parser
- domain: developer-tools, large-language-models
- platform: cli, cross-platform
- tags: semantic-search, code-search, grep, colbert, local-embeddings, onnx, claude-code, call-graph, agent-tools, command-line, ai-agents, search, nodejs

## Member repositories
- Ryandonofrio3/osgrep (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.280708+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:35:50.757876+00:00, confidence not recorded.
  - readme: https://github.com/Ryandonofrio3/osgrep (fetched 2026-08-28T04:03:44.280708+00:00, sha 07f5b59dcb75)
  - registry_npm: https://registry.npmjs.org/osgrep (fetched 2026-08-29T12:40:59.538585+00:00, sha 81bf8f606d20)
- Data as of 2026-08-30T08:39:29.467469+00:00.
