Prompt agent vs hosted agent vs Ephemeral agent (direct Responses API call) on Foundry
This sheet compares Prompt agent, Hosted agent, Ephemeral agent (direct Responses API call).
| Criterion | Prompt agent | Hosted agent | Ephemeral agent (direct Responses API call) |
|---|---|---|---|
| What you supply | Instructions, a model and tools; no application code, containers or compute | Your own code and framework, such as LangGraph, as a container image or source archive | The agent definition, assembled in app code on each call |
The verdict, the full comparison, 6 rules and 4 traps are part of AB-100 access. Unlock AB-100.