A production repo blueprint for LLM apps: nine directories, clear responsibilities

techNmak · x · 2026-10-08

A detailed repository blueprint for production AI applications, organizing engineering responsibilities around an LLM into api/, application/, providers/, security/, prompts/, observability/, evals/, tests/, and deploy/ directories, with RAG, agents, caching, tool execution, persistence, and workers as optional capability layers. Key argument: prompt changes can degrade quality without breaking unit tests, so structure must make tracing, evals, and permission enforcement first-class concerns. Start small and add capabilities as the product needs them.

Related event: A Production-Grade Repository Blueprint for LLM Applications(2 posts)→

Original post →

More from coding & agent

coding & agent channel →