# PartySocket — card for AI agents

Robust WebSocket client with reconnection, multiplexing and PartyKit support.

Category: HTTP clients and networking · npm package `partysocket` · latest version 1.3.0 (checked 2026-11-03)
Install: `npm install partysocket`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 46.1 (#2427 of all tools, 77 of 126 in its category)
- Used in 2 public projects set up for AI coding agents (0.0%)
- Downloads last week: 5,065,612 (as of 2026-11-24), +45.3% over 4 weeks
- GitHub stars: 1,318 (as of 2026-11-24)
- Last push: 2026-08-03

## Often used with
ESLint 75.0%, react-markdown 37.5%, react-resizable-panels 37.5%, remark-gfm 37.5%, tw-animate-css 37.5%, AI SDK 37.5%

## Checked alternatives (same job)
- ws: https://agentgid.com/tools/ws/agent.md
- Socket.IO Client: https://agentgid.com/tools/socket-io-client/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/partysocket/
- Homepage: https://docs.partykit.io/reference/partysocket-api
- Repository: https://github.com/cloudflare/partykit

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
