@aibind/vue

AI SDK bindings for Vue 3 — reactive composables for streaming, structured output, and agents
1,366 19
Install
npm install @aibind/vue
Latest Version:0.12.0
Vue:3
License:MIT
Last Updated:Mar 10, 2026
Links: GitHub  ·  npm
Maintainer: puruvj

@aibind/vue

Low-level Vue 3 composables for AI streaming. If you're using Nuxt, use @aibind/nuxt instead — it wraps this package with sensible defaults and server handlers.

Install

npm install @aibind/vue ai vue

Using Nuxt? Install @aibind/nuxt instead — it includes this package and adds server handlers and default endpoints.

Usage

This package requires you to specify an endpoint for every composable. For Nuxt projects, @aibind/nuxt provides defaults automatically.

<script setup lang="ts">
import { useStream } from "@aibind/vue";

const { text, loading, send } = useStream({
  endpoint: "/my/stream/endpoint", // required
  system: "You are a helpful assistant.",
});
</script>

Entry Points

Entry Exports
@aibind/vue useStream, useStructuredStream, defineModels
@aibind/vue/agent useAgent
@aibind/vue/markdown StreamMarkdown, StreamParser, HtmlRenderer, MarkdownRecovery
@aibind/vue/history ReactiveChatHistory, ReactiveMessageTree
@aibind/vue/project Project

Documentation

Full documentation: aibind.dev

Requirements

  • Vue 3.3+
  • AI SDK 6.0+

License

MIT

Related Packages

@aibind/nuxt

AI SDK bindings for Nuxt — composables with defaults, server handlers, and agent...

1,296 19
@opentiny/tiny-robot-kit

AI大模型请求与数据处理工具包

29,412 101
@reactive-agents/vue

Vue composables for Reactive Agents — useAgentStream, useAgent

3,001
@agentskit/vue

Vue 3 composable + headless chat components for AgentsKit — streaming, tools, an...

6,400 37
chapi-ai

Chatbot de IA con RAG: multi-proveedor (Anthropic/OpenAI/Google/Groq), grounding...

775

Version History

Version Released Vue License
0.12.0 ^3.3.0 MIT
0.11.0 ^3.3.0 MIT
0.10.0 ^3.3.0 MIT
0.9.1 ^3.3.0 MIT
0.9.0 ^3.3.0 MIT