Get started
Solid quick start
Solid shell with typed render props for AgentsKit Chat.
Solid quick start
Install
code
pnpm add @agentskit/chat @agentskit/core @agentskit/solid solid-jsShell
code
import { AgentChat } from '@agentskit/chat/solid'
import { createSupportChat } from './support-chat'
import { adapter } from './adapter'
const definition = createSupportChat(adapter)
export function SupportChat() {
return (
<AgentChat
definition={definition}
placeholder="Ask about the product"
message={(message) => (
<article data-role={message.role}>{message.content}</article>
)}
/>
)
}Delegates to useChat from @agentskit/solid.
Next
- Multi-surface
- React quick start for the shared definition