Reasoning Flows
Reasoning Flows Overview
Reasoning Flows is an integrated development platform for building, deploying, and managing data-driven solutions. It supports a wide range of use cases—from machine learning models and ETL (Extract, Transform, Load) pipelines to custom APIs, web applications, and automated data workflows.
It combines GUI-based tools with open coding environments, providing both low-code and pro-code capabilities. It runs on Docker containerization for scalable compute, supports scheduling and orchestration of data tasks, and enables collaboration through reusable assets and project cloning.
Terminology Note: Throughout this documentation, objects prefixed with "AP" (Analytics Platform) are GUI-driven components native to Reasoning Flows. Objects prefixed with "SingularAI" are specialized text intelligence components integrated into the platform.
Capabilities and Use Cases
Reasoning Flows enables the development of solutions that span:
- Machine learning model training and prediction pipelines
- Data extraction, transformation, and loading (ETL) from various sources
- Custom application and API development
- Text intelligence using embeddings, classification, and segmentation
- Automated notification systems (e.g., email alerts)
- Real-time or scheduled execution of complex workflows
Key Concepts
Before exploring the platform's capabilities, it's helpful to understand two foundational concepts:
Projects are containers that organize related objects, datasets, and executions. Projects help teams structure their workflows logically (for example, separating data pipelines, APIs, or AI models) and make large environments easier to manage.
Objects are the individual building blocks within a project. Each object represents a discrete functional unit—such as a data extraction task, a transformation step, a machine learning model, or a notification trigger. Objects can be configured through GUI forms or custom code, and multiple objects can be chained together to form complete workflows.
Projects in Reasoning Flows
Every Reasoning Flow begins within a project.
Project Type
Defines how a flow runs or is triggered:
- Batch Process – Runs manually or on a schedule. Ideal for ETL pipelines, model training, or reporting.
- Interactive Process – Runs on demand via a user interface that requests parameters.
- API Calls – Exposed as an endpoint and executed through REST (Representational State Transfer) API calls.
- AI Tools Collection – Each child object is an independently-callable tool. Use it to publish a set of tools (for AI agents/assistants, MCP servers, or API Collections) where every child object can be invoked on its own.
- WARP – Persistent HTTP service (FastAPI). Runs as a long-running service or daemon exposed through the platform's
/warp/gateway, with managed Start / Stop / Restart lifecycle controls. See the WARP Services guide for details.
Tip: Most operational data and ML pipelines are configured as Batch Processes.
Project Category
Used for labeling and organizing projects within the platform. Categories don't affect workflow execution—they're purely organizational, simplifying navigation, filtering, and workspace management.
Available categories include:
- Data Pipeline – For ingestion and extraction workflows.
- Data Preparation & Transform – For data cleaning, formatting, or preprocessing.
- AI/ML Workflow – For training, deploying, or predicting with ML models.
- Processes Workflow – For orchestrating multiple logic layers or dependencies across objects.
- Big Data Process – For distributed or parallel data tasks.
- Notifications – For automated alert or messaging workflows.
- Sequential Code Process – For chained execution or custom scripts.
- API – For services exposed to external systems.
- Data Apps – For interactive applications with user-facing interfaces.
- KOEL – Orchestrates multi-step workflows.
- WARP Service – Groups WARP projects: persistent HTTP services and daemons (e.g. FastAPI apps) exposed through the platform's
/warp/gateway.
Project Type and Category Alignment
| Project Type | Typical Categories | Example Scenarios |
|---|---|---|
| Batch Process (Runs manually or by scheduler) | Data Pipeline, Data Preparation & Transform, AI/ML Workflow, Big Data Process, Sequential Code Process, Notifications | Nightly ETL to refresh a dashboard · Cleaning and preparing a dataset before training · Slack or email alert when a model completes training (Batch or API Calls) |
| Interactive Process (Runs manually from a UI with user inputs) | AI/ML Workflow, Data Preparation & Transform, Processes Workflow, Data Apps | Internal tool that runs custom visualizations based on user inputs · Training an AutoML model with user-defined parameters |
| API Calls (Runs via REST API endpoints) | API, AI/ML Workflow, Notifications, Processes Workflow | Real-time prediction endpoint for an external system · Webhook-triggered tasks and on-demand automations |
| AI Tools Collection (Each child object is independently callable) | API, Processes Workflow | Toolset exposed to an AI agent or MCP client, each tool callable on its own |
| WARP (Persistent HTTP — FastAPI) | API, Processes Workflow | Persistent FastAPI microservice serving model inference |
Tip: Any combination of project type and category is technically valid—these alignments simply reflect common best practices for keeping environments structured and intuitive.
Object Categories in Reasoning Flows
Objects are grouped into functional categories based on their purpose within a workflow. Each category contains specialized objects designed for specific tasks, from data extraction to machine learning to external integrations.
Extract and Load
This category enables automated data extraction from registered data sources and supports loading into tables managed within the Reasoning Flows platform. These objects may use direct table-to-table transfers or custom SQL queries to define the scope of data retrieval.
Supported Data Sources:
- MySQL-compatible databases (primary support)
- File-based sources (CSV, JSON, etc.)
Key Objects:
| Object | Description |
|---|---|
| AP DataPipe Engine - MySQL | GUI-based extraction from MySQL-compatible databases with visual field mapping |
| AP DataPipe Engine - File | GUI-based extraction from file sources |
| Python 3.12 DataPipe Engine | Code-driven extraction for custom data source handling |
Note: The AP DataPipe Engine provides a GUI-based configuration form for mapping source and destination tables, enabling rapid setup for common ETL tasks.
Transform and Prepare
These objects focus on refining data before it is used for analytics or modeling. They support data cleaning, format standardization, index generation, data type conversion, date processing, and custom SQL transformations. GUI-based tools allow for quick configuration, while SQL objects provide full scripting control.
Key Objects:
| Object | Description |
|---|---|
| AP Prepared Table | Converts raw database tables into datasets that support field-level transformation and analysis |
| AP Transform String to Binary | Converts text fields to binary representations |
| AP Transform String to Numeric | Converts text fields to numeric values |
| AP Transform Dates to Numeric | Converts date fields to numeric timestamps or components |
| AP SQL Code Execution | Executes custom SQL logic as a standalone process within the pipeline |
| AP Model Render | Generates formatted outputs from model results |
| SingularAI Text Splitter | Segments text content into smaller chunks for processing |
AI and Machine Learning
This category offers both AutoML (Automated Machine Learning) tools and custom development environments for machine learning. AutoML tools include GUI-driven workflows for training, deploying, and predicting with models. Dedicated GPU (Graphics Processing Unit) environments are available for high-performance training workloads.
Key Objects:
| Object | Description |
|---|---|
| AP AutoML Engine | Low-code model development with visual workflows for standard datasets |
| AP AutoML GPU Engine | GPU-accelerated training for larger datasets and complex models |
| SingularAI Text Embeddings | Generates vector representations of text for semantic analysis |
| AP Generative AI Workflow | Integrates generative AI capabilities into pipelines |
When to use GPU: Choose the AP AutoML GPU Engine when working with datasets exceeding 100,000 rows, deep learning models, or when training time on the standard engine exceeds acceptable thresholds.
High Performance Computing
These are open development environments that allow teams to write and execute custom code using supported languages. Ideal for advanced data processing, ML model development, API services, and custom application logic.
Key Objects:
| Object | Recommended Use Case |
|---|---|
| PHP 7.4 Application | Legacy PHP applications requiring older dependencies |
| PHP 8.2 Application | Modern PHP development with latest language features (recommended for new projects) |
| Python 3.8 Advanced ML Application | Machine learning workflows requiring scikit-learn, TensorFlow, or PyTorch |
| Python 3.8 Advanced ML & Plotly | ML workflows with interactive visualization requirements |
| Python 3 FastAPI | Building REST API endpoints with high performance |
| Python 3.9 Google Cloud Speech | Audio transcription and speech-to-text applications |
Version Selection Guidance: For new projects, use PHP 8.2 for PHP applications and Python 3.8+ for ML workloads. Older versions are maintained for backward compatibility with existing projects.
Notebooks
The Reasoning Flows Notebooks object provides an interactive Python development environment directly within the platform. Notebooks are ideal for:
- Data Exploration – Inspect datasets, generate statistics, and visualize distributions before building pipelines.
- Prototyping – Test transformation logic or model approaches before formalizing them into production objects.
- Documentation – Combine code, outputs, and markdown explanations in a single shareable document.
- Collaboration – Share exploratory analysis with team members who can view and build upon your work.
Notebooks support standard Python libraries and have access to the project's data repository, allowing seamless transition from exploration to production workflows.
Flow Control
These objects control how a flow executes—branching, looping, and setting values at runtime—rather than moving or transforming data themselves. They let a single flow take different paths or repeat sections based on the data it has at each step.
Key Object:
| Object | Description |
|---|---|
| Decision Step | Branches execution with IF / ELSE IF conditions (inline AND/OR), sets variables that persist downstream, and supports loop-backs with a loop guard and per-step retries. See the Decision Step guide for details. |
Note: Variables set by a Decision Step persist to every later step and across all project types.
Notification Engine
Allows configuration and execution of custom notifications using email services. These objects can be triggered within workflows to send status updates, alerts, or summaries.
Key Object:
- AP Notification Engine
Requirements:
- Mailgun API key (currently the supported email service provider)
Common Use Cases:
- Pipeline completion or failure alerts
- Scheduled report delivery
- Threshold-based warnings (e.g., data quality issues)
Webhook Sender
This object type enables integration with external systems via webhook calls. Users can define webhook URLs and payloads to trigger downstream services based on events occurring within Reasoning Flows.
Key Object:
- AP Webhook Sender
Common Use Cases:
- Triggering external automation tools (Zapier, Make, etc.)
- Notifying third-party systems of pipeline completion
- Initiating downstream processes in other platforms
Development Interface
Each object within Reasoning Flows features a robust development interface that includes:
- Global Files – Shared code or libraries accessible by multiple objects in the same project.
- Data Repository Access – Direct integration with the project's internal data tables and schemas.
- Execution and Scheduling – Support for on-demand or scheduled runs of objects and workflows.
- Project and Object Cloning – Rapid duplication of entire projects or individual objects for reuse.
- Dynamic Parameter Configuration – Runtime parameter injection to support flexible and scalable executions.
Deployment and Compute Infrastructure
Reasoning Flows runs on a containerized infrastructure based on Docker. It offers two types of compute resource configurations:
| Configuration | Description | Best For |
|---|---|---|
| Shared Container Resources | Cost-effective compute managed across tenants | Development, testing, light production workloads |
| Dedicated Container Resources | Reserved compute environments with guaranteed performance | Enterprise-scale production, time-sensitive pipelines |
Summary
Reasoning Flows is a unified environment for data development, supporting both GUI-based and code-driven workflows. Whether you're handling structured transformations, deploying AI models, or integrating with external APIs, it provides the tools and infrastructure to build and deploy solutions across the organization.
Updated 8 minutes ago
