> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tuturuuu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mira

> Tuturuuu's AI assistant at tuturuuu.com/mira, and the retired Rewise addresses that lead to it.

Mira is Tuturuuu's AI assistant. Its address is `https://tuturuuu.com/mira`,
served by Web (`apps/web`) with the same design as the personal workspace home
(`tuturuuu.com/personal`). Rewise (`rewise.tuturuuu.com`, `apps/rewise`) is
the retired name of this product, and its addresses lead to Mira.

## Product decision

| Aspect | Rule |
| - | - |
| Scope | The standalone Rewise AI conversation product is Mira. |
| Address | `tuturuuu.com/mira`. The address bar keeps `/mira` while Web renders the personal workspace home in place, in the visitor's locale (`apps/web/src/lib/mira-route.ts`). `tuturuuu.com/{locale}/mira` sets that locale and redirects to `/mira`. |
| Design | One Mira experience: the personal workspace home's Mira assistant. There is no second Mira UI. |
| Signed-out visitors | Sent to login and back to `/mira`, like any workspace route. |
| Workspace handle | `mira` is reserved (`packages/utils/src/workspace-handle.ts`), so no workspace can shadow the address. |
| Legacy Web paths | `tuturuuu.com/rewise` and every subpath answer `308` to `/mira`, keeping the locale prefix so the locale carries over. |
| Legacy Rewise host | Every page on `rewise.tuturuuu.com` answers `308` to Mira on Web (`apps/rewise/src/proxy.ts`). A supported path locale takes precedence. Otherwise Rewise uses `Accept-Language` to choose a supported locale and falls back to `/mira` for English. Rewise `/api/*` routes keep serving existing clients. |
| Deep links | Rewise conversation and tool paths (`/{wsId}/c/{chatId}`, `/{wsId}/tools/...`) have no Mira equivalent and land on Mira's home. |

Internal identifiers stay `rewise`: the cross-app token audience, the AI memory
source, support-inquiry product values, and API auth audiences. They are stable
storage keys, not product names, and renaming them would need data migrations.

Moving the legacy host itself to a gateway redirect, and retiring the Rewise
Worker, are separate release steps that need release-authority approval.

## Access, usage, and memory

Mira runs on the personal workspace, so workspace access, AI eligibility,
model policy, credits and usage accounting follow the Web Mira path. Read the
[Model catalog](https://docs.tuturuuu.com/platform/ai/model-catalog.md),
[Usage guards](https://docs.tuturuuu.com/platform/features/usage-accounting-guards.md), and
[Memory service](https://docs.tuturuuu.com/platform/ai/memory-service.md) before extending a flow.

Memory is scoped context; it does not authorize publishing or other actions.
Conversations and generated content are noindex.

## Regression coverage

* `apps/web/src/__tests__/mira-proxy.test.ts`: `/mira` in-place rewrite,
  `/{locale}/mira` canonicalization, signed-out redirect, and `/rewise`
  redirects.
* `apps/web/src/lib/route-shape.test.ts`: `/mira` is a known route shape.
* `apps/rewise/src/proxy.test.ts`: Rewise pages redirect to Mira, honoring explicit
  path locales and supported language preferences. API routes keep their
  session checks.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.