Skip to main content

vibegrep

grep, but the search engine is an LLM.

Install

pip install vibegrep  # or: uvx vibegrep

Setup

export VIBEGREP_API_KEY=<your-api-key>
export VIBEGREP_BASE_URL=https://<openai-compatible-api>/v1
export VIBEGREP_MODEL=<a-fast-and-affordable-model>

Usage

vibegrep "security vulnerabilities" src/
vibegrep "error handling" . -g "*.py"
vibegrep "authentication logic" src/ --depth 2 -j 5

Options

QUERY                 search query (required)
PATH                  search path (default: .)
--depth 1|2           directory depth (default: 1)
-j NUM, --threads NUM concurrent requests (default: 10)
-g GLOB, --glob GLOB  file filter (e.g. '*.py')
--model MODEL         override VIBEGREP_MODEL
--dry-run             preview batching without calling API

Output

TTY:

src/auth.py
 42│     password = request.form["password"]
 43│     db.execute(f"SELECT * FROM users WHERE pass='{password}'")

 67│     os.system(user_input)

Pipe:

src/auth.py:42:    password = request.form["password"]
src/auth.py:43:    db.execute(f"SELECT * FROM users WHERE pass='{password}'")

License

MIT

Metadata

Release files for vibegrep 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vibegrep 0.3.0
File Size Uploaded
vibegrep-0.3.0.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vibegrep 0.3.0
File Interpreter ABI Platform
vibegrep-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / vibegrep-0.3.0.tar.gz

Download URL vibegrep-0.3.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
627971258be8ac7781ca6ef1de56b5d929a1ee77229bb09ad6c80eac0ae65913
BLAKE2b-256 checksum
How to use checksums
b9bdfd2b671ae05de8c5e1fdaf945ca6936ae56a209548946b9af8ae24f30add
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / vibegrep-0.3.0-py3-none-any.whl

Download URL vibegrep-0.3.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b23f0231033c6e8fa497f4feb4486effcd75e1b86267f2b75c12325ce89b5af0
BLAKE2b-256 checksum
How to use checksums
93dfcb762d02ed661087b9d5d655a58719d9f8162641eb7d05c2acf141a2ad7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page