Frekil Logo
Self-Improving AI Agents

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
Approved by you, before any code runs
01

Literature Review

Search & Synthesize

The AI agent searches across PubMed and your proprietary studies to automatically synthesize existing evidence, providing a comprehensive foundation for your research question.

statins, sepsis, mortality
  • Randomized trialStatin dose and timing
  • Cohort studyConfounders to adjust for
  • Meta-analysisExpected size of the effect
02

Question Clarifier

Structure & Resolve

Through 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
Approved by you, before any code runs
03

Cohort Builder

Design & Refine

Define 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.

  1. First ICU stays65,366
  2. With sepsis9,645
  3. In the ICU 1 day or more8,252
  4. No statin before admission7,457
04

Causal DAG Builder

Map & Simulate

Automatically draw all causal effects cited from literature and validate them via simulated Healthcare Professional (HCP) reasoning to ensure confounders are accurately identified.

AgeIllness severityHeart diseaseStatinDeath in 30 days
05

SAP Generator

Specify Analysis

Generates a complete Statistical Analysis Plan (SAP), detailing confounders to adjust, and specifying primary, secondary, subgroup, and sensitivity analyses.

Statistical analysis plan
  • Main analysisCox model, adjusted for the confounders in the diagram
  • CheckPropensity score matching, 1 to 1
  • SubgroupsOver and under 65, men and women
06

Data Extractor

Connect & Extract

Connects 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).

Your network
Frekil
writes the query
SQL
Your database
runs it

7,457 patient rows matched. None of them leave.

07

SAP Executor

Sandbox Execution

Executes the statistical plan step-by-step in a secure, sandboxed environment. Runs R/Python code to output accurate tables, figures, listings, and statistical code.

Died within 30 days
Statin within 48 hours
28.5%
1,560 patients
No statin
31.0%
5,897 patients
The code behind 28.5%
cohort |>
  group_by(statin_48h) |>
  summarise(died = mean(death_30d))
08

Report Writer

Publish & Present

A research-paper-style report is automatically generated with your custom formats. Complete auditability ensures transparency in every decision, code, and output.

Early statins and 30-day mortality in ICU sepsis
Table 2. Crude 30-day mortality
GroupPatientsDied
Statin within 48 hours1,56028.5%
No statin5,89731.0%
Each number links to the code that made it

The 8-step pipeline is built.
Bring your question.

Get started

Try Frekil

ISPOR Europe 2026
Meet us in Vienna

Frekil will be at ISPOR Europe 2026

When
8–11 November 2026
Where
Austria Center Vienna

If you're at ISPOR Europe, book 30 minutes with the Frekil team to see how Frekil generates end-to-end RWE.