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:
- Non-determinism. Even at low temperature settings, you cannot guarantee repeatability. You are building on an API with built-in randomness that keeps evolving underneath you (u/smirk79, u/noellarkin).
- Opaqueness. There is no source code to read. You can only guess at why a model behaved the way it did (u/smirk79).
- Silent vendor changes. Providers sometimes update models under the hood with no warning, changing behaviour your application depended on (u/Nonikwe, u/PlayForA).
- Open conversational interfaces. When the model talks directly to users, the long tail of unexpected inputs never ends. Rate limits, output formats and filters help, but the edge cases multiply (u/Nonikwe).
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:
- Cost. Every request is tokens in and tokens out. Bloated contexts and chatty prompts inflate the bill directly (u/holchansg, u/durable-racoon).
- Latency. Model calls are slow enough that applications get reorganised just to hide loading times from users (u/durable-racoon).
- Retrieval quality. RAG output is only as good as the search and memory stack underneath it, and that quality ties straight back to cost and performance (u/holchansg).
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
- Framework churn. Libraries and frameworks change constantly; one engineer reports the RAG library they chose “breaks daily” (u/bzImage).
- Immature tooling outside Python. Build in another language and the AI tooling is missing or not mature enough (u/vacationcelebration).
- ML-stack infrastructure pain. Off-the-shelf Python and PyTorch components can leak memory per request until you wrap everything in its own process and kill it, an ugly workaround (u/vacationcelebration).
- Estimation on the bleeding edge. With little prior art, you cannot see roadblocks ahead, and schedules become guesses (u/vacationcelebration).
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:
- Determinism by separation. The model handles language and context; reusable, pre-tested skills handle execution. A workflow that has passed its checks behaves the same on the hundredth run as on the first, because the model is not the part doing the work.
- Manifests, not free text. Work in BuLLM starts from an approved scope-of-work document and compiles into a structured manifest that tooling executes. There is no freeform model output to sanitise between steps.
- A governed context layer. Instead of pushing more tokens into the window, BuLLM keeps company knowledge in a context layer built for the purpose, so the model gets the right context rather than more context. Cost and latency follow from that choice.
- Versioned artefacts. Prompts, skills and manifests are versioned artefacts, not strings lost in a chat log, so “what actually ran” is always answerable.
- Provider independence. A single gateway sits between workflows and model providers, so a provider swap or a silent model update does not mean rewriting the workflow.
- Testing before production. A certification pipeline for workflows is in development, aimed squarely at the evals problem: known inputs, expected outputs, and a pass bar before a workflow runs against real data.
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 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.