OpenLens AI

Fully Autonomous Research Agent for Health Informatics

A cutting-edge AI research assistant that autonomously conducts literature reviews, designs experiments, analyzes data, and generates comprehensive research reports—all with minimal human intervention.

Web App Available LangGraph-Powered OpenHands-Powered MIT License

Generated Research Papers

Diabetes Research Paper
Cardiovascular Research Paper
Alzheimer's Research Paper
Cancer Research Paper
Mental Health Research Paper

How Does It Work?

OpenLens AI transforms your research questions into comprehensive papers through a streamlined multi-agent workflow

Input Question

Submit your research question and data

Autonomous Reading/Coding/Writing

Five specialized agents collaborate

Generate Paper

Comprehensive research paper in PDF format

OpenLens AI Architecture

Quick Start

Get started with OpenLens AI in just a few simple steps

Try Our Web Application

No installation required! Access OpenLens AI directly through your web browser at app.openlens.icu. Simply upload your data and start your research project immediately.

Launch Web App

Local Setup Requirements

For advanced users who want to run OpenLens AI locally, you'll need the following:

  • Python 3.9 or higher
  • Docker (for OpenHands runtime environment)
  • API keys for LLM service (e.g., DeepSeek, OpenAI, Qwen, etc.)
  • Tavily search API key (for literature search)

For detailed installation instructions and configuration options, please visit our GitHub repository.

View on GitHub

Installation Overview

To install OpenLens AI locally, follow these basic steps. For complete documentation, please refer to our GitHub repository.

# Clone the repository
git clone git@github.com:jarrycyx/openlens-ai.git
cd agent-med
# Install dependencies
conda create -n py312 python=3.12
conda activate py312
pip install --upgrade pip
pip install -e .
# Configure environment variables
cp .env.example .env
# Edit .env with your API keys and model settings

For detailed installation instructions, troubleshooting, and advanced configuration options, please visit our GitHub repository.

Full Documentation on GitHub

Running OpenLens AI

Option 1: Web Application (Recommended)

The easiest way to use OpenLens AI is through our web application. No installation required!

Open Web App

Option 2: Command Line Interface

python -m openlens_ai.build_graph --question "Your research question" --dataset-path "path/to/dataset" --thread-id "Unique id for this job"

Option 3: Interactive Web Interface (Local)

streamlit run start_app.py

Then open your browser to http://localhost:8501 to access the local interactive interface.

Example Use Cases

See how OpenLens AI can accelerate your medical research in various scenarios

Disease Prediction Modeling

Use OpenLens AI to develop predictive models for diseases based on historical patient data.

Question: "What is the prediction precision of AKI based on historical 2 day data?"
Dataset: MIMIC-IV dataset

Drug Interaction Research

Analyze the latest findings on drug interactions to improve medication safety and efficacy.

Question: "Can we discover causal drivers of prolonged ICU stay (>14 days) using structural causal models?"
Dataset: eICU dataset