# web3.js — card for AI agents

Ethereum JavaScript library for interacting with blockchain networks and smart contracts.

Category: Crypto and web3 · npm package `web3` · latest version 4.16.0 (checked 2026-11-01)
Install: `npm install web3`
License: LGPL-3.0 (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.

## Warnings
- The repository is archived: no more updates.

## Numbers (AgentGid data)
- Gid Score: 59.8 (#1051 of all tools, 9 of 155 in its category)
- Used in 3 public projects set up for AI coding agents (0.0%)
- Downloads last week: 776,889 (as of 2026-11-24), +28.3% over 4 weeks
- GitHub stars: 19,895 (as of 2026-11-24)
- Last push: 2025-03-05

## Often used with
ethers.js 61.2%, Axios 50.0%, viem 48.3%, Solana Web3.js 45.7%, wagmi 31.0%, dotenv 37.1%

## Checked alternatives (same job)
- viem: https://agentgid.com/tools/viem/agent.md
- ethers.js: https://agentgid.com/tools/ethers/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/web3-tool-npm/
- Homepage: https://github.com/ChainSafe/web3.js#readme
- Repository: https://github.com/ChainSafe/web3.js

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