agentskit.js
Packages

@agentskit/vue

Vue 3 composable + ChatContainer component. Same contract as @agentskit/react.

#Install

npm install @agentskit/vue vue @agentskit/adapters

#Hello world

import { useChat } from '@agentskit/vue'
import { anthropic } from '@agentskit/adapters'

const chat = useChat({ adapter: anthropic({ apiKey, model: 'claude-sonnet-4-6' }) })
// chat.messages + chat.input are reactive
// chat.send / chat.setInput / chat.stop / chat.retry / chat.clear

#Surface

  • useChat(config): ChatReturn β€” reactive via Vue's reactive() + auto-cleanup on scope dispose.
  • <ChatContainer :config="..."> β€” headless container using data-ak-* attributes.

#Siblings

React Β· Svelte Β· 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.

#Source

npm: @agentskit/vue Β· repo: packages/vue

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page