November 11, 2025

Summary

In this article, I explore an approach made possible by integrating code-writing LLMs into our apps: if you need to solve a problem whose complete scope is not known beforehand, give your users a way to run task-specific code snippets and ask the LLM to write a solution when the scope becomes known.

I give three examples of how I use this approach in my app—from answering questions about personal data to generating schema conversion functions and custom UIs. I then discuss the key challenge of correctness: how to make LLM-generated code reliable using strategies like type-checking and feedback loops, and how to handle inevitable mistakes when they occur.

Self-Promotion Disclosure

I wrote this article to promote myself as a consultant and the products I …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help