Packages
@agentskit/svelte
Svelte 5 chat store. Same contract as @agentskit/react.
#Install
npm install @agentskit/svelte svelte @agentskit/adapters#Hello world
<script lang="ts">
import { createChatStore } from '@agentskit/svelte'
import { anthropic } from '@agentskit/adapters'
const chat = createChatStore({ adapter: anthropic({ apiKey, model: 'claude-sonnet-4-6' }) })
</script>
{#each $chat.messages as m (m.id)}
<p>{m.content}</p>
{/each}
<form on:submit|preventDefault={() => chat.send($chat.input)}>
<input bind:value={$chat.input} />
</form>#Surface
createChatStore(config): SvelteChatStoreβReadable<ChatState>+ action methods +destroy().
#Siblings
React Β· Vue Β· Solid Β· React Native Β· Angular Β· Ink
#Stability
- Version:
0.2.0 - Tier: alpha
- Contract: evolving
- Roadmap: see packages roadmap for what this package needs to reach v1.0.
#Related
#Source
npm: @agentskit/svelte Β· repo: packages/svelte
Explore nearby
- PeerPackages overview
Every AgentsKit package at a glance β what it does, when to reach for it, where to read the deep dive.
- PeerRoadmap
Per-package stability status, current version, and what each package needs to reach v1.0.
- Peer@agentskit/core
Shared contract layer β TypeScript types, headless chat controller, stream helpers. Zero-dep, under 10 KB gzipped.