Skip to content
masterclass Buddy

Inngest · Method

step.ai.wrap

step.ai.wrap() runs a TypeScript AI SDK call as an Inngest step. It adds AI observability and supports prompt editing and reruns when arguments are JSON serializable.

Last updated

Syntax

step.ai.wrap(name, fn, args)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • step.ai.infer()
  • AgentKit
  • step.invoke()
  • step.sendEvent()
  • agent tool loop pattern

Source: AI Inference Steps | Call LLMs in Functions - Inngest Docs. Checked 2026-11-03.