FlatBuffers
Serialize structured data efficiently for cross-platform compatibility.
Utilities PyPI Apache-2.0
How FlatBuffers is used
FlatBuffers is a dependency in 13 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 412 projects, and what it is used with below comes from all of them. The most used alternative in our scan is orjson (37 projects). Projects that use it most often also use NumPy (99.0%), packaging (97.8%), attrs (96.6%).
FlatBuffers popularity over time
Gid Score 76: downloads 93, use in agent projects 71, GitHub stars 66, downloads trend 60 (each 0-100). How it is calculated.
Often used with FlatBuffers
| NumPy | 99.0% of FlatBuffers projects · 17.0× more than average |
|---|---|
| packaging | 97.8% of FlatBuffers projects · 66.7× more than average |
| attrs | 96.6% of FlatBuffers projects · 139.5× more than average |
| Click | 96.6% of FlatBuffers projects · 38.7× more than average |
| Protocol Buffers | 96.6% of FlatBuffers projects · 133.3× more than average |
| charset-normalizer | 95.1% of FlatBuffers projects · 88.2× more than average |
| MarkupSafe | 92.5% of FlatBuffers projects · 124.8× more than average |
| Pillow | 92.2% of FlatBuffers projects · 24.1× more than average |
From all 412 projects in our scan that use FlatBuffers, including the dependency samples.
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|---|
| Cursor | 0.3% of projects set up for it |
| GitHub Copilot | 0.2% of projects set up for it |
Share of public repos configured for each agent that list FlatBuffers as a dependency.
Install
| Package | pip install flatbuffers |
|---|---|
| Main stacks | Python (409), Next.js (3) |
| Example projects | Paper2Poster/Paper2Poster, apconw/Aix-DB, Decade-qiu/CookHero, JasonHonKL/spy-search, YuhangChen1/Paper2All |
Alternatives to FlatBuffers
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside FlatBuffers are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| orjson pypi Fast Python JSON library with support for dataclasses, dates, and NumPy types. |
75 | 37 (2.3%) | 50M | 8,260 | MPL-2.0 AND (Apache-2.0 OR MIT) |
More in Utilities: clsx date-fns PyYAML uuid yaml js-yaml glob Lodash