Databases, ORMs and clients for projects built with AI agents
ORMs, query builders and database drivers. 120 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, pg leads with 6.1%, ahead of Drizzle ORM (5.2%) and Prisma (5.1%). Among repos created in the last 90 days that use one of these tools, Drizzle Kit is in 32.4%, against 24.9% of older ones. Projects with pg most often also use dotenv (62.1%). Among Python projects set up for AI coding agents, SQLAlchemy leads with 11.2%, ahead of psycopg2 (6.1%) and Alembic (5.6%). Projects with SQLAlchemy most often also use FastAPI (76.2%).
JS / TS
| pg | 6.1% | |
|---|---|---|
| Drizzle ORM | 5.2% | |
| Prisma | 5.1% | |
| Drizzle Kit | 5.0% | |
| better-sqlite3 | 3.1% |
Python
| SQLAlchemy | 11.2% | |
|---|---|---|
| psycopg2 | 6.1% | |
| Alembic | 5.6% | |
| psycopg | 4.4% | |
| asyncpg | 4.3% |
Share of 4,867 JS / TS and 1,623 Python projects in our scan that list each tool.
Head to head: Prisma vs Drizzle ORMpg vs Neon Serverless Driverasyncpg vs psycopgpsycopg2 vs asyncpgasyncpg vs aiosqlite
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| pg npm PostgreSQL client for Node.js with pure JavaScript and libpq API compatibility. |
81 | 298 (6.1%) | 106M | 13.2K | MIT |
| Drizzle ORM npm TypeScript ORM for SQL databases with type safety and zero-runtime overhead. |
86 | 253 (5.2%) | 49.6M | 36.4K | Apache-2.0 |
| Prisma npm Modern ORM with intuitive schema, migrations, and type-safe database queries. |
64 | 247 (5.1%) | 26M | 26 | Apache-2.0 |
| Drizzle Kit npm CLI migration tool for Drizzle ORM that auto-generates SQL migrations intelligently. |
86 | 244 (5.0%) | 41.6M | 36.4K | MIT |
| SQLAlchemy pypi Python SQL toolkit and object-relational mapper for database abstraction. |
80 | 181 (11.2%) | 105M | 12.3K | MIT |
| better-sqlite3 npm Fastest and simplest SQLite library for Node.js with synchronous API. |
72 | 151 (3.1%) | 17.4M | 7,558 | MIT |
| psycopg2 pypi Popular PostgreSQL adapter for Python with full database access and query execution. |
71 | 99 (6.1%) | 55.6M | 3,666 | LGPL |
| Alembic pypi Database migration tool for SQLAlchemy managing schema changes reliably. |
72 | 91 (5.6%) | 59.2M | 4,483 | MIT |
| Neon Serverless Driver npm PostgreSQL driver optimized for serverless environments from Neon. |
60 | 77 (1.6%) | 8.8M | 557 | MIT |
| psycopg pypi PostgreSQL database adapter for Python with async support. |
69 | 72 (4.4%) | 57.1M | 2,539 | LGPL-3.0-only |
| asyncpg pypi Fast asyncio PostgreSQL driver for non-blocking database operations in Python. |
71 | 69 (4.3%) | 36.3M | 8,124 | Apache-2.0 |
| aiosqlite pypi Asyncio wrapper for SQLite enabling non-blocking database operations in Python. |
63 | 55 (3.4%) | 19.2M | 1,585 | MIT |
| redis (JavaScript) npm Modern high-performance Redis client for Node.js with full feature support. |
73 | 48 (1.0%) | 22.3M | 17.6K | MIT |
| libSQL Client npm TypeScript/JavaScript driver for libSQL databases with modern async/await support. |
55 | 45 (0.9%) | 6.1M | 578 | MIT |
| mysql2 npm Fast MySQL driver with native protocol implementation, prepared statements and SSL. |
66 | 41 (0.8%) | 25.6M | 4,395 | MIT |
| PGlite npm Run PostgreSQL in the browser or Node.js via WebAssembly with no external dependencies. |
74 | 38 (0.8%) | 44M | 16.4K | Apache-2.0 |
| Mongoose npm MongoDB object modeling library providing schema validation and query building. |
73 | 37 (0.8%) | 9.4M | 27.5K | MIT |
| SQL.js npm SQLite database compiled to JavaScript, run SQL in browser without server. |
72 | 33 (0.7%) | 7.2M | 13.7K | MIT |
| sqlite-vec (JavaScript) npm Vector search SQLite extension for similarity search in databases. |
59 | 33 (0.7%) | 1.9M | 8,279 | MIT OR Apache |
| MongoDB Node Driver npm Official Node.js driver for MongoDB providing query builders and connection management. |
71 | 31 (0.6%) | 22.7M | 10.2K | Apache-2.0 |
| sqlite3 npm · no longer maintained Asynchronous, non-blocking SQLite3 database bindings for Node.js. |
58 | 28 (0.6%) | 2.9M | 6,409 | BSD-3-Clause |
| DuckDB pypi Embedded SQL OLAP database for analytical queries and data processing in Python. |
58 | 26 (1.6%) | 22.6M | 206 | MIT |
| Qdrant Client pypi Python client library for Qdrant vector database for semantic search and embeddings. |
58 | 25 (1.5%) | 4.1M | 1,380 | Apache-2.0 |
| pgvector pypi PostgreSQL vector type support for Python with embeddings. |
58 | 25 (1.5%) | 10.9M | 1,548 | MIT |
| Dexie.js npm Minimalist wrapper for IndexedDB providing simple database API for browser storage. |
62 | 24 (0.5%) | 3.6M | 14.7K | Apache-2.0 |
| PyMySQL pypi Pure Python MySQL database driver for database operations. |
65 | 21 (1.3%) | 19.9M | 7,857 | MIT |
| Kysely npm Type-safe SQL query builder for TypeScript with compile-time query validation. |
68 | 21 (0.4%) | 32M | 14.4K | MIT |
| Neo4j pypi Official Python driver for Neo4j graph database with Bolt protocol. |
54 | 20 (1.2%) | 3.6M | 1,053 | Apache-2.0 AND Python-2.0 |
| TypeORM npm Data-mapper ORM for TypeScript supporting multiple SQL and NoSQL databases. |
67 | 18 (0.4%) | 7.4M | 36.7K | MIT |
| SQLModel pypi SQL ORM combining SQLAlchemy with Pydantic for Python databases. |
66 | 14 (0.9%) | 7.2M | 18.7K | MIT |
| connect-pg-simple npm PostgreSQL session store for Express/Connect applications. |
45 | 13 (0.3%) | 1.2M | 246 | MIT |
| PyMongo pypi Official MongoDB Python driver for querying and managing MongoDB databases. |
68 | 12 (0.7%) | 18.5M | — | Apache-2.0 |
| node-mssql npm · new in the catalog Microsoft SQL Server client for Node.js. |
52 | 12 (0.2%) | 5.3M | 2,273 | MIT |
| LanceDB (Python) pypi Vector database for AI and ML workloads with fast similarity search. |
57 | 11 (0.7%) | 1.3M | 12K | Apache-2.0 |
| psycopg-pool pypi Connection pool for Psycopg PostgreSQL driver for efficient database access. |
58 | 11 (0.7%) | 16.4M | 2,539 | LGPL-3.0-only |
| Neo4j Driver npm Official Node.js driver for Neo4j graph database connections and queries. |
47 | 10 (0.2%) | 1.3M | 917 | Apache-2.0 |
| sqlparse pypi Python library for parsing and formatting SQL queries. |
65 | 9 (0.6%) | 31M | 4,023 | BSD |
| pgvector-node npm · new in the catalog pgvector support for Node.js, Deno and Bun: vector columns in Postgres. |
44 | 9 (0.2%) | 1.1M | 445 | MIT |
| MiniSearch npm · new in the catalog Tiny but powerful full-text search engine for the browser and Node.js. |
60 | 9 (0.2%) | 6.6M | 6,210 | MIT |
| PostgREST pypi Python ORM interface client for PostgREST auto-generated REST APIs from PostgreSQL. |
58 | 8 (0.5%) | 8M | 2,639 | MIT |
| pyodbc pypi DB API module for connecting to ODBC-compatible databases like SQL Server and Access. |
57 | 8 (0.5%) | 7.2M | 3,088 | MIT |
| SQLGlot pypi SQL parser and transpiler that converts between different SQL dialects. |
64 | 8 (0.5%) | 24M | 9,813 | MIT |
| LanceDB (JavaScript) npm Serverless vector database optimized for AI applications and retrieval. |
49 | 8 (0.2%) | 493K | 12K | Apache-2.0 |
| Weaviate Client pypi Python client for Weaviate vector database to store and query semantic data. |
42 | 7 (0.4%) | 1.4M | 230 | BSD 3-clause |
| Peewee pypi Lightweight Python ORM for databases with simple API and minimal dependencies. |
63 | 7 (0.4%) | 9.6M | 12K | MIT |
| MySQL Connector/Python pypi Official Python driver for connecting to and querying MySQL databases. |
49 | 7 (0.4%) | 5.9M | 949 | GNU GPLv2 (with FOSS License Exception) |
| convex-helpers npm · new in the catalog Extra helpers for Convex backends. |
49 | 7 (0.1%) | 2.3M | 497 | Apache-2.0 |
| Keyv npm · new in the catalog Simple key-value storage with one API over Redis, SQLite, Postgres and other backends. |
60 | 7 (0.1%) | 235M | 3,216 | MIT |
| Knex.js npm · new in the catalog SQL query and schema builder for Postgres, MySQL, SQLite and more. |
61 | 7 (0.1%) | 7.3M | 20.3K | MIT |
| psycopg (binary) pypi PostgreSQL adapter for Python with optimized C extensions precompiled. |
65 | 6 (0.4%) | 55.9M | 2,539 | LGPL-3.0-only |
| Motor pypi Async MongoDB driver for Python with Tornado and asyncio support. |
52 | 6 (0.4%) | 2.2M | — | Apache-2.0 |
| Vercel KV npm · no longer maintained Durable Redis-compatible database from Vercel, ideal for serverless functions and edge computing. |
43 | 6 (0.1%) | 602K | 599 | Apache-2.0 |
| sqlite-vec (Python) pypi · new in the catalog Vector search and similarity operations for SQLite databases. |
49 | 6 (0.4%) | 1.8M | — | MIT License, Apache License, Version 2.0 |
| lowdb npm Tiny local JSON database for Node, Electron and browser with simple synchronous API. |
60 | 6 (0.1%) | 2.2M | 22.6K | MIT |
| cache-manager npm · new in the catalog Caching for Node.js with memory, Redis and other stores. |
50 | 6 (0.1%) | 6.4M | 2,013 | MIT |
| FlexSearch npm · new in the catalog Fast full-text search library for the browser and Node.js. |
49 | 6 (0.1%) | 1.3M | 13.8K | Apache-2.0 |
| Azure Cosmos pypi Microsoft Azure SDK for accessing Cosmos DB NoSQL databases. |
53 | 5 (0.3%) | 3.1M | 5,625 | MIT |
| hiredis-py pypi · new in the catalog Fast C parser for redis-py responses. |
47 | 5 (0.3%) | 9.4M | 527 | MIT |
| Sequelize npm · new in the catalog Promise-based ORM for Postgres, MySQL, SQLite, SQL Server and more. |
63 | 5 (0.1%) | 4.2M | 30.4K | MIT |
| Elasticsearch JavaScript client npm · new in the catalog Official Elasticsearch client for Node.js. |
52 | 5 (0.1%) | 3.2M | 5,289 | Apache-2.0 |
| PyPika pypi SQL query builder for Python that generates queries programmatically without raw SQL strings. |
56 | 4 (0.2%) | 2.1M | 2,924 | Apache-2.0 |
| PyMilvus pypi Python SDK for Milvus vector database for similarity search and AI applications. |
47 | 4 (0.2%) | 760K | 1,426 | Apache-2.0 |
| Elasticsearch pypi Official Python client for connecting to and querying Elasticsearch clusters. |
58 | 4 (0.2%) | 8.3M | 4,396 | Apache-2.0 |
| py-key-value-aio pypi Async pluggable interface for key-value stores with multiple backend support. |
60 | 4 (0.2%) | 22M | — | Apache-2.0 |
| Kùzu pypi · no longer maintained Embeddable graph database optimized for fast, scalable graph queries and analytics. |
41 | 4 (0.2%) | 134K | 4,019 | MIT |
| python-oracledb pypi · new in the catalog Official Python driver for Oracle Database. |
42 | 4 (0.2%) | 4.8M | 458 | UPL-1.0 OR Apache-2.0 |
| clickhouse-connect pypi Official ClickHouse Python driver for querying OLAP database with pandas integration. |
49 | 3 (0.2%) | 8.1M | 535 | Apache-2.0 |
| aioredis pypi · no longer maintained Async Redis client for Python enabling non-blocking Redis operations. |
44 | 3 (0.2%) | 376K | 2,279 | MIT |
| Snowflake Connector for Python pypi · new in the catalog Official Python connector for the Snowflake data warehouse. |
47 | 3 (0.2%) | 25M | 15 | Apache-2.0 |
| PyIceberg pypi · new in the catalog Apache Iceberg open table format for large-scale analytics. |
45 | 3 (0.2%) | 5.6M | 1,171 | Apache-2.0 |
| kysely-codegen npm · new in the catalog Generate fully typed Kysely query builder definitions from database schema. |
45 | 3 (0.1%) | 2.8M | 1,247 | MIT |
| pandas-gbq pypi Pandas integration for Google BigQuery enabling SQL queries and data analysis. |
52 | 2 (0.1%) | 3.7M | 5,422 | BSD |
| aiomysql pypi · new in the catalog MySQL driver for asyncio. |
47 | 2 (0.1%) | 2.5M | 1,899 | MIT |
| tantivy-py pypi · new in the catalog Python bindings for the Tantivy full-text search engine. |
35 | 2 (0.1%) | 478K | 436 | MIT |
| Milvus Node.js SDK npm · new in the catalog Official Node.js SDK for the Milvus vector database. |
35 | 2 (0.0%) | 246K | 199 | Apache-2.0 |
| TinyDB pypi · new in the catalog Tiny document database for Python that stores JSON files. |
39 | 2 (0.1%) | 662K | 7,585 | MIT |
| DuckDB Node API npm · new in the catalog Node.js API for running DuckDB analytics queries. |
45 | 2 (0.0%) | 4.3M | 200 | MIT |
| drizzle-dbml-generator npm · new in the catalog Converts a Drizzle ORM schema to DBML for diagrams. |
28 | 2 (0.0%) | 104K | 204 | MIT |
| MariaDB Node.js connector npm · new in the catalog Fast connector for MariaDB and MySQL. |
38 | 2 (0.0%) | 1.5M | 413 | LGPL-2.1-or-later |
| embedded-postgres npm · new in the catalog Run an embedded PostgreSQL database directly from Node.js. |
42 | 2 (0.0%) | 2.5M | 153 | MIT |
| APSW pypi · new in the catalog Complete Python wrapper for SQLite's C API. |
36 | 2 (0.1%) | 691K | 957 | any-OSI |
| PyTables pypi Hierarchical datasets with HDF5 for fast large-scale data storage. |
44 | 1 (0.1%) | 675K | 1,376 | BSD |
| LMDB pypi Lightning Memory-Mapped Database bindings for fast key-value storage. |
42 | 1 (0.1%) | 797K | 756 | OLDAP-2.8 |
| AstraPy pypi Python client for DataStax Astra DB's Data API with vector search support. |
32 | 1 (0.1%) | 60.5K | 40 | Apache-2.0 |
| Google Cloud Datastore pypi Python client library for Google Cloud Datastore NoSQL database. |
51 | 1 (0.1%) | 1.2M | 5,422 | Apache-2.0 |
| Google Cloud Spanner pypi Python client library for Google Cloud's distributed SQL database. |
50 | 1 (0.1%) | 3.4M | 5,422 | Apache-2.0 |
| CassIO pypi Framework-agnostic library to integrate Apache Cassandra with ML/LLM/genAI workloads. |
30 | 1 (0.1%) | 53.9K | 108 | Apache-2.0 |
| FalkorDB Python client pypi · new in the catalog Client for the FalkorDB graph database. |
35 | 1 (0.1%) | 323K | 71 | MIT |
| pysqlite3-binary pypi · new in the catalog Bundled modern SQLite build for Python, e.g. for Chroma on old systems. |
34 | 1 (0.1%) | 258K | 246 | Zlib |
| marshmallow-sqlalchemy pypi · new in the catalog marshmallow schemas generated from SQLAlchemy models. |
36 | 1 (0.1%) | 977K | 582 | MIT |
| SQLAlchemy-Utils pypi · new in the catalog Extra column types and helpers for SQLAlchemy. |
44 | 1 (0.1%) | 3.8M | 1,348 | BSD-3-Clause |
| ClickHouse JS client npm · new in the catalog Official Node.js client for ClickHouse. |
44 | 1 (0.0%) | 5.6M | 331 | Apache-2.0 |
| sqlite-utils pypi · new in the catalog CLI and Python library for manipulating SQLite databases. |
37 | 1 (0.1%) | 291K | 2,224 | Apache-2.0 |
| Sequelize CLI npm · new in the catalog Command-line interface for Sequelize ORM migrations and database management. |
46 | 1 (0.0%) | 1.6M | 2,553 | MIT |
| clickhouse-driver pypi · new in the catalog Python driver for ClickHouse over its native protocol. |
41 | 1 (0.1%) | 2.9M | 1,306 | MIT |
| LadybugDB pypi · new in the catalog Highly scalable and fast embeddable graph database for Python. |
33 | 1 (0.1%) | 112K | 1,953 | MIT |
| Tortoise ORM pypi · new in the catalog Async ORM for Python inspired by Django. |
39 | 1 (0.1%) | 174K | 5,641 | Apache-2.0 |
| Upstash Redis (Python) pypi · new in the catalog Serverless Redis over HTTP from Upstash. |
28 | 1 (0.1%) | 241K | 73 | MIT |
| PlanetScale Database Driver npm · new in the catalog Fetch API-compatible driver for PlanetScale MySQL databases. |
41 | 1 (0.0%) | 849K | 1,206 | Apache-2.0 |
| pg-copy-streams npm · new in the catalog Stream-based COPY operations for PostgreSQL in Node.js. |
42 | 1 (0.0%) | 2.6M | 356 | MIT |
| GeoAlchemy2 pypi · new in the catalog SQLAlchemy integration for spatial databases and geographic queries. |
37 | 1 (0.1%) | 1.5M | 712 | MIT |
| BSON npm · new in the catalog BSON serialization library for MongoDB and other binary JSON use cases. |
49 | 1 (0.0%) | 23.1M | 1,217 | Apache-2.0 |
| Valkey pypi · new in the catalog Python client for Valkey in-memory data store, forked from redis-py. |
33 | 1 (0.1%) | 1.4M | 285 | MIT |
| Milvus Lite pypi Lightweight vector database for local development and semantic search. |
33 | 0 (0.0%) | 201K | 466 | Apache-2.0 |
| ipython-sql pypi IPython magic for executing SQL queries directly in Jupyter notebooks against databases. |
28 | 0 (0.0%) | 25.7K | 1,796 | MIT |
| feather-format pypi Wrapper for Apache Arrow Feather format for fast data serialization. |
36 | 0 (0.0%) | 27.5K | 2,755 | Apache License, Version 2.0 |
| Cassandra Python Driver pypi · new in the catalog Apache Cassandra driver for Python. |
41 | 0 (0.0%) | 527K | 1,428 | Apache-2.0 |
| db-dtypes pypi Pandas data types for SQL systems like BigQuery and Spanner. |
52 | 0 (0.0%) | 6.6M | 5,422 | Apache-2.0 |
| CacheLib pypi · new in the catalog One caching API over memory, Redis, Memcached and files, from Pallets. |
38 | 0 (0.0%) | 1.7M | 163 | BSD-3-Clause |
| mysqlclient pypi · new in the catalog Fast C-based MySQL driver for Python, used by Django. |
45 | 0 (0.0%) | 3.3M | 2,543 | GPL-2.0-or-later |
| RedisVL pypi · new in the catalog Python client and CLI for Redis as a vector database. |
35 | 0 (0.0%) | 541K | 436 | MIT |
| Astra DB TypeScript client npm · new in the catalog Data API client for DataStax Astra DB, including vector search. |
27 | 0 (0.0%) | 72.1K | 30 | Apache-2.0 |
| Cassandra Node.js Driver npm · new in the catalog Official Apache Cassandra driver for Node.js with async/await support. |
39 | 0 (0.0%) | 495K | 1,266 | Apache-2.0 |
| dataset pypi · new in the catalog Simplified Python interface for database access and manipulation. |
42 | 0 (0.0%) | 499K | 4,864 | MIT |
| pg8000 pypi · new in the catalog Pure Python PostgreSQL database driver for connecting and querying databases. |
52 | 0 (0.0%) | 13.1M | — | BSD |
| duckdb-engine pypi · new in the catalog SQLAlchemy dialect for DuckDB enabling SQL queries on fast analytical databases. |
31 | 0 (0.0%) | 491K | 498 | MIT |
| pymssql pypi · new in the catalog Cython-based Python DB-API driver for Microsoft SQL Server. |
43 | 0 (0.0%) | 9M | 891 | LGPL-2.1 |
| Databricks SQL Connector pypi · new in the catalog Official Python connector for querying Databricks SQL warehouses. |
40 | 0 (0.0%) | 9.2M | 235 | Apache-2.0 |
| fastlite pypi · new in the catalog Small conveniences for SQLite, from Answer.AI. |
14 | 0 (0.0%) | 31.5K | 230 | Apache-2.0 |
| SQLAlchemy JSONField pypi · new in the catalog JSONField type for SQLAlchemy to store dictionaries in databases. |
31 | 0 (0.0%) | 615K | 24 | Apache-2.0 |
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 State and data fetching 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 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