Mining and Automating Expert Guidance in Open Source: A Multi-Agent Framework Informed by the PyTorch Community

The continuous participation of newcomers is critical to the sustainability of Open Source Software (OSS) communities, yet many face technical and social challenges in making their first contributions. Expert guidance can help newcomers navigate these challenges, but timely support is not consistently available. While Large Language Models (LLMs) offer potential to augment this support, existing models lack project-specific context and awareness of mentoring practices. To investigate these challenges, we analyze OSS expert–newcomer interactions by curating 383 dialogues from Good First Issues (GFIs) in the PyTorch repository. We directly observe that interactions are typically brief, over one-third of newcomer inquiries remain unanswered, and the median first response time is 6.3 hours, revealing gaps and delays in expert involvement. From these interactions, we derive a taxonomy of 50 recurring, context-dependent expert guidance strategies across 11 themes, grounded in prior OSS mentoring research. Building on these findings, we introduce StrategicMentor , a strategy-driven multi-agent framework that integrates strategy knowledge with project, task, and dialogue context to deliver personalized, context-aware guidance. Coordinating specialized LLM-based agents via Retrieval-Augmented Generation (RAG), the framework operationalizes these strategy patterns without reproducing every raw expert reply or the limitations of the existing process. In our user study, StrategicMentor received higher ratings than the baseline LLM and sampled human expert responses across the evaluated dimensions and was generally preferred by both newcomers and experienced contributors. This work contributes a publicly available Expert–Newcomer dialogue dataset, a structured characterization of OSS mentoring strategies, and a multi-agent framework for investigating scalable, expert-informed onboarding support in OSS communities.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Software Engineering and Methodology
Published
2026-11-23
DOI
https://doi.org/10.1145/3862335
Primary Topic
Open Source Software Innovations
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Mining and Automating Expert Guidance in Open Source: A Multi-Agent Framework Informed by the PyTorch Community

Xin Lin Tan, Xiaoli Lian, Xiao Long, Li Zhang
ACM Transactions on Software Engineering and Methodology
Open Source Software Innovations
article

Mining and Automating Expert Guidance in Open Source: A Multi-Agent Framework Informed by the PyTorch Community

Xin Lin Tan, Xiaoli Lian, Xiao Long, Li Zhang
article en

Abstract

The continuous participation of newcomers is critical to the sustainability of Open Source Software (OSS) communities, yet many face technical and social challenges in making their first contributions. Expert guidance can help newcomers navigate these challenges, but timely support is not consistently available. While Large Language Models (LLMs) offer potential to augment this support, existing models lack project-specific context and awareness of mentoring practices. To investigate these challenges, we analyze OSS expert–newcomer interactions by curating 383 dialogues from Good First Issues (GFIs) in the PyTorch repository. We directly observe that interactions are typically brief, over one-third of newcomer inquiries remain unanswered, and the median first response time is 6.3 hours, revealing gaps and delays in expert involvement. From these interactions, we derive a taxonomy of 50 recurring, context-dependent expert guidance strategies across 11 themes, grounded in prior OSS mentoring research. Building on these findings, we introduce StrategicMentor , a strategy-driven multi-agent framework that integrates strategy knowledge with project, task, and dialogue context to deliver personalized, context-aware guidance. Coordinating specialized LLM-based agents via Retrieval-Augmented Generation (RAG), the framework operationalizes these strategy patterns without reproducing every raw expert reply or the limitations of the existing process. In our user study, StrategicMentor received higher ratings than the baseline LLM and sampled human expert responses across the evaluated dimensions and was generally preferred by both newcomers and experienced contributors. This work contributes a publicly available Expert–Newcomer dialogue dataset, a structured characterization of OSS mentoring strategies, and a multi-agent framework for investigating scalable, expert-informed onboarding support in OSS communities.

ACM Transactions on Software Engineering and Methodology
Beihang University (CN)
Open Source Software Innovations
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon