agentskit.js
Packages

@agentskit/solid

Solid hook. Same contract as @agentskit/react.

Install

npm install @agentskit/solid solid-js @agentskit/adapters

Hello world

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

const chat = useChat({ adapter: anthropic({ apiKey, model: 'claude-sonnet-4-6' }) })

Surface

  • useChat(config): ChatReturn — Solid hook backed by createStore + onCleanup.

Siblings

React · Vue · Svelte · React Native · Angular · Ink

Source

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

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

On this page