← All tags

Tag
#design
3 posts tagged with this topic.
How I choose an architecture
My repeatable process for architecture decisions — start from the constraints, write an 'alternatives considered' table, and make the trade-off explicit. With examples from real projects.
Constraining a local LLM to valid JSON with GBNF grammars
Prompts ask a model to "return JSON". Grammars make it impossible to return anything else. How I used GBNF + constrained decoding to get reliable structured output on-device.
Designing a provably-offline app: privacy as a hard constraint
Lessons from building a local-first finance analyzer — how to make "offline" a guarantee you can prove, not a promise, and the architecture that falls out of it.