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

Source

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

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page