Skip to content

Apps & Workflows

Apps are the top-level containers for workflows in the Virtualitics AI Platform.

What is an App?

An App represents a complete workflow that can:

  • Contain multiple steps
  • Process data through a pipeline
  • Provide interactive UI
  • Be shared with other users
  • Execute on a schedule

Creating an App

from virtualitics_sdk import App

app = App(
    name="My Application",
    description="A workflow for data analysis",
    is_shareable=True
)

App Structure

Apps consist of:

  1. Metadata: Name, description, image
  2. Steps: Ordered sequence of workflow steps
  3. Configuration: Settings and preferences
  4. Optional Features: LLM integration, scheduling, etc.

Adding Steps

Use the chain() method to add steps:

app.chain([
    load_data_step,
    process_step,
    visualize_step,
    export_step
], lock=True)

App Lifecycle

  1. Discovery: App is discovered and registered on platform
  2. Instantiation: User creates an instance of the app
  3. Execution: Steps run in sequence
  4. Completion: Results are saved and shared

Best Practices

  • Give apps descriptive, user-friendly names
  • Provide clear descriptions
  • Organize steps logically
  • Handle errors gracefully
  • Test thoroughly before deploying

See Also