Backend and frontend integration
These Guides connect your application to Blazing Agents without moving trust decisions into the browser. Start with the backend relay, then add the recipes your product needs.
Choose a guide
Build a chat endpoint
Authorize an application chat and relay one native Agent stream.
Stream responses into a frontend
Render native UI message chunks incrementally in a browser.
Build a multi-tenant application
Map trusted application identities to Attribution and filtered reporting.
Accept image input and regenerate
Send supported image parts and replace a stored response in its Session.
Shared architecture
The request flows from the browser to your application backend and then to the
Blazing Agents /v1 API. The backend authenticates the caller and selects an
allowed Agent and Session. The API key and authorization logic stay there.
Attribution records an opaque End-user identity for filtering and reporting;
it does not authorize access.
Prerequisites
First connect your app. Review Sessions and Turns, Generation and streaming, and Security and credentials before exposing an application endpoint.