agentskit.js
For agents

@agentskit/vue — for agents

Vue 3 composable + ChatContainer component.

Install

npm install @agentskit/vue
# peer:
npm install vue

Primary exports

  • useChat(config): ChatReturn — Vue 3 composable, reactive via reactive() + auto-cleanup on scope dispose.
  • <ChatContainer :config="..."> — headless container using data-ak-* attributes.

Minimal example

import { useChat } from '@agentskit/vue'

const chat = useChat({ adapter })
// chat.messages, chat.input are reactive
// chat.send(text), chat.setInput(value), etc.

Source

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

On this page