How the AI RWE platform
runs your study.
Ask any question, chat with your data in natural language, and refine each step. Frekil's 8-stage agentic workflow handles every step of a real-world evidence study, from literature review to publication-ready reports.
Does starting a statin early lower 30-day mortality in ICU patients with sepsis?
- Population
- Adults with sepsis in the ICU
- Exposure
- Statin started within 48 hours
- Comparator
- No statin
- Outcome
- Death within 30 days
Literature Review
Search & SynthesizeThe AI agent searches across PubMed and your proprietary studies to automatically synthesize existing evidence, providing a comprehensive foundation for your research question.
- Randomized trialStatin dose and timing
- Cohort studyConfounders to adjust for
- Meta-analysisExpected size of the effect
Question Clarifier
Structure & ResolveThrough natural language chat, the agent structures your question into the PECO framework (Population, Exposure, Comparator, Outcomes), resolving clinical concepts and ICD codes.
Does starting a statin early lower 30-day mortality in ICU patients with sepsis?
- Population
- Adults with sepsis in the ICU
- Exposure
- Statin started within 48 hours
- Comparator
- No statin
- Outcome
- Death within 30 days
Cohort Builder
Design & RefineDefine complex temporal rules (baseline, wash out, index, and follow-up). The agent automatically detects methodological flaws like immortal time bias, ensuring rigorous inclusion/exclusion state criteria.
- First ICU stays65,366
- With sepsis9,645
- In the ICU 1 day or more8,252
- No statin before admission7,457
Causal DAG Builder
Map & SimulateAutomatically draw all causal effects cited from literature and validate them via simulated Healthcare Professional (HCP) reasoning to ensure confounders are accurately identified.
SAP Generator
Specify AnalysisGenerates a complete Statistical Analysis Plan (SAP), detailing confounders to adjust, and specifying primary, secondary, subgroup, and sensitivity analyses.
- Main analysisCox model, adjusted for the confounders in the diagram
- CheckPropensity score matching, 1 to 1
- SubgroupsOver and under 65, men and women
Data Extractor
Connect & ExtractConnects to your data where it already lives, in whatever format it is in, from inside your VPC. Extracts the relevant cohort and performs basic exploratory data analysis (EDA).
SQL7,457 patient rows matched. None of them leave.
SAP Executor
Sandbox ExecutionExecutes the statistical plan step-by-step in a secure, sandboxed environment. Runs R/Python code to output accurate tables, figures, listings, and statistical code.
cohort |> group_by(statin_48h) |> summarise(died = mean(death_30d))
Report Writer
Publish & PresentA research-paper-style report is automatically generated with your custom formats. Complete auditability ensures transparency in every decision, code, and output.
| Group | Patients | Died |
|---|---|---|
| Statin within 48 hours | 1,560 | 28.5% |
| No statin | 5,897 | 31.0% |