> ## Documentation Index
> Fetch the complete documentation index at: https://prismeai-legacy.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Discover AI Builder, the orchestration engine at the core of the Prisme.ai platform

<Frame>
  <img src="https://mintcdn.com/prismeai-legacy/jdOgS9ouJy0zTcFo/images/ai-builder-nav.png?fit=max&auto=format&n=jdOgS9ouJy0zTcFo&q=85&s=8ef165633d24b75f5e155f7f894156e1" alt="AI Builder Interface" width="3020" height="1498" data-path="images/ai-builder-nav.png" />
</Frame>

AI Builder is the orchestration engine at the heart of the Prisme.ai platform. It enables you to connect agents with each other and with your enterprise systems, create custom AI use cases, and automate complex workflows while hiding technical complexity from business users.

## The Power of Orchestration

AI Builder serves as the foundation that ensures all other Prisme.ai products function seamlessly:

<CardGroup cols={2}>
  <Card title="Agent Orchestration" icon="robot">
    Connect multiple AI agents to create sophisticated multi-agent systems
  </Card>

  <Card title="System Integration" icon="network-wired">
    Bridge the gap between AI capabilities and your enterprise systems
  </Card>

  <Card title="Custom Use Cases" icon="wand-magic-sparkles">
    Build tailored AI solutions for your specific business needs
  </Card>

  <Card title="Workflow Automation" icon="gears">
    Automate complex processes through an event-driven architecture
  </Card>
</CardGroup>

## Technical Versatility with Low-Code Approach

AI Builder offers multiple development approaches to accommodate different technical backgrounds:

<Tabs>
  <Tab title="No-Code">
    Visual interface for creating basic workflows and interfaces without any coding:

    * Drag-and-drop components
    * Visual workflow builders
    * Pre-built templates
    * Configuration-based customization

    **Ideal for**: Business analysts, process owners, and AI specialists with limited technical background
  </Tab>

  <Tab title="Low-Code">
    Blended approach combining visual tools with limited code customization:

    * Visual designers with code extension points
    * Custom expressions and formulas
    * Logic customization through simplified scripting
    * Component property manipulation

    **Ideal for**: Technical business users, citizen developers, and IT professionals
  </Tab>

  <Tab title="Code">
    Full development capabilities for complex scenarios:

    * JavaScript/TypeScript for frontend components
    * Node.js for backend automations
    * Python for data processing and machine learning
    * CSS for styling customization

    **Ideal for**: Developers, data scientists, and IT professionals with programming experience
  </Tab>
</Tabs>

## Getting Started with AI Builder

<Steps>
  <Step title="Create a Workspace">
    Start by creating a new workspace or selecting from available templates.

    A workspace is your dedicated environment for building and connecting all your AI components. It includes:

    * Pages for user interfaces
    * Blocks for reusable UI components
    * Automations for backend logic
    * Activity logs for monitoring and debugging
  </Step>

  <Step title="Design User Interfaces">
    Create pages by assembling blocks that users will interact with.

    Pages are built by:

    * Selecting from pre-built blocks
    * Arranging them in a layout
    * Configuring their properties
    * Connecting them to automations via events
  </Step>

  <Step title="Build Automations">
    Create backend logic to process data and connect to systems.

    Automations can be triggered by:

    * User interactions via events
    * HTTP requests to create APIs
    * Scheduled tasks using cron expressions
    * Other automations in a workflow
  </Step>

  <Step title="Test and Monitor">
    Validate your implementation and monitor its performance.

    The Activity panel provides:

    * Real-time event monitoring
    * Error detection and diagnosis
    * Performance metrics
    * Usage statistics
  </Step>

  <Step title="Deploy and Share">
    Make your solution available to users.

    Deployment options include:

    * Direct access to workspace pages
    * Packaging as a reusable app
    * Version control for iterative development
    * Role-based access control
  </Step>
</Steps>

## Key Components of AI Builder

AI Builder is organized around several core concepts that work together to create powerful AI applications:

<AccordionGroup>
  <Accordion title="Workspaces">
    A workspace is your project environment that contains all components and manages interactions between them:

    * **Unique Slug**: Each workspace has a unique identifier used in URLs
    * **Event-Driven Architecture**: Components communicate through events
    * **Activity Monitoring**: Centralized logging of all events and actions
    * **Access Control**: Role-based permissions for team collaboration
    * **Versioning**: Track changes and manage versions

    Workspaces can be created from scratch or from templates provided through AI Governance.
  </Accordion>

  <Accordion title="Blocks">
    Blocks are reusable UI components that users interact with:

    * **Built-in Blocks**: Ready-to-use components like chats, forms, tables
    * **Marketplace Blocks**: Additional components from installed apps
    * **Custom Blocks**: Your own blocks built using the design system
    * **Event Communication**: Blocks emit and listen for events
    * **Styling**: Customizable appearance through properties and CSS

    Blocks are the building blocks for creating user interfaces in pages.
  </Accordion>

  <Accordion title="Pages">
    Pages are assemblies of blocks that create complete user interfaces:

    * **Layouts**: Arrange blocks in different configurations
    * **Navigation**: Connected through links and events
    * **Access Control**: Public, private, or shared with specific users
    * **URLs**: Accessible through predictable URL patterns
    * **Responsive Design**: Adapt to different device sizes

    Pages use Next.js for optimal performance and SEO capabilities.
  </Accordion>

  <Accordion title="Automations">
    Automations are backend processes that execute business logic:

    * **Triggers**: Events, URLs (APIs/webhooks), or schedules
    * **Instructions**: Built-in actions, conditionals, loops
    * **Integration**: Connect to external systems and APIs
    * **Data Processing**: Transform and manipulate information
    * **Event Emission**: Trigger other automations or update UI

    Automations represent the server-side logic of your application.
  </Accordion>

  <Accordion title="Apps">
    Apps are installable packages that extend capabilities:

    * **Marketplace**: Browse and install pre-built apps
    * **Components**: May include blocks, automations, or both
    * **Configuration**: Some apps require setup (API keys, etc.)
    * **Documentation**: Usage instructions for implementation
    * **Versioning**: Update apps independently

    Apps accelerate development by providing pre-built functionality.
  </Accordion>
</AccordionGroup>

## AI Builder in the Prisme.ai Ecosystem

AI Builder connects with other Prisme.ai products to create a comprehensive platform:

<CardGroup cols={3}>
  <Card title="AI SecureChat" icon="comment-dots">
    Extend chat capabilities with custom workflows and interfaces
  </Card>

  <Card title="AI Store" icon="store">
    Deploy complex agents with custom interfaces and backend logic
  </Card>

  <Card title="AI Knowledge" icon="database">
    Augment RAG systems with advanced orchestration and webhooks
  </Card>

  <Card title="AI Collection" icon="table">
    Create advanced data pipelines and analytics workflows
  </Card>

  <Card title="AI Governance" icon="shield-halved">
    Implement company-wide templates and security policies
  </Card>

  <Card title="AI Insights" icon="chart-line">
    Build custom analytics dashboards and monitoring tools
  </Card>
</CardGroup>

## Memory and State Management

AI Builder provides several memory scopes for maintaining state:

<Properties>
  <Property name="User Memory" value="Persistent data tied to the authenticated user">
    Available as `{{user.id}}`, `{{user.email}}`, `{{user.authData}}`
  </Property>

  <Property name="Session Memory" value="Data preserved during the current user session">
    Available through `{{session}}` variables
  </Property>

  <Property name="Global Memory" value="Workspace-level variables accessible across all users">
    Available through `{{global}}` variables
  </Property>

  <Property name="Run Memory" value="Execution context for the current automation">
    Available as `{{run.ip}}`, `{{run.date}}`, `{{run.slug}}`
  </Property>

  <Property name="Extended Storage" value="For larger datasets and complex querying">
    Available by installing the Collection app
  </Property>
</Properties>

## Next Steps

<CardGroup cols={2}>
  <Card title="Framework Architecture" icon="diagram-project" href="/products/ai-builder/framework-architecture">
    Learn about the technical architecture of AI Builder
  </Card>

  <Card title="Blocks" icon="puzzle-piece" href="/products/ai-builder/blocks">
    Discover how to create and use UI components
  </Card>

  <Card title="Pages" icon="file-code" href="/products/ai-builder/pages">
    Build complete user interfaces
  </Card>

  <Card title="Automations" icon="gears" href="/products/ai-builder/automations">
    Create backend logic and workflows
  </Card>

  <Card title="Integrations" icon="plug" href="/products/ai-builder/integrations">
    Connect to external systems and APIs
  </Card>

  <Card title="Use Cases" icon="lightbulb" href="/products/ai-builder/use-cases">
    Explore real-world implementation examples
  </Card>
</CardGroup>
