CrewAI
1. Install the CLI
npm install -g swytchcodeirm https://cli.swytchcode.com/install.ps1 | iexcurl -fsSL https://cli.swytchcode.com/install.sh | shUse swy as a shorter alias for swytchcode.
2. Install the packages
pip install swytchcode-runtime crewai python-dotenvnpm install @swytchcode/runtime dotenv3. Initialize Swytchcode and fetch a toolkit
swy initswy get githubswy init creates .swytchcode/ and tooling.json for the project. swy get github downloads the GitHub integration bundle - the schemas that tools.get reads from in the next step.
4. Create the tool set
from swytchcode_runtime import Swytchcodefrom swytchcode_runtime.providers.crewai import CrewAIProvider
swx = Swytchcode(provider=CrewAIProvider())tools = swx.tools.get(toolkits=["github"])import { Swytchcode } from '@swytchcode/runtime';
const swx = new Swytchcode();const tools = await swx.tools.get({ toolkits: ['github'] });5. Hand the tools to your crew
print(f"Loaded {len(tools)} tools for the crew")console.log(`Loaded ${tools.length} tools for the crew`);6. Run the file
Save the example as main.py or main.js, then run the matching command:
python main.pynode main.jsCrewAI can use those tools as normal agent tools while Swytchcode handles the execution path.