Overview
The AI Developer is an intelligent agent that transforms natural language descriptions into functional code. It helps developers generate business rules, JavaScript expressions, and test data without requiring manual coding. The agent can also edit existing code, provide explanations, and translate between programming languages, significantly accelerating the development process.Key capabilities
The AI Developer offers two main categories of capabilities:Generate new code
Generate Business Rule
Transforms natural language descriptions into code using the data model as context. Supports JavaScript, Python, and MVEL. Produces clean, functional business rule code based on text prompts.
Generate Business Rule from Document
Extracts business rule definitions from uploaded documents. Identifies relevant text on each page that describes business rules, summarizes and presents the information to users in a dropdown, and generates corresponding code based on the selected rule description.
Generate (un)Hide JavaScript Expression
Creates JavaScript expressions for conditional visibility of elements. Uses the data model as context for proper variable references.
Generate Computed JavaScript Expression
Produces JavaScript code for calculated or derived values. Uses the data model to ensure proper variable referencing.
Generate Custom Component
Generates a React Custom Component bundle (JSX, CSS,
package.json, and sample input data) from a natural-language description. A sample input field lets you supply preview data so the generated component renders meaningfully on first run.Edit existing code
Edit Existing Business Rule
Modifies existing code based on natural language instructions. Uses the data model as context for accurate updates.
Edit Custom Component
Iterates on an existing Custom Component bundle through the same conversation. The agent keeps the component context across turns and updates JSX, CSS,
package.json, or sample input data as requested.Fix / Explain Code
Fixes errors in business rules based on error logs. Provides clear explanations of what the code does.
Translate Code Between Languages
Converts business rules from one language to another. Maintains functionality while adapting to language-specific syntax.
Generate workflow script-node code
SaaS Ā·Available on SaaS with FlowX.AI . This feature is live on managed (SaaS) deployments now. Self-hosted deployments receive it with the next LTS release.
Project data model awareness
Available starting with FlowX.AI 5.9.2The AI Developer receives your projectās data model as context when generating or editing business rules, hide/unhide expressions, and computed expressions.
How to use
The AI Developer is accessible through the FlowX.AI Platform interface. You can:1
Select the desired capability
Choose the capability you need from the AI Developer section.
2
Provide instructions or upload documents
Provide natural language instructions or upload relevant documents.
3
Specify programming language preferences
Specify programming language preferences when applicable.
4
Review and implement the generated code
Review the generated code and implement it in your process.
How it works
The AI Developer architecture integrates large language models with the FlowX.AI Platform to convert natural language to code.Best practices
ā DO the following
Be specific with your requirements:
Clearly state what the business rule should accomplish, including conditions, actions, and expected outcomes.
Reference data model elements:
Mention specific data fields or entities that the code should interact with to ensure proper context.
Specify the programming language:
Always indicate whether you need JavaScript, Python, or another supported language for your code generation.
Provide edge cases:
Mention special conditions or exceptions that the business rule should handle to ensure reliable code.
ā DONāT do these
Donāt be vague:
Avoid ambiguous descriptions that can lead to incorrect implementation. Be precise about the logic you need.
Donāt reference external systems:
The AI Developer has no knowledge of external systems not defined in the provided context.
Donāt skip defining variables:
Make sure to define all variables or data fields that your business rule will use.
Donāt expect platform-specific knowledge:
The agent doesnāt know about keys or information not defined in the data model or provided context.
Related resources
Agent Builder
Build and configure custom AI agents for your business needs
AI Analyst
Generate process definitions and data models from natural language descriptions
AI Designer
Automatically generate UI components and screen layouts from process definitions

