Integrating CrewAI with HPC-AI Tech
CrewAI is a leading multi-agent framework that enables developers to orchestrate teams of AI agents to collaborate on complex tasks. By connecting CrewAI to the HPC-AI Tech Model APIs platform, you can leverage high-performance models like MiniMax-M2.5 through a unified OpenAI-compatible API.
In this guide, we'll walk you through how to integrate CrewAI with HPC-AI Tech so you can start building intelligent multi-agent workflows in minutes.

🚀 Prerequisites
Before we dive in, make sure you have:
-
CrewAI installed
-
An HPC-AI Tech API Key (from the Model APIs platform)
🛠️ Configuration: Choose Your Method
CrewAI offers multiple ways to configure model providers depending on your workflow. Pick what suits you best.
Method 1: Interactive Configuration (Recommended)
Best for developers getting started with a new CrewAI project.
Create or open your CrewAI project.
Configure your LLM provider with:
Base URL
https://api.hpc-ai.com/inference/v1
API Key
your-hpc-ai-api-key
Select the model:
minimax/minimax-m2.5
(You can replace this with any model available on the HPC-AI Tech Model APIs platform.)
Save your configuration and start your CrewAI workflow.
Method 2: Config File (The Structured Way)
Best for reproducibility, automation, or team environments.
Create or edit your CrewAI configuration:
llm:
provider: openai
base_url: https://api.hpc-ai.com/inference/v1
api_key: ${HPC_AI_API_KEY}
model: minimax/minimax-m2.5
Using environment variables for your API key is recommended for improved security.
Method 3: Environment Variables (The Lightweight Way)
Best for quick setups or CI/CD pipelines.
export HPC_AI_API_KEY="sk-your-hpc-ai-api-key"
export OPENAI_API_BASE="https://api.hpc-ai.com/inference/v1"
Then configure your CrewAI agents to use:
minimax/minimax-m2.5
as the default model.
✅ Verifying the Connection
After configuration, it's important to confirm everything is working correctly.
-
Start a CrewAI workflow
-
Run a simple multi-agent task
-
Ensure responses are returned successfully from the model
A successful response confirms:
-
Your API key is valid
-
The endpoint is reachable
-
The model is correctly configured
🎯 Summary
By integrating CrewAI with HPC-AI Tech, you unlock:
-
Access to multiple leading AI models
-
OpenAI-compatible APIs
-
Cost-efficient inference
-
Scalable multi-agent orchestration
-
Flexible model switching through a single platform
Whether you're building research assistants, autonomous workflows, or enterprise AI agents, HPC-AI Tech provides the performance and flexibility needed to scale.
Happy building!