Skip to content

AI agent

  • Type ai.agent
  • Group AI
  • Role action
  • Risk acts outside MZBase
  • Side effect has an effect each run
  • Runs once per item
  • Needs ai

Lets a model call tools, workflows and knowledge bases until it has an answer

Also available to AI agents and over MCP as a tool.

route

AI route · string · optional

fallbackRoute

Fallback route · string · optional

system

System message · string · optional

prompt

Prompt · string · required

What the AI should do. Expressions insert item data.

tools

Tools · toolList · optional · default []

memory

Memory · object · optional

Fields:

  • mode (string) Mode
  • key (string) Key
  • window (integer) Messages kept

knowledgeBases

Knowledge bases · array · optional

maxSteps

Max steps · integer · optional · default 10 · range 1 – 50

maxTokens

Max tokens · integer · optional · range 1 – …

outputSchema

Output schema · json · optional

includeSteps

Include steps in the output · boolean · optional · default false

  • main

← All nodes