Node Reference

September 3, 2026 · View on GitHub

Auto-generated from Schema() metadata. 85 nodes registered.

NodeDescriptionParams
a2a_agentSends the input as one task to an A2A agent (message/send with tasks/send fallback), polls tasks/get until a terminal...4
agentAutonomous agent node with ReAct reasoning loop and tool use capabilities9
anthropicCall Anthropic Claude via an OpenAI-compatible proxy (LiteLLM/one-api). Native api.anthropic.com is NOT OpenAI-compat...15
arkCall Volcengine Ark LLM API15
ascendCall Ascend LLM API15
baichuanCall Baichuan LLM API15
callCall another workflow file2
cambriconCall Cambricon MLU LLM API15
cerebrasCall Cerebras LLM API15
clarifyPre-execution ambiguity checker: identifies unclear requirements and generates clarifying questions (ACQUIRE framework)8
cli_agentRuns one bounded task via an external CLI agent subprocess (codex exec, claude -p, gemini -p, or a generic command) w...9
cli_session交互式CLI会话节点。支持上下文保持、命令历史、快捷键、流式输出和自动补全,提供类...5
code_interpreterExecute Python/Node.js/Rust code in a sandboxed environment with file I/O6
code_knowledge_graphSemantic code knowledge graph with vector retrieval, 158 language support, MCP tool exposure, and token-efficient rev...13
code_reviewHybrid code review combining deterministic rule engine (NPE, thread-safety, security) with LLM deep analysis. Inspire...11
codex_agentRuns one bounded Codex agent task via codex exec and returns its final output. Requires the codex CLI (https://gith...7
combineCombine multiple inputs into one1
compressIntelligent context compression with 6 algorithms: extractive, keyword, cluster, sliding_window, hybrid (headroom-ins...7
conditionEvaluate conditional expressions (contains, equals, regex, empty)2
cozeCall Coze LLM API15
criticCritic agent that reviews output, identifies issues, and suggests improvements8
deepseekCall DeepSeek LLM API15
doc_genAI自动文档生成节点。自动生成和更新代码库文档,支持README、API文档、函数注释、模块...6
doc_parseParse documents (PDF/images/HTML) into text, LaTeX, or HTML table format7
droneControl MAVLink-compatible drones (PX4/ArduPilot) via HTTP bridge. Supports arm/disarm, takeoff, land, RTL, waypoint ...17
email_sendSend an email over SMTP (implicit TLS on port 465, STARTTLS elsewhere; plaintext only for loopback relays)12
engineer_skills预置工程技能包,覆盖前端/后端/DevOps/架构/安全/数据/信创七大领域共 24 项技能。支持...5
evaluatorEvaluator agent that scores output against criteria with structured rubrics9
executeExecute shell commands (disabled in safe mode)3
fastgptCall FastGPT API5
fetch_urlFetch content from a URL3
file_readRead content from a file. Automatically redacts secrets (API keys, tokens, .env files) by default for privacy — set...3
file_watchPolls a file or directory for create/modify/delete events and returns them as JSON. Suitable for log-monitor and file...6
file_writeWrite content to a file4
files_listList files under a files/notes connector root (relative paths + sizes). Skips dotfiles/dot-directories and symlinks. ...3
fireworksCall Fireworks AI LLM API15
geminiCall Google Gemini LLM API15
glmCall GLM LLM API15
groqCall Groq LLM API15
http_requestMake HTTP requests with custom method, headers, and body13
human_in_loopHuman approval gate — pauses workflow for human review and approval before continuing5
hunyuanCall Tencent Hunyuan LLM API15
hygonCall Hygon DCU LLM API15
imaCall IMA Copilot LLM API15
internlmCall InternLM LLM API15
json_parseParse and extract JSON data1
kimiCall Kimi LLM API15
knowledge_graphKnowledge graph node - extract entities/relations, build graph, query and traverse13
llm_routerSmart LLM router that automatically selects the best provider with fallback, quota tracking, and cost optimization5
memoryAI Agent memory infrastructure with session-isolated persistent knowledge graph engine. Supports multi-session parall...16
mimoCall MiMo LLM API15
minimaxCall MiniMax LLM API15
mistralCall Mistral LLM API15
multimodalMultimodal node for image analysis, OCR, and audio transcription using vision-capable LLMs10
notifySend notifications (stdout, stderr, slack, discord, telegram, feishu, dingtalk, wecom, webhook)10
nvidiaCall NVIDIA NIM LLM API15
officeRead .docx/.xlsx/.pptx documents (text, tables, slides) using pure-Go OOXML parsing5
ollamaCall Ollama local LLM server3
openaiCall OpenAI LLM API15
openrouterCall OpenRouter LLM API15
perplexityCall Perplexity LLM API15
pipelineDependency-based parallel workflow executor: steps run as soon as their dependencies are met, no global barriers (Tun...2
plannerTask decomposition agent that breaks complex goals into actionable steps9
preferenceUser preference memory: store, retrieve, and learn user habits across sessions (MemSlides-inspired user profiling)7
qianfanCall Baidu Qianfan LLM API15
qwenCall Qwen LLM API15
ragRetrieval Augmented Generation node - chunk documents, search by query, and assemble context7
reflectorSelf-reflection agent that critiques output and iteratively improves it (Reflexion pattern)7
researcherResearch agent that fetches information from URLs and summarizes findings7
search_aggregateMulti-platform search aggregator with real-signal ranking: Reddit/Twitter/YouTube/HN/GitHub, sorted by votes/comments...8
session_managerMulti-session memory management. Create isolated sessions, fork a session from a parent, merge sessions, and share fa...11
siliconflowCall SiliconFlow LLM API15
skill_distillDistill methodologies from books, videos, podcasts, and documents into callable skills. Supports workflow, decision, ...6
sql_queryExecute SQL via database/sql. The driver must be registered by the host program. Uses parameterized queries (? or $1)...9
stepfunCall StepFun LLM API15
structured_outputLLM-driven structured output with local JSON Schema validation and self-correction retries11
supervisorAdvanced supervisor with MoE routing, MindSearch deep research, 232+ domain specialists, and collaboration templates....16
template_renderRender Go templates with input data2
togetherCall Together AI LLM API15
transformTransform text using string operations1
verifyAgent-as-a-Judge verifier that validates outputs, claims, and results against specified criteria10
waitPause the workflow for a duration (delay/sleep), then pass input through1
xaiCall xAI Grok LLM API15
xverseCall XVERSE LLM API15
yiCall Yi LLM API15

a2a_agent

Sends the input as one task to an A2A agent (message/send with tasks/send fallback), polls tasks/get until a terminal state and returns the artifacts/status text. Consecutive failures trip a per-agent circuit breaker: calls fail fast with a circuit-open error until an agent-card probe succeeds, so one dead endpoint cannot burn the full timeout on every step.

  • Input: string - the task/prompt for the remote agent
  • Output: string - the agent's artifacts/status message text

Parameters

NameTypeRequiredDefaultDescription
agentstringNoRegistered A2A agent name (see aflare agent list)
urlstringNoA2A service endpoint (http/https); required when no agent name is given
api_key_envstringNoEnvironment variable holding the bearer token for the remote agent
timeoutstringNoOverall step timeout, e.g. 30s, 10m, 1h (default 10m, max 60m)

agent

Autonomous agent node with ReAct reasoning loop and tool use capabilities

  • Input: string - the task or question for the agent
  • Output: string - the agent's final answer

Parameters

NameTypeRequiredDefaultDescription
providerstringNoollamaLLM provider: ollama, openai, deepseek, glm, kimi, qwen, mistral, yi (default: ollama)
modelstringNollama3Model name (default: llama3)
api_keystringNoAPI key (for cloud providers)
endpointstringNoAPI endpoint URL
systemstringNoSystem prompt / role definition for the agent
toolsstringNofetch_url,json_parseComma-separated list of tools to enable: fetch_url,http_request,file_read,file_write,json_parse,transform,combine,ollama,openai,code_interpreter,execute
max_iterationsstringNo10Maximum number of ReAct iterations (default: 10)
enable_thinkingstringNofalseEnable deep thinking / chain-of-thought mode (default: false)
show_thinkingstringNotrueShow the thinking chain in output (default: true)

anthropic

Call Anthropic Claude via an OpenAI-compatible proxy (LiteLLM/one-api). Native api.anthropic.com is NOT OpenAI-compatible and will 404; configure endpoint to point at a proxy that translates the protocol.

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoclaude-sonnet-5Model name (default: claude-sonnet-5)
api_keystringNoAnthropic API key (or set ANTHROPIC_API_KEY env var)
endpointstringNohttps://api.anthropic.com/v1API base URL (default: https://api.anthropic.com/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

ark

Call Volcengine Ark LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNodoubao-seed-2-1-pro-260628Model name (default: doubao-seed-2-1-pro-260628)
api_keystringNoVolcengine Ark API key (or set ARK_API_KEY env var)
endpointstringNohttps://ark.cn-beijing.volces.com/api/v3API base URL (default: https://ark.cn-beijing.volces.com/api/v3)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

ascend

Call Ascend LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoqwen2.5-7bModel name (default: qwen2.5-7b)
api_keystringNoAscend API key (or set ASCEND_API_KEY env var)
endpointstringNohttp://localhost:8080/v1API base URL (default: http://localhost:8080/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

baichuan

Call Baichuan LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoBaichuan4Model name (default: Baichuan4)
api_keystringNoBaichuan API key (or set BAICHUAN_API_KEY env var)
endpointstringNohttps://api.baichuan-ai.com/v1API base URL (default: https://api.baichuan-ai.com/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

call

Call another workflow file

  • Input: string - input data to pass to the called workflow
  • Output: string - output from the called workflow

Parameters

NameTypeRequiredDefaultDescription
workflowstringYesPath to the workflow file to call
varsstringNoJSON or key=value pairs to pass as workflow variables (e.g. topic=AI,model=gpt-4)

cambricon

Call Cambricon MLU LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoqwen2.5-7bModel name (default: qwen2.5-7b)
api_keystringNoCambricon MLU API key (or set CAMBRICON_API_KEY env var)
endpointstringNohttp://localhost:8081/v1API base URL (default: http://localhost:8081/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

cerebras

Call Cerebras LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNollama-3.3-70bModel name (default: llama-3.3-70b)
api_keystringNoCerebras API key (or set CEREBRAS_API_KEY env var)
endpointstringNohttps://api.cerebras.ai/v1API base URL (default: https://api.cerebras.ai/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

clarify

Pre-execution ambiguity checker: identifies unclear requirements and generates clarifying questions (ACQUIRE framework)

  • Input: string - the task or goal to analyze for ambiguity
  • Output: string - JSON with clarification result: needs_clarification, questions, confidence, clarified_goal

Parameters

NameTypeRequiredDefaultDescription
providerstringNoollamaLLM provider (default: ollama)
modelstringNollama3Model name (default: llama3)
api_keystringNoAPI key
endpointstringNoAPI endpoint URL
thresholdstringNo70Confidence threshold 0-100, below this trigger clarification (default: 70)
max_questionsstringNo5Max clarification questions to ask (default: 5)
contextstringNoAdditional context about the task
user_answersstringNoJSON object of user's answers to previous questions (question -> answer)

cli_agent

Runs one bounded task via an external CLI agent subprocess (codex exec, claude -p, gemini -p, or a generic command) with timeout, sandbox and audit. Requires the agent CLI installed and authenticated. Consecutive failures trip a per-agent circuit breaker (fast circuit-open failures until the agent recovers).

  • Input: string - the task/prompt for the agent
  • Output: string - the agent's final answer (stdout)

Parameters

NameTypeRequiredDefaultDescription
agentstringNoRegistered agent name (see aflare agent list); overrides: binary/profile/model/sandbox can still be set per step
binarystringNoAgent executable (bare name or absolute path); required when no agent name is given
profilestringNoCLI profile: codex, claude, gemini, generic (default: generic when inline)
modelstringNoModel the agent should use (forwarded as a validated flag value)
sandboxstringNocodex: strict, permissive, danger-full-access (default strict)
approval_policystringNocodex: never, on-failure, on-request, untrusted (default never); claude/generic: only never is supported
max_turnsstringNoMaximum agent turns, 0 for unlimited (default 0)
cwdstringNoWorking directory for the agent (must exist)
timeoutstringNoOverall step timeout, e.g. 30s, 10m, 1h (default 10m, max 60m)

cli_session

交互式CLI会话节点。支持上下文保持、命令历史、快捷键、流式输出和自动补全,提供类似Claude Code的流畅CLI体验。

  • Input: string - 用户输入的命令或消息
  • Output: string - JSON格式的会话响应

Parameters

NameTypeRequiredDefaultDescription
modelstringNoauto使用的模型(默认auto,由路由层选择)
session_idstringNo会话ID(自动生成或指定)
max_historyintNo50最大历史记录数(默认50)
streamingboolNotrue流式输出(默认true)
themestringNodark主题(light/dark,默认dark)

code_interpreter

Execute Python/Node.js/Rust code in a sandboxed environment with file I/O

  • Input: string - stdin for the code (optional)
  • Output: string - stdout, stderr, and generated files

Parameters

NameTypeRequiredDefaultDescription
codestringYesCode to execute
languagestringNopythonProgramming language: python, nodejs, rust (default: python)
timeoutstringNoExecution timeout (default based on security level)
work_dirstringNoWorking directory for code execution (default: temp dir)
save_outputsstringNotrueIf true, save output files to work_dir (default: true)
networkstringNofalseAllow network access during execution (L0/L1 only, default: false)

code_knowledge_graph

Semantic code knowledge graph with vector retrieval, 158 language support, MCP tool exposure, and token-efficient review. Supports incremental updates and persistent indexing.

  • Input: string - optional query context or MCP tool call
  • Output: string - JSON format with entities, relations, concepts, query results, or MCP tool response

Parameters

NameTypeRequiredDefaultDescription
pathstringYesCode path to analyze
modestringNobuild_and_queryMode: build/build_and_query/query_only/incremental/mcp_tool (default: build_and_query)
querystringNoQuery statement (text or vector)
query_typestringNosemanticQuery type: semantic/symbol/path/relation (default: semantic)
top_kintNo10Number of results to return (1-100, default: 10)
thresholdfloatNo0.7Similarity threshold 0.0-1.0 (default: 0.7)
vector_dimintNo384Vector dimension (default: 384)
mcp_toolstringNoMCP tool to call: list_entities/search_graph/analyze_dependencies/get_entity_details/list_relations/generate_summary
entity_namestringNoEntity name for get_entity_details tool
token_efficientboolNotrueEnable token-efficient review mode (default: true)
incremental_updateboolNofalseUse incremental update (only process changed files)
use_cacheboolNotrueUse persistent cache index (default: true)
force_rebuildboolNofalseForce rebuild index from scratch (default: false)

code_review

Hybrid code review combining deterministic rule engine (NPE, thread-safety, security) with LLM deep analysis. Inspired by alibaba/open-code-review.

  • Input: string - the code to review
  • Output: string - structured code review with findings and suggestions

Parameters

NameTypeRequiredDefaultDescription
providerstringNoollamaLLM provider (default: ollama)
modelstringNollama3Model name (default: llama3)
api_keystringNoAPI key
endpointstringNoAPI endpoint URL
languagestringNoProgramming language (auto-detected if not specified)
focusstringNoallReview focus: all, bugs, security, style, performance (default: all)
severitystringNomediumMinimum severity: low, medium, high, critical (default: medium)
use_rulesstringNotrueRun deterministic rule engine before LLM (default: true)
use_llmstringNotrueRun LLM deep analysis (default: true)
auto_clarifystringNofalseRun ACQUIRE-style clarification before review (default: false)
clarify_thresholdstringNo70Confidence threshold for auto-clarification 0-100 (default: 70)

codex_agent

Runs one bounded Codex agent task via codex exec and returns its final output. Requires the codex CLI (https://github.com/openai/codex) installed and authenticated.

  • Input: string - the task/prompt for the Codex agent
  • Output: string - the Codex agent's final answer (stdout)

Parameters

NameTypeRequiredDefaultDescription
binarystringNocodexPath to the codex executable (default: codex, resolved from PATH)
modelstringNoModel to use (passed as --model, e.g. gpt-5.6; empty = codex default)
sandboxstringNostrictCodex sandbox level: strict, permissive, danger-full-access (default: strict)
approval_policystringNoneverApproval policy for non-interactive runs: never, on-failure, on-request, untrusted (default: never)
max_turnsstringNo0Maximum agent turns, 0 for unlimited (default: 0)
cwdstringNoWorking directory for the agent (must exist; default: current directory)
timeoutstringNo10mOverall step timeout, e.g. 30s, 10m, 1h (default: 10m, max 60m)

combine

Combine multiple inputs into one

  • Input: string - input text to format
  • Output: string - formatted output

Parameters

NameTypeRequiredDefaultDescription
formatstringNotextOutput format: text, markdown, csv, json (default: text)

compress

Intelligent context compression with 6 algorithms: extractive, keyword, cluster, sliding_window, hybrid (headroom-inspired, 60-95% token reduction)

  • Input: string - text to compress
  • Output: string - compressed text with metadata

Parameters

NameTypeRequiredDefaultDescription
algorithmstringNohybridextract
ratiostringNo0.2Target compression ratio 0.01-1.0, lower=more aggressive (default: 0.2)
max_charsstringNo4000Maximum output characters (default: 4000)
preserve_headersstringNotruePreserve section headers (default: true)
preserve_numbersstringNotruePreserve sentences with numbers/stats (default: true)
outputstringNotexttext
keywordsstringNo0Also extract top N keywords (default: 0)

condition

Evaluate conditional expressions (contains, equals, regex, empty)

  • Input: string - the text to evaluate against
  • Output: string - 'true' or 'false'

Parameters

NameTypeRequiredDefaultDescription
exprstringYesCondition expression (e.g. contains:foo, equals:bar, regex:^test, empty, not_empty)
conditionstringNoAlias for expr

coze

Call Coze LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoModel name (default: )
api_keystringNoCoze API key (or set COZE_API_KEY env var)
endpointstringNohttps://api.coze.cn/v1API base URL (default: https://api.coze.cn/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

critic

Critic agent that reviews output, identifies issues, and suggests improvements

  • Input: string - the content to be reviewed and critiqued
  • Output: string - structured critique with issues and improvement suggestions

Parameters

NameTypeRequiredDefaultDescription
providerstringNoollamaLLM provider (default: ollama)
modelstringNollama3Model name (default: llama3)
api_keystringNoAPI key
endpointstringNoAPI endpoint URL
rolestringNogeneralCritic role: general, code, writing, security, design (default: general)
criteriastringNoCustom evaluation criteria (comma-separated)
output_formatstringNomarkdownOutput format: markdown, json, bullet_points (default: markdown)
suggest_improvementsstringNotrueWhether to suggest improvements: true/false (default: true)

deepseek

Call DeepSeek LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNodeepseek-chatModel name (default: deepseek-chat)
api_keystringNoDeepSeek API key (or set DEEPSEEK_API_KEY env var)
endpointstringNohttps://api.deepseek.com/v1API base URL (default: https://api.deepseek.com/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

doc_gen

AI自动文档生成节点。自动生成和更新代码库文档,支持README、API文档、函数注释、模块文档、更新日志、教程和架构文档等多种类型,让代码库对AI Agent更友好。

  • Input: string - 代码内容或文档生成指令
  • Output: string - 生成的文档内容(markdown或JSON格式)

Parameters

NameTypeRequiredDefaultDescription
doc_typestringYes文档类型:readme/api/function/module/changelog/tutorial/architecture
pathstringYes代码路径(相对工作目录)
languagestringNoauto代码语言:go/python/javascript/typescript/auto(默认auto)
output_formatstringNomarkdown输出格式:markdown/json(默认markdown)
depthintNo3文档深度1-5(默认3)
auto_updateboolNofalse是否自动更新现有文档(默认false)

doc_parse

Parse documents (PDF/images/HTML) into text, LaTeX, or HTML table format

  • Input: string - document text (source=text), base64-encoded image/PDF (source=base64), or URL (source=URL)
  • Output: string - parsed document content in the requested output format

Parameters

NameTypeRequiredDefaultDescription
sourcestringNotextInput source type: text
output_formatstringNotextOutput format: text
extract_tablesboolNofalseExtract markdown tables and return their count/content (default: false)
extract_formulasboolNofalseExtract LaTeX formulas (......, ......) and return their list (default: false)
langstringNoautoDocument language hint: zh
api_endpointstringNoOCR API endpoint URL (optional). When set with api_key, calls external OCR (e.g. OvisOCR2)
api_keystringNoOCR API key (optional)

drone

Control MAVLink-compatible drones (PX4/ArduPilot) via HTTP bridge. Supports arm/disarm, takeoff, land, RTL, waypoint mission upload, telemetry polling, patrol, survey, orbit, follow-me, and camera capture. Requires a MAVSDK server (drone_bridge.py) running on the drone's companion computer or ground station.

  • Input: string - natural language instruction or command description
  • Output: string - JSON drone control result with telemetry and status

Parameters

NameTypeRequiredDefaultDescription
drone_modelstringNoPX4Drone firmware: PX4, ArduPilot, ArduCopter, ArduPlane, ArduRover, generic (default: PX4)
drone_idstringNoUnique drone identifier (default: auto-generated)
bridge_hoststringNo127.0.0.1MAVSDK bridge host IP (default: 127.0.0.1)
bridge_portstringNo8080MAVSDK bridge port (default: 50051 for gRPC, 8080 for HTTP)
bridge_tokenstringNoBearer token for bridge authentication (default: none)
actionstringNoAction: arm, disarm, takeoff, land, rtl, hold, goto, mission_start, mission_pause, mission_resume, mission_upload, mission_clear, set_mode, get_telemetry, get_status, get_gps, get_battery, camera, deliver, patrol, survey, orbit, follow
modestringNosimulateBackend mode: simulate (default)
target_altitude_mfloatNo10Target altitude in meters (default: 10)
target_latitudefloatNoTarget latitude for goto/mission waypoints
target_longitudefloatNoTarget longitude for goto/mission waypoints
mission_typestringNowaypointMission type: waypoint, survey, corridor, orbit, patrol (default: waypoint)
waypointsstringNoJSON array of waypoints [{lat, lon, alt}] for mission_upload
flight_speed_msfloatNo5Flight speed in m/s (default: 5)
safety_altitude_mfloatNo3Minimum safety altitude in meters (default: 3)
max_flight_time_sstringNo300Maximum flight time in seconds (default: 300)
geofence_radius_mfloatNo200Geofence radius in meters (default: 200)
timeoutstringNo15HTTP request timeout in seconds (default: 15)

email_send

Send an email over SMTP (implicit TLS on port 465, STARTTLS elsewhere; plaintext only for loopback relays)

  • Input: string - email body (used when the body param is empty)
  • Output: string - delivery summary (host, recipients, subject)

Parameters

NameTypeRequiredDefaultDescription
hoststringYesSMTP server hostname or IP (e.g. smtp.gmail.com)
portintNo587SMTP port (465=implicit TLS, 587=STARTTLS; default 587)
fromstringYesSender address (plain email; display names are stripped)
tostringYesComma-separated recipient addresses (max 50 incl. cc)
ccstringNoComma-separated CC addresses (optional)
subjectstringNoaflare notificationSubject line (default 'aflare notification')
bodystringNoEmail body (overrides the node input)
usernamestringNoSMTP AUTH username (omit for unauthenticated local relays)
passwordstringNoSMTP password. Prefer password_env so secrets stay out of workflow files
password_envstringNoEnvironment variable holding the SMTP password (e.g. AFLARE_SMTP_PASSWORD)
tls_modestringNoautoTLS strategy: auto (465=implicit TLS, else STARTTLS), starttls (always require STARTTLS), tls (always implicit TLS)
timeoutintNo30Dial+dialogue timeout in seconds (default 30, max 120)

engineer_skills

预置工程技能包,覆盖前端/后端/DevOps/架构/安全/数据/信创七大领域共 24 项技能。支持技能匹配、应用和版本管理。

  • Input: string - task description for skill matching
  • Output: string - JSON with skills information

Parameters

NameTypeRequiredDefaultDescription
actionstringNolistAction: list/match/apply/get (default: list)
skill_categorystringNoSkill category: frontend/backend/devops/architecture
skill_namestringNoSkill name
task_descriptionstringNoTask description for matching (max 5000 chars)
versionstringNo1.0.0Skill version

evaluator

Evaluator agent that scores output against criteria with structured rubrics

  • Input: string - the content to evaluate
  • Output: string - evaluation scores and justification

Parameters

NameTypeRequiredDefaultDescription
providerstringNoollamaLLM provider (default: ollama)
modelstringNollama3Model name (default: llama3)
api_keystringNoAPI key
endpointstringNoAPI endpoint URL
rubricstringNoqualityEvaluation rubric: quality, correctness, completeness, clarity, custom (default: quality)
criteriastringNoCustom criteria for evaluation (comma-separated dimensions)
scalestringNo1-10Score scale: 1-5, 1-10, percentage (default: 1-10)
thresholdstringNoPass/fail threshold score (e.g. 7)
output_formatstringNojsonOutput format: json, markdown, score_only (default: json)

execute

Execute shell commands (disabled in safe mode)

  • Input: string - stdin for the command
  • Output: string - stdout and stderr of the command

Parameters

NameTypeRequiredDefaultDescription
commandstringYesShell command to execute
dry_runstringNofalseIf true, preview the command without executing (default: false)
timeoutstringNo5mCommand timeout, e.g. 30s, 5m, 1h (default: 5m)

fastgpt

Call FastGPT API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
api_keystringNoFastGPT API key (or set FASTGPT_API_KEY env var)
app_idstringNoFastGPT app ID
chat_idstringNoChat ID for conversation continuity
endpointstringNohttps://fastgpt.in/api/v1API base URL (or set FASTGPT_BASE_URL env var)
systemstringNoSystem prompt

fetch_url

Fetch content from a URL

  • Input: string - optional URL (overrides url param)
  • Output: string - content of the URL

Parameters

NameTypeRequiredDefaultDescription
urlstringNoURL to fetch
modestringNotextExtraction mode: text, markdown, html, main_content
timeoutintNo30Request timeout in seconds

file_read

Read content from a file. Automatically redacts secrets (API keys, tokens, .env files) by default for privacy — set redact=false to disable. With a connector (files/notes) the path is resolved inside the connector's root and its include/max_bytes ceilings apply.

  • Input: string - not used
  • Output: string - file content (with secrets redacted by default)

Parameters

NameTypeRequiredDefaultDescription
pathstringYesFile path to read from. Relative to the working directory, or relative to the connector root when connector is set.
connectorstringNoNamed files/notes connector (aflare connector add --type files
redactstringNotrueRedact secrets in output: true (default) / false. When true, .env and credential files are fully masked; other files have known secret patterns masked.

file_watch

Polls a file or directory for create/modify/delete events and returns them as JSON. Suitable for log-monitor and file-organizer workflows.

  • Input: string - not used
  • Output: string - JSON with watched_path, duration, events_collected, and events array

Parameters

NameTypeRequiredDefaultDescription
pathstringYes要监控的文件或目录路径
durationstringNo30s监控持续时间(如 30s, 5m)
intervalstringNo1s轮询间隔(如 1s, 500ms)
eventsstringNocreate,modify,delete关注的事件类型,逗号分隔:create,modify,delete
patternstringNo*文件名 glob 匹配模式
max_eventsstringNo1000最大收集事件数(防 DoS)

file_write

Write content to a file

  • Input: string - content to write to the file
  • Output: string - confirmation message

Parameters

NameTypeRequiredDefaultDescription
pathstringYesFile path to write to. Relative to the working directory, or relative to the connector root when connector is set.
contentstringNoContent to write; defaults to the step input (previous step output). Expressions like {{var.x}} are evaluated before the node runs.
connectorstringNoNamed files/notes connector. Must be registered with --writable; paths resolve inside its root and its include allowlist applies.
modestringNowriteWrite mode: write (default) or append

files_list

List files under a files/notes connector root (relative paths + sizes). Skips dotfiles/dot-directories and symlinks. The connector's include allowlist applies. Use it to discover paths before file_read.

  • Input: string - not used
  • Output: string - JSON {files: [{path, bytes}], count, truncated}

Parameters

NameTypeRequiredDefaultDescription
connectorstringYesNamed files/notes connector whose root is listed.
patternstringNo*/Glob matched against paths relative to the connector root, e.g. "notes/.md" (single level) or "**/.md" (any depth). Default: all files.
max_entriesstringNo200Max entries to return (default 200, hard cap 1000).

fireworks

Call Fireworks AI LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoaccounts/fireworks/models/llama-v3p3-70b-instructModel name (default: accounts/fireworks/models/llama-v3p3-70b-instruct)
api_keystringNoFireworks AI API key (or set FIREWORKS_API_KEY env var)
endpointstringNohttps://api.fireworks.ai/inference/v1API base URL (default: https://api.fireworks.ai/inference/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

gemini

Call Google Gemini LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNogemini-2.0-flashModel name (default: gemini-2.0-flash)
api_keystringNoGoogle Gemini API key (or set GEMINI_API_KEY env var)
endpointstringNohttps://generativelanguage.googleapis.com/v1beta/openaiAPI base URL (default: https://generativelanguage.googleapis.com/v1beta/openai)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

glm

Call GLM LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoglm-4Model name (default: glm-4)
api_keystringNoGLM API key (or set GLM_API_KEY env var)
endpointstringNohttps://open.bigmodel.cn/api/paas/v4API base URL (default: https://open.bigmodel.cn/api/paas/v4)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

groq

Call Groq LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNollama-3.3-70b-versatileModel name (default: llama-3.3-70b-versatile)
api_keystringNoGroq API key (or set GROQ_API_KEY env var)
endpointstringNohttps://api.groq.com/openai/v1API base URL (default: https://api.groq.com/openai/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

http_request

Make HTTP requests with custom method, headers, and body

  • Input: string - request body (overrides body param)
  • Output: string - response body

Parameters

NameTypeRequiredDefaultDescription
urlstringYesTarget URL (with connector: path relative to the connector's base URL)
connectorstringNoNamed http connector (aflare connector add --type http): pins the base URL and injects auth
methodstringNoGETHTTP method: GET, POST, PUT, DELETE, PATCH
headersstringNoJSON-encoded headers
bodystringNoRequest body
timeoutintNo30Request timeout in seconds
rate_limit_rpsfloatNo0Max requests per second per host (0=unlimited)
rate_limit_burstintNoToken-bucket burst size (default=ceil(rate_limit_rps))
rate_limit_keystringNoExplicit bucket key overriding URL.Host; set when multiple domain aliases resolve to the same backend so they share one bucket (M-9)
max_retriesintNo0Max retry attempts on transient failures (default 0=no retry)
retry_backoff_msintNo100Initial retry backoff in ms (default 100)
retry_max_backoff_msintNo5000Max retry backoff cap in ms (default 5000)
retry_on_statusstringNo429,500,502,503,504Comma-separated retryable status codes (default 429,500,502,503,504)

human_in_loop

Human approval gate — pauses workflow for human review and approval before continuing

  • Input: string - the content/data to present for human review
  • Output: string - approved content (or original if approved)

Parameters

NameTypeRequiredDefaultDescription
modestringNofileApproval mode: file, env, stdin, auto_approve (default: file)
approval_filestringNoaflare-approvalPath to approval flag file (mode=file). Must not be a dotfile or carry a forbidden extension — the path goes through the standard write-path security validation.
approval_envstringNoAFLARE_APPROVEDEnvironment variable to check for approval (mode=env)
promptstringNoCustom prompt message for the human reviewer
on_approvestringNooriginalWhat to output on approve: original, modified, passthrough (default: original)

hunyuan

Call Tencent Hunyuan LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNohunyuan-proModel name (default: hunyuan-pro)
api_keystringNoTencent Hunyuan API key (or set HUNYUAN_API_KEY env var)
endpointstringNohttps://api.hunyuan.cloud.tencent.com/v1API base URL (default: https://api.hunyuan.cloud.tencent.com/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

hygon

Call Hygon DCU LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoqwen2.5-7bModel name (default: qwen2.5-7b)
api_keystringNoHygon DCU API key (or set HYGON_API_KEY env var)
endpointstringNohttp://localhost:8082/v1API base URL (default: http://localhost:8082/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

ima

Call IMA Copilot LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoModel name (default: )
api_keystringNoIMA Copilot API key (or set IMA_API_KEY env var)
endpointstringNoAPI base URL (default: )
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

internlm

Call InternLM LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNointernlm3-latestModel name (default: internlm3-latest)
api_keystringNoInternLM API key (or set INTERNLM_API_KEY env var)
endpointstringNohttps://internlm-chat.intern-ai.org.cn/api/v1API base URL (default: https://internlm-chat.intern-ai.org.cn/api/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

json_parse

Parse and extract JSON data

  • Input: string - JSON string to parse (a leading "HTTP \n" status line, as emitted by http_request, is tolerated and stripped)
  • Output: string - extracted value or pretty-printed JSON

Parameters

NameTypeRequiredDefaultDescription
pathstringNoDot-notation path to extract (e.g. data.items.[0].name). If omitted, pretty-prints entire JSON.

kimi

Call Kimi LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNokimi-k3Model name (default: kimi-k3)
api_keystringNoKimi API key (or set KIMI_API_KEY env var)
endpointstringNohttps://api.moonshot.cn/v1API base URL (default: https://api.moonshot.cn/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

knowledge_graph

Knowledge graph node - extract entities/relations, build graph, query and traverse

  • Input: string - text to extract knowledge from, or a query for an existing graph
  • Output: string - knowledge graph data or query results

Parameters

NameTypeRequiredDefaultDescription
actionstringNoextractAction: extract, extract_llm, query, traverse, stats, visualize (default: extract). extract_llm calls an LLM for higher-quality entity/relation extraction.
graph_pathstringNoPath to save/load the graph JSON file
querystringNoQuery for search/traverse (entity name or relation type)
max_depthstringNo2Max traversal depth (default: 2)
top_kstringNo10Max results to return (default: 10)
formatstringNomarkdownOutput format: json, markdown, mermaid (default: markdown)
providerstringNoopenaiLLM provider for extract_llm (default: openai)
modelstringNoLLM model name for extract_llm
api_keystringNoLLM API key for extract_llm (or set _API_KEY env var)
endpointstringNoLLM API base URL for extract_llm
languagestringNoenPrompt language hint for extract_llm: en or zh (default: en)
session_idstringNoC-3: when set with memory_key, links extracted entities to that memory entry
memory_keystringNoC-3: memory entry key to link extracted entities to

llm_router

Smart LLM router that automatically selects the best provider with fallback, quota tracking, and cost optimization

  • Input: string - user message content to send to LLM
  • Output: string - AI response from the selected provider

Parameters

NameTypeRequiredDefaultDescription
systemstringNoSystem prompt for the LLM
strategystringNopriorityRouting strategy: priority, cost, latency, pareto, round_robin, random (default: priority)
max_retriesstringNo3Maximum number of fallback attempts (default: 3)
show_providerstringNofalseShow which provider was used in output (default: false)
show_statsstringNofalseShow router statistics in output (default: false)

memory

AI Agent memory infrastructure with session-isolated persistent knowledge graph engine. Supports multi-session parallel memory, short/medium/long term memory, cross-session long-term memory, and memory usage monitoring.

  • Input: string - memory content to store or query for retrieval
  • Output: string - JSON with memory operations result, entries, or statistics

Parameters

NameTypeRequiredDefaultDescription
operationstringNostoreOperation: store/retrieve/delete/search/harness_search/summary/forget/transfer/merge/inkling_retrieve/list_sessions/session_stats/global_stats/link_kg/expand_kg/compress (default: store)
session_idstringNodefaultSession ID for isolated memory (default: default)
keystringNoMemory key for storage/retrieval/link_kg
valuestringNoMemory value/content
levelstringNomediumMemory level: short/medium/long (default: medium)
typestringNofactMemory type: fact/concept/experience/preference/relationship/task/context (default: fact)
tagsstringNoComma-separated tags for categorization
ttl_hoursintNo72Time to live in hours (default: 72)
confidencefloatNo0.8Confidence level 0.0-1.0 (default: 0.8)
querystringNoSearch query for retrieval/search/harness_search/expand_kg operations
top_kintNo10Number of results to return (1-100, default: 10)
thresholdfloatNo0.5Similarity threshold 0.0-1.0 (default: 0.5)
sourcestringNoSource identifier for the memory
kg_entitiesstringNolink_kg: comma-separated KG entity names to link to the memory key
token_budgetintNo2000compress: max tokens to retain after compression (default: 2000)
min_confidencefloatNo0.5compress: entries below this confidence are candidates for compression (default: 0.5)

mimo

Call MiMo LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNomimo-v2.5-proModel name (default: mimo-v2.5-pro)
api_keystringNoMiMo API key (or set MIMO_API_KEY env var)
endpointstringNohttps://api.xiaomimimo.com/v1API base URL (default: https://api.xiaomimimo.com/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

minimax

Call MiniMax LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoabab6.5s-chatModel name (default: abab6.5s-chat)
api_keystringNoMiniMax API key (or set MINIMAX_API_KEY env var)
endpointstringNohttps://api.minimax.chat/v1API base URL (default: https://api.minimax.chat/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

mistral

Call Mistral LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNomistral-large-latestModel name (default: mistral-large-latest)
api_keystringNoMistral API key (or set MISTRAL_API_KEY env var)
endpointstringNohttps://api.mistral.ai/v1API base URL (default: https://api.mistral.ai/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

multimodal

Multimodal node for image analysis, OCR, and audio transcription using vision-capable LLMs

  • Input: string - the question or instruction about the media
  • Output: string - analysis result from the multimodal model

Parameters

NameTypeRequiredDefaultDescription
modestringNodescribeMode: image, ocr, describe, compare (default: describe)
image_pathstringNoPath to image file (local path or URL)
image_pathsstringNoComma-separated paths for compare mode
langstringNoeng+chi_simOCR languages for tesseract (default: eng+chi_sim)
providerstringNoopenaiLLM provider with vision support (default: openai)
modelstringNogpt-4oVision model name (default: gpt-4o)
api_keystringNoAPI key
endpointstringNoAPI endpoint
detailstringNoautoImage detail level: low, high, auto (default: auto)
output_formatstringNomarkdownOutput format: text, json, markdown (default: markdown)

notify

Send notifications (stdout, stderr, slack, discord, telegram, feishu, dingtalk, wecom, webhook)

  • Input: string - message to notify (used if message param is empty)
  • Output: string - the notification message

Parameters

NameTypeRequiredDefaultDescription
channelstringNostdoutNotification channel: stdout, stderr, slack, discord, telegram, feishu, dingtalk, wecom, webhook (default: stdout)
messagestringNoNotification message (overrides input)
urlstringNoWebhook URL for slack/discord/webhook/feishu/dingtalk/wecom, or Telegram API base (required for external channels)
webhook_urlstringNoDeprecated: use url instead
tokenstringNoBot token (required when channel=telegram)
chat_idstringNoTelegram chat ID (required when channel=telegram)
usernamestringNoDiscord webhook username (optional)
methodstringNoPOSTHTTP method for webhook: GET/POST/PUT (default: POST)
headersstringNoJSON headers for webhook (optional)
bodystringNoCustom body for webhook (optional)

nvidia

Call NVIDIA NIM LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNometa/llama-3.3-70b-instructModel name (default: meta/llama-3.3-70b-instruct)
api_keystringNoNVIDIA NIM API key (or set NVIDIA_API_KEY env var)
endpointstringNohttps://integrate.api.nvidia.com/v1API base URL (default: https://integrate.api.nvidia.com/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

office

Read .docx/.xlsx/.pptx documents (text, tables, slides) using pure-Go OOXML parsing

  • Input: string - path to the office document (.docx/.xlsx/.pptx)
  • Output: string - extracted content in the requested output format

Parameters

NameTypeRequiredDefaultDescription
pathstringNoPath to the office document (overrides input if set)
formatstringNoSource format hint: docx
outputstringNomarkdownOutput format: text
sheetstringNoxlsx only: sheet name to read (default: all sheets)
max_rowsintNo1000xlsx only: max rows per sheet (default: 1000, 0 = unlimited)

ollama

Call Ollama local LLM server

  • Input: string - user prompt content (used when prompt param is not provided)
  • Output: string - model response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNollama3Model name (default: llama3)
endpointstringNohttp://localhost:11434Ollama server URL (default: http://localhost:11434)
promptstringNoPrompt to send to Ollama (if not provided, uses input)

openai

Call OpenAI LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNogpt-3.5-turboModel name (default: gpt-3.5-turbo)
api_keystringNoOpenAI API key (or set OPENAI_API_KEY env var)
endpointstringNohttps://api.openai.com/v1API base URL (default: https://api.openai.com/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

openrouter

Call OpenRouter LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoopenrouter/autoModel name (default: openrouter/auto)
api_keystringNoOpenRouter API key (or set OPENROUTER_API_KEY env var)
endpointstringNohttps://openrouter.ai/api/v1API base URL (default: https://openrouter.ai/api/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

perplexity

Call Perplexity LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNosonarModel name (default: sonar)
api_keystringNoPerplexity API key (or set PERPLEXITY_API_KEY env var)
endpointstringNohttps://api.perplexity.aiAPI base URL (default: https://api.perplexity.ai)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

pipeline

Dependency-based parallel workflow executor: steps run as soon as their dependencies are met, no global barriers (Tunix-inspired async rollout)

  • Input: string - YAML or JSON pipeline configuration with steps and dependencies. Step fields: name, node, input, params, depends_on (list), input_from (list). If a step fails, all transitive downstream steps are cascade-skipped (results carry skipped: true); independent branches still run
  • Output: string - JSON with execution results, timings, and errors; skipped steps appear with skipped: true and error "skipped: upstream step ... failed"

Parameters

NameTypeRequiredDefaultDescription
timeoutstringNo300Timeout in seconds (default: 300)
formatstringNoautoInput format: json

planner

Task decomposition agent that breaks complex goals into actionable steps

  • Input: string - the complex task or goal to plan for
  • Output: string - JSON array of planned steps with descriptions and dependencies

Parameters

NameTypeRequiredDefaultDescription
providerstringNoollamaLLM provider (default: ollama)
modelstringNollama3Model name (default: llama3)
api_keystringNoAPI key
endpointstringNoAPI endpoint URL
max_stepsstringNo10Maximum number of steps to plan (default: 10)
contextstringNoAdditional context or constraints for the plan
auto_clarifystringNofalseRun ACQUIRE-style clarification before planning (default: false). If task is ambiguous, ask clarifying questions first.
clarify_thresholdstringNo70Confidence threshold for auto-clarification 0-100 (default: 70)
clarify_max_questionsstringNo3Max clarification questions (default: 3)

preference

User preference memory: store, retrieve, and learn user habits across sessions (MemSlides-inspired user profiling)

  • Input: string - input depends on operation (value to set, key to get, etc.)
  • Output: string - result of the operation

Parameters

NameTypeRequiredDefaultDescription
operationstringNogetget
user_idstringNodefaultUser identifier (default: default)
categorystringNocustomcoding_style
keystringNoPreference key name
valuestringNoPreference value (for set/learn operations)
confidencestringNoConfidence 0-1, default 0.6 for learn, 1.0 for set
sourcestringNoexplicitWhere this preference came from (explicit

qianfan

Call Baidu Qianfan LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoernie-4.5-turbo-128kModel name (default: ernie-4.5-turbo-128k)
api_keystringNoBaidu Qianfan API key (or set QIANFAN_API_KEY env var)
endpointstringNohttps://qianfan.baidubce.com/v2API base URL (default: https://qianfan.baidubce.com/v2)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

qwen

Call Qwen LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoqwen-turboModel name (default: qwen-turbo)
api_keystringNoQwen API key (or set QWEN_API_KEY env var)
endpointstringNohttps://dashscope.aliyuncs.com/compatible-mode/v1API base URL (default: https://dashscope.aliyuncs.com/compatible-mode/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

rag

Retrieval Augmented Generation node - chunk documents, search by query, and assemble context

  • Input: string - the query to search for
  • Output: string - assembled context from relevant document chunks

Parameters

NameTypeRequiredDefaultDescription
sourcestringYesSource: file path, directory path, or text content
source_typestringNoautoType of source: file, dir, text (default: auto)
chunk_sizestringNo1000Chunk size in characters (default: 1000)
chunk_overlapstringNo200Chunk overlap in characters (default: 200)
top_kstringNo5Number of top chunks to retrieve (default: 5)
search_methodstringNokeywordSearch method: keyword, hybrid (default: keyword)
include_metadatastringNotrueInclude chunk metadata in output (default: true)

reflector

Self-reflection agent that critiques output and iteratively improves it (Reflexion pattern)

  • Input: string - the initial output to reflect on and improve
  • Output: string - the improved final output

Parameters

NameTypeRequiredDefaultDescription
providerstringNoollamaLLM provider (default: ollama)
modelstringNollama3Model name (default: llama3)
api_keystringNoAPI key
endpointstringNoAPI endpoint URL
iterationsstringNo2Number of reflection iterations (1-5, default: 2)
goalstringNoThe original goal/task the output was trying to achieve
reflection_focusstringNoallWhat to reflect on: accuracy, completeness, quality, all (default: all)

researcher

Research agent that fetches information from URLs and summarizes findings

  • Input: string - the research topic or question
  • Output: string - structured research summary with sources

Parameters

NameTypeRequiredDefaultDescription
providerstringNoollamaLLM provider (default: ollama)
modelstringNollama3Model name (default: llama3)
api_keystringNoAPI key
endpointstringNoAPI endpoint URL
urlsstringNoComma-separated URLs to research (if not provided, agent will use input topic)
depthstringNobasicResearch depth: basic, detailed, comprehensive (default: basic)
output_formatstringNomarkdownOutput format: markdown, json, summary (default: markdown)

search_aggregate

Multi-platform search aggregator with real-signal ranking: Reddit/Twitter/YouTube/HN/GitHub, sorted by votes/comments/shares instead of editorial SEO (last30days-skill inspired)

  • Input: string - search query
  • Output: string - JSON or formatted ranked results with signal data

Parameters

NameTypeRequiredDefaultDescription
sourcesstringNoreddit,hn,github,newsComma-separated sources: reddit,twitter,youtube,hn,github,google,weibo,zhihu,bilibili,linkedin,news,finance,academic,shopping,geopolitical,infrastructure,globalevents,energy,supplychain (default: reddit,hn,github,news)
regionstringNoglobalRegion filter: global,us,eu,asia,cn,mena (default: global)
categorystringNoallCategory filter: politics,economy,technology,military,energy,health,all (default: all)
limitstringNo10Max results per source (default: 10)
time_rangestringNoweekTime range: day
sort_bystringNosignalsignal
min_scorestringNo0Minimum combined signal score filter (default: 0)
outputstringNomarkdownjson

session_manager

Multi-session memory management. Create isolated sessions, fork a session from a parent, merge sessions, and share facts across sessions via the shared namespace.

  • Input: string - value to store (for shared_put action)
  • Output: string - JSON result of the action

Parameters

NameTypeRequiredDefaultDescription
actionstringYeslistcreate
session_idstringNoTarget session id (required for most actions)
parentstringNoParent session id to inherit memory from (create action only)
srcstringNoSource session id (merge action only)
dststringNoDestination session id (merge action only)
keystringNoMemory key (shared_get/shared_put/recall actions)
valuestringNoMemory value (shared_put action). Overrides input when set.
levelstringNoshortMemory level: short
typestringNofactMemory type tag (default fact)
querystringNoSearch query (search action)
top_kstringNo10Max search results (default 10)

siliconflow

Call SiliconFlow LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoQwen/Qwen3-32BModel name (default: Qwen/Qwen3-32B)
api_keystringNoSiliconFlow API key (or set SILICONFLOW_API_KEY env var)
endpointstringNohttps://api.siliconflow.cn/v1API base URL (default: https://api.siliconflow.cn/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

skill_distill

Distill methodologies from books, videos, podcasts, and documents into callable skills. Supports workflow, decision, analysis, creative, prompt, and checklist skill types.

  • Input: string - source content to distill
  • Output: string - JSON with distilled skill structure

Parameters

NameTypeRequiredDefaultDescription
source_typestringNoarticleSource type: book/video/podcast/article/documentation/conversation (default: article)
distill_typestringNoworkflowDistill type: workflow/decision/analysis/creative/prompt/checklist (default: workflow)
contentstringNoSource content text (max 100000 chars)
skill_namestringNoTarget skill name
max_stepsintNo10Max number of steps (default: 10)
qualitystringNostandardQuality level: basic/standard/expert (default: standard)

sql_query

Execute SQL via database/sql. The driver must be registered by the host program. Uses parameterized queries (? or $1) to prevent SQL injection. Read-only by default (SELECT/SHOW/EXPLAIN/PRAGMA only); set read_only=false to allow DML/DDL. Supports a 'schema' action that lists tables and columns. Prefer the connector param (named connection from aflare connector add) over inline driver/dsn — connectors keep credentials out of workflow files and enforce their own read_only/max_rows/timeout ceilings.

  • Input: string - SQL query (when action=query and no sql param, input is used as the query)
  • Output: string - JSON array of rows (query), or schema description (schema action)

Parameters

NameTypeRequiredDefaultDescription
connectorstringNoNamed connector registered via aflare connector add. When set, driver/dsn/credentials are resolved from the connector and inline driver/dsn must be omitted. Node-level read_only/max_rows/timeout can only tighten the connector's policy.
actionstringNoqueryquery (default)
driverstringNodatabase/sql driver name (e.g. sqlite3, postgres, mysql). Required unless connector is set.
dsnstringNoData source name (driver-specific). For SQLite: path to .db file. Required unless connector is set.
sqlstringNoSQL statement. Use ? (mysql/sqlite) or $1,$2 (postgres) placeholders for args.
argsstringNoJSON array of bind parameters, e.g. ["foo", 42]. Optional.
read_onlystringNotrueReject writes if true (default). Set false to allow INSERT/UPDATE/DELETE/DDL. A read-only connector stays read-only regardless.
max_rowsstringNo1000Max rows to return (default 1000; a connector's max_rows is the ceiling). Protects against huge result sets.
timeoutstringNo30Query timeout in seconds (default 30; a connector's timeout is the ceiling).

stepfun

Call StepFun LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNostep-2-16kModel name (default: step-2-16k)
api_keystringNoStepFun API key (or set STEPFUN_API_KEY env var)
endpointstringNohttps://api.stepfun.com/v1API base URL (default: https://api.stepfun.com/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

structured_output

LLM-driven structured output with local JSON Schema validation and self-correction retries

  • Input: string - user instruction describing what to produce
  • Output: string - JSON string validated against schema

Parameters

NameTypeRequiredDefaultDescription
schemastringYesJSON Schema (draft-07 subset) the output must conform to. Must be a JSON object with "type":"object" at the root.
schema_namestringNooutputOptional schema name shown to the model in the prompt (default: "output")
providerstringNoopenaiProvider name for default model/endpoint resolution (default: openai)
modelstringNoModel name (default: provider default)
api_keystringNoLLM API key (or set _API_KEY env var)
endpointstringNoLLM API base URL (default: provider default endpoint)
systemstringNoAdditional system prompt prepended to the JSON instruction
temperaturestringNo0Sampling temperature 0.0-2.0 (default: 0.0 for deterministic output)
max_tokensstringNoMax tokens to generate
max_retriesstringNo2Max self-correction retries on parse/validation failure (default: 2)
format_outputstringNofalseIf "true", pretty-print the JSON output (default: false, compact)

supervisor

Advanced supervisor with MoE routing, MindSearch deep research, 232+ domain specialists, and collaboration templates. External-agent delegations are checkpointed at (agent, subtask) granularity when the run uses --resume: a crashed supervisor step restores its finished delegations and re-dispatches only the unfinished ones (reported as resumed in the results envelope); without checkpointing the behavior is exactly one-shot

  • Input: string - the overall goal or task to supervise
  • Output: string - structured task plan with delegation and synthesis

Parameters

NameTypeRequiredDefaultDescription
providerstringNoollamaLLM provider (default: ollama)
modelstringNollama3Model name (default: llama3)
api_keystringNoAPI key for cloud providers
endpointstringNoAPI endpoint URL
specialistsstringNoplanner,researcher,critic,evaluatorComma-separated specialists. Persona roles: planner,researcher,critic,code_review,evaluator,reflector,legal_expert,medical_expert,educational_expert,financial_expert,creative_writer,data_analyst. Registered external agents: prefix with @ (e.g. @codex,@claude,@my-a2a-agent) for real delegation
max_parallelstringNo4Max concurrent external-agent delegations; excess subtasks queue (default: 4, max: 16)
fail_onstringNononeOverall failure policy for delegated agents: none = never fail the node, failures stay isolated in the results (default); all = fail the node only if every delegation failed; any = fail the node if any delegation failed
delegation_timeoutstringNoPer-delegation timeout for external agents, e.g. 30s, 10m (default: 10m, max: 60m). Agents failing repeatedly trip a per-agent circuit breaker: delegations fail fast with circuit-open instead of burning the full timeout, and recovery is probed via the agent card
strategystringNosequentialStrategy: sequential, parallel, hierarchical, mindsearch, moe, agency, swarm (default: sequential)
output_formatstringNojsonOutput format: json, markdown, summary (default: json)
domainstringNogeneralDomain specialization: general,legal,medical,education,finance,creative,tech,business (default: general)
enable_moestringNofalseEnable Mixture-of-Experts routing (default: false)
max_depthstringNo3Max decomposition depth for hierarchical/mindsearch (default: 3)
subagent_promptsstringNotrueInject per-specialist subagent prompt templates into the supervisor context (default: true). Borrows Grok Build's main/subagent prompt hierarchy.
collaboration_templatestringNoCollaboration template: software_development, product_design, data_science, marketing, research, legal_compliance, healthcare, education, finance, game_development, video_production, security_operations, cloud_infrastructure, content_creation, community_management, startup_acceleration, ai_development, design_system, event_management, translation_localization
template_rolestringNoteamTemplate role to use: team, workflow, review_cycle (default: team)

template_render

Render Go templates with input data

  • Input: string - input data available as .input in template
  • Output: string - rendered template output

Parameters

NameTypeRequiredDefaultDescription
templatestringNoInline template string
template_filestringNoPath to template file (takes precedence over template)

together

Call Together AI LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNometa-llama/Llama-3.3-70B-Instruct-TurboModel name (default: meta-llama/Llama-3.3-70B-Instruct-Turbo)
api_keystringNoTogether AI API key (or set TOGETHER_API_KEY env var)
endpointstringNohttps://api.together.xyz/v1API base URL (default: https://api.together.xyz/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

transform

Transform text using string operations

  • Input: string - text to transform
  • Output: string - transformed text

Parameters

NameTypeRequiredDefaultDescription
operationstringNoTransformation operation

verify

Agent-as-a-Judge verifier that validates outputs, claims, and results against specified criteria

  • Input: string - the content to verify (used as claim if claim param is empty)
  • Output: string - verification result with pass/fail, score, or detailed analysis

Parameters

NameTypeRequiredDefaultDescription
providerstringNoollamaLLM provider (default: ollama)
modelstringNollama3Model name (default: llama3)
api_keystringNoAPI key
endpointstringNoAPI endpoint URL
claimstringNoThe claim or output to verify
evidencestringNoEvidence or context to verify against
criteriastringNoVerification criteria (comma-separated or natural language)
verifier_typestringNofactualType: factual, code_correctness, security, logic, consistency, custom (default: factual)
output_formatstringNodetailedOutput: pass_fail, score, detailed, json (default: detailed)
rubricstringNoCustom scoring rubric for verification (optional)

wait

Pause the workflow for a duration (delay/sleep), then pass input through

  • Input: string - input text, passed through unchanged after the wait
  • Output: string - the input, unchanged

Parameters

NameTypeRequiredDefaultDescription
durationstringYesHow long to wait (Go duration format: 500ms, 10s, 2m, 1h; max 1h — use aflare schedule for longer gaps)

xai

Call xAI Grok LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNogrok-4Model name (default: grok-4)
api_keystringNoxAI Grok API key (or set XAI_API_KEY env var)
endpointstringNohttps://api.x.ai/v1API base URL (default: https://api.x.ai/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

xverse

Call XVERSE LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoXVERSE-7B-ChatModel name (default: XVERSE-7B-Chat)
api_keystringNoXVERSE API key (or set XVERSE_API_KEY env var)
endpointstringNohttps://api.xverse.cn/v1API base URL (default: https://api.xverse.cn/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring

yi

Call Yi LLM API

  • Input: string - user message content
  • Output: string - AI response content

Parameters

NameTypeRequiredDefaultDescription
modelstringNoyi-lightningModel name (default: yi-lightning)
api_keystringNoYi API key (or set YI_API_KEY env var)
endpointstringNohttps://api.lingyiwanwu.com/v1API base URL (default: https://api.lingyiwanwu.com/v1)
systemstringNoSystem prompt
temperaturestringNoSampling temperature 0.0-2.0 (default: provider default)
max_tokensstringNoMax tokens to generate
top_pstringNoNucleus sampling probability mass 0.0-1.0
frequency_penaltystringNoPenalty for repeated tokens -2.0 to 2.0
presence_penaltystringNoPenalty for new tokens -2.0 to 2.0
stopstringNoStop sequences (comma-separated, e.g. '\n,END')
seedstringNoRandom seed for deterministic sampling (int)
response_formatstringNoStructured output: 'json_object' or 'json_schema:<schema_json>'
toolsstringNoJSON array of tool definitions for function calling
tool_choicestringNoTool selection: 'none', 'auto', or JSON object
userstringNoEnd-user identifier for provider-side abuse monitoring