agentskit.js
Examples

Agent Actions

AI agents that generate live, interactive UI — task trackers, dashboards, forms. The agent doesn't just respond with text, it builds working interfaces.

AI agents that generate live, interactive UI — task trackers, dashboards, forms. The agent doesn't just respond with text, it builds working interfaces.

Agent pipeline
Plan the AgentsKit 2.0 launch
Research → positioning → draft
  1. 🔭
    market.research
    Scanned competitors and baseline demand
  2. 🎯
    audience.segment
    Identified 3 launch audiences
  3. ✍️
    positioning.write
    Produced a 1-sentence positioning
  4. 🖼️
    assets.generate
    Drafted hero + 3 bullets + OG image copy
Report0c
Report streams here once the pipeline finishes.

#With AgentsKit

Combine useChat with custom renderers for tool call results:

import { useChat, ChatContainer, Message } from '@agentskit/react'

function AgentChat() {
  const chat = useChat({ adapter })
  return (
    <ChatContainer>
      {chat.messages.map(msg => (
        <div key={msg.id}>
          <Message message={msg} />
          {msg.toolCalls?.map(tc => (
            <DynamicWidget key={tc.id} type={tc.name} data={JSON.parse(tc.result || '{}')} />
          ))}
        </div>
      ))}
      <InputBar chat={chat} />
    </ChatContainer>
  )
}

Explore nearby

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

On this page