Interactive demo
The end-user flow, on a session that is only yours.
Connect a provider, pick a model, then send a prompt. Nothing on this page is shared with the next visitor.
Session d00c738a. This browser has its own id. It expires in about 120 min. Ending the session deletes its keys.
Mock mode is on. Requests are answered locally and are not sent to a provider. Save any key of 8 or more characters, such as demo-mock-key. A key that starts with bad is rejected. Do not paste a real provider key.
Keys are in process memory. They are not written to disk. A restart drops them.
End-user UI
Connect a provider
Host route
Send a request
What the server did
- Your browser posted the key to
PUT /api/ai/connections/:providerwith the session cookie andx-csrf-token. - The handler stored it under this session’s user id. The response says connected and does not echo the key.
- Saving a model calls
PUT /api/ai/selections/:capability. - The prompt goes to the router, which loads the key only for the adapter call. Mock mode never opens a connection to the provider.