AgenticTyper: Automated Typing of Legacy Software Projects Using Agentic AI

Clemens Pohle
2/21/2026
cs.SEcs.AIcs.MA

No confident code implementation found for this paper.

Abstract

Legacy JavaScript systems lack type safety, making maintenance risky. While TypeScript can help, manually adding types is expensive. Previous automated typing research focuses on type inference but rarely addresses type checking setup, definition generation, bug identification, or behavioral correctness at repository scale. We present AgenticTyper, a Large Language Model (LLM)-based agentic system that addresses these gaps through iterative error correction and behavior preservation via transpilation comparison. Evaluation on two proprietary repositories (81K LOC) shows that AgenticTyper resolves all 633 initial type errors in 20 minutes, reducing manual effort from one working day.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pohle2026agentictyper,
  title  = {AgenticTyper: Automated Typing of Legacy Software Projects Using Agentic AI},
  author = {Clemens Pohle},
  year   = {2026},
  eprint = {2602.21251},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.21251v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.21251.svg)](https://codeofpaper.com/paper/2602.21251)

Discussion