~/talk

How I Stole PSI From Android Studio: Letting AI Navigate a Large C…

Talkat DroidKaigi 2026 · 2026-09-01..09-03· [ai-assisted-development, android]
name:JunRong
links:none on file
slides:none on file

Shows that text-based grepping by AI returns 2,880 noisy matches for a component when the correct count is below 500 and that LSP solutions spawn a headless IntelliJ using 2.6 GB RAM. Describes building a JetBrains plugin, Kotlin PSI MCP, that exposes IDE PSI over MCP so agents can call find usages, get Android Studio–exact results (≈452 refs), deterministic answers, lower token use and faster responses, plus extra tools: module dependency, call hierarchy, declaration metadata and VRT test-case generation.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Talk outline
  3. 2:16AI code navigation limits
  4. 7:17LSP as solution
  5. 11:35JetBrains PSI
  6. 15:35Kotlin PSI MCP
  7. 18:29Finding usages
  8. 22:48Advanced tools
  9. 26:43Derived workflows
  10. 28:26Development challenges
  11. 32:16Current limitations
  12. 33:18Choosing the right tool for AI code navigation
  13. 35:47Alternatives
  14. 36:08Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.