{"schemaVersion":"opencli.cli.v1","slug":"rg","name":"ripgrep","shortName":"rg","binaryName":"rg","maker":{"slug":"burnt-sushi","name":"BurntSushi","type":"individual","url":"https://github.com/BurntSushi","officialPlatformMaker":false,"featuredBuilder":true},"category":"Shell Utilities","description":"Code search, fast grep, and agent codebase scans from the terminal. Built by BurntSushi.","tagline":"Code search, fast grep, and agent codebase scans from the terminal.","install":{"packageManager":"brew","command":"brew install ripgrep","packageName":null,"npmPackage":null,"brewFormula":"ripgrep","brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"rg --version","signal":"ripgrep responds and can search local files."},"quickStart":"rg TODO src","exampleWorkflow":["rg TODO src"],"agent":{"readiness":{"label":"Usable with guardrails","score":50,"reasons":["Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output."]},"packUrl":"https://opencli.co/cli/rg/agent.md","packMarkdown":"# OpenCLI Agent Pack: ripgrep\n\nUse this when an AI agent needs to work with `rg`.\n\n## What this CLI is for\nCode search, fast grep, and agent codebase scans from the terminal. Built by BurntSushi.\n\nBest for: code search, fast grep, and agent codebase scans from the terminal.\n\n## Agent readiness\nUsable with guardrails (50/100)\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nbrew install ripgrep\n```\n\n## Verify before real work\n```sh\nrg --version\n```\nExpected signal: ripgrep responds and can search local files.\n\n## Safe starting commands\n```sh\nrg --version\n```\n\n```sh\nrg TODO src\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n\n## Suggested agent instruction\nYou may use ripgrep (`rg`) for code search, fast grep, and agent codebase scans from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"code search, fast grep, and agent codebase scans from the terminal.","useThisIf":"You need shell utilities in both local dev and CI.","skipIf":"You don't work with shell utilities.","whatHappensNext":"Run `rg TODO src` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":true,"localFirst":false,"destructivePotential":"low"},"taxonomy":{"useCases":["Code search","Fast grep","Agent codebase scans"],"aliases":["ripgrep","grep"],"keywords":["search files text codebase"],"tags":["builder","shell-essential","agent-friendly","ci-friendly"]},"links":{"website":"https://github.com/BurntSushi/ripgrep","github":"https://github.com/BurntSushi/ripgrep","docs":"https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md","opencli":"https://opencli.co/cli/rg","markdown":"https://opencli.co/cli/rg/agent.md","json":"https://opencli.co/cli/rg.json"},"metrics":{"githubStars":64917,"latestRelease":"2026-06-05T11:03:14Z","license":"Unlicense","metricLabel":"Homebrew installs (30d)","metricValue":71248,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:41.513Z"}}