Skip to main content

Universal AI Workflow Infrastructure - Build, debug, and deploy intelligent pipelines

Project description

FlowMason

Universal AI Workflow Infrastructure - Build, debug, and deploy intelligent pipelines.

Overview

FlowMason is an AI pipeline orchestration platform that enables developers to design, build, debug, and deploy intelligent workflows. It uses a Salesforce DX-style hybrid model:

  • Development: File-based pipelines (.pipeline.json) in VSCode with Git version control
  • Deployment: Push to staging/production orgs where pipelines run from databases
  • Runtime: Backend APIs expose pipelines for consumption

Features

  • Visual Pipeline Builder - Design AI workflows visually in VSCode or Studio
  • Three Component Types - Nodes (AI), Operators (deterministic), Control Flow
  • Full Debugging - Breakpoints, step-through, prompt iteration
  • Package System - Distribute components as .fmpkg files
  • Multi-Environment - Local development, staging, production orgs
  • Enterprise Ready - API keys, RBAC, audit logging, SSO/SAML

Installation

Requirements

  • Python 3.11 or higher
  • pip (Python package manager)

Install from PyPI

pip install flowmason

What Gets Installed

When you install FlowMason, the following CLI commands are automatically added to your PATH:

Command Description
fm Short alias for FlowMason CLI
flowmason Full FlowMason CLI command

Both commands are identical - use whichever you prefer.

Verify Installation

# Check version
fm --version
# or
flowmason --version

# See all available commands
fm --help

Troubleshooting

If fm or flowmason commands are not found after installation:

  1. Check Python scripts directory is in PATH:

    # Find where pip installs scripts
    python -m site --user-base
    # Add the bin directory to your PATH (add to ~/.bashrc or ~/.zshrc)
    export PATH="$PATH:$(python -m site --user-base)/bin"
    
  2. Try using Python module directly:

    python -m flowmason_core.cli.main --help
    
  3. Reinstall with --user flag:

    pip install --user flowmason
    
  4. Use a virtual environment (recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    pip install flowmason
    fm --version
    

Quick Start

# Initialize a new project
fm init my-project
cd my-project

# Start the local Studio backend
fm studio start

# Run a pipeline
fm run pipelines/main.pipeline.json

# Debug a pipeline
fm run pipelines/main.pipeline.json --debug

VSCode Extension

Install the FlowMason extension from the VS Code Marketplace for:

  • IntelliSense for decorators and component patterns
  • Visual DAG editor for pipelines
  • Debugging with breakpoints and step-through
  • Test Explorer integration
  • Prompt iteration during debug

Define Components

Node (AI-powered)

from flowmason_core import node, NodeInput, NodeOutput, Field

@node(
    name="summarizer",
    category="reasoning",
    description="Summarize text using AI",
)
class SummarizerNode:
    class Input(NodeInput):
        text: str = Field(description="Text to summarize")
        max_length: int = Field(default=100)

    class Output(NodeOutput):
        summary: str

    async def execute(self, input: Input, context) -> Output:
        provider = context.providers["anthropic"]
        response = await provider.call(
            prompt=f"Summarize in {input.max_length} words: {input.text}"
        )
        return self.Output(summary=response.text)

Operator (Deterministic)

from flowmason_core import operator, OperatorInput, OperatorOutput

@operator(
    name="json-transform",
    category="transform",
    description="Transform JSON data",
)
class JsonTransformOperator:
    class Input(OperatorInput):
        data: dict
        expression: str

    class Output(OperatorOutput):
        result: dict

    async def execute(self, input: Input, context) -> Output:
        import jmespath
        result = jmespath.search(input.expression, input.data)
        return self.Output(result=result)

CLI Commands

# Pipeline execution
fm run <pipeline.json>              # Run pipeline from file
fm run --debug <pipeline.json>      # Run with debugging

# Project management
fm init                             # Initialize project
fm validate                         # Validate pipelines

# Studio management
fm studio start                     # Start local Studio
fm studio stop                      # Stop Studio
fm studio status                    # Check status

# Org management (staging/production)
fm org login --alias staging        # Login to org
fm deploy --target staging          # Deploy pipelines
fm pull --target staging            # Pull pipelines

# Package management
fm pack                             # Build .fmpkg
fm install <package.fmpkg>          # Install package

Documentation

Visit https://flowmason.com/docs for complete documentation.

Support

License

Proprietary. See LICENSE file for terms.

Copyright (c) 2025 FlowMason. All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flowmason-1.0.18.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowmason-1.0.18-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file flowmason-1.0.18.tar.gz.

File metadata

  • Download URL: flowmason-1.0.18.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for flowmason-1.0.18.tar.gz
Algorithm Hash digest
SHA256 5b9ba06f65b903a2cf9058599b67cc18c8a9edbbce834d4c4ddda444f8c2ef83
MD5 3a29617635a6594e44ef93e34911f416
BLAKE2b-256 bc7b15bef941b038610741416eff369d90fa4b0f361414427ac6fe8399aa8457

See more details on using hashes here.

File details

Details for the file flowmason-1.0.18-py3-none-any.whl.

File metadata

  • Download URL: flowmason-1.0.18-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for flowmason-1.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 09bd784dc5bd5fa3b937f4369d4e9dcfafa9b79ae258b9e4d6d2521f4482e9df
MD5 d7a696674bc696eab836109754af5824
BLAKE2b-256 13aab9167b81475c34a3d0cd63fb73dfc1c4eb81fe98a96e1b87501767a89fe8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page