Monitor-Guided Decoding of Code LMs with Static Analysis of Repository Context

Lakshya A Agrawal, Aditya Kanade, Navin Goyal, Shuvendu K. Lahiri, S. Rajamani
2/12/2026

No official code found. Best implementation: microsoft/monitors4codegen (281 stars, MIT, last commit 2024-08-08).

DOISemantic Scholar

Code Implementations(1)

MIT

Code and Data artifact for NeurIPS 2023 paper - "Monitor-Guided Decoding of Code LMs with Static Analysis of Repository Context". `multispy` is a lsp client library in Python intended to be used to build applications around language servers.

28133PythonNov 4, 20232 years agoMIT
aiai4codeartificial-intelligencecode-analysiscode-completion+14 more

Cite this paper

@article{agrawal2026monitorguided,
  title  = {Monitor-Guided Decoding of Code LMs with Static Analysis of Repository Context},
  author = {Lakshya A Agrawal and Aditya Kanade and Navin Goyal and Shuvendu K. Lahiri and S. Rajamani},
  year   = {2026},
  doi    = {10.52202/075280-1401},
  url    = {https://doi.org/10.52202/075280-1401},
  journal = {NEURIPS 2023 2023}
}

Discussion