Integrating with Existing AI Frameworks
Connect Kubiya to your existing LangGraph, LangChain, CrewAI, and other AI frameworks
Integrating with Existing AI Frameworks
Kubiya seamlessly integrates with popular AI frameworks, allowing you to enhance your existing agent systems with production-grade orchestration, execution, and scaling capabilities. Instead of replacing your current setup, Kubiya acts as an execution layer that brings deterministic workflows and enterprise features to your AI agents.
Why Integrate with Kubiya?
Supported Frameworks
LangGraph
Multi-agent workflows with state management
- Graph-based agent orchestration
- Stateful conversations
- Human-in-the-loop patterns
- Complex routing logic
LangChain
Chain-based agent pipelines
- Sequential processing chains
- RAG and retrieval patterns
- Tool integration
- Memory management
CrewAI
Multi-agent collaboration
- Role-based agent teams
- Collaborative task solving
- Agent coordination
- Hierarchical workflows
Custom Frameworks
Your own AI framework
- Any Python-based framework
- Custom agent implementations
- Proprietary AI systems
- Legacy integrations
Integration Patterns
There are three main patterns for integrating existing AI frameworks with Kubiya:
1. Workflow Wrapping Pattern
Wrap your existing agent code within Kubiya workflows for execution orchestration:
2. Agent Server Integration
Deploy your framework as a custom agent server provider:
3. Hybrid Architecture
Combine Kubiya’s orchestration with your framework’s agent logic:
Key Integration Benefits
Kubernetes-Native Scaling
Your existing AI agents automatically gain:
- Horizontal pod autoscaling
- Resource management and limits
- Load balancing across replicas
- Multi-zone deployments
Kubernetes-Native Scaling
Your existing AI agents automatically gain:
- Horizontal pod autoscaling
- Resource management and limits
- Load balancing across replicas
- Multi-zone deployments
Built-in Observability
Gain visibility into your AI agents:
- Execution traces and logs
- Performance metrics
- Error tracking and alerting
- Cost analysis
Enterprise Security Layer
Add security without code changes:
- Network policies and segmentation
- Secret management
- Audit logging
- Compliance reporting
Migration Strategies
Gradual Migration
Start with Workflow Wrapping
Begin by wrapping your existing agents in Kubiya workflows without changing core logic
Add Orchestration Features
Gradually add streaming, monitoring, and error handling capabilities
Optimize for Production
Refactor critical paths to use native Kubiya features for better performance
Full Integration
Move to custom providers or hybrid architectures for maximum benefit
Parallel Development
Deploy Side by Side
Run your existing system alongside Kubiya-integrated versions
A/B Testing
Compare performance and reliability between implementations
Gradual Traffic Shift
Slowly move traffic from legacy to Kubiya-integrated agents
Sunset Legacy
Retire old implementation once migration is complete
Common Integration Scenarios
Getting Started
Choose your framework and follow the specific integration guide:
LangGraph Integration
Connect stateful multi-agent graphs
LangChain Integration
Enhance chain-based workflows
CrewAI Integration
Scale multi-agent teams