Search papers, labs, and topics across Lattice.
This paper introduces PRAXIS, a novel framework that enables LLM agents to extract and utilize tacit knowledge for domain-specific code generation by simulating human development workflows within a target codebase. By organizing this knowledge into structured units on a code dependency graph, PRAXIS allows agents to access critical domain-specific insights that are typically buried within the code. Experimental results show that PRAXIS significantly outperforms existing state-of-the-art agents, enhancing their ability to generate contextually relevant code while supporting ongoing performance improvements as more practice data is accumulated.
PRAXIS reveals that systematically extracting and surfacing tacit knowledge can dramatically enhance LLM performance in domain-specific code generation, outperforming traditional methods.
LLM agents have achieved strong performance on general software engineering tasks, yet struggle with domain-specific code generation. We identify the root cause as the agent's lack of tacit knowledge, including domain-specific business rules, interface contracts, and operational conventions that developers internalize through practice but never document. This knowledge is deeply buried beneath the domain code, dispersed across code entities and their dependency relations, and invisible to the agent that lacks it. These properties make tacit knowledge inherently difficult to retrieve or learn. In this work, we propose PRAXIS, a framework that enables agents to systematically extract, represent, and reuse tacit knowledge for domain code generation. PRAXIS acquires tacit knowledge by simulating human development workflows within the target codebase, distills it into structured units organized on the code dependency graph, and proactively surfaces it to the agent at the point of code interaction. Extensive experiments demonstrate that PRAXIS outperforms state-of-the-art agents equipped with powerful agentic search capabilities, as well as experience-based and skill-based methods. The approach integrates seamlessly into various agent frameworks and LLMs with consistent performance improvements, and supports continual evolution with performance steadily scaling as practice accumulates.