Streaming AI Agent

AI Agent with real-time intermediate webhook for tool-call streaming. Works with ALL chat models.

Streaming AI Agent

AI-generated

Summary

Send a user prompt to an AI chat model with optional memory and tool integrations, invoke tools as directed by the model with real-time intermediate webhook callbacks, and return the final AI-generated response along with optional intermediate tool-call steps.

Inputs

  • Prompt (User Message) (required) — The user message to send to the AI agent.
  • Options — Optional settings including:
  • System Message: Custom system prompt to guide the AI.
  • Max Iterations: Maximum number of interaction loops between AI and tools (default 10).
  • Intermediate Webhook URL: URL to POST real-time tool-call events during execution.
  • Return Intermediate Steps: Whether to include detailed intermediate tool-call results in the output.

Output shape

A list of JSON objects each containing the AI agent's final output text and a run ID. Optionally contains intermediate step details if enabled.

Processes each input item independently. Requires a connected chat model capable of tool calling, and optionally connected memory and tool nodes. Emits intermediate webhook POSTs during execution reflecting tool calls and results. Errors are optionally returned on a per-item basis if 'Continue On Fail' is enabled.

Links

Discussion