ResearchOS is an autonomous, agentic AI research operating system. It transforms raw scientific literature (e.g., ArXiv papers) into a highly structured, searchable knowledge graph using Multimodal RAG, Graph Reasoning, and LangGraph Autonomous Agents.
Traditional Vector-RAG systems struggle with complex, multi-hop reasoning because they rely purely on statistical text proximity. ResearchOS solves this by implementing GraphRAG.
Instead of just embedding text, our LLM pipeline extracts factual entities and relationships from research papers and builds an explicit Knowledge Graph in Neo4j. When a user asks a complex question, our autonomous LangGraph agents traverse this graph to synthesize hallucination-free answers with precise citations.
graph LR
User[User / Frontend] -->|HTTP| Nginx[Nginx Reverse Proxy]
Nginx -->|/api/*| FastAPI[FastAPI Backend]
subgraph "Agentic Backend"
FastAPI <-->|Cypher/Bolt| Neo4j[(Neo4j Graph Database)]
FastAPI <-->|API| LLM[HuggingFace / OpenAI]
FastAPI <-->|Scrape| ArXiv[ArXiv API]
end
YOLOv8 -> OUTPERFORMS -> RetinaNet).The fastest and most reliable way to run ResearchOS is via Docker. This ensures all heavy ML dependencies and the Neo4j database are perfectly isolated.
Clone the repository and set up your environment variables:
cp .env.example .env
# Open .env and add your OpenAI API Key and Neo4j credentials
Run the Docker Compose cluster in detached mode:
docker-compose up -d --build
http://localhosthttp://localhost:8000/docshttp://localhost:7474ResearchOS provides a fully documented REST API.
| Method | Endpoint | Description |
|---|---|---|
POST | /api/ingest | Fetches papers from ArXiv, extracts entities, and populates the Neo4j Knowledge Graph. |
POST | /api/ask | Queries the Knowledge Graph using an autonomous LangGraph agent to synthesize citations and answers. |
(For full interactive documentation, start the server and navigate to /docs)
This project maintains a robust, mocked test suite to ensure API reliability. It uses FastAPI's TestClient to test endpoints without incurring external LLM API costs.
# Install testing dependencies
pip install pytest httpx
# Run the test suite
pytest tests/
Built for the future of AI-driven research.
8 commits
Python
66.2%
CSS
15.0%
JavaScript
11.1%
HTML
6.2%
Dockerfile
1.5%
ResearchOS is an autonomous, agentic AI research operating system. It transforms raw scientific literature (e.g., ArXiv papers) into a highly structured, searchable knowledge graph using Multimodal RAG, Graph Reasoning, and LangGraph Autonomous Agents.
Traditional Vector-RAG systems struggle with complex, multi-hop reasoning because they rely purely on statistical text proximity. ResearchOS solves this by implementing GraphRAG.
Instead of just embedding text, our LLM pipeline extracts factual entities and relationships from research papers and builds an explicit Knowledge Graph in Neo4j. When a user asks a complex question, our autonomous LangGraph agents traverse this graph to synthesize hallucination-free answers with precise citations.
graph LR
User[User / Frontend] -->|HTTP| Nginx[Nginx Reverse Proxy]
Nginx -->|/api/*| FastAPI[FastAPI Backend]
subgraph "Agentic Backend"
FastAPI <-->|Cypher/Bolt| Neo4j[(Neo4j Graph Database)]
FastAPI <-->|API| LLM[HuggingFace / OpenAI]
FastAPI <-->|Scrape| ArXiv[ArXiv API]
end
YOLOv8 -> OUTPERFORMS -> RetinaNet).The fastest and most reliable way to run ResearchOS is via Docker. This ensures all heavy ML dependencies and the Neo4j database are perfectly isolated.
Clone the repository and set up your environment variables:
cp .env.example .env
# Open .env and add your OpenAI API Key and Neo4j credentials
Run the Docker Compose cluster in detached mode:
docker-compose up -d --build
http://localhosthttp://localhost:8000/docshttp://localhost:7474ResearchOS provides a fully documented REST API.
| Method | Endpoint | Description |
|---|---|---|
POST | /api/ingest | Fetches papers from ArXiv, extracts entities, and populates the Neo4j Knowledge Graph. |
POST | /api/ask | Queries the Knowledge Graph using an autonomous LangGraph agent to synthesize citations and answers. |
(For full interactive documentation, start the server and navigate to /docs)
This project maintains a robust, mocked test suite to ensure API reliability. It uses FastAPI's TestClient to test endpoints without incurring external LLM API costs.
# Install testing dependencies
pip install pytest httpx
# Run the test suite
pytest tests/
Built for the future of AI-driven research.
8 commits
Python
66.2%
CSS
15.0%
JavaScript
11.1%
HTML
6.2%
Dockerfile
1.5%