integrations

CrewAI Integration

Protect CrewAI tasks with implicit file locks.

CrewAI focuses strongly on orchestrating groups of specialized agents. Because CrewAI utilizes parallel task execution heavily (Task.async_execution), mitigating the Multi-Agent Race Condition (MARC) is essential.

Status: Use klock-langchain today

The dedicated klock-crewai adapter does not exist yet as a separate package.

The goal for the CrewAI package is to parse CrewAI's Task descriptions and automatically map them to KLIS Subject-Predicate-Object intents before the Task executes, effectively acquiring locks ahead-of-time based on the LLM's defined scope of work.

Because CrewAI frequently executes LangChain-style tools, you can use the shipping @klock_protected decorator today around the tool layer in your Crew.