Skip to main content
After creating a new custom agent, you can call and use it via the Custom Agent API, which can stream responses. This allows you to process data incrementally as it becomes available, rather than waiting for the full payload. The following example shows how to manage a stream call of the Express Agent API with cURL:
Below is the summary excerpt of the streaming events: