Steps
Every step you can add to an agent: Lucid, AI Agent, LLM, Decide, hand to a coding agent, data and dataset steps, Python, flow control, and Slack, GitHub and Linear actions.
Steps do an agent's work, one after another under the trigger. Add one with + on the canvas; the picker groups them as AI, Apps, Data and Flow. A step reads what came before it with {{ }} expressions; see Pass data between steps.

Each step that runs uses one Execution, whether it succeeds or fails. The exceptions are in the tables below.
AI
The AI Agent, LLM and Decide steps run on your team's own model keys from Settings → Models: the provider bills you, and they use no Trodo credit. The Lucid step runs the way Lucid is set up in Settings → Lucid setup: on Trodo's models and your credit balance, or on your own keys.
| Step | What it does |
|---|---|
| Lucid | Asks Lucid about your agents and data, investigates an alert into issues, or improves an eval. See Lucid. |
| AI Agent | A model with tools that loops until it has an answer. See AI Agent. |
| LLM | One model call, no tools: Prompt and Instructions in, text out. Set For each to a list (say {{ $json.rows }}) to run the prompt once per item, a few At a time (4 unless you say), at most 500 items unless you set Items at most. It returns results: [{ index, id, content }]. One item failing doesn't fail the step; the step fails only when every item did. Uses one Execution per model call. |
| Hand to coding agent | Gives an issue to your coding agent, Cursor or Claude Code, connected in Settings → Integrations. By default it takes the issue the step before it filed. The coding agent pushes a fix branch and reports it on the issue; it never opens or merges a pull request. With no issue, or one already being fixed, the step is skipped and says why. See Fixing an issue. |
Lucid
Pick a Task:
| Task | What Lucid does | Settings |
|---|---|---|
| Answer a question | Answers the Question, which can include earlier values (What changed for {{ $trigger.alert.name }}?). The answer is {{ $json.answer_markdown }}, ready for a Slack step. | Mode: Analyse for a quick answer, or Extended thinking for deep research with an Effort from Low to Max. Extended thinking takes minutes and uses more credit; the step waits up to 15 minutes. |
| Investigate an alert into issues | Reads the failures behind the alert that started the agent, checks which are already evidence of an open issue, groups the rest by cause, and files or updates one issue per cause. The step returns issue (the main one) and issues, for the steps after it to link. | Rows to read at most (40 by default), optional Instructions |
| Improve an eval | Reads an eval's recent results, decides whether the eval or your agent is wrong, and records a proposed change on the eval for you to review. | Eval (empty means the eval the alert watches), Instructions. See Self-improving evals. |
The Lucid step runs with nobody watching, so it works differently from chat:
- It never asks you a question or shows an approval card. If a name could mean several things, it answers for the likeliest and says which it took.
- It changes things (creates a report, files an issue) only when the words you wrote in the step ask for it. Text that flows in from earlier steps, such as a Slack message, can't make it change anything.
- Every run is a Lucid session tagged with the agent, so you can open it from Lucid's history.
AI Agent
A model that decides which tools to call, reads their results, and repeats until it has a final answer or reaches Max turns (8 by default).
| Setting | What it does |
|---|---|
| Message | What the agent is asked; {{ $input }} by default |
| Instructions | Its system prompt |
| Model | A provider and model from Settings → Models, with optional parameters such as temperature |
| Tools | Any number of the tools below. With none, it answers from its instructions alone. |
| Return tool calls in the output | Adds each tool call to the step's output |
| Tool | What the agent can do |
|---|---|
| HTTP request | Call an API. Authentication: None, Bearer token, Basic auth or Header; plus headers, query parameters and body. |
| MCP server | Use tools from a remote MCP server. Add the server here (name, endpoint URL, and None, Bearer token or OAuth), then pick the Tools to expose. |
| Code | Run Python the agent calls with arguments: args in, assign result. |
Give each tool a Name the model sees and a line on What it is for: that is what the model reads when it decides to call it.
Use the AI Agent when the task needs several decisions or tools, the LLM step for one transform (summarise, classify, rewrite), and the Lucid step when the question is about your own traces, evals, alerts or issues.
Data
| Step | What it does |
|---|---|
| Query data | Reads runs, spans or users from your traces, with a filter, a time window and a limit. |
| SQL | Runs a read-only SELECT on your data, limited to your team. Anything else is refused. |
| HTTP request | Calls any URL with GET, POST, PUT, PATCH or DELETE, headers and a body. |
| Python | Runs Python in a sandbox. inputs is what the step before produced; assign outputs. numpy, pandas, scipy and requests are installed; add more as pip requirements. Stops after its Timeout (60 seconds by default). |
Dataset steps
These read and write datasets. Together they make labeling agents, such as the Label Expected where models agree template: read the rows without Expected, have three models answer, keep the answer two agree on.
| Step | What it does | Executions |
|---|---|---|
| Find dataset units | The spans, runs, conversations or eval verdicts a dataset source's filter matches, since the agent last ran or over the filter's own window | None |
| Add rows to a dataset | Writes units or plain rows into a dataset, skipping ones already in it. Pick a dataset, or type a name to create one on the first run. Keep every span of a run stores each run's full trace on its row. | One per 1,000 rows written |
| Read dataset rows | A dataset's rows: Every row, Without Expected, With Expected, Passed their evals, Failed an eval or A verdict was marked wrong, optionally for one eval and above a score, up to Rows at most | None |
| Update dataset rows | Writes Expected, Output or metadata onto rows by id: a list of { id, expected?, output?, metadata? }, or an LLM step's for-each results directly (An LLM answer goes to Expected or Output). Each run that changes rows saves one dataset version you can restore. | None |
For a dataset that simply follows a filter, a source on the dataset is simpler than an agent.
Flow
| Step | What it does |
|---|---|
| Set fields | Builds a new object from earlier values. |
| Filter | Checks a Condition and passes on { passed, value }: the input as value when the condition holds, null when it doesn't. The steps after it still run, so to stop or branch use If (or Stop). |
| If | Branches on a Condition: a true way out and a false way out. The branch not taken is skipped. |
| Decide | Asks a decision model typed questions, then leaves by one of your routes. See Decide. |
| Loop | Turns a value into a list, as items, for the next step. The next step gets the whole list once; to run a prompt once per item, use the LLM step's For each. |
| Wait | Pauses for a number of seconds. |
| Stop | Ends the run here, as Succeeded or Failed. |
Decide
Decide routes a run on a model's judgement rather than an expression: is this a billing question?, how severe is this failure?. It runs on a decision model (Jev or Hartley) from Settings → Models.
- State: the text the model judges; the step's input by default.
- Questions: each one Yes / no, Choice (one of the options you list) or Score (on levels you describe), with instructions.
- Can't tell: on by default, so an unsure answer is can't tell instead of a guess. Min confidence sets how sure it must be.
- Routes: named ways out, each with the answers that lead there. The first route that matches wins; Otherwise catches the rest. Each route gets its own + on the canvas.
The step's output has the route taken, each answer and why. If the model can't be reached the step fails rather than picking a route.
Apps
Slack, GitHub and Linear actions, each in the picker under its app:
- Slack: messages, channels, files, reactions, people and user groups.
- GitHub: issues, pull requests, files, releases, branches and Actions.
- Linear: issues, sub-issues and comments.
For anything else, use an HTTP request step or give an AI Agent an MCP server.