Skip to main content
Support assistant tutorial This checkpoint uses matching @agentium/core@4.0.0 and @agentium/transport@4.0.0 packages. V4 requires an explicit local or authenticated security mode.
It serves a basic support Agent on loopback. Add the tools you have verified in earlier checkpoints to the support Agent as needed.

Complete checkpoint

support.ts

Run it

Verify the result

In another terminal, make a request:
The response should contain an agent answer asking for an order ID. registry: false exposes only the explicit support map. Stop the server with Ctrl+C. The shutdown handler stops new connections and closes the Agent after existing connections finish. A production host also needs bounded drain time, cancellation for active requests, and cleanup for separately owned resources. Local mode is for trusted local use. Before exposing this API, implement verified identity and resource ownership through authenticated hosting. Do not solve deployment by changing the bind address alone.

Prepare the application for deployment

Continue to the next chapter.