←back to thread

469 points samuelstros | 2 comments | | HN request time: 0.565s | source
Show context
gervwyk ◴[] No.44998759[source]
We’re considering building a coding agent for Lowdefy[1], a framework that lets you build web apps with YAML config.

For those who’ve built coding agents: do you think LLMs are better suited for generating structured config vs. raw code?

My theory is that agents producing valid YAML/JSON schemas could be more reliable than code generation. The output is constrained, easier to validate, and when it breaks, you can actually debug it.

I keep seeing people creating apps with vibe coder tools but then get stuck when they need to modify the generated code.

Curious if others think config-based approaches are more practical for AI-assisted development.

[1] https://github.com/lowdefy/lowdefy

replies(6): >>44998775 #>>44998776 #>>44998799 #>>44998886 #>>45004566 #>>45007266 #
1. amelius ◴[] No.44998799[source]
How do you specify callbacks?

Config files should be mature programming languages, not Yaml/Json files.

replies(1): >>44998888 #
2. gervwyk ◴[] No.44998888[source]
Callback: Blocks (React components) can register events with action chains (a sequential list of async functions) that will be called when the event is triggered. So it is defined in the react component. This abstraction of blocks, events, actions, operations and requests are the only abstraction required in the schema to build fully functional web apps.

Might sound crazy but we built full web apps in just yaml.. Been doing this for about 5 years now and it helps us scale to build many web apps, fast, that are easy to maintain. We at Resonancy[1] have found many benefits in doing so. I should write more about this.

[1] - https://resonancy.io