Orbeez kit
Agents & tools

Tool

<Tool />
A call an agent made to a tool, dyed by how it is going, with what went in and what came out folded inside.
Input
{
  "filter": "cart"
}
Output
{
  "passed": 48,
  "failed": 0
}

Install

bash
npx shadcn@latest add https://orbeez-kit.vercel.app/r/tool.json

Usage

tsx
// parts as the AI SDK hands them over
<Tool part={{ type: 'run_tests', state: 'output-available', input, output }} />

Good to know

  • Moods. Running tools work; ready ones are surprised; failed ones are sad.
  • States follow the AI SDK: input-streaming, input-available, output-available, output-error.