New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@aibind/solid

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aibind/solid

AI SDK bindings for SolidJS — reactive hooks for streaming, structured output, and agents

latest
Source
npmnpm
Version
0.12.0
Version published
Maintainers
1
Created
Source

@aibind/solid

Low-level SolidJS reactive hooks for AI streaming. If you're using SolidStart, use @aibind/solidstart instead — it wraps this package with sensible defaults and server handlers.

Install

npm install @aibind/solid ai solid-js

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

Usage

This package requires you to specify an endpoint for every hook. For SolidStart projects, @aibind/solidstart provides defaults automatically.

import { useStream } from "@aibind/solid";

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

  return <p>{text()}</p>;
}

Entry Points

EntryExports
@aibind/soliduseStream, useStructuredStream, defineModels
@aibind/solid/agentuseAgent
@aibind/solid/markdownuseStreamMarkdown, StreamParser, HtmlRenderer, MarkdownRecovery
@aibind/solid/historyReactiveChatHistory, ReactiveMessageTree
@aibind/solid/projectProject

Documentation

Full documentation: aibind.dev

Requirements

  • SolidJS 1.8+
  • AI SDK 6.0+

License

MIT

Keywords

solid

FAQs

Package last updated on 10 Mar 2026

Related posts