ExploraCoder: Advancing code generation for multiple unseen APIs via planning and chained exploration
Not on the map. Why?
Abstract (arXiv)
Large language models face intrinsic limitations in coding with APIs that are unseen in their training corpora. As libraries continuously evolve, it becomes impractical to exhaustively retrain LLMs with new API knowledge. This limitation hampers LLMs from solving programming problems which require newly introduced or privately maintained libraries. Inspired by exploratory programming paradigm in human behavior, we propose ExploraCoder, a training-free framework that empowers LLMs to invoke multiple unseen APIs in code solution by (1) planning a complex problem into several API invocation subtasks, and (2) experimenting with correct API usage at intermediate steps through a novel chain-of-API-exploration. We conduct evaluation on program synthesizing tasks involving complex API interactions. Experimental results demonstrate that ExploraCoder significantly improves performance for models lacking prior API knowledge, achieving absolute increases of up to 11.99% over retrieval-based approaches and 17.28% over pretraining-based methods in pass@10.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Dec 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 4; 2026: 7.
11 papers.
- 2026Calibrate-Then-Act: Cost-Aware Exploration in LLM Agentscited by 16
- 2025Verification-Aware Planning for Multi-Agent Systemscited by 9
- 2026To See is Not to Master: Teaching LLMs to Use Private Libraries for Code Generationcited by 3
- 2026Learning from Execution: Self-Evolving Memory for Private-Library Code Generationcited by 2
- 2025Library Hallucinations in LLM-Generated Code: A Risk Analysis Grounded in Developer Queriescited by 1
- 2025Knowledge-Graph-Driven Data Synthesis for Low-Resource Software Development: A HarmonyOS Case Studycited by 1
- 2025A Study of Library Usage in Agent-Authored Pull Requestscited by 1
- 2026Bridging the Knowledge Void: Inference-time Acquisition of Unfamiliar Programming Languages for Coding Taskscited by 1
- 2026CodeGlance: Understanding Code Reasoning Challenges in LLMs through Multi-Dimensional Feature Analysiscited by 1
- 2026Unseen-Codebases-Domain Data Synthesis and Training Based on Code Graphscited by 1
- 2026Toward Interactive Understanding of Code APIscited by 0
- 2026Toward Interactive Understanding of Code APIs25 Sep 2026
- 2026Learning from Execution: Self-Evolving Memory for Private-Library Code Generation27 Apr 2026
- 2026To See is Not to Master: Teaching LLMs to Use Private Libraries for Code Generation16 Mar 2026
- 2026Unseen-Codebases-Domain Data Synthesis and Training Based on Code Graphs24 Feb 2026
- 2026Calibrate-Then-Act: Cost-Aware Exploration in LLM Agents18 Feb 2026
- 2026CodeGlance: Understanding Code Reasoning Challenges in LLMs through Multi-Dimensional Feature Analysis15 Feb 2026
- 2026Bridging the Knowledge Void: Inference-time Acquisition of Unfamiliar Programming Languages for Coding Tasks16 Jan 2026
- 2025A Study of Library Usage in Agent-Authored Pull Requests12 Dec 2025
- 2025Knowledge-Graph-Driven Data Synthesis for Low-Resource Software Development: A HarmonyOS Case Study29 Nov 2025
- 2025Verification-Aware Planning for Multi-Agent Systems20 Oct 2025
- 2025Library Hallucinations in LLM-Generated Code: A Risk Analysis Grounded in Developer Queries26 Sep 2025