Skip to content

Installation

aipartnerupflow can be installed with different feature sets depending on your needs.

Core Library (Minimum)

The core library provides pure task orchestration without any LLM dependencies:

pip install aipartnerupflow

Includes: - Task orchestration specifications (TaskManager) - Core interfaces (ExecutableTask, BaseTask, TaskStorage) - Storage (DuckDB default) - NO CrewAI dependency

Excludes: - CrewAI support - Batch execution - API server - CLI tools

With Optional Features

CrewAI Support

pip install aipartnerupflow[crewai]

Includes: - CrewManager for LLM-based agent crews - BatchManager for atomic batch execution of multiple crews

A2A Protocol Server

pip install aipartnerupflow[a2a]

Includes: - A2A Protocol Server for agent-to-agent communication - HTTP, SSE, and WebSocket support

Usage:

# Run A2A server
python -m aipartnerupflow.api.main

# Or use the CLI command
aipartnerupflow-server

CLI Tools

pip install aipartnerupflow[cli]

Includes: - Command-line interface tools

Usage:

# Run CLI
aipartnerupflow

# Or use the shorthand
apflow

PostgreSQL Storage

pip install aipartnerupflow[postgres]

Includes: - PostgreSQL storage support (for enterprise/distributed scenarios)

SSH Executor

pip install aipartnerupflow[ssh]

Includes: - SSH executor for remote command execution - Execute commands on remote servers via SSH

Docker Executor

pip install aipartnerupflow[docker]

Includes: - Docker executor for containerized execution - Execute commands in isolated Docker containers

gRPC Executor

pip install aipartnerupflow[grpc]

Includes: - gRPC executor for gRPC service calls - Call gRPC services and microservices

Everything

pip install aipartnerupflow[all]

Includes: - All optional features (crewai, a2a, cli, postgres, ssh, docker, grpc)

Requirements

  • Python: 3.10 or higher (3.12+ recommended)
  • DuckDB: Included by default (no setup required)
  • PostgreSQL: Optional, for distributed/production scenarios

Development Installation

For development, install with development dependencies:

# Clone the repository
git clone https://github.com/aipartnerup/aipartnerupflow.git
cd aipartnerupflow

# Create virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install in development mode with all features
pip install -e ".[all,dev]"

Verification

After installation, verify the installation:

import aipartnerupflow
print(aipartnerupflow.__version__)

Or using the CLI (if installed with [cli]):

apflow --version