Skip to content

FloTorch CrewAI Plugin Overview

The FloTorch CrewAI Plugin provides CrewAI-compatible implementations that integrate with FloTorch’s Gateway and Workspace services. It enables you to build multi-agent AI systems using CrewAI while leveraging FloTorch’s infrastructure.

Exports:

  • FlotorchCrewAIAgent – Main agent manager with FloTorch integration
  • FlotorchCrewAILLM – CrewAI-compatible LLM wrapper
  • FlotorchCrewAIMemory – Memory service for CrewAI
  • FlotorchCrewAISession – Session management for CrewAI

Terminal window
pip install flotorch[crewai]

You can configure credentials in one of two ways:

Section titled “Option A: Environment variables (recommended)”
Terminal window
export FLOTORCH_API_KEY="<your_api_key>"
export FLOTORCH_BASE_URL="https://gateway.flotorch.cloud"
from flotorch.crewai.agent import FlotorchCrewAIAgent
agent = FlotorchCrewAIAgent(
agent_name="my-agent",
base_url="https://gateway.flotorch.cloud",
api_key="<your_api_key>",
)

  • See individual module pages for detailed APIs
  • Configure your agent in the FloTorch Console
  • Set up memory providers and vector stores
  • Refer to the official CrewAI documentation: CrewAI docs