CrewAI¶
Agent Tool¶
from director_ai.integrations.crewai import DirectorAITool
from crewai import Agent
guard_tool = DirectorAITool(
facts={"company": "Founded in 2020", "revenue": "$10M ARR"},
)
agent = Agent(
role="Research Analyst",
tools=[guard_tool],
goal="Verify all claims before reporting",
)
Tool Input Format¶
The agent sends "query | claim" separated by a pipe:
Returns: