{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "prapaa-ai-agav--non-interactive-code-review-in-ci",
 "repo": "prapaa-ai/agav",
 "repo_url": "https://github.com/prapaa-ai/agav",
 "repo_slug": "prapaa-ai-agav",
 "title": "Run a scripted code review in CI",
 "page_title": "How to run a scripted code review in CI with Agav",
 "summary": "Call Agav run from a pipeline to review a folder and produce output a script can read.",
 "who": "A CI maintainer who wants an automatic review step on code in a project folder for each build.",
 "problem": "Manual review of every change does not scale, and interactive tools do not fit a pipeline.",
 "outcome": "The pipeline prints a review of the target folder, and the result can be captured for later steps.",
 "steps": [
  "Install Agav in the CI job with `curl -fsSL https://agav.dev/install.sh | bash`.",
  "Make sure the provider credentials your model needs are available to the job.",
  "Run `agav run \"review the code in src/\"` from the repository root.",
  "Enable the JSON Schema output option described in the CLI reference at docs.agav.dev/reference/cli so a later step can parse the result. (inferred, check the README)",
  "Fail or pass the job based on the review output your team defines."
 ],
 "agent_prompt": "Using the Agav repo at prapaa-ai/agav, run `agav run \"review the code in <target-folder>\"` from <repo-root> in a non-interactive shell. Expected output: a review text or structured output for that folder. Verify that the command exits and the output names at least one file inside <target-folder>.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "The README names the JSON Schema output option but does not show its flag, so confirm the exact syntax in the CLI reference before wiring it into a pipeline.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "A terminal on your machine",
  "The Agav binary, installed with the install command in the README",
  "An API key for a cloud provider, or a local Ollama setup",
  "A project folder or repository you want the agent to work in"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The CI job needs model provider credentials stored as secrets, and the README does not describe how they are passed to the binary."
  },
  {
   "tag": "remote-script",
   "notice": "The install step downloads and runs a script from Agav.dev inside your CI environment."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/prapaa-ai-agav/non-interactive-code-review-in-ci/",
 "md": "https://dedupedai.com/use-cases/prapaa-ai-agav/non-interactive-code-review-in-ci/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/prapaa-ai-agav--non-interactive-code-review-in-ci.json",
 "api_version": "v1"
}
