mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
3225a59fd3
* Upgrade agentserver packages * Fix new types
3225a59fd3
ยท
2026-04-15 14:16:37 -07:00
History
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."