21st-dev-agents
The `21st Agents SDK` provides a complete, open-source, production-ready infrastructure to deploy AI agents. It eliminates the need to build runtime environments, sandboxing, streaming protocols, or chat UI from scratch.
- License 许可
- MIT
- 最近更新
- 2026-10-09
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- 21st-dev-agents
- keywords
- [ "21st-dev-agents", "ingested" ]
- description
- The `21st Agents SDK` provides a complete, open-source, production-ready infrastructure to deploy AI agents. It eliminates the need to build runtime environments, sandboxing, streaming protocols, or chat UI from scratch.
- mcp_compatible
- true
03 SKILL.md 正文
21st Agents SDK & Infrastructure
Source: http~/.seosona/path/ & http~/.seosona/path/ Date Ingested: 2026-06-12
1. Core Concept
The 21st Agents SDK provides a complete, open-source, production-ready infrastructure to deploy AI agents. It eliminates the need to build runtime environments, sandboxing, streaming protocols, or chat UI from scratch.
2. Key Architecture & Packages
- Client SDKs:
@21st-sdk/react: Provides ready-to-use, beautiful React chat UI components.@21st-sdk/nextjs/@21st-sdk/node: Handles secure token exchange and backend integrations.
- Agent Definition:
@21st-sdk/agentprovides helpers for defining agent instructions and tools. - Sandboxed Execution: Agents run inside secure, isolated environments powered by E2B or OpenSandbox (
packages/agent-runtime). This allows agents to safely execute code, manage files, and run terminal commands. - Microservices:
apps/relay: Handles Server-Sent Events (SSE) streaming, sandbox lifecycle, and tokens.apps/proxy: Securely forwards model API calls (Claude, OpenAI) so raw API keys are never exposed.
3. SEOSONA OS Integration Strategy
If Website SEOSONA or any future project requires embedding an interactive AI agent (e.g., a "Seosona Consultant Agent", an SEO analysis bot, or an interactive UI generator), SEOSONA OS MUST utilize this SDK rather than building from scratch.
- Install
@21st-sdk/reactfor the frontend Chat UI. - Define custom tools (web search, API calls) using the SDK's tool helpers.
- Deploy the agent through the 21st CLI and embed the Next.js API routes to handle secure communication.
04 同仓库更多 Skills
web_crawler_katana
High-speed web crawling using Katana patterns for deep site mapping, URL discovery, and content extraction.
server_log_analyzer
Analyzes Nginx/Apache server logs to identify Googlebot crawl patterns, errors, and performance bottlenecks.
schema_markup_generator
Auto-generates JSON-LD structured data for any page type (Article, Product, FAQ, LocalBusiness, etc.).
internal_linking_optimizer
Analyzes and optimizes the internal link graph of a website for SEO authority distribution.
google_trends_analyzer
Detects trending topics and seasonal patterns using Google Trends data for content planning and keyword strategy.
brand_context_analyzer
Tracks brand mentions, sentiment, and online reputation across web sources.