State and data fetching for projects built with AI agents
Client state, caching and data fetching. 53 tools ranked by how many of 6,258 public projects built with AI coding agents use them, with downloads and GitHub stars. Downloads and stars checked Nov 24, 2026; project counts updated Nov 26, 2026.
How agent projects choose
Among JavaScript/TypeScript projects set up for AI coding agents, TanStack Query leads with 9.4%, ahead of Zustand (7.5%) and RxJS (2.8%). Projects with TanStack Query most often also use Lucide React (77.5%).
JS / TS
| TanStack Query | 9.4% | |
|---|---|---|
| Zustand | 7.5% | |
| RxJS | 2.8% | |
| Pinia | 1.2% | |
| SWR | 1.0% |
Share of 4,867 JS / TS projects in our scan that list each tool.
Head to head: TanStack Query vs SWR
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| TanStack Query npm Hooks for managing, caching and synchronizing remote data in React. |
88 | 458 (9.4%) | 92M | 50.6K | MIT |
| Zustand npm Lightweight state management for React with minimal boilerplate. |
88 | 366 (7.5%) | 96.9M | 59K | MIT |
| RxJS npm Reactive programming library for composing async events and data streams in JavaScript. |
79 | 134 (2.8%) | 148M | 31.7K | Apache-2.0 |
| Pinia npm Intuitive, type-safe state management store for Vue applications. |
67 | 56 (1.2%) | 7.9M | 14.8K | MIT |
| SWR npm React hooks library for data fetching with caching, revalidation and real-time updates. |
77 | 51 (1.0%) | 28.5M | 32.5K | MIT |
| nuqs npm Type-safe search params state manager for React applications with URL synchronization. |
68 | 49 (1.0%) | 8.8M | 10.9K | MIT |
| Immer npm Immutable state management by mutating a draft in a simpler API. |
77 | 47 (1.0%) | 99.9M | 29K | MIT |
| React Redux npm Official React bindings for Redux state management with hooks. |
77 | 42 (0.9%) | 64M | 23.4K | MIT |
| Redux Toolkit npm Official Redux library with built-in best practices and reduced boilerplate for state management. |
74 | 39 (0.8%) | 52.6M | 11.2K | MIT |
| Jotai npm Minimal React state management with atoms as primitive building blocks for flexibility. |
72 | 35 (0.7%) | 11M | 21.3K | MIT |
| Lit Signals npm Integration of JavaScript Signals proposal with Lit for reactive web components. |
50 | 32 (0.7%) | 283K | 21.9K | BSD-3-Clause |
| signal-utils npm Utilities for working with the JavaScript Signals proposal for reactive state management. |
32 | 32 (0.7%) | 254K | 121 | MIT |
| idb npm Promise-based wrapper library making IndexedDB easier to use. |
67 | 27 (0.6%) | 38.1M | 7,444 | ISC |
| Pinia Nuxt Module npm Official Pinia state management integration for Nuxt framework. |
57 | 20 (0.4%) | 1.4M | 14.8K | MIT |
| idb-keyval npm Minimal key-value store built on IndexedDB for browser-based data persistence. |
62 | 19 (0.4%) | 16.8M | 3,259 | Apache-2.0 |
| Apollo Client npm Caching GraphQL client for fetching, caching and managing remote data. |
67 | 16 (0.3%) | 8.9M | 19.8K | MIT |
| Yjs npm Shared editing library enabling real-time collaborative editing across applications. |
70 | 16 (0.3%) | 17.6M | 23.1K | MIT |
| Redux npm Predictable state management library for JavaScript applications with time-travel. |
77 | 14 (0.3%) | 69.8M | 61.4K | MIT |
| TanStack Query Persist Client npm Persistence adapter for TanStack Query enabling cache storage across browser sessions. |
67 | 13 (0.3%) | 5.3M | 50.6K | MIT |
| redux-persist npm Persist and rehydrate Redux store state to local storage. |
58 | 12 (0.2%) | 2.3M | 13K | MIT |
| localforage npm Simple storage library with IndexedDB, WebSQL and localStorage fallback. |
65 | 12 (0.2%) | 11.1M | 25.8K | Apache-2.0 |
| NgRx Signals npm · new in the catalog Reactive store built on Angular signals. |
50 | 12 (0.2%) | 928K | 8,344 | MIT |
| memorystore npm Memory store implementation for Express sessions without memory leaks. |
42 | 11 (0.2%) | 777K | 122 | MIT |
| Pinia Plugin Persistedstate npm · new in the catalog Persist and rehydrate Pinia stores to local storage or custom drivers. |
45 | 11 (0.2%) | 807K | — | MIT |
| DiskCache pypi Persistent disk-backed cache with key-value storage for Python applications. |
60 | 10 (0.6%) | 7.1M | 2,919 | Apache-2.0 |
| node-cache npm Simple in-memory caching for Node.js similar to memcached. |
54 | 10 (0.2%) | 6.5M | 2,373 | MIT |
| XState npm · new in the catalog State machines and statecharts for JavaScript and TypeScript. |
67 | 10 (0.2%) | 9.1M | 30.5K | MIT |
| Dexie React Hooks npm React hooks for reactive data fetching from Dexie.js - simplifies IndexedDB integration. |
54 | 10 (0.2%) | 775K | 14.7K | Apache-2.0 |
| Nano Stores npm · new in the catalog Tiny state manager with atomic stores for React, Preact, Vue and Svelte. |
63 | 9 (0.2%) | 22M | 7,673 | MIT |
| Redux Thunk npm Middleware enabling async actions and side effects in Redux applications. |
68 | 6 (0.1%) | 54.1M | 17.7K | MIT |
| Nano Stores React npm · new in the catalog React integration for Nano Stores. |
42 | 6 (0.1%) | 1.3M | 143 | MIT |
| y-websocket npm · new in the catalog WebSocket provider for syncing Yjs documents. |
43 | 6 (0.1%) | 1.5M | 714 | MIT |
| zundo npm · new in the catalog Undo and redo for Zustand stores. |
42 | 6 (0.1%) | 713K | 899 | MIT |
| TanStack Store npm · new in the catalog Framework-agnostic reactive store from TanStack, with a React adapter. |
52 | 5 (0.1%) | 42.1M | 917 | MIT |
| graphql-tag npm · new in the catalog Parses GraphQL queries written as JavaScript template literals. |
56 | 4 (0.1%) | 23M | 2,325 | MIT |
| MobX npm · new in the catalog Simple, scalable state management with observable data. |
60 | 4 (0.1%) | 4.7M | 28.2K | MIT |
| Orama npm · new in the catalog Full-text, vector, and hybrid search engine with RAG in less than 2kb. |
53 | 4 (0.1%) | 2.2M | 10.6K | Apache-2.0 |
| Immutable.js npm · new in the catalog Persistent immutable collections (List, Map, Set) for JavaScript. |
68 | 4 (0.1%) | 61M | 33K | MIT |
| Hocuspocus Provider npm · new in the catalog Provider library for Hocuspocus real-time collaboration framework. |
50 | 4 (0.1%) | 3.3M | 2,670 | MIT |
| DataLoader npm · new in the catalog Batch and cache data requests to reduce N+1 queries in GraphQL and APIs. |
58 | 4 (0.1%) | 21M | 13.4K | MIT |
| TanStack Query (React Query) npm Powerful data fetching and caching library for React applications. |
63 | 3 (0.1%) | 2.1M | 50.6K | MIT |
| Preact Signals npm · new in the catalog Fine-grained reactive state for Preact and React. |
54 | 3 (0.1%) | 4.8M | 4,507 | MIT |
| Redux DevTools Extension npm · new in the catalog Connects stores to the Redux DevTools browser extension. |
50 | 3 (0.1%) | 982K | 14.4K | MIT |
| unstorage npm · new in the catalog Universal storage abstraction layer supporting multiple backends. |
51 | 3 (0.1%) | 28.1M | 2,665 | MIT |
| TanStack Query Next npm Hydration utilities for React Query in Next.js app directory. |
53 | 2 (0.0%) | 144K | 50.6K | MIT |
| Reselect npm · new in the catalog Memoized selector functions for Redux and other state stores. |
66 | 2 (0.0%) | 96.4M | 19K | MIT |
| use-immer npm · new in the catalog React hook for using Immer for immutable state updates. |
46 | 2 (0.0%) | 1.1M | 4,555 | MIT |
| Convex React Query npm · new in the catalog React Query integration for subscribing to Convex server-side query functions. |
44 | 1 (0.0%) | 327K | — | Apache-2.0 |
| Valtio npm Lightweight proxy-based state management for React and vanilla JS, making reactive state simple and performant. |
57 | 0 (0.0%) | 3.2M | 10.2K | MIT |
| Redux-Saga npm · new in the catalog Manages Redux side effects with generator functions. |
55 | 0 (0.0%) | 2M | 22.4K | MIT |
| Liveblocks npm · new in the catalog React toolkit for building real-time collaborative features like Figma or Notion. |
44 | 0 (0.0%) | 510K | 4,772 | Apache-2.0 |
| jupyter-ydoc pypi · new in the catalog Document structures for collaborative editing in Jupyter using Ypy. |
28 | 0 (0.0%) | 192K | 44 | BSD 3-Clause License |
| urql npm · new in the catalog Highly customizable GraphQL client for React with caching and offline support. |
50 | 0 (0.0%) | 1.8M | 8,987 | MIT |
Nothing here matches. Search all tools →
Other categories
Web frameworks UI components and icons Styling and CSS Animation and motion 3D and graphics Charts and data visualisation Forms, validation and schemas Markdown, editors and content Desktop and mobile apps Utilities Model SDKs Agent, MCP and tool libraries Prompts, structured output and evals ML and data science Databases, ORMs and clients SDKs for hosted services Auth and security libraries Jobs, queues and workflows Files, images and media Scraping, browsers and parsing HTTP servers and APIs HTTP clients and networking Testing Linting and formatting Languages, types and runtimes Build tools and bundlers Dev workflow and config Logging, monitoring and analytics Crypto and web3 Game development