Mock users

Repeatable test identities your agent fetches personal data for, so tools return stable, predictable results.

A mock user is a stand-in identity your agent looks up during a test — a fixed user ID so tools that fetch personal data (accounts, orders, tickets) return the same result on every run.

Create a mock user

  1. In the sidebar, open Testing → Mock Users.
  2. Click New.
  3. Enter a Name for the identity and set its Workspace visibility — Team (shared) or Personal (only you).
  4. Optionally set Link to member (auth user id) — a UUID that powers "Test as Me" runs against your own account.
  5. Enter the User ID your bot should use when it fetches this user's data.
  6. Add an optional Description, then click Create.

Use a mock user in a test

  1. Open Testing → Tests and create or edit a test case.
  2. Select one or more mock users so tool calls resolve against those identities.
  3. Run the test — because the underlying data is stable, results stay comparable across runs and versions.

Tip: A persona shapes how the user talks; a mock user pins whose data the agent reads. Pair them to test the same personality against different account states.