The hardest parts of building AI-powered applications, according to the engineers building them
A thread on r/LLMDevs asked software engineers a direct question: what are the hardest parts of developing AI-powered applications? Dozens of engineers answered from production experience, and their answers are a useful reality check for any organisation planning an AI initiative. We read the whole thread. This post lists the eighteen problems engineers named, grouped into the themes that repeat, and closes with what building our own platform, BuLLM, taught us about them. The thread is from early 2025. Model versions have changed since. The problems have not. 1. Prompting is the easy 10% One engineer summarised the experience as “10% building, 90% coaxing the model not to be weird” (u/taiwbi). Another described a virtual assistant that kept forgetting to ask users for required fields until an example conversation was added to the system prompt. Getting a demo working is quick. Getting the model to behave the same way on every input, every day, is where the effort goes. 2. Reliability and non-determinism The most upvoted cluster of complaints is about trust in the output: 3. Evaluation without ground truth Evals came up again and again. Indeterministic outputs and hallucinations make test-driven development painful. There is often no ground truth to test against, so it is hard to know whether a new prompt is genuinely better or quietly breaks an edge case a customer cares about. Keeping test datasets comprehensive and current is a job in itself (u/ashemark2, u/PlayForA). 4. Context management, where cost, latency and quality meet Context management was voted the hardest thing to balance. Context windows are effectively finite; one engineer treats roughly 16,000 tokens as the practical sweet spot, beyond which quality drops and cost climbs. Users, meanwhile, expect infinite memory, so teams end up layering memory managers and data layers on top (u/smirk79, u/holchansg). Three pains hang off this one: 5. Sanitising and structuring LLM output Models produce invalid JSON in creative ways: ignored keys, extra or missing braces, numeric keys. A whole sub-thread debates YAML versus JSON versus Markdown for structured output, and the workarounds range from defensive parsing to repair libraries to native structured-output modes (u/smirk79, u/JustThatHat, u/PizzaCatAm, u/flavius-as, u/maigpy, u/noellarkin). Engineers should not need a repair library between their application and their model. 6. Prompt observability and versioning What prompt was actually sent? How do you log inputs and outputs so you can evaluate them later, and roll back to a previous version when a change regresses? One engineer asked whether there is “git for prompts”, and reported building the tooling in-house because nothing off the shelf fit (u/durable-racoon). 7. A tooling stack that will not sit still 8. Accuracy ceilings and customer expectations Two problems close the list. First, accuracy ceilings: pulling fields from large documents at better than 90% precision and recall is nearly impossible even with the newest models (u/Glittering-Cod8804). Second, expectations: customers expect magic, and the gap between the demo and reliable production behaviour is yours to explain (u/Sonic_andtails). What building BuLLM taught us about this list These eighteen problems are not a list we found interesting. They are the list we build against. BuLLM is our agentic AI platform for turning a business process into a repeatable, tested AI workflow, and its design choices map directly onto the themes above: We do not claim to have solved all eighteen. Estimation on the bleeding edge and customer expectations are not software problems. But most of what the thread names as hardest is exactly the layer a workflow platform should absorb, so the team building the application can spend its time on the business problem instead of on guardrails. The takeaway If your team is living this list on a live AI initiative, book a Process Transformation Audit. We map the workflow you are trying to build, identify where reliability, context and evaluation will break, and show you how it would run on BuLLM. Source: r/LLMDevs, “Software engineers, what are the hardest parts of developing AI-powered applications?” (March 2025). Engineer usernames are credited inline; the full digest of the thread is available on request. Srinath RangaswamySrinath Rangaswamy is a director at DigiBull AI, a Mysuru-based company building AI and machine learning applications. Its BuLLM platform helps Forward Deployed Engineers build client workflows faster, with a focus on manufacturing and marketing.