Skip to content

dornenkrone/ResearStudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

 ____                           ____  _             _ _       
|  _ \ ___  ___  ___  __ _ _ __/ ___|| |_ _   _  __| (_) ___  
| |_) / _ \/ __|/ _ \/ _` | '__\___ \| __| | | |/ _` | |/ _ \ 
|  _ <  __/\__ \  __/ (_| | |   ___) | |_| |_| | (_| | | (_) |
|_| \_\___||___/\___|\__,_|_|  |____/ \__|\__,_|\__,_|_|\___/ 
                                                               

ResearStudio - Human-Intervenable Deep Research Framework

License: MIT Python 3.8+ Node.js 18+

ResearStudio is the first open-source framework for building human-intervenable deep research agents. It enables real-time collaboration between humans and AI, allowing users to pause, edit, and guide AI agents during execution rather than operating in a traditional "fire-and-forget" mode.

ResearStudio Interface

🌟 Key Features

  • 🀝 Real-time Human-AI Collaboration: Pause, edit, and resume agent execution at any time
  • πŸ“Š Multi-Agent Architecture: Hierarchical Planner-Executor system with specialized tools
  • πŸ”§ Comprehensive Tool Suite: Search, code execution, document processing, and more
  • 🌐 Web-based Interface: Modern React/Next.js frontend with real-time updates
  • πŸ“ Plan-as-Document: All agent plans are visible and editable in real-time
  • πŸ”’ Sandboxed Execution: Safe, isolated environments for code execution
  • πŸš€ State-of-the-art Performance: Achieves 70.91% on GAIA benchmark

πŸ—οΈ Architecture

ResearStudio follows a three-layer architecture:

  1. L-1 Tool Layer: MCP-based tool suite (search, code, documents, etc.)
  2. L-2 Agent Core: Planner (GPT-4) and Executor (GPT-4o-mini/o3)
  3. L-3 Interface Layer: React/Next.js web interface with SSE streaming

Protocol Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          L-3: Web Interface             β”‚
β”‚         (Next.js + React 19)            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚ SSE/WebSocket
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          L-2: Agent Core                β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”        β”‚
β”‚   β”‚ Planner  │────▢│ Executor β”‚        β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚ MCP Protocol
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚          L-1: Tool Layer                β”‚
β”‚  Search β”‚ Code β”‚ Docs β”‚ Video β”‚ Image   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Quick Start

Prerequisites

  • Python 3.8+
  • Node.js 18+
  • OpenAI API key
  • Git

Installation

Quick Install (Recommended)

# Clone the repository
git clone https://github.com/ResearAI/ResearStudio.git
cd ResearStudio

# Run the one-click installer
./setup.sh

# Add your OpenAI API key
nano agent/.env  # Add your API key

Manual Installation

# Install Python dependencies
pip install -r requirements.txt

# Install frontend dependencies
cd frontend
npm install --legacy-peer-deps
cd ..

# Set up environment variables
cp agent/.env.example agent/.env
cp frontend/.env.example frontend/.env.local
# Edit the .env files with your API keys

Running the Application

Quick Start

# Start both backend and frontend
./start.sh

# Access the application at http://localhost:3000

# To stop the application
./stop.sh

Manual Start

# Terminal 1: Start the backend
cd agent
python app.py

# Terminal 2: Start the frontend
cd frontend
npm run dev

# Access at http://localhost:3000

πŸ“– Documentation

🎯 Use Cases

  • Research Automation: Automate literature reviews and data analysis
  • Code Development: AI-assisted programming with human oversight
  • Data Processing: Process documents, videos, and images with AI
  • Complex Problem Solving: Tackle multi-step problems with human guidance

Example Usage

πŸ§ͺ Performance

ResearStudio achieves state-of-the-art results on the GAIA benchmark:

Level Score
Level-1 77.36%
Level-2 69.77%
Level-3 61.54%
Average 70.91%

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ“š Citation

If you use ResearStudio in your research, please cite:

@article{yang2025researstudio,
  title={ResearStudio: A Human-Intervenable Framework for Building Controllable Deep-Research Agents},
  author={Yang, Linyi and Weng, Yixuan},
  year={2025}
}

πŸ™ Acknowledgments

  • OpenAI for GPT models
  • The GAIA benchmark team
  • All contributors and users

πŸ“¬ Contact

πŸ”— Links

About

Open-source framework for building human-intervenable deep research agents with real-time collaboration between humans and AI. Features multi-agent architecture, comprehensive tool suite, and web-based interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors