@authorityrail/plugin-crewai
v1.0.0
Published
AuthorityRail governance plugin for CrewAI. Wrap any CrewAI tool or task with ARES-v1 pre-execution certification.
Downloads
32
Maintainers
Readme
@authorityrail/plugin-crewai
AuthorityRail governance plugin for CrewAI. Wrap any tool or task with ARES-v1 pre-execution certification.
Install
npm install @authorityrail/plugin-crewaiWrap a tool
import { authorityRailTool } from "@authorityrail/plugin-crewai";
const safeSearch = authorityRailTool(rawSearchTool, "web-search", {
gate_url: process.env.AUTHORITYRAIL_GATE_URL!,
api_key: process.env.AUTHORITYRAIL_API_KEY!,
action_type: "WEB_SEARCH",
agent_id: "research-agent",
resource: "internet/web",
model_provider: "anthropic",
model_id: "claude-opus-4-6",
});Task middleware
import { createCrewAIGovernanceMiddleware } from "@authorityrail/plugin-crewai";
const before_task = createCrewAIGovernanceMiddleware({ ... });
// crew.kickoff({ before_task_callback: before_task })License
MIT
