
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@aibind/sveltekit
Advanced tools
AI SDK bindings for SvelteKit — streaming, structured output, agents, server handlers, and remote functions
AI SDK bindings for SvelteKit. Reactive Svelte 5 classes, server handlers, remote functions, and agents — all wired up with sensible defaults.
npm install @aibind/sveltekit ai svelte
Peer dependencies: svelte ^5.53, ai ^6.0, @sveltejs/kit ^2.53.
// src/hooks.server.ts
import { createStreamHandler } from "@aibind/sveltekit/server";
import { anthropic } from "@ai-sdk/anthropic";
export const handle = createStreamHandler({
model: anthropic("claude-sonnet-4-20250514"),
});
<script lang="ts">
import { Stream } from "@aibind/sveltekit";
const stream = new Stream({
system: "You are a helpful assistant.",
});
let prompt = $state("");
</script>
<form
onsubmit={(e) => {
e.preventDefault();
stream.send(prompt);
}}
>
<input bind:value={prompt} />
<button disabled={stream.loading}>Send</button>
</form>
{#if stream.text}
<p>{stream.text}</p>
{/if}
| Import Path | What You Get |
|---|---|
@aibind/sveltekit | Stream, StructuredStream, defineModels |
@aibind/sveltekit/server | createStreamHandler, ServerAgent |
@aibind/sveltekit/agent | Agent |
@aibind/sveltekit/remote | AIRemote |
@aibind/sveltekit/history | ReactiveChatHistory, ReactiveMessageTree |
@aibind/sveltekit/markdown | StreamMarkdown |
@aibind/sveltekit/project | Project |
Full documentation, API reference, and guides: aibind.dev
MIT
FAQs
AI SDK bindings for SvelteKit — streaming, structured output, agents, server handlers, and remote functions
We found that @aibind/sveltekit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.