# Transformers.js — card for AI agents

Run Hugging Face transformer models directly in browser without servers.

Category: Model SDKs · npm package `@huggingface/transformers` · latest version 4.3.2 (checked 2026-11-01)
Install: `npm install @huggingface/transformers`
License: Apache-2.0 (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.

## Agent Skills for it
- Official: huggingface/skills (26 skills): `npx skills add huggingface/skills`
- transformers from K-Dense-AI/scientific-agent-skills: `npx skills add K-Dense-AI/scientific-agent-skills --skill transformers`

## Numbers (AgentGid data)
- Gid Score: 65.8 (#624 of all tools, 14 of 92 in its category)
- Used in 29 public projects set up for AI coding agents (0.5%)
- Downloads last week: 4,671,657 (as of 2026-11-24), +29.2% over 4 weeks
- GitHub stars: 16,455 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
TypeScript 86.2%, tsx 44.8%, Vitest 51.7%, Model Context Protocol SDK (JavaScript) 34.5%, uuid 27.6%, yaml 27.6%

## Checked alternatives (same job)
- OpenAI: https://agentgid.com/tools/openai-npm/agent.md
- Anthropic SDK: https://agentgid.com/tools/anthropic-ai/agent.md
- Google Generative AI: https://agentgid.com/tools/google-genai-npm/agent.md
- Ollama JavaScript Library: https://agentgid.com/tools/ollama-npm/agent.md
- Mistral AI: https://agentgid.com/tools/mistralai-mistralai/agent.md
- Genkit Google AI: https://agentgid.com/tools/genkit-ai-googleai/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/huggingface/
- Homepage: https://github.com/huggingface/transformers.js#readme
- Repository: https://github.com/huggingface/transformers.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.
