About

I am a Ph.D. candidate in the Computer Science department at Cornell University advised by Prof. Justin Hsu. My research's significant impact of applied software research has been recognized by John Vlissides Award. I am a member of Cornell AI4AI's (Assured Integrity for AI-Based Software) founding team. My research is supported by a LinkedIn Ph.D. fellowship.

Previously, I worked on software-defined networking as a software engineer at Microsoft for a year and prior to that, I was an undergraduate student at BITS Pilani, India. During my undergrad, I had the pleasure to spend a semester at the Max Planck Institute for Software Systems in Germany working with Dr. Bjoern Brandenburg on a theory-oriented real-time operating system (TOROS) toward my undergraduate thesis.

Research Focus (Safe<T>) ✨ Project Website

(LinkedIn Ph.D. Fellowship 2026-2027 and ACM SIGPLAN John Vlissides Award 2026 recipient)

My research develops runtime monitoring techniques for safe and trustworthy agentic AI and distributed systems. I have developed Safe<T>, an automaton-theoretic runtime monitoring framework for enforcing expressive safety and security policies in black-box systems. Safe<T> supports policies over hierarchical execution structures, data relationships, and concurrency, with distributed, non-invasive, and inline enforcement.

Through SafeTree, SafeNom, and SafePar, I have demonstrated the practicality of Safe<T> in cloud applications. I am now extending the framework to agentic AI through SafeAge and developing LLM-based techniques for synthesizing formal safety specifications to ease the adoption of my framework. The software impact of this research has been recognized with the 2026 ACM SIGPLAN John Vlissides Award and a LinkedIn Ph.D. Fellowship.

[News1], [News2]

Awards and Honors

Selected Publications

*=Equal contribution

Full publication record can be found on dblp or Google scholar.

Talks

Service

Currently, I am serving as a PLTea organizer and the Czar for the Cornell PL Discussion Group. I have also served on the artifact evaluation committee for POPL'{24, 25}.

News

Teaching

Contact

You can reach me at: [(λx.x @ cs.cornell.edu) kgrewal]; LinkedIn; or GitHub.