Alternatives

Pg alternatives for AI agents.

Compare similar skills by workflow fit, trust score, quality, GitHub adoption, maintenance, and install readiness.

Current skill

Pg

Golang ORM with focus on PostgreSQL features and performance

100
Quality
92
Trust
5.8K
Stars
#1

Bun

Similarity 154Trust 91Excellent 100

SQL-first Golang ORM

4.9K starsJun 17, 2026 pushdata-analysisGoSQL
$ npx skills add uptrace/bun
#2

Bob

Similarity 152Trust 93Excellent 100

SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLite

1.7K starsJun 11, 2026 pushdata-analysisGoSQL
$ npx skills add stephenafamo/bob
#3

Go Sqlbuilder

Similarity 151Trust 89Excellent 98

A flexible and powerful SQL string builder library plus a zero-config ORM.

1.7K starsMay 3, 2026 pushdata-analysisGoSQL
$ npx skills add huandu/go-sqlbuilder
#4

Goqu

Similarity 146Trust 80Strong 75

SQL builder and query library for golang

2.7K starsMay 22, 2024 pushdata-analysisGoSQL
$ npx skills add doug-martin/goqu
#5

Qb

Similarity 146Trust 73Needs review 53

The database toolkit for go

512 starsNov 23, 2023 pushdata-analysisGoSQL
$ npx skills add slicebit/qb
#6

Dbtpl

Similarity 145Trust 90Excellent 100

Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server

3.9K starsMar 30, 2026 pushdata-analysisGoSQL
$ npx skills add xo/dbtpl
#7

Clickhouse Go

Similarity 145Trust 91Excellent 100

Golang driver for ClickHouse

3.3K starsJun 18, 2026 pushdata-analysisGoSQL
$ npx skills add ClickHouse/clickhouse-go
#8

Scany

Similarity 145Trust 82Strong 72

Library for scanning data from a database into Go structs and more

1.5K starsMar 19, 2025 pushdata-analysisGoSQL
$ npx skills add georgysavva/scany
#9

Db

Similarity 143Trust 88Excellent 89

Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.

3.7K starsDec 6, 2025 pushdata-analysisGoSQL
$ npx skills add upper/db
#10

Chai

Similarity 142Trust 87Excellent 94

Modern embedded SQL database

1.7K starsJan 16, 2026 pushdata-analysisGoSQL
$ npx skills add chaisql/chai
#11

Reform

Similarity 140Trust 86Excellent 85

A better ORM for Go, based on non-empty interfaces and code generation.

1.5K starsDec 15, 2025 pushdata-analysisGoSQL
$ npx skills add go-reform/reform
#12

Rel

Similarity 139Trust 84Excellent 86

:gem: Modern ORM for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API

783 starsJun 2, 2026 pushdata-analysisGoSQL
$ npx skills add go-rel/rel
#13

Godb

Similarity 139Trust 73Promising 55

A Go SQL query builder and struct mapper.

730 starsDec 18, 2023 pushdata-analysisGoSQL
$ npx skills add samonzeweb/godb
#14

Jet

Similarity 138Trust 93Excellent 100

Type safe SQL builder with code generation and automatic query result data mapping

3.7K starsJun 10, 2026 pushdata-analysisGoSQL
$ npx skills add go-jet/jet
#15

Mergestat Lite

Similarity 137Trust 89Excellent 100

Query git repositories with SQL. Generate reports, perform status checks, analyze codebases. 🔍 📊

3.5K starsJun 18, 2026 pushdata-analysisGoSQL
$ npx skills add mergestat/mergestat-lite
#16

Scan

Similarity 137Trust 82Strong 79

Tiny lib to scan SQL rows directly to structs, slices, and primitive types

612 starsMay 11, 2026 pushdata-analysisGoSQL
$ npx skills add blockloop/scan

How to choose

When should you switch?

Use an alternative when it has a clearer install path, higher trust score, fresher maintenance, or better platform fit for your current agent stack. Keep Pg if it already passes your workflow test and repository review.

Next step

Compare top candidates side by side

Open the compare page, test the install commands in a sandbox, and check each repository before using a skill in production.