Files
9e3983e547 ยท 2026-04-15 11:33:15 -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

Basic example of hosting an agent with the invocations API

Run the following command to start the server:

python main.py

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/invocations -H "Content-Type: application/json" -d '{"message": "Hi!"}'