inference.sh JavaScript SDK — интеграция AI-агентов
★ 7.7 · content
javascript-sdk is a Claude Code skill that provides full JavaScript and TypeScript integration with the inference.sh platform via the official @inferencesh/sdk package. Install it with npm, yarn, or pnpm; it runs on Node.js 18+ and modern browsers with native fetch support. The SDK covers streaming task progress, automatic and manual file uploads, stateful sessions with configurable idle timeouts, and a typed tool builder API for defining custom agent tools. Agents can be created from pre-built workspace templates or assembled ad-hoc with a chosen core model (Claude Sonnet 4, GPT-4o, and others), system prompt, and tool list. It's the right choice for developers building AI-powered Node.js services, React or Next.js frontend apps, or multi-turn TypeScript agents with Human Approval workflows.