JavaScript SDK工具 vs claude-api
Сравнение двух Agent Skills бок о бок. Выбери подходящий для Claude Code или Claude Desktop.
|-。inference.sh的JS/TS SDK,跑AI应用/建Agent/集成150+模型。JavaScript/TypeScript。Use when 需要AI模型调用、智能对话、Agent编排、LLM应用时使用。不适用于需要100%确定性的关键决策。适用于独立开发者、企业团队和自动化工作流场景。 SDK…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
Сравнение
| Параметр | JavaScript SDK工具 | claude-api |
|---|---|---|
| Скрипты | нет | нет |
| Разрешённые инструменты | любые | любые |
| Тип установки | personal | personal |
| Категория | coding | coding |
| Проверен | — | |
| Лицензия | MIT | Complete terms in LICENSE.txt |
| Автор | thcjp | Anthropic |
| Repo | — | anthropics/skills |
Когда брать JavaScript SDK工具
|-。inference.sh的JS/TS SDK,跑AI应用/建Agent/集成150+模型。JavaScript/TypeScript。Use when 需要AI模型调用、智能对话、Agent编排、LLM应用时使用。不适用于需要100%确定性的关键决策。适用于独立开发者、企业团队和自动化工作流场景。 SDK for inference。sh - run A。支持自动化配置和灵活的参数设置,适覆盖多种使用场景,优化工作流程和效率。。inference.sh的JS/TS SDK,跑AI应用/建Agent/集成150+模型。JavaScript/TypeScript SDK for inference。sh - run A'
Когда брать claude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).
Ищешь другое? Все скиллы.