{
 "kind": "tool",
 "slug": "bufbuild-buf",
 "path": "tools/bufbuild-buf/",
 "name": "Buf",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Build tools and bundlers",
   "tools/build-tools/"
  ]
 ],
 "lead": "CLI tool for working with Protocol Buffers with linting and code generation.",
 "chips": [
  {
   "label": "Build tools and bundlers",
   "path": "tools/build-tools/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @bufbuild/buf"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/bufbuild/buf"
  },
  {
   "label": "Website",
   "href": "https://github.com/bufbuild/buf#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/bufbuild/buf"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Oct 22, 2026. ",
   "src": "https://github.com/bufbuild/buf"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "Not in our scan",
   "status": "info",
   "sub": "#185 of 185 in its category",
   "note": "Dependency in 0 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Buf does",
   "parts": [
    {
     "t": "prose",
     "text": "CLI tool for working with Protocol Buffers with linting and code generation."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Buf popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "54",
       "of": "/ 100",
       "l": "Gid Score, #1606 overall"
      },
      {
       "n": "3.8M",
       "l": "downloads a week, npm"
      },
      {
       "n": "11.5K",
       "l": "GitHub stars"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Buf is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Buf joined the catalog on its public numbers (3,804,585 downloads a week on npm and 11,537 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 0 of them set up for AI coding agents.",
      "Projects that use it most often also use Protobuf-ES (80.0%), Pi AI (40.0%), Anthropic SDK (40.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 80.0% of its projects",
       "v": "Protobuf-ES",
       "path": "tools/bufbuild-protobuf/"
      },
      {
       "l": "In 40.0% of its projects",
       "v": "Pi AI",
       "path": "tools/earendil-works-pi-ai/"
      },
      {
       "l": "In 40.0% of its projects",
       "v": "Anthropic SDK",
       "path": "tools/anthropic-ai/"
      },
      {
       "l": "In 40.0% of its projects",
       "v": "Tauri",
       "path": "tools/tauri-apps/"
      },
      {
       "l": "In 80.0% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 40.0% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 60.0% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 40.0% of its projects",
       "v": "Playwright (JavaScript)",
       "path": "tools/playwright-test/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Buf",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Build tools and bundlers",
       "path": "tools/build-tools/",
       "items": [
        {
         "text": "Vite",
         "path": "tools/vite/"
        },
        {
         "text": "Turborepo",
         "path": "tools/turbo/"
        },
        {
         "text": "esbuild",
         "path": "tools/esbuild/"
        },
        {
         "text": "Babel (JavaScript)",
         "path": "tools/babel-npm/"
        },
        {
         "text": "Laravel Vite Plugin",
         "path": "tools/laravel-vite-plugin/"
        },
        {
         "text": "React Compiler Babel Plugin",
         "path": "tools/babel-plugin-react-compiler/"
        },
        {
         "text": "Nx",
         "path": "tools/nx/"
        },
        {
         "text": "vite-tsconfig-paths",
         "path": "tools/vite-tsconfig-paths/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Buf",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 54",
        "3.8M/wk"
       ]
      }
     ],
     "more": "Compare Buf with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @bufbuild/buf"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Buf yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @bufbuild/buf"
  ],
  [
   "Category",
   "Build tools and bundlers"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "53.5"
  ],
  [
   "Rank in category",
   "#185 of 185"
  ],
  [
   "GitHub",
   "bufbuild/buf"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/bufbuild.png"
}