Files
agent-framework/python/samples/04-hosting/foundry-hosted-agents/responses/04_workflows
T
Tao Chen 3225a59fd3 Python: Upgrade agentserver packages (#5284)
* Upgrade agentserver packages

* Fix new types
3225a59fd3 ยท 2026-04-15 14:16:37 -07:00
History
..
2026-04-15 11:33:15 -07:00
2026-04-15 11:33:15 -07:00
2026-04-15 11:33:15 -07:00
2026-04-15 11:33:15 -07:00
2026-04-15 11:33:15 -07:00
2026-04-15 11:33:15 -07:00
2026-04-15 11:33:15 -07:00

Basic example of hosting an agent with the responses API and a workflow

This sample demonstrates how to host a workflow using the responses API.

Interacting with the agent

Send a POST request to the server with a JSON body containing a "message" field to interact with the agent. For example:

curl -X POST http://localhost:8088/responses -H "Content-Type: application/json" -d '{"input": "Create a slogan for a new electric SUV that is affordable and fun to drive."}'

Invoke with azd:

azd ai agent invoke --local "List all the repositories I own on GitHub."