Back to Prompt Library
implementation
Define CrewAI Drug Safety Monitoring Crew
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: Drug Toxicity Cell-Free DNA Monitoring System using CrewAI and Google Vertex AI
Format
Code-aware
Lines
12
Sections
4
Linked challenge
Drug Toxicity Cell-Free DNA Monitoring System using CrewAI and Google Vertex AI
Prompt source
Original prompt text with formatting preserved for inspection.
12 lines
4 sections
No variables
0 checklist items
from crewai import Agent, Task, Crew, Process
from langchain_google_vertexai import VertexAI
# Initialize Vertex AI LLM
vertex_llm = VertexAI(model_name='gemini-1.5-pro')
# Build CrewAI Agents for cfDNA Analyst and Pharmacovigilance Auditor
cfdna_analyst = Agent(
role='cfDNA Epigenetics Specialist',
goal='Deconvolve cfDNA methylation markers to detect drug-induced tissue damage',
backstory='Expert in epigenomics and cell-free DNA methylation profiling.',
llm=vertex_llm
)
# Define task pipelineAdaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Hold the task contract and output shape stable so generated implementations remain comparable.
Tune next
Update libraries, interfaces, and environment assumptions to match the stack you actually run.
Verify after
Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.