Files
magnus919_agent-skills/crewai/scripts/check-setup.py
T
Magnus Hedemark 48a67bb0a1 feat: add crewai — expert skill for role-based multi-agent teams
Greenfield SkillOpt: 3 epochs for CrewAI skill.
Role/Goal/Backstory agent model, sequential/hierarchical processes.

11 files: SKILL.md, 6 references, 3 templates, 1 script.
2026-07-09 14:55:42 -04:00

28 lines
652 B
Python

#!/usr/bin/env python3
"""Verify CrewAI installation."""
import sys
REQUIRED = ["crewai"]
OPTIONAL = ["crewai_tools"]
for pkg in REQUIRED:
try:
__import__(pkg.replace("-", "_"))
print(f" [OK] {pkg}")
except ImportError:
print(f" [FAIL] {pkg} — install with pip install {pkg}")
sys.exit(1)
for pkg in OPTIONAL:
try:
__import__(pkg.replace("-", "_"))
print(f" [OK] {pkg} (optional)")
except ImportError:
print(f" [—] {pkg} (optional, not installed)")
from crewai import Agent
print(" [OK] CrewAI imports work")
print("\nCrewAI setup check: ALL REQUIRED PACKAGES OK")