# Hosting agents with Foundry Hosting and the `invocations` API This folder contains a list of samples that show how to host agents using the `invocations` API and deploy them to Foundry Hosting. | Sample | Description | | --- | --- | | [01_basic](./01_basic) | A basic example of hosting an agent with the `invocations` API and carrying on a multi-turn conversation. | | [02_break_glass](./02_break_glass) | An example of hosting an agent with the `invocations` API and a "break glass" scenario where you can create your own `invoke_handler` to handle specific types of invocations. |