Spanish Total.js
English
Documentation For AI agents
Contents

Get started with LessCode

LessCode is the visual designer of Total.js flows as a desktop app. You drop components on a canvas, connect them, and the flow runs on your computer.

.md GitHub
On this page

The designer of LessCode with the flow of the first time

Install it

Download LessCode for macOS, Windows or Linux from its page. Install the apps explains each system step by step.

Node.js and Total.js come inside the app. There is nothing else to install.

Run the first flow

  1. Open LessCode. It says Starting LessCode… for a moment, and then shows the designer.
  2. The flow has three nodes: Trigger, Print and Console debug. Trigger is connected to Print.
  3. Press Run on the Trigger node. It sends a random text.
  4. Look at Print: it shows what it has received.
  5. Press Clear on Print to empty it.

Now design your own flow.

The parts of the window

PartWhat it is for
The toolbarAPPLY runs your changes. The other buttons add components, and show the variables, the console and the rest
The list on the leftThe components that you have, to drag them to the canvas
The canvasThe nodes of your flow and their connections
The line at the bottomHow many messages have gone through, the errors and the memory

The menus are the same on every system:

MenuWhat it has
FlowsThe folder of your flows, and Restart LessCode
AIConnect an AI to your flow
ViewReload and Developer tools
HelpThe documentation of Total.js

While it is open

Your flow runs while LessCode is open. When you close its window, the flow stops, with its timers and its endpoints.

LessCode saves the flow before it closes, and runs it again the next time. For a flow that must always run, use Total.js LessCode on a server.

Made in Europe