Skip to content

railpay-agent-tools v0.2.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 19:21
· 14 commits to main since this release

Added

  • railpay-agent-tools/ai: aiSdkTools(toolkit) turns the tools into Vercel AI SDK tools for generateText and streamText, built with tool() and jsonSchema() (no zod schemas needed). The model gets the structured result, refusals included, and the AI SDK abort signal is passed through to the HTTP requests.
  • ai ^7 as an optional peer dependency. Tested with ai 7.0.179.
  • Example examples/ai-sdk.ts (Claude through @ai-sdk/anthropic) and an AI SDK quick start in the README.