Workflow Architecture
Deep dive into Kubiyaβs serverless, containerized workflow execution model
Serverless Workflow Architecture
Kubiya implements a cutting-edge serverless architecture where every workflow and step runs as an independent Docker container. This design enables unprecedented flexibility, scalability, and software compatibility.
Core Principles
1. Containerized Everything
π³ Docker-Based Execution
Every single step in your workflow runs in its own Docker container:
- Any Language: Python, JavaScript, Go, Rust, Java, C++, Ruby, etc.
- Any Tool: Git, AWS CLI, Terraform, kubectl, npm, cargo, etc.
- Any Library: Install and use any package or dependency
- Any Version: Pin specific versions of languages and tools
2. True Statelessness
Each workflow execution is completely independent:
3. Infinite Scalability
The serverless model means:
- No pre-provisioned resources
- Automatic scaling based on demand
- Pay only for actual execution time
- Handle 1 or 1,000,000 workflows seamlessly
Architecture Diagram
Comparison with Other Orchestration Platforms
Kubiya vs Traditional Orchestrators
Execution Model Comparison
Resource Management
How It Works
1. Workflow Definition
You define workflows using Python SDK, YAML, or through AI generation:
2. Container Specification
Each step specifies its container requirements:
3. Execution Flow
4. Data Flow
Steps communicate through artifacts:
Real-World Examples
Multi-Language ETL Pipeline
DevOps Automation
Advanced Features
Custom Base Images
Create specialized images for your workflows:
Resource Management
Control container resources:
Network Isolation
Each container runs in isolation:
AI-Powered Generation
With ADK orchestration, you can generate these complex workflows using natural language:
Benefits Summary
π Any Software
Run literally any software, tool, or language in your workflows
π¦ Zero Dependencies
No need to pre-install anything - containers have everything
π Perfect Isolation
Each step runs in complete isolation with no side effects
β‘ Instant Scale
From 1 to 1 million executions without infrastructure changes
Security & Compliance
The containerized architecture provides:
- Process Isolation: Each step runs in its own namespace
- Resource Limits: Prevent runaway processes
- Network Policies: Control communication between steps
- Audit Trails: Complete execution history
- Secrets Management: Secure credential injection
Whatβs Next?
Getting Started
Create your first containerized workflow
ADK Provider
Learn about AI-powered workflow generation
Examples
See real-world containerized workflows