In this article
Return an explicit unresolved-app result from AMP and assert zero model calls; keep missing-token and unreachable-service cases separate from this targeted fix.
The November 11 CrewAI 1.15.40 release stops an agent when CrewAI AMP explicitly cannot resolve its declared apps. Previously that path could continue without the intended tools. The implementation distinguishes unresolved apps from other resolution failures, so teams should test the exact condition rather than assume every integration outage now stops before a model call.
A declared app is an execution dependency
Configure a synthetic agent that must read a harmless record through one declared platform app. Make AMP return that app as unresolvable. Instrument the LLM and tool boundaries and assert kickoff stops before generation. This checks the failure mode where an apparently useful answer could otherwise be invented without the required evidence. Do not evaluate success by whether the model produces plausible text about the requested record.
Exercise agent and crew entry points
The PR names synchronous and asynchronous kickoff paths for both Agent and Crew. Use the paths actually exposed by the application, with the same unresolved dependency in each. Capture the exception type and named apps. A passing standalone-agent fixture does not establish a crew wrapper handles failure correctly; a caller may swallow the exception and start another model path unless its behavior is checked explicitly.
Resolution failures have different contracts
Include a missing token and an unreachable AMP service as separate controls. The implementation explicitly leaves other resolution failures on their existing warning paths. A product should not present the targeted unresolved-app fix as universal fail-closed behavior. Document which conditions stop and which continue, then decide whether the application needs additional dependency checks before it permits evidence-dependent work to run.
Recovery needs evidence of reconnection
Connect the synthetic app through its supported flow, rerun kickoff and verify the tool is discovered and the known record is actually read. Clear the prior failure state only when the dependency is available, not simply after waiting. The release prevents one category of tool-less continuation. A reviewable migration shows explicit failure before resolution and evidence-backed success afterward, while keeping the documented out-of-scope paths visible.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.