Skip to main content
Loading navigation
Back to prompt library

Setup Google ADK Sanctions Agent

Linked challenge: Build a Cross-Border Sanction Screening Agent with Google ADK and Google Jules

Prompt source

implementation11 lines3 sectionsNo variables0 checklist items
# Using Google ADK Python SDK
from google.genai import agents
from google.genai import types

def create_sanctions_agent():
    agent = agents.Agent(
        model="gemini-1.5-pro",
        instructions="Evaluate cross-border payments against updated OFAC list and general licenses.",
        tools=[query_ofac_database, update_rules_via_jules]
    )
    return agent

# Implement tool execution functions...