Partnership
CrewAI has officially showcased their integration with Klavis AI in this LinkedIn post, demonstrating how to build powerful AI agent crews that can automate complex workflows across multiple platforms.
Prerequisites
Before we begin, you’ll need:OpenAI API Key
Get your API key from OpenAI Platform (CrewAI uses OpenAI as the default model)
Klavis AI API Key
Get your API key from Klavis AI
Installation
First, install the required packages:Setup Environment Variables
CrewAI with MCP Integration
CrewAI allows you to create specialized AI agent crews where each agent can have access to different MCP tools. This enables sophisticated multi-agent workflows that can:- Create MCP Instances: Set up connections to external services
- Specialized Agents: Each agent focuses on specific tasks with relevant tools
- Collaborative Workflows: Agents work together in sequential or parallel processes
- Tool Discovery: Automatically discover available tools from MCP servers
- Smart Coordination: CrewAI manages task dependencies and agent collaboration
Crew AI + Klavis Strata
Create a crew agent that helps in assisting user queries using Strata ServerStep 1 - Create Strata MCP Server with Gmail and Slack
OAuth Authorization Required: The code above will open browser windows for each service. Click through the OAuth flow to authorize access to your accounts.
Step 2 - Create method to use MCP Server with Crew AI
This method handles multiple rounds of tool calls until a final response is ready, allowing the AI to chain tool executions for complex tasks.Step 3 - Run!
Perfect! You’ve integrated Crew with Strata MCP servers.
Security Best Practices
When using CrewAI with Klavis MCP servers, follow these security guidelines:Available MCP Servers
CrewAI works with all Klavis MCP servers. Here are some popular options:Communication
Gmail, Slack, Discord, Outlook
Content & Media
YouTube, Notion, Google Docs, WordPress
Development
GitHub, Jira, Linear, Confluence
Data & Analytics
Google Sheets, Supabase, PostgreSQL
Business Tools
Salesforce, HubSpot, Asana, ClickUp
Cloud Storage
Google Drive, Dropbox, OneDrive
Summary
CrewAI + Klavis integration enables you to build sophisticated multi-agent AI systems with real-world capabilities. Key benefits include:🚀 CrewAI + Klavis Benefits:
- Seamless Integration: MCPServerAdapter makes MCP connection effortless
- Agent Specialization: Each agent can focus on specific domains
- Scalable Architecture: Easy to add more agents and MCP servers
- Professional AI Teams: Create sophisticated multi-agent systems
- Real-World Impact: Connect AI to actual business tools and services
