# rpc-websockets — card for AI agents

JSON-RPC 2.0 over WebSockets for Node.js real-time communication.

Category: HTTP clients and networking · npm package `rpc-websockets` · latest version 10.0.1 (checked 2026-11-01)
Install: `npm install rpc-websockets`
License: LGPL-3.0-only (weak-copyleft)

In your own product (generator, app, hosted service): **conditions**. Weak copyleft: fine inside a closed product, but changes to the library's own files stay under its license and must be shared.

## Numbers (AgentGid data)
- Gid Score: 46.0 (#2438 of all tools, 78 of 126 in its category)
- Downloads last week: 3,464,900 (as of 2026-11-24), +27.4% over 4 weeks
- GitHub stars: 626 (as of 2026-11-24)
- Last push: 2026-05-15

## Often used with
Solana Web3.js 100.0%, Anchor 67.6%, Solana SPL Token 51.4%, ts-node 45.9%, TypeScript 89.2%, dotenv 45.9%

## Checked alternatives (same job)
- ws: https://agentgid.com/tools/ws/agent.md
- Socket.IO: https://agentgid.com/tools/socket-io/agent.md
- Pusher Channels: https://agentgid.com/tools/pusher-js/agent.md
- Laravel Echo: https://agentgid.com/tools/laravel-echo/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/rpc-websockets/
- Homepage: https://github.com/elpheria/rpc-websockets#readme
- Repository: https://github.com/elpheria/rpc-websockets

---
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.
