Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
368 changes: 206 additions & 162 deletions README.md

Large diffs are not rendered by default.

485 changes: 485 additions & 0 deletions cloudflare_postgres_setup.py

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions examples/workflow-orchestration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Workflow Orchestration Example

This example demonstrates the unified workflow orchestration engine that consolidates workflow and task management into a single cohesive system.

## Features Demonstrated

- **Multiple Execution Modes**: Sequential, parallel, conditional, pipeline, and graph-based workflows
- **Advanced Task Scheduling**: Dependency management and intelligent queuing
- **State Management**: Workflow persistence and recovery
- **Event Monitoring**: Real-time workflow and task events
- **Error Handling**: Retry policies and fault tolerance
- **Integration**: Backward compatibility with SubAgentManager

## Running the Example

```bash
npm install
npm run dev
```

## Example Workflows

### 1. Data Processing Pipeline
A sequential workflow that processes data through multiple stages.

### 2. Parallel Analysis
Multiple agents analyze different aspects of data simultaneously.

### 3. Conditional Processing
Workflow execution based on runtime conditions and previous task results.

### 4. Dependency Graph
Complex workflow with task dependencies and parallel branches.

### 5. Integration Example
Shows how to migrate from SubAgentManager to workflow orchestration.

## Key Concepts

- **Workflow Definition**: Declarative workflow specification
- **Task Dependencies**: Control execution order and parallelism
- **Conditional Execution**: Dynamic workflow paths based on results
- **State Persistence**: Workflow recovery and monitoring
- **Event-Driven Monitoring**: Real-time observability

28 changes: 28 additions & 0 deletions examples/workflow-orchestration/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "voltagent-example-workflow-orchestration",
"version": "0.1.0",
"private": true,
"description": "VoltAgent Workflow Orchestration Example",
"main": "src/index.ts",
"scripts": {
"dev": "tsx src/index.ts",
"build": "tsc",
"start": "node dist/index.js"
},
"keywords": [
"voltagent",
"workflow",
"orchestration",
"ai",
"agents"
],
"dependencies": {
"@voltagent/core": "workspace:*",
"@voltagent/anthropic-ai": "workspace:*"
},
"devDependencies": {
"tsx": "^4.7.0",
"typescript": "^5.3.3"
}
}

Loading
Loading