Lightlines
By inference-sh

javascript-sdk

inference-sh6 installs

Build AI-powered apps in JavaScript and TypeScript.

What it does

Guides developers in adding inference.sh AI apps and agents to JavaScript and TypeScript applications.

When to use it

Use when integrating the SDK into JavaScript, TypeScript, Node.js, React, Next.js, or frontend applications.

How to use it

It changes how the agent integrates inference.sh AI applications into JavaScript and TypeScript project code.

What you provide

  • An existing project

Uses

Good to know

  • edits its own instructions

Latest review

What you need · 2

The SDK requires Node.js 18.0.0+ or, alternatively, a modern browser with fetch support.

Recommends reading the API key from the environment as an alternative to supplying it directly. Browser applications can use a backend proxy, whose examples read the same environment variable.


Access · 1

This skill

npx skills add belt-sh/cli

Execute

Installs the belt CLI skill