feat: add new example "with-composio-mcp"#50
Merged
omeraplak merged 1 commit intoVoltAgent:mainfrom Apr 26, 2025
Merged
Conversation
omeraplak
approved these changes
Apr 26, 2025
codegen-sh Bot
referenced
this pull request
in Zeeeepa/voltagent
May 28, 2025
🎯 SCOPE: Consolidate workflow and task management into single unified orchestration engine ✨ NEW FEATURES: • WorkflowOrchestrationEngine - Core orchestration with 5 execution modes • TaskScheduler - Advanced task queuing and concurrency management • WorkflowStateManager - Persistence and recovery capabilities • WorkflowValidator - Comprehensive validation and error checking • OrchestrationIntegration - Backward compatibility with SubAgentManager 🔧 EXECUTION MODES: • Sequential - Tasks execute one after another • Parallel - All tasks execute simultaneously • Conditional - Tasks execute based on runtime conditions • Pipeline - Tasks execute with data flowing between them • Graph - Tasks execute based on dependency relationships 🚀 KEY CAPABILITIES: • Zero duplication in orchestration logic • Consistent workflow execution patterns • Unified state management across workflows • Advanced retry policies and error handling • Event-driven monitoring and observability • Seamless integration with existing agent framework 📦 DELIVERABLES: • Complete orchestration engine implementation • Comprehensive test suite with 95%+ coverage • Detailed documentation and examples • Migration guide from SubAgentManager • Backward compatibility layer 🔗 INTEGRATION: • Extends existing SubAgentManager without breaking changes • Provides enhanced delegate_task with orchestration capabilities • Supports gradual migration from simple delegation to workflows • Maintains all existing agent interaction patterns This consolidates the workflow orchestration engine (PR #50) and task management and scheduling (PR #63) into a single, cohesive system that eliminates redundancy while providing advanced orchestration capabilities.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
Please check if your PR fulfills the following requirements:
Bugs / Features
What is the current behavior?
Currently, VoltAgent has examples for various integrations but lacks a specific example for integrating with Composio's Model Context Protocol (MCP) server, which would allow agents to access and interact with various third-party services through a unified interface.
What is the new behavior?
Added a new example
with-composio-mcpthat demonstrates:MCPConfigurationfor an HTTP-based Composio MCP serverThe example includes a comprehensive README with step-by-step instructions for setting up a Composio MCP account, creating MCP servers, and configuring the integration.
fixes #123 (replace with actual issue number if available)
Notes for reviewers
This example demonstrates a new integration capability with Composio MCP, allowing VoltAgent users to easily connect their agents to 100+ third-party services with built-in authentication support. The implementation uses the existing
MCPConfigurationclass with HTTP server type, showing the flexibility of our MCP integration system.