Skip to content

Repository files navigation

sgrep

Local lightning-fast semantic code search built for agents

License: Apache 2.0

Quick Start

curl -fsSL https://raw.githubusercontent.com/rika-labs/sgrep/main/scripts/install.sh | sh
sgrep index
sgrep search "where do we handle authentication?"

What sgrep does

  • builds a local semantic index for your repository
  • searches code with natural-language queries
  • keeps the index fresh with sgrep watch
  • works well for private and offline-friendly workflows once the model cache is warm

Documentation

Guide Description
Quick Start Get searching in a few minutes
Deployment Running sgrep locally
Configuration Flags, env vars, and config files
Agent Integrations Claude Code, Codex CLI, Pi, OpenCode, Factory
Offline Mode Airgapped and proxy environments
Architecture How indexing and search work
Troubleshooting Common local issues

Integrations

Install any agent with one command:

curl -fsSL https://raw.githubusercontent.com/rika-labs/sgrep/main/scripts/install-agents.sh | sh -s claude

License

Apache License, Version 2.0. See LICENSE.

About

Local lightning-fast semantic code search built for agents

Resources

Stars

42 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages