> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# AI in FlowX

> AI agents for every stage - config-time agents help you build apps faster, while business agents power intelligent experiences for your end-users.

<div className="fxh-hero fxh-hero--single fxh-hero--slim">
  <div className="fxh-hero__bg" />

  <div className="fxh-hero__steps">
    <div className="fxh-hero__step">
      <span className="fxh-eyebrow"><span className="fxh-tick" />AI Platform · FlowX.AI</span>

      <span className="fxh-title">
        <span className="fxh-line">AI agents for every stage<span className="fxh-amber">.</span></span>
      </span>

      <span className="fxh-sub">FlowX AI Platform provides intelligent agents across your entire application lifecycle. Whether you're building apps or running them, AI agents accelerate your work and enhance user experiences.</span>

      <div className="fxh-ctas">
        <a className="fxh-cta fxh-cta--primary" href="./agent-builder/overview">Explore Agent Builder</a>
        <a className="fxh-cta fxh-cta--ghost" href="./pre-built-agents/overview">Pre-built agents</a>
      </div>
    </div>
  </div>
</div>

<div className="fxl-no">01 · Agent types</div>

## Two types of AI agents

FlowX provides agents for different stages of your application lifecycle:

<div className="fxl-flow rv">
  <div className="fxl-flow__stage">
    <span className="fxl-flow__no">01 · config time</span>
    <span className="fxl-flow__title">FlowX Designer</span>
    <span className="fxl-flow__desc">Config-time agents help you build processes, UIs, and business rules.</span>
  </div>

  <span className="fxl-flow__arrow" aria-hidden="true">→</span>

  <div className="fxl-flow__stage">
    <span className="fxl-flow__no">02 · build</span>
    <span className="fxl-flow__title">Agent Builder · Marketplace</span>
    <span className="fxl-flow__desc">Create custom business agents or start from pre-built accelerators.</span>
  </div>

  <span className="fxl-flow__arrow" aria-hidden="true">→</span>

  <div className="fxl-flow__stage">
    <span className="fxl-flow__no">03 · runtime</span>
    <span className="fxl-flow__title">Business agents</span>
    <span className="fxl-flow__desc">Run inside your apps, serving your customers and employees.</span>
  </div>
</div>

<div className="fxl-grid">
  <div className="fxl-cell rv" style={{ "--i": 0 }}>
    <span className="fxl-cell__no">01</span>
    <span className="fxl-cell__title">Config-time agents</span>
    <span className="fxl-cell__desc">Help you build apps faster. AI assistants embedded in FlowX Designer that help developers and business analysts create processes, UIs, and business rules. Used by designers, developers, analysts.</span>
  </div>

  <div className="fxl-cell rv" style={{ "--i": 1 }}>
    <span className="fxl-cell__no">02</span>
    <span className="fxl-cell__title">Business agents</span>
    <span className="fxl-cell__desc">Power your end-user experiences. AI agents that run inside your applications, interacting with customers and employees to automate tasks and provide intelligent assistance.</span>
  </div>
</div>

***

<div className="fxl-no">02 · Config time</div>

## Config-time agents

These agents are built into FlowX Designer to accelerate app development:

<div className="fxl-grid">
  <a className="fxl-cell rv" style={{ "--i": 0 }} href="./pre-built-agents/ai-analyst">
    <span className="fxl-cell__no">01</span>
    <span className="fxl-cell__title">Analyst</span>
    <span className="fxl-cell__desc">Build and optimize BPMN processes using AI to generate, validate, and enhance workflows.</span>
  </a>

  <a className="fxl-cell rv" style={{ "--i": 1 }} href="./pre-built-agents/ai-assistant">
    <span className="fxl-cell__no">02</span>
    <span className="fxl-cell__title">Assistant</span>
    <span className="fxl-cell__desc">Answer questions about FlowX platform and your organization based on documentation.</span>
  </a>

  <a className="fxl-cell rv" style={{ "--i": 2 }} href="./pre-built-agents/ai-designer">
    <span className="fxl-cell__no">03</span>
    <span className="fxl-cell__title">Designer</span>
    <span className="fxl-cell__desc">Convert natural language prompts, Figma designs, or sketches into UI layouts.</span>
  </a>

  <a className="fxl-cell rv" style={{ "--i": 3 }} href="./pre-built-agents/ai-developer">
    <span className="fxl-cell__no">04</span>
    <span className="fxl-cell__title">Developer</span>
    <span className="fxl-cell__desc">Generate business rules and code expressions using natural language.</span>
  </a>
</div>

<Accordion title="See config-time agents in action">
  <video controls className="w-full aspect-video" src="https://s3.eu-west-1.amazonaws.com/docx.flowx.ai/470/AI_Build_Agents.mp4" />
</Accordion>

For detailed documentation on each config-time agent, see the [pre-built agents overview](./pre-built-agents/overview).

***

<div className="fxl-no">03 · Runtime</div>

## Business agents

Agents that power intelligent experiences for your end-users. You have two options:

### FlowX accelerators

Pre-built business agents created by FlowX, ready to deploy:

* Industry-specific solutions for banking, insurance, and more
* Tested and optimized for common use cases
* Deploy immediately or customize to your needs

### Custom agents

Use **Agent Builder** to create AI agents tailored to your specific business processes:

<div className="fxl-dgv">
  <div className="fxl-dgv__row rv" style={{ "--i": 0 }}><span className="fxl-dgv__key">documents</span><span className="fxl-dgv__val">Extract data from forms, contracts, and statements.</span></div>
  <div className="fxl-dgv__row rv" style={{ "--i": 1 }}><span className="fxl-dgv__key">content</span><span className="fxl-dgv__val">Create personalized communications and reports.</span></div>
  <div className="fxl-dgv__row rv" style={{ "--i": 2 }}><span className="fxl-dgv__key">decisions</span><span className="fxl-dgv__val">Analyze data and provide recommendations.</span></div>
  <div className="fxl-dgv__row rv" style={{ "--i": 3 }}><span className="fxl-dgv__key">conversations</span><span className="fxl-dgv__val">Build chat-based customer interactions.</span></div>
</div>

<div className="fxl-grid fxl-grid--1">
  <a className="fxl-cell rv" href="./agent-builder/overview">
    <span className="fxl-cell__no">→</span>
    <span className="fxl-cell__title">Agent Builder</span>
    <span className="fxl-cell__desc">Create custom AI agents for your specific business needs.</span>
  </a>
</div>

***

<div className="fxl-no">04 · Integrate</div>

## Integrating agents into apps

Once you have business agents (custom or from marketplace), integrate them into your applications:

<div className="fxl-grid fxl-grid--3">
  <a className="fxl-cell rv" style={{ "--i": 0 }} href="./using-agents/chat-interface">
    <span className="fxl-cell__no">01</span>
    <span className="fxl-cell__title">Chat interface</span>
    <span className="fxl-cell__desc">Conversational UI for end-users.</span>
  </a>

  <a className="fxl-cell rv" style={{ "--i": 1 }} href="./using-agents/bpmn-integration">
    <span className="fxl-cell__no">02</span>
    <span className="fxl-cell__title">BPMN integration</span>
    <span className="fxl-cell__desc">Trigger agents from workflows.</span>
  </a>

  <a className="fxl-cell rv" style={{ "--i": 2 }} href="./integrations">
    <span className="fxl-cell__no">03</span>
    <span className="fxl-cell__title">API access</span>
    <span className="fxl-cell__desc">Programmatic integration.</span>
  </a>
</div>

***

<div className="fxl-no">05 · Security</div>

## Enterprise security

All FlowX AI agents are built for banking-grade security:

| Security feature             | Description                                                            |
| ---------------------------- | ---------------------------------------------------------------------- |
| **Zero-trust model**         | All components authenticate each other, preventing unauthorized access |
| **Input/output scanning**    | Detect prompt injection, ban sensitive substrings, sanitize outputs    |
| **Custom fine-tuned models** | Purpose-built models with curated data for each use case               |
| **Human oversight**          | Human-in-the-loop controls for ethical decision-making                 |

***

<div className="fxl-no">06 · Data protection</div>

## Personal data protection

FlowX ensures personal data never reaches AI models by design through controlled data ingestion, deterministic workflows, and encryption options.

### Data ingestion paths

Personal data enters the platform through three channels:

| Channel            | Data handling                                                                                                                             |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Forms / UIs**    | Input data mapped directly to the process data model                                                                                      |
| **3rd party APIs** | API responses mapped to the process data model                                                                                            |
| **Documents**      | Structured docs (Word, Excel) have fields mapped automatically; unstructured docs require OCR extraction with optional human verification |

<Info>
  For unstructured documents containing sensitive data, a human operator can verify extracted data accuracy before it's mapped to the data model.
</Info>

### Data storage

All ingested data ends up in **data models** - JSON collections stored in FlowX databases:

* Data models are only accessible to deterministic business process steps
* Process logic controls when, how, and which data is sent to AI steps
* This ensures **no personal data is sent to AI by design**

### Protection options

| Option                     | Description                                                                                                                      |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| **Database encryption**    | Encrypt data at rest using database capabilities (e.g., pgcrypto in PostgreSQL) - prevents administrator access to business data |
| **Sensitive data masking** | Mark specific data model fields as sensitive to hide them in UIs and console outputs                                             |
| **Custom guardrails**      | Additional guardrails can be enforced in AI workflows                                                                            |

<CardGroup cols={2}>
  <Card title="Data Model" icon="database" href="../docs/building-blocks/process/data-model">
    Learn about process data models
  </Card>

  <Card title="Sensitive Data" icon="eye-slash" href="../docs/building-blocks/process/data-model#sensitive-data">
    Configure sensitive data masking
  </Card>
</CardGroup>

***

<div className="fxl-no">07 · Reliability</div>

## Hallucination prevention

| Technique                    | Purpose                                                         |
| ---------------------------- | --------------------------------------------------------------- |
| **RAG**                      | Ground responses in reliable external data sources              |
| **Multi-agent architecture** | Dedicated agents for specific tasks with specialized processing |
| **Structured outputs**       | Enforce JSON outputs for consistent, parseable responses        |
| **Model evaluation**         | Continuous testing to find optimal models for each task         |
| **Prompt tuning**            | Task-specific prompts to enhance accuracy and relevance         |

***

<div className="fxl-no">08 · Resources</div>

## Related resources

<div className="fxl-grid">
  <a className="fxl-cell rv" style={{ "--i": 0 }} href="./chat-component">
    <span className="fxl-cell__no">01</span>
    <span className="fxl-cell__title">Chat component</span>
    <span className="fxl-cell__desc">Technical reference for chat integration.</span>
  </a>

  <a className="fxl-cell rv" style={{ "--i": 1 }} href="./integrations">
    <span className="fxl-cell__no">02</span>
    <span className="fxl-cell__title">AI integrations</span>
    <span className="fxl-cell__desc">Connect agents to knowledge bases and external systems.</span>
  </a>

  <a className="fxl-cell rv" style={{ "--i": 2 }} href="/5.9/setup-guides/ai-platform-setup">
    <span className="fxl-cell__no">03</span>
    <span className="fxl-cell__title">AI Platform setup</span>
    <span className="fxl-cell__desc">Configure AI Platform for your environment.</span>
  </a>

  <a className="fxl-cell rv" style={{ "--i": 3 }} href="./using-agents/overview">
    <span className="fxl-cell__no">04</span>
    <span className="fxl-cell__title">Using agents</span>
    <span className="fxl-cell__desc">Integration patterns and best practices.</span>
  </a>
</div>


## Related topics

- [FlowX.AI Designer](/5.9/docs/flowx-designer/overview.md)
- [FlowX.AI architecture](/5.9/docs/platform-overview/flowx-architecture.md)
- [FlowX.AI CMS](/5.9/docs/platform-deep-dive/core-extensions/content-management/content-management.md)
- [FlowX.AI Scheduler](/5.9/docs/platform-deep-dive/core-extensions/scheduler.md)
- [FlowX.AI documentation](/5.9/docs/introduction.md)
