Fourteen pain points from GitHub issues, security advisories and developer discussions about four popular agent frameworks, each explained in plain language with a diagram of what goes wrong.
Each issue is tagged with the layer where it breaks: SDKStorage serviceModel APIHosted platform
1
Amazon Bedrock AgentCore SDK
aws/bedrock-agentcore-sdk-python
Most AgentCore pain sits in one place: the memory layer that persists conversation turns between stateless requests. When it slips, agents forget, lose work, or silently store nothing.
Stateless deployments often create a fresh AgentCoreMemorySessionManager for every request. Because the memory store is eventually consistent, that new manager can read history before the previous turn's write is visible.
Why it hurts
The agent forgets what the user said a moment ago. It happens only sometimes, which makes it hard to reproduce and easy to blame on the model.
The read from request 2 can beat the write from request 1.
Mitigation idea Keep the last turn or two in the request payload or a short-lived cache as a fallback, and treat a suspiciously short reload as a retry signal.
Where it breaksStorage service limitSDK error handling
What happens
When a tool returns a big payload (a multi-megabyte document, for example), memory persistence hits an undocumented 413 error and aborts the whole execution.
Why it hurts
The failure isn't contained to the oversized step. Every earlier step in the turn is thrown away too, including tool calls that succeeded and may have cost real time or money.
One oversized result takes the earlier, successful steps down with it.
Mitigation idea Offload big tool results to object storage and keep only a reference (ID, size, summary) in the conversation.
v1.23.1 changed the order in which state is flushed at AfterInvocationEvent. With sliding-window conversation managers and interrupt workflows, the final saved SessionAgent state can be lost.
Why it hurts
It's a regression from an upgrade, so pipelines that worked before quietly start resuming from stale state.
Same turn, different flush order, different saved state.
Mitigation idea Pin the SDK version and add a test that checks the saved state after an interrupted or windowed turn.
Three separate persistence gaps: deleting memory records only removes the first 10 items (#727). Sessions made of plain-text events restore an empty history (#743). Bidirectional BidiAgent voice transcripts are never stored (#716).
Why it hurts
Each one fails quietly. Deletes look successful, restores look valid, and voice sessions look complete, so the gaps tend to surface in audits or user complaints rather than in tests.
Three ways memory looks fine but isn't.
Mitigation idea Verify after you write: re-list after deletes, assert non-empty history after restores, and check that transcripts exist after voice sessions.
2
Google Agent Development Kit
google/adk-python
ADK's trouble is mostly about composition: tools and agents that work on their own break when you combine them in a hierarchy.
Mixing tool types across sub-agents throws 400 errors
Give one sub-agent VertexAiSearchTool and another a custom Python function under the same root, and the API rejects the call with Multiple tools are supported only when they are all search tools.
Why it hurts
The tools sit on different agents, so most people assume they're isolated from each other. The error only appears at runtime, after the architecture is already built.
Tools on separate sub-agents still collide in one request.
Mitigation idea Isolate each search tool in its own agent wrapped as an AgentTool, and check the ADK tool limitations page for your version. It says v1.16.0+ includes a built-in workaround for Search.
Built-in tools such as Google Search can't run normally inside a sub-agent. You have to wrap them in an AgentTool or pass bypass_multi_tools_limit=True.
Why it hurts
The obvious design, a sub-agent that does search, doesn't work. The fixes change how the agent is called, which affects routing and context.
The obvious design fails, and both workarounds change how the agent is called.
Mitigation idea Use AgentTool wrappers for built-in tools by default, and write down which workaround each agent relies on.
AgentTool copies state but drops conversation history (#3878) and turns image outputs into empty strings ({{'result': ''}}). SubAgent keeps image data but takes over control flow (#729).
Why it hurts
Neither option gives you everything, so the choice between them decides what your agent quietly loses.
Each delegation style loses something different.
Mitigation idea Pass the history you need explicitly, and return images by reference (an artifact or URL) instead of inline output.
Over-abstracted agent class hierarchy
r/LangChain discussion
Where it breaksSDK design
What happens
Developers on r/LangChain say that wiring LlmAgent, Sequential, Parallel and Loop agent classes together takes a lot of boilerplate compared with ordinary control flow in code.
Why it hurts
Simple orchestration logic ends up spread across nested classes, which makes it harder to read, debug and change.
The same pipeline as nested agent classes and as a few lines of code.
Mitigation idea Use workflow agents where they help with tracing or deployment. For bespoke logic, plain async code calling agents is often clearer.
3
LangGraph
langchain-ai/langgraph
LangGraph's issues come from state: how it's copied, merged and scoped as graphs grow.
Checkpoint serialization bloats storage by up to 85%
LangGraph serializes and writes state to several places: the checkpointer, subgraph Send() payloads, stream sinks and stores. In long-running graphs these redundant copies inflate storage and payloads by up to 85%.
Why it hurts
Storage costs and latency grow with graph length, and the duplication can't be seen from your own code.
One state, four serialization surfaces.
Mitigation idea Keep large blobs out of state (store references), set checkpoint TTLs, and measure checkpoint size per step.
By default, when parallel nodes write the same state field, the last write wins. Combining nested dictionaries or distinct lists safely means writing a custom merge function each time.
Why it hurts
Data from one branch disappears without an error, and the fix is repetitive code for every field that's at risk.
Without a reducer, one branch's update disappears.
Mitigation idea Keep a small shared library of reducers (dict-merge, unique-list) and annotate every field that parallel nodes write.
Pushing and popping stack-like state keys inside nested subgraphs can produce state histories that differ from the same operations at the parent level.
Why it hurts
Logic that's correct in the parent graph behaves differently once you move it into a subgraph, which undercuts the point of composing graphs.
Same updates, different history once nested.
Mitigation idea Test subgraphs on their own and when embedded, and compare their state histories.
4
CrewAI
crewAIInc/crewAI
CrewAI's problems span orchestration (who does the work), runaway loops, and one serious platform security incident.
In hierarchical crews with dynamically created managers, the manager's coworker lookup sometimes finds only itself. The result is either a No agent found error or a manager that does every subtask alone.
Why it hurts
The specialist agents you designed never run, so output quality drops while the crew still looks like it succeeded.
The specialists sit idle while the manager does everything.
Mitigation idea Log every delegation and assert that each specialist gets at least one task in integration tests.
Nothing deterministically checks the agent's trajectory. An agent that repeats the exact same (role, tool, arguments) call relies on the LLM to notice it's stuck, or runs until a blunt max_iter cutoff.
Why it hurts
Loops waste tokens, and a max_iter cutoff strict enough to stop them also kills legitimate long workflows.
The repeated call is never caught. Only the budget ends it.
Mitigation idea Fingerprint each (role, tool, args) call and stop or redirect after N identical repeats, separately from max_iter.
Cloud deployment exception leak (“Uncrew”)
Noma Labs disclosure · CVSS 9.2
Where it breaksHosted platform
What happens
Noma Labs found that bad exception handling during CrewAI deployment provisioning returned an error response whose repo_clone_url field contained an internal GitHub token with admin access.
Why it hurts
Anyone who triggered the error could get admin access to CrewAI's private repositories, which is a supply-chain risk. CrewAI revoked the token and patched the issue within hours of disclosure.
An error path turned into a credential leak.
Mitigation idea Treat error paths as places secrets can leak: scrub credentials from user-facing errors and use short-lived, narrowly scoped tokens.
Common patterns
Persistence is where agents are most fragile. Amnesia, lost final state, empty restores and storage bloat all happen at the boundary where state is written out and read back.
Composition doesn't come for free. Tools and agents that work alone collide in hierarchies (ADK tool limits, CrewAI delegation, LangGraph subgraph reducers).
Most failures are silent. Partial deletes, dropped images and overwritten branches return no error, so verifying after you write and asserting in tests matter more than catching exceptions.
Error paths are part of the attack surface. The CrewAI token leak came from a failure response, not the happy path.
Issue numbers and descriptions come from the source notes this article is based on. Issues may have been fixed or reworded since they were reported, so check each linked issue for its current status before acting on it. The mitigation ideas are general engineering suggestions, not official guidance from the projects.