Agent skill · software engineering · aiskillstore

javascript-sdk

JavaScript/TypeScript SDK for inference.sh - run AI apps, build agents, integrate with all models. Package: @inferencesh/sdk (npm install). Full TypeScript support, streaming, file uploads. Build agents with template or ad-hoc patterns, tool builder API, skills, human approval. Use for: JavaScript integration, TypeScript, Node.js, React, Next.js, frontend apps. Triggers: javascript sdk, typescript sdk, npm install, node.js api, js client, react ai, next.js ai, frontend sdk, @inferencesh/sdk, typescript agent, browser sdk, js integration

Why this skill is useful

Provides specific commands and patterns for integrating with the inference.sh SDK that the AI wouldn't reliably generate on its own.

What it needs

Requires node installed locally. Requires inference.sh account access. About 6k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Install the belt CLI skill: npx skills add belt-sh/cli JavaScript SDK Build AI applications with the inference.sh JavaScript/TypeScript SDK. Quick Start Installation Requirements: Node.js 18.0.0+ (or modern browser with fetch) Authentication Get your API key: Settings → API Keys → Create API Key Running Apps Basic Execution Fire and Forget Streaming Progress Run Parameters Parameter Type Description ----------- ------ ------------- app string App ID (namespace/name@version) input object Input matching app schema setup object Hidden setup configuration infra string 'cloud' or 'private' session string Session ID for stateful execution sessiontimeout number Idle timeout (1-3600 seconds) File Handling Automatic Upload Manual Upload Browser File Upload Sessions (Stateful Execution) Keep workers warm across multiple calls: Agent SDK Template Agents Use pre-built agents from your workspace: Ad-hoc Agents Create custom agents programmatically: Available Core Apps Model App Reference ------- --------------- Claude Sonnet 4 infsh/claude-sonnet-4@latest Claude 3.5 Haiku infsh/claude-haiku-35@latest GPT-4o infsh/gpt-4o@latest GPT-4o Mini infsh/gpt-4o-mini@latest Tool Builder API Parameter Types Client Tools (Run in Your Code) App Tools (Call AI Apps) Agent Tools (Delegate to Sub-agents) Webhook Tools (Call External APIs) Internal Tools (Built-in Capabilities) Streaming Agent Responses File Attachments Skills (Reusable Context) Server Proxy (Frontend Apps) For browser apps, proxy through your backend to keep API keys secure: Client Setup Next.js Proxy (App Router) Express Proxy Supported Frameworks Next.js (App Router & Pages Router) Express Hono Remix SvelteKit TypeScript Support Full type definitions included: Error Handling Human Approval Workflows CommonJS Support Reference Files Agent Patterns - Multi-agent, RAG, batch processing patterns Tool Builder - Complete tool builder API reference Server Proxy - Next.js, Express, Hono, Remix, SvelteKit setup Streaming - Real-time pr …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/javascript-sdk

View the source on GitHub

Browse the @skills marketplace