A&S AI
About A&S AI#
A&S AI is an AI software company building a no-code platform for creating structured, repeatable generative AI workflows for business processes. I contributed as a software engineer across the product experience and implementation.
Explore: https://aands.ai
Architecture#
A&S is easiest to understand as two separate lifecycles: building a workflow and running one.
At design time, the user is editing a workflow definition. They add modules, connect them, configure inputs, and build up a graph that describes what they want the system to do. At run time, that saved definition is handed across a service boundary for execution, while the client shifts into an observation role.
That separation is important. The graph in the editor describes intent. A particular run describes what actually happened when that definition was executed.
Prepared files and knowledge can feed into the workflow as supporting inputs, but they follow their own preparation lifecycle before execution begins.
Legend:
- FE = client/frontend
- API = service boundary
- BE = backend runtime
- FILE = file preparation
- RAG = knowledge/retrieval path
- AI = model-backed module
- DATA = deterministic processing
- RUN = execution state
- OUT = result/output/iteration

Design time#
The workflow starts in the React Flow editor at FE1, but the actual source of truth for editing is FE2: a Redux-backed workflow document containing the nodes, edges, parameters, and dependency relationships that make up the graph.
Connections are more than visual lines between boxes. Before a connection is accepted, FE8 checks whether the source and target are compatible and prevents cycles through the normal connection path.
Once a connection is valid, FE9 updates the graph itself: endpoint dependencies and edge records. From there, some modules need additional configuration changes. FE10 applies target-specific connection behavior, and FE11 updates the receiving node’s parameters when a connection has a particular role, such as supplying an auxiliary input.
Not every downstream effect is stored directly. FE12 derives things like available columns and output formats by reading back through the connected graph. I like this split because the stored graph stays relatively small while the editor can still react to upstream changes.
The editor registry at FE7 ties much of this together. Each module type can define its defaults, accepted inputs, output shape, and connection behavior without putting all of that logic into the canvas itself.
As the graph changes, FE4 persists the complete workflow definition using a 500 ms debounced save. Editing and persistence happen continuously rather than as a separate “save project” step.
Before execution starts, FE3 performs the client-side checks for things like parameters, connections, and file readiness. FE13 then waits for the latest persistence operation to settle so the server is not asked to execute a graph that is one edit behind what the user currently sees.

Preparing files and knowledge#
Files are a supporting part of the workflow, but uploading one is not the same thing as executing the graph.
An upload begins at FILE3 and can follow different preparation paths depending on how the data will be used. Ordinary files go through asynchronous file processing at FILE1. Knowledge-base inputs use a separate preparation path at RAG1.
Once preparation finishes, FILE2 represents the ready artifact or reference that can be saved into the workflow configuration at FE2.
That distinction matters because there are several related-looking concepts in the product that solve different problems.
A normal file can provide data to a workflow. A knowledge-base input can provide document context to eligible AI modules. Separately, the platform also includes table-oriented semantic matching at RAG3, where one connected table can be matched against another.
They are all forms of data access, but they are not the same pipeline.
Starting a run#
Once validation passes and persistence has settled, API1 starts the run using the workflow ID.
The graph itself is not sent again in that request. The persisted workflow definition is the handoff point between design time and run time.
That is an important boundary in the architecture: the client owns the editable workflow definition, while the service owns execution of a particular run.
Run time#
After API1 crosses the service boundary, execution becomes server-owned.
BE3 represents that boundary at a deliberately high level. The client does not decide which node should run next or execute the modules itself.
Different kinds of modules can participate in the workflow. DATA1 represents deterministic data-processing modules. AI1 represents model-backed AI modules. RAG3 represents table-oriented semantic matching. BE7 represents the rest of the module surface that can participate in execution.
An AI module may also receive optional knowledge context through RAG2 when the workflow has been configured to provide it.
The important part here is the separation of responsibilities rather than a particular scheduling implementation. The workflow definition describes what should happen, while the execution service owns the runtime work.
When a run is accepted, BE2 returns an instanceID identifying that execution.
RUN1 represents the server-owned NodeInstance execution state associated with the run. Individual nodes can be PENDING, RUNNING, COMPLETED, FAILED, or SKIPPED.

Observing execution#
Once the client has the instanceID, FE5 immediately requests the current node state and continues polling at a fixed three-second interval while the run is active.
The client remains an observer during this phase. It uses the returned node states to show progress, surface failures, and determine when results are ready to inspect.
If all returned nodes are completed or skipped, the run follows the normal completion path. If a node is returned as failed, the client enters the error path instead.
The execution state itself is kept separate from the actual display output.
- RUN1: what state is this node in?
- OUT1: what did this node actually produce?
Once a result is ready for inspection, OUT1 is fetched separately and FE6 exposes the node’s inputs and outputs in the product.
The human loop#
A workflow run is not really the end of the lifecycle.
At FE6, the user can inspect intermediate and final node outputs, look at what a particular step received and produced, and decide what should change next.
Supported results can be exported through OUT2. The workflow can also be modified and run again through OUT3, including reusing or freezing supported outputs where the product allows it.
That is one of the parts of the system I find most important architecturally. The product is not just a straight path from an input to an AI-generated answer.
It is a loop between authored intent, execution, visible intermediate state, and human iteration.
The next run begins by returning to the workflow definition and changing what should happen next.