# One agent, *three ways to run it.*

Slide 2 of 12 · Show me the code

In the browser with Mindset’s UI, in the browser with yours, or on Mindset with no UI at all. Each reads the same configuration.

![The element runs the loop in the browser with Mindset’s chat UI; the UI-less client runs it in the browser and you draw every message; the server API runs it on Mindset with no UI, for schedules, webhooks and your backend](https://docs.mindset.ai/images/decks/show-me-the-code/run-modes.svg)

## Speaker notes

In the browser, the turn loop is a LangGraph state graph. The conversation’s state lives in the page, and each model or tool call is one stateless request to Mindset, so replies stream with low latency and page tools run with no round trip. A run started from your server, a schedule or a webhook runs the same agent on Mindset’s side. A new agent version reaches every one of them on the next turn, with no release of your code.
