Skip to main content

Task Components and Sharing

Every task in Airtrain is built using standardized components that ensure consistency, security, and interoperability. Understanding these components and sharing models is essential for creating effective and reusable tasks.

Core Components

Each task is composed of several key components that work together to define its behavior, security, and execution flow. These components ensure that tasks are both powerful and maintainable while providing clear boundaries for execution and validation.

Permission Management

Tasks implement granular permission control to ensure secure execution and resource access.

  • Permission List

    • Complete list of available permissions
    • Access levels for different resources
    • API and system integration permissions
  • Required Permissions

    • Minimum permissions needed for execution
    • Critical access requirements
    • Resource-specific permissions

Execution Framework

The execution framework defines how a task processes information and performs actions.

  • Execution Graph

    • Step-by-step processing pipeline
    • Decision points and branches
    • Error handling paths
    • Retry and fallback logic
  • Working Memory

    • Temporary data storage
    • Runtime variables
    • Task state management
    • Cleanup protocols

Tools and Schema

Tasks use defined tools and schemas to ensure consistent input and output handling.

  • Available Tools

    • API integrations
    • System utilities
    • Custom functions
    • External service connectors
  • Input/Output Schema

    • Data format specifications
    • Required fields
    • Type validations
    • Response formats

Validation System

The validation system ensures task reliability and output quality.

  • Validations

    • Input data verification
    • Process checkpoints
    • Output conformity checks
    • Error boundaries
  • Evaluators

    • Performance metrics
    • Success criteria
    • Quality assessments
    • Compliance checks

Task Sharing Models

Airtrain provides flexible sharing options that allow task creators to control access and monetization of their tasks. Each sharing model serves different needs and use cases.

Private Tasks

Private tasks provide complete control and privacy for individual use.

  • Access
    • Limited to creator only
    • Full implementation control
    • Complete usage analytics
    • Personal customization

Shared Tasks

Shared tasks enable controlled collaboration with specific users or teams.

  • Access
    • Limited to specified users
    • Usage tracking per user
    • Collaborative improvement
    • Version control

Public Tasks

Public tasks are available to all Airtrain users while protecting intellectual property.

  • Access
    • Available to all users
    • Schema-only visibility
    • Protected implementation
    • Usage analytics
    • Monetization options

Open Source Tasks

Open source tasks promote community collaboration and learning.

  • Access
    • Complete code visibility
    • Community contributions
    • Fork and modify options
    • Attribution requirements

Monetization Options

Task creators can monetize their tasks (except private tasks) through various models:

  • Pay-per-use pricing
  • Subscription access
  • Volume-based pricing
  • Custom licensing

Note: Detailed pricing and expense information will be covered in a separate section.

Next Steps

Learn how to create your first task using these components, or explore the task store to see examples of different sharing models in action.