Skip to main content
Loading navigation
Back to prompt library

Configure CrewAI Compliance Team

Linked challenge: Build a Stablecoin Settlement Compliance Agent with CrewAI and OpenAI o3

Prompt source

implementation13 lines4 sectionsNo variables0 checklist items
import os
from crewai import Agent, Crew, Process, Task
from langchain_openai import ChatOpenAI

# Initialize OpenAI o3 model
llm = ChatOpenAI(model="o3-mini", temperature=0.0)

# Define compliance agent roles using CrewAI
sanctions_analyst = Agent(
    role="Sanctions Specialist",
    goal="Screen counterparty addresses against global PEP and sanction lists.",
    backstory="Expert AML officer with deep knowledge of OFAC, EU, and UN sanctions databases.",
    llm=llm
)

# Implement remaining agent definition and task pipeline...