Agents.js / Tiny Agents

 »  AI Agents  »  SDK  »  Agents.js / Tiny Agents  URL Share on

 Repository  2,400  654

Minimal, model-agnostic agent library built entirely on MCP

hugging-face mcp-native minimal typescript browser lightweight
SDK SDK/Framework Beta Maintained

Key Features

Multi-Agent
Single Agent
Human-in-the-Loop
Streaming
Async Support
Type Safe
Short-Term Memory
Long-Term Memory
Shared Memory
Plugin System
Custom Tools
MCP Protocol
A2A Protocol
Code Execution
Web Browsing
File System Access
Sandboxing
Guardrails
Structured Output
DAG Workflows
Visual Builder
CLI
API Server
Self-Hosted
Cloud Hosted

Community Feedback

Strengths

  • Extremely lightweight (~50-70 lines)
  • MCP-native design
  • Model-agnostic
  • Works in browsers
  • Hub sharing for agents

Weaknesses

  • Very minimal — lacks advanced orchestration/memory/multi-agent
  • Monorepo stars misleading
  • Not suitable for enterprise use cases

Agents.js / Tiny Agents Details

OrganizationHugging Face
Organization TypeCompany
FundingSeries b+
CategorySDK
SubcategorySingle agent
DeploymentSDK/Framework
Primary LanguageTypeScript
RuntimeNode.js 18+, Bun, Deno, browsers
LicenseMIT
Commercial UseUnrestricted
Install Commandnpm install @huggingface/tiny-agents
GitHub Stars2,400
GitHub Forks654
Release CadenceWeekly
MaturityBeta
Pricing ModelFree
Free TierFully open-source MIT
Self-Hosted FreeYes
Cost Modelfree + LLM costs
Community SizeSmall (part of monorepo)
Community ActivityActive
SentimentPositive
GPU RequiredNo
ConfidenceHigh
Research Date2026-03-24
LLM Providersany via Hugging Face Inference API
API Keys RequiredHugging Face API key

Use Cases

Similar Tools

SmolagentsTiny Agents JS/MCP-native, Smolagents Python/code-first
Vercel AI SDKTiny Agents minimal MCP loop, Vercel AI SDK full UI toolkit

When to Use

Best for: Quick minimal agent prototyping with MCP

Avoid when: Need advanced orchestration, memory, or enterprise features

  Back to Agent Directory
Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260324