Contextual Augmented Multi-Model Programming (CAMP): A Local-Cloud Copilot Solution

The rapid advancement of cloud-based Large Language Models (LLMs) has revolutionized AI-assisted programming, but their integration into local development environments faces trade-offs between performance and cost. Cloud LLMs deliver superior generative power but incur high computational costs and latency, whereas local models offer faster, context-aware retrieval but are limited in scope. To address this, we propose Camp,a multi-model copilot solution that leverages context-based Retrieval Augmented Generation (RAG) to enhance LLM performance through dynamic context retrieval from local codebases which optimizes context-aware prompt construction. Experimental results show Campachieves a 12.5% improvement over context-less generation and 6.3% over the basic RAG approach. We demonstrate the methodology through the development of “Copilot for Xcode,” which supports generative programming tasks including code completion, error detection, and documentation. The tool gained widespread adoption and was subsequently integrated into GitHub Copilot, highlighting CAMP's impact on AI-assisted programming and its potential to transform future software development workflows.

Authors

Institutions

Publication Details

Published
2025-05-05
DOI
https://doi.org/10.1109/cai64502.2025.00122
Citations
1
Primary Topic
Simulation Techniques and Applications
Type
article
Field-Weighted Citation Impact
2.11
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Contextual Augmented Multi-Model Programming (CAMP): A Local-Cloud Copilot Solution

Chee Wei Tan, Shangxin Guo, Yuchen Wang
1 citations
Simulation Techniques and Applications
2.11
article

Contextual Augmented Multi-Model Programming (CAMP): A Local-Cloud Copilot Solution

Chee Wei Tan, Shangxin Guo, Yuchen Wang
article en
1 citations

Abstract

The rapid advancement of cloud-based Large Language Models (LLMs) has revolutionized AI-assisted programming, but their integration into local development environments faces trade-offs between performance and cost. Cloud LLMs deliver superior generative power but incur high computational costs and latency, whereas local models offer faster, context-aware retrieval but are limited in scope. To address this, we propose Camp,a multi-model copilot solution that leverages context-based Retrieval Augmented Generation (RAG) to enhance LLM performance through dynamic context retrieval from local codebases which optimizes context-aware prompt construction. Experimental results show Campachieves a 12.5% improvement over context-less generation and 6.3% over the basic RAG approach. We demonstrate the methodology through the development of “Copilot for Xcode,” which supports generative programming tasks including code completion, error detection, and documentation. The tool gained widespread adoption and was subsequently integrated into GitHub Copilot, highlighting CAMP's impact on AI-assisted programming and its potential to transform future software development workflows.

City University of Hong Kong (HK), Nanyang Technological University (SG)
Openalex Percentile: Top 12%
Simulation Techniques and Applications
2.11
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.

Contextual Augmented Multi-Model Programming (CAMP): A Local-Cloud Copilot Solution — Chee Wei Tan, Shangxin Guo, et al. · (2025) | TGRS Research Map | TGRS