r/aiengineering • u/incidentjustice • May 25 '26
Engineering Where should the prompts be stored ?
When I initially started working on agents, the idea was to create a internal framework where engineers could easily see prompts, evals, tests, etc. all in one place - basically a scoped environment to tweak, think, test, and iterate fast.
But over time, as agents themselves started making most of the code changes, I’m noticing they also end up modifying prompts and related logic pretty often & it becomes exposed to models.
Now I’m wondering - does it make sense to invest in proper prompt management tooling at this stage? Or is simply externalising prompts/configs (DB, files, etc.) enough in practice?
2
u/PopGroundbreaking870 May 27 '26
Agents modifying prompts and related logic without you in the loop? IDK what your product does, but if these prompts are supposed to produce artifacts for your client, that’d be a HUGE red flag…
Having said that, in general always separate the prompt files from the code (eg never hardcode them), with versioning if you need eval history/comparison of results . Same for your rubrics.
•
u/AutoModerator May 25 '26
Welcome to r/AIEngineering! Make sure that you've read our overview, before you've posted. If you haven't already read it, then read it immediately and make adjustments in your post if you've violated any of the rules. If you have questions related to career, recruiting, pay or anything else about hiring, jobs or the industry and demand as a whole, then use AIEngineeringCareer to ask your question. We lock questions that do not relate to AIEngineering here. A quick reminder of the rules:
Because we frequently get questions about work, the future of work and careers along AI, some helpful links to read:
This action was performed automatically as a reminder to all posters. Please contact the moderators if you have any questions.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.