Welcome to aipartnerupflow¶
aipartnerupflow is a unified framework for orchestrating and executing tasks across multiple execution methods. It manages when tasks run, how they depend on each other, and ensures everything executes in the right order—whether you're calling HTTP APIs, executing SSH commands, running Docker containers, or coordinating AI agents.
Problems We Solve¶
Are you struggling with these common challenges?
-
Complex Task Dependencies
Manually tracking dependencies, ensuring proper execution order, and handling failures across complex workflows becomes a nightmare. You end up writing custom coordination code and dealing with race conditions.
-
Multiple Execution Methods
You need to call HTTP APIs, execute SSH commands, run Docker containers, communicate via gRPC, and coordinate AI agents—but each requires different libraries and integration patterns.
-
Traditional Tasks + AI Agents
You want to add AI capabilities to existing workflows, but most solutions force you to choose: either traditional task execution OR AI agents. You're stuck with all-or-nothing decisions.
-
State Persistence & Recovery
When workflows fail or get interrupted, you lose progress. Implementing retry logic, checkpointing, and state recovery requires significant custom development.
-
Real-time Monitoring
You need to show progress to users, but building real-time monitoring with polling, WebSocket connections, or custom streaming solutions takes weeks.
Why aipartnerupflow?¶
-
Unified Interface
One framework handles traditional tasks, HTTP/REST APIs, SSH commands, Docker containers, gRPC services, WebSocket communication, MCP tools, and AI agents—all through the same ExecutableTask interface.
-
Start Simple, Scale Up
Begin with a lightweight, dependency-free core. Add AI capabilities, A2A server, CLI tools, or PostgreSQL storage only when you need them. No forced upfront installations.
-
Language-Agnostic Protocol
Built on the AI Partner Up Flow Protocol, ensuring interoperability across Python, Go, Rust, JavaScript, and more. Different language implementations work together seamlessly.
-
Production-Ready
Built-in storage (DuckDB or PostgreSQL), real-time streaming, automatic retries, state persistence, and comprehensive monitoring—all included. No need to build these from scratch.
-
Extensive Executor Ecosystem
Choose from HTTP/REST APIs (with authentication), SSH remote execution, Docker containers, gRPC services, WebSocket communication, MCP integration, and LLM-based task tree generation.
What Happens When You Use aipartnerupflow?¶
| Before | After |
|---|---|
| Weeks of custom coordination code | Days to define task trees with dependencies |
| Multiple orchestration systems for different execution methods | One unified interface for all execution methods |
| All-or-nothing decisions requiring complete rewrites | Gradual addition of AI agents incrementally |
| Weeks building custom polling or streaming solutions | Built-in real-time streaming via A2A Protocol |
| Manual recovery logic and lost progress | Automatic retries with exponential backoff and state persistence |
| Worrying about resource usage at scale | Production-ready from day one, handle hundreds of concurrent workflows |
Quick Start¶
New to aipartnerupflow? Get up and running in minutes!
Installation:
Documentation Sections¶
-
Getting Started
Learn the fundamentals and get started quickly
-
User Guides
Complete guides for using aipartnerupflow
-
API Reference
Complete API documentation for Python and HTTP
-
Architecture
System architecture and design principles
-
Development
Contributing and extending the framework
-
Examples
Code examples and common patterns
Learning Paths¶
🚀 Quick Start (15 minutes)¶
Perfect for getting started quickly:
- Quick Start - Get running in 10 minutes
- Basic Examples - Try examples
- Core Concepts - Understand basics
📚 Complete Beginner (1-2 hours)¶
Step-by-step learning path:
- Getting Started Index - Overview and learning paths
- First Steps Tutorial - Complete beginner tutorial
- Task Trees Tutorial - Build task trees
- Dependencies Tutorial - Master dependencies
- Core Concepts - Deep dive
- Basic Examples - Practice
💼 Professional Developer (2-4 hours)¶
For experienced developers:
- Quick Start - Quick refresher
- Task Orchestration - Master orchestration
- Custom Tasks - Create executors
- Best Practices - Learn patterns
- API Reference - Complete reference
🔧 Contributor (4+ hours)¶
For framework contributors:
- Development Setup - Set up environment
- Architecture Overview - Understand design
- Contributing - Learn process
- Extending - Extend framework
Popular Guides¶
For Users¶
- Task Orchestration - Complete guide to task orchestration, dependencies, and priorities
- Custom Tasks - Guide to creating custom tasks with ExecutableTask interface
- CLI - Complete CLI usage guide
- API Server - API server setup and usage guide
- Best Practices - Best practices and recommendations
- FAQ - Common questions and troubleshooting
For Developers¶
- Python API - Core Python library API reference (TaskManager, ExecutableTask, TaskTreeNode, etc.)
- HTTP API - A2A Protocol Server HTTP API reference
- Quick Reference - Cheat sheet with common snippets
- Extending - Guide for extending the framework (custom executors, extensions, hooks)
- Contributing - Contribution guidelines and process
Architecture & Design¶
- Architecture Overview - System architecture and design principles
- Directory Structure - Directory structure and naming conventions
- Naming Convention - Naming conventions for extensions
- Extension Registry Design - Extension registry design (Protocol-based architecture)
- Configuration - Database table configuration
Examples & Tutorials¶
- Basic Task - Basic task examples and common patterns
- Task Tree - Task tree examples with dependencies and priorities
- Real World Examples - Real-world use cases and examples
- First Steps Tutorial - Complete beginner tutorial
Quick Navigation¶
By Task¶
I want to...
- Get started quickly → Quick Start
- Understand concepts → Core Concepts
- Create a custom executor → Custom Tasks Guide
- Build complex workflows → Task Orchestration Guide
- See examples → Examples
- Find API reference → Python API or Quick Reference
- Troubleshoot issues → FAQ
- Learn best practices → Best Practices
- Set up development → Development Setup
- Understand architecture → Architecture Overview
By Role¶
I am a...
- New User → Start with Getting Started
- Developer → Check Guides and API Reference
- Contributor → See Development section
- Architect → Review Architecture documentation
Additional Resources¶
- GitHub Repository - Source code and issues
- PyPI Package - Install from PyPI
- Protocol Documentation - A2A Protocol specification
- GitHub Issues - Report bugs and request features
- GitHub Discussions - Ask questions and share ideas
Need Help?¶
Check out our FAQ for common questions and answers, or start a discussion on GitHub.
Ready to start? → Getting Started → or Quick Start →