OpenLens AI is a fully autonomous multimodal scientific research agent designed to automate scientific research workflows. Its core positioning is as a research assistant, helping users complete multiple stages from literature investigation to paper writing.
Main capabilities include:
- Automated literature review: search for and summarize papers based on research questions.
- Data analysis: analyze datasets and generate comprehensive reports.
- Experimental design: suggest and validate experimental methods.
- Code generation and execution: generate and execute code for data analysis and experiments with the help of OpenHands.
- LaTeX paper generation: automatically create and manage research papers and reports in LaTeX format.
- Interactive interface: a Streamlit-based interface for monitoring and interacting with the research process.
- Context management: automatically manage the agent's context information through vector search.
- Agent file management: identify and remove duplicate files and simulated data.
- Vision-language feedback: integrate VLM for visualization and feedback.
- Chinese language support: full support for Chinese paper writing.
How to use: The project provides a cloud application that can be experienced in a browser without installation. Local running requires the following conditions: Python 3.9 or higher, Docker (for the OpenHands runtime environment), LLM service API keys (such as DeepSeek, OpenAI, Qwen, etc.), and a Tavily search API key. Installation steps include cloning the repository, ensuring Docker is installed, pulling the runtime (recommended) or building from source, installing dependencies (creating a conda environment and installing OpenHands and Python dependencies), configuring environment variables (set in config.toml), and then running the application. In the browser, visit http://localhost:8501 to use the interactive interface.
Architecturally, OpenLens AI adopts a multi-module architecture based on LangGraph, including agents such as the literature reviewer, data analyst, supervisor, coder, and LaTeX writer. They communicate through shared state and can call tools such as web search (Tavily), code execution (OpenHands), file operations, and vector search. The literature search tool supports arXiv, medRxiv, Google Scholar, and Tavily. Some tools such as IACR ePrint, Semantic Scholar, and PubMed are still planned.
Optional features include GitHub integration, which can publish generated code artifacts to GitHub. The [git] section needs to be configured in config.toml, and a GitHub token with appropriate permissions must be generated. For security, it is recommended to store the token only in a local configuration file and avoid committing it to Git.
The project supports customization, allows adding new agents or tools, and welcomes contributions. It uses the MIT License.
In terms of limitations, some features such as PowerPoint-based chart generation and context management through long-context models are still planned. Usage requires preparing API keys and a Docker environment yourself.