{
 "kind": "tool",
 "slug": "pgvector-pypi",
 "path": "tools/pgvector-pypi/",
 "name": "pgvector",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Databases, ORMs and clients",
   "tools/databases-orms/"
  ]
 ],
 "lead": "PostgreSQL vector type support for Python with embeddings.",
 "chips": [
  {
   "label": "Databases, ORMs and clients",
   "path": "tools/databases-orms/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install pgvector"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/pgvector/pgvector-python"
  },
  {
   "label": "Website",
   "href": "https://github.com/pgvector/pgvector-python"
  },
  {
   "label": "API page",
   "path": "apis/pgvector/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/pgvector/pgvector-python"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 5, 2026",
   "note": "",
   "src": "https://github.com/pgvector/pgvector-python"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "25 projects",
   "status": "info",
   "sub": "#24 of 120 in its category",
   "note": "Dependency in 25 public GitHub projects set up for AI coding agents that we scanned (0.4%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "1 skills by others",
   "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 pgvector does",
   "parts": [
    {
     "t": "prose",
     "text": "PostgreSQL vector type support for Python with embeddings."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "pgvector popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "58",
       "of": "/ 100",
       "l": "Gid Score, #1144 overall"
      },
      {
       "n": "10.9M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "1,548",
       "l": "GitHub stars"
      },
      {
       "n": "25",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "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 pgvector is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "pgvector is a dependency in 25 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.5% of the 1,623 Python ones), #24 of 120 in databases, orms and clients.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 184; those are left out of every share on this page.",
      "The most used alternative in our scan is Qdrant Client (25 projects).",
      "Projects that use it most often also use python-dotenv (68.0%), FastAPI (64.0%), SQLAlchemy (64.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "14 projects, 0.6%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "13 projects, 0.4%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "9 projects, 0.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 68.0% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 64.0% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 64.0% of its projects",
       "v": "SQLAlchemy",
       "path": "tools/sqlalchemy/"
      },
      {
       "l": "In 60.0% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 60.0% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 56.0% of its projects",
       "v": "httpx",
       "path": "tools/httpx/"
      },
      {
       "l": "In 56.0% of its projects",
       "v": "Pydantic Settings",
       "path": "tools/pydantic-settings/"
      },
      {
       "l": "In 56.0% of its projects",
       "v": "asyncpg",
       "path": "tools/asyncpg/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about pgvector",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "pgvector-semantic-search: Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. **Trigger w"
       ]
      },
      {
       "title": "More in Databases, ORMs and clients",
       "path": "tools/databases-orms/",
       "items": [
        {
         "text": "pg",
         "path": "tools/pg/"
        },
        {
         "text": "Drizzle ORM",
         "path": "tools/drizzle-orm/"
        },
        {
         "text": "Prisma",
         "path": "tools/prisma/"
        },
        {
         "text": "Drizzle Kit",
         "path": "tools/drizzle-kit/"
        },
        {
         "text": "SQLAlchemy",
         "path": "tools/sqlalchemy/"
        },
        {
         "text": "better-sqlite3",
         "path": "tools/better-sqlite3/"
        },
        {
         "text": "psycopg2",
         "path": "tools/psycopg2-binary/"
        },
        {
         "text": "Alembic",
         "path": "tools/alembic/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "pgvector",
       "me": true,
       "facts": [
        "MIT",
        "Gid 58",
        "10.9M/wk"
       ]
      },
      {
       "name": "Qdrant Client",
       "why": "Python client library for Qdrant vector database for semantic search and embeddings.",
       "path": "tools/qdrant-client/",
       "facts": [
        "Apache-2.0",
        "Gid 58",
        "4.1M/wk"
       ]
      },
      {
       "name": "LanceDB (Python)",
       "why": "Vector database for AI and ML workloads with fast similarity search.",
       "path": "tools/lancedb/",
       "facts": [
        "Apache-2.0",
        "Gid 57",
        "1.3M/wk"
       ]
      }
     ],
     "more": "Compare pgvector with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install pgvector"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for pgvector yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi pgvector"
  ],
  [
   "Category",
   "Databases, ORMs and clients"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "58.4"
  ],
  [
   "Rank in category",
   "#24 of 120"
  ],
  [
   "GitHub",
   "pgvector/pgvector-python"
  ],
  [
   "Last change",
   "Nov 5, 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/pgvector.png"
}