# Bulk delete SSO providers Source: https://docs.praxis-ai.com/api-reference/admin--sso-providers/bulk-delete-sso-providers /mdx/api-reference/admin/admin-api.json post /api/admin/ssoProviders/bulk-delete Permanently deletes many SSO providers by id (hard delete — no soft-delete state on this model). Each target is authorized per-record (sso.delete RAP on its institution) and its cached OAuth client is cleared. Non-permitted, not-found, and invalid ids are reported in the skip list and never deleted. # Create SSO provider Source: https://docs.praxis-ai.com/api-reference/admin--sso-providers/create-sso-provider /mdx/api-reference/admin/admin-api.json post /api/admin/ssoProvider Creates a new SSO provider for an institution. One provider per institution. # Delete SSO provider Source: https://docs.praxis-ai.com/api-reference/admin--sso-providers/delete-sso-provider /mdx/api-reference/admin/admin-api.json delete /api/admin/ssoProvider/{id} # Get SSO provider by ID Source: https://docs.praxis-ai.com/api-reference/admin--sso-providers/get-sso-provider-by-id /mdx/api-reference/admin/admin-api.json get /api/admin/ssoProvider/{id} # List SSO providers Source: https://docs.praxis-ai.com/api-reference/admin--sso-providers/list-sso-providers /mdx/api-reference/admin/admin-api.json post /api/admin/ssoProviders Returns all SSO providers scoped by RAP. Client secrets are masked. # Test SSO provider connectivity Source: https://docs.praxis-ai.com/api-reference/admin--sso-providers/test-sso-provider-connectivity /mdx/api-reference/admin/admin-api.json post /api/admin/ssoProvider/test/{id} Attempts to reach the token endpoint to verify configuration. # Update SSO provider Source: https://docs.praxis-ai.com/api-reference/admin--sso-providers/update-sso-provider /mdx/api-reference/admin/admin-api.json put /api/admin/ssoProvider/{id} Updates an SSO provider. Institution cannot be changed. # Get account by ID Source: https://docs.praxis-ai.com/api-reference/admin-accounts/get-account-by-id /mdx/api-reference/admin/admin-api.json get /api/admin/account/{id} Retrieves details of a specific account # Get list of account transfers Source: https://docs.praxis-ai.com/api-reference/admin-accounts/get-list-of-account-transfers /mdx/api-reference/admin/admin-api.json post /api/admin/accountTransfers Retrieves account transfer history with optional filtering # Search and retrieve accounts Source: https://docs.praxis-ai.com/api-reference/admin-accounts/search-and-retrieve-accounts /mdx/api-reference/admin/admin-api.json post /api/admin/accounts Retrieves a paginated list of accounts with institution usage statistics # Transfer credits between account and institution Source: https://docs.praxis-ai.com/api-reference/admin-accounts/transfer-credits-between-account-and-institution /mdx/api-reference/admin/admin-api.json put /api/admin/accountInstitution/{id} Transfers credits from the parent account to one of its institutions (positive credits value) or reclaims credits from the institution back to the account (negative credits value). The institution must belong to the specified account. Both the account and institution must have sufficient credits for the transfer direction. An AccountTransfer record is created for audit purposes. # Update account Source: https://docs.praxis-ai.com/api-reference/admin-accounts/update-account /mdx/api-reference/admin/admin-api.json put /api/admin/account/{id} Updates an existing account. Disabling stops the account's agent computers (they can be started again after the account is re-enabled). # Bulk soft-delete multiple aimodels Source: https://docs.praxis-ai.com/api-reference/admin-ai-models/bulk-soft-delete-multiple-aimodels /mdx/api-reference/admin/admin-api.json post /api/admin/aimodels/bulk-delete Soft-deletes many aimodels by id (status set to `deleted`; name freed). Each target is authorized per-record (aimodels.delete RAP on its institution). Returns the number deleted plus a per-id skip list. # Create a new AI model Source: https://docs.praxis-ai.com/api-reference/admin-ai-models/create-a-new-ai-model /mdx/api-reference/admin/admin-api.json post /api/admin/aimodel Creates a new AI model configuration. The handler validates the `client_library` / `api_url` / `api_key` combination via `validateAIModelConfig` before saving — openai_cli requires both `api_url` and `api_key`; mistral_cli and xai_cli require `api_key`; bedrock_cli requires neither (uses AWS credentials). When `institution` is omitted, the caller's institution is used. # Delete AI model Source: https://docs.praxis-ai.com/api-reference/admin-ai-models/delete-ai-model /mdx/api-reference/admin/admin-api.json delete /api/admin/aimodel/{id} Soft-deletes an AI model. The handler prefixes the document's `name` with the current timestamp and sets `status` to `deleted`; the record is not physically removed. # Get AI model by ID Source: https://docs.praxis-ai.com/api-reference/admin-ai-models/get-ai-model-by-id /mdx/api-reference/admin/admin-api.json get /api/admin/aimodel/{id} Retrieves details of a specific AI model, with the `institution` field populated to `{ _id, name, ainame, picture }`. `api_key` is never returned; `hasApiKey` tells whether one is stored. # Get list of AI models Source: https://docs.praxis-ai.com/api-reference/admin-ai-models/get-list-of-ai-models /mdx/api-reference/admin/admin-api.json post /api/admin/aimodels Retrieves AI models with optional filtering. Two response shapes: - **Paginated mode (default):** Returns `{ success, data, total, hasMore, page, pageSize, message }`. The `institution` field on each item is populated to `{ name, ainame, picture }`. Items never carry `api_key` (write-only); they carry `hasApiKey` instead. - **Minimum mode (`minimum: true`):** Returns `{ success, data, message }` with `data` projected to `{ _id, name, model_use, status }`. No pagination fields. Used by dropdown selectors. Filter precedence: `institution` > `account` (space-separated IDs, expanded to their institutions and filtered by the caller's RAP) > the caller's own institution. # Update AI model Source: https://docs.praxis-ai.com/api-reference/admin-ai-models/update-ai-model /mdx/api-reference/admin/admin-api.json put /api/admin/aimodel/{id} Partially updates an existing AI model configuration. Only fields present in the request body are written. The handler merges `client_library` / `api_url` / `api_key` with the stored document and re-validates the resulting combination before persisting. The `api_key` is write-only; an empty string, an omitted key or the masked placeholder `••••••••` keeps the stored key, `null` clears it, and any other value replaces it. # Bulk soft-delete multiple assistants Source: https://docs.praxis-ai.com/api-reference/admin-assistants/bulk-soft-delete-multiple-assistants /mdx/api-reference/admin/admin-api.json post /api/admin/assistants/bulk-delete Soft-deletes many assistants by id (status set to `deleted`; name freed). Each target is authorized per-record (assistants.delete RAP on its institution). Returns the number deleted plus a per-id skip list. # Retrieve filtered list of assistants Source: https://docs.praxis-ai.com/api-reference/admin-assistants/retrieve-filtered-list-of-assistants /mdx/api-reference/admin/admin-api.json post /api/admin/assistants Fetches a list of AI assistants based on specified filters, with optional minimal data return # Grant or revoke Projects boards access on one membership Source: https://docs.praxis-ai.com/api-reference/admin-boards/grant-or-revoke-projects-boards-access-on-one-membership /mdx/api-reference/admin/admin-api.json put /api/admin/boards/access Sets the two Projects boards entitlements (`boards.personal`, `boards.shared`) on ONE user–institution membership row. Allowed to an administrator of that institution (`institutions.edit`) or a manager of the institution's account. The row must exist and be active (enrol the person first); only the two entitlement strings are written, nothing else on the row changes. A Praxis staff account's rights cannot be changed here (403). Design: docs/plans/2026-10-06-boards-account-entitlements-design.md (D6). # Who, in one account, has Projects boards access Source: https://docs.praxis-ai.com/api-reference/admin-boards/who-in-one-account-has-projects-boards-access /mdx/api-reference/admin/admin-api.json get /api/admin/boards/access/account/{accountId} Every non-deleted institution of the account with its ACTIVE members and their two Projects grants. A manager of the account sees every institution; anyone else sees only the account's institutions on which they hold `institutions.edit`, and is refused when that is none. A Praxis staff member's row is `locked` (the caller cannot change it). Refused with 403 where Projects grants are not enabled on the environment. Design: docs/plans/2026-10-06-boards-account-entitlements-design.md (D16). # Delete chart Source: https://docs.praxis-ai.com/api-reference/admin-charts/delete-chart /mdx/api-reference/admin/admin-api.json delete /api/admin/chart/{id} Removes a chart # Get chart by ID Source: https://docs.praxis-ai.com/api-reference/admin-charts/get-chart-by-id /mdx/api-reference/admin/admin-api.json get /api/admin/chart/{id} Retrieves a specific chart # Get list of charts Source: https://docs.praxis-ai.com/api-reference/admin-charts/get-list-of-charts /mdx/api-reference/admin/admin-api.json post /api/admin/charts Retrieves charts with optional filtering # Bulk hard-delete multiple entitlement memberships Source: https://docs.praxis-ai.com/api-reference/admin-entitlements/bulk-hard-delete-multiple-entitlement-memberships /mdx/api-reference/admin/admin-api.json post /api/admin/userInstitutions/bulk-delete Permanently removes many UserInstitution memberships by id (a HARD delete, mirroring the single delete — not a soft status flip). Each target is authorized per-row (institutions.edit RAP on the row's institution). Returns the number deleted plus a per-id skip list. # Delete a user institution by ID Source: https://docs.praxis-ai.com/api-reference/admin-entitlements/delete-a-user-institution-by-id /mdx/api-reference/admin/admin-api.json delete /api/admin/userInstitution/{id} Removes a user institution from the system. Requires admin privileges. # Enroll users into an institution Source: https://docs.praxis-ai.com/api-reference/admin-entitlements/enroll-users-into-an-institution /mdx/api-reference/admin/admin-api.json post /api/admin/userInstitutions/enroll Creates user-institution memberships for the specified users — only people who already hold an active membership of a Digital Twin of the same account (the eligibility list of `/api/admin/userInstitutions/eligible` applies the same rule); a Digital Twin without an account can enroll nobody. One ineligible user refuses the whole request (403 `ENROLL_OUTSIDE_ACCOUNT`, nothing enrolled). Skips users who are already enrolled or inactive. A Praxis staff account is not enrolled: it is left out and counted in `staffSkipped`, and `message` says why. When nobody was enrolled and one was left out, the answer is 403 `STAFF_MEMBERSHIP_READ_ONLY`. Memberships created here record the enrolling administrator, and a Digital Twin's SSO provider does not sign a person in through such a membership. Requires users.add entitlement for the target institution. # Get user institutions by user ID Source: https://docs.praxis-ai.com/api-reference/admin-entitlements/get-user-institutions-by-user-id /mdx/api-reference/admin/admin-api.json get /api/admin/userInstitutionsByUserId/{userId} Retrieves all institutions associated with a specific user ID (admin endpoint) # Get users associated with institutions Source: https://docs.praxis-ai.com/api-reference/admin-entitlements/get-users-associated-with-institutions /mdx/api-reference/admin/admin-api.json post /api/admin/userInstitutions Retrieves a list of users and their relationships with institutions based on search criteria # Get users eligible to enroll in an institution Source: https://docs.praxis-ai.com/api-reference/admin-entitlements/get-users-eligible-to-enroll-in-an-institution /mdx/api-reference/admin/admin-api.json post /api/admin/userInstitutions/eligible Returns users who are not yet members of the specified institution. Results are capped at 100. If no search term is provided, returns the first 100 eligible users. With a search term (2+ chars), filters by name or email. Praxis staff accounts are not listed. # Revoke a member's Canvas API token Source: https://docs.praxis-ai.com/api-reference/admin-entitlements/revoke-a-members-canvas-api-token /mdx/api-reference/admin/admin-api.json delete /api/admin/userInstitution/{id}/canvasToken Removes the Canvas API token stored on a membership and the Canvas account the membership is connected to, so the member can connect again with their own Canvas account. Requires the institutions.edit entitlement on the membership's Digital Twin. The member's own token management stays on PUT /api/user/userInstitution/{id}. # Update user institution attributes such as account type, status, etc. Source: https://docs.praxis-ai.com/api-reference/admin-entitlements/update-user-institution-attributes-such-as-account-type-status-etc /mdx/api-reference/admin/admin-api.json put /api/admin/userInstitution/{userId} Updates the role, the status or the admin rights of a membership. Changing the role to `user` removes the admin rights from the membership. # Bulk soft-delete multiple feedbacks Source: https://docs.praxis-ai.com/api-reference/admin-feedbacks/bulk-soft-delete-multiple-feedbacks /mdx/api-reference/admin/admin-api.json post /api/admin/feedbacks/bulk-delete Soft-deletes many feedbacks by id (status set to `deleted`). Each target is authorized per-record (feedbacks.delete RAP on its institution). Returns the number deleted plus a per-id skip list. # Delete feedback Source: https://docs.praxis-ai.com/api-reference/admin-feedbacks/delete-feedback /mdx/api-reference/admin/admin-api.json delete /api/admin/feedback/{id} Removes a feedback record # Get feedback by ID Source: https://docs.praxis-ai.com/api-reference/admin-feedbacks/get-feedback-by-id /mdx/api-reference/admin/admin-api.json get /api/admin/feedback/{id} Retrieves details of a specific feedback # Search and retrieve feedbacks Source: https://docs.praxis-ai.com/api-reference/admin-feedbacks/search-and-retrieve-feedbacks /mdx/api-reference/admin/admin-api.json post /api/admin/feedbacks Retrieves a paginated list of user feedbacks based on search criteria # Update feedback Source: https://docs.praxis-ai.com/api-reference/admin-feedbacks/update-feedback /mdx/api-reference/admin/admin-api.json put /api/admin/feedback/{id} Updates a feedback's status, the response written to the person and the respondent email. `email` is trimmed; an empty string clears it; anything that is not an email address is refused. # Bulk soft-delete multiple history records Source: https://docs.praxis-ai.com/api-reference/admin-histories/bulk-soft-delete-multiple-history-records /mdx/api-reference/admin/admin-api.json post /api/admin/histories/bulk-delete Soft-deletes many history records by id (status set to `deleted`; no hard remove, no cascade). Each target is authorized per-record (histories.delete RAP keyed on that history's own institution). Returns the number deleted plus a per-id skip list. # Compare specific institutions side-by-side Source: https://docs.praxis-ai.com/api-reference/admin-histories/compare-specific-institutions-side-by-side /mdx/api-reference/admin/admin-api.json post /api/admin/histories/charts/cross-institution Runs parallel per-institution aggregation queries for side-by-side comparison. Requires explicit institution IDs. Optionally includes a total series. Returns pre-resolved institution names for display. # Delete a specific history record Source: https://docs.praxis-ai.com/api-reference/admin-histories/delete-a-specific-history-record /mdx/api-reference/admin/admin-api.json delete /api/admin/history/{historyId} Removes a history entry from the system using its unique identifier # Delete multiple histories Source: https://docs.praxis-ai.com/api-reference/admin-histories/delete-multiple-histories /mdx/api-reference/admin/admin-api.json post /api/admin/deleteHistories Deletes multiple history records based on criteria # Get conversation model usage distribution Source: https://docs.praxis-ai.com/api-reference/admin-histories/get-conversation-model-usage-distribution /mdx/api-reference/admin/admin-api.json post /api/admin/histories/charts/model-distribution Returns the top 30 most-used conversation models within the date range and institution scope. Results are cached. # Get peak usage heatmap for conversations Source: https://docs.praxis-ai.com/api-reference/admin-histories/get-peak-usage-heatmap-for-conversations /mdx/api-reference/admin/admin-api.json post /api/admin/histories/charts/heatmap Returns conversation counts grouped by day-of-week and hour-of-day. Useful for identifying peak usage patterns. Results are cached. # Get time-series chart data for histories Source: https://docs.praxis-ai.com/api-reference/admin-histories/get-time-series-chart-data-for-histories /mdx/api-reference/admin/admin-api.json post /api/admin/histories/charts/timeline Optimized endpoint for time-series charts (bar, line, area, heatmap, scatter). Supports count, credits, usage, cached, and price dimensions. Uses a 2-step top-N query to avoid fetching data for all institutions. # Get tool usage and prompt cache census Source: https://docs.praxis-ai.com/api-reference/admin-histories/get-tool-usage-and-prompt-cache-census /mdx/api-reference/admin/admin-api.json post /api/admin/histories/charts/tools Aggregate-only census of tool usage and prompt-cache behaviour over conversation history. The response carries tool names, model names, lane names, bucket labels and counts. It never carries a user id, a conversation id, a question or an answer. Distinct users and twins are returned as counts. The limits and taskCost views also return per-twin rows keyed by the Digital Twin id, for the twins inside the caller's own scope only. One request runs one bounded view. The window is at most 31 days (a wider window is rejected, never clamped) and defaults to the last 7 days. Results are cached. An administrator of one Digital Twin only ever sees that twin. Only real turns are counted - rows stamped by the turn save path (every saved turn since 2026-09-10) plus avatar embed sessions. Uploads, sign-in events and other non-turn history rows are left out. A window that starts before 2026-09-10 is answered with a warning, because older turns carry no marker. Lanes - qanda is a single-shot text turn, convo is one Convo Mode (realtime) or avatar embed session per row, agentic is a turn that ran a conductor, background workers or a plan execution (its tools are the conductor's own), and workers (tools view only) counts the tools that the background workers of a turn ran. A tool that appears only under workers is never called by a single-shot turn. The qanda lane means "no background worker and not Convo". It holds classic questions and also the Basic mode of the new interface, where one model chats and runs tools itself. The tier and modeSource filters tell them apart - every turn saved since 2026-09-12 records the mode it ran in (auto, basic, advanced, expert or mythical) and where that mode came from (request - the send named a mode, from either interface, membership - the send named none and the server applied the member's saved mode, default - nothing named a mode). The tier is the mode that was DECLARED - a caller that asks for the single-model lane without naming a tier is recorded as auto. modeSource does not tell the classic interface from the new one. With splitByTier the tools and turns views return one row per tier, and a row that carries no mode at all (an avatar embed session) is labelled none. Avatar embed sessions are therefore left out by any tier or modeSource filter. Labels are vetted - a tool label is a platform tool name, mcp_bridged or other, and a model label that does not look like a model name is returned as other. Tools reached through an MCP connector are counted together as mcp_bridged, because their stored name carries the connector label chosen by the customer. The twins count treats the personal scope (no twin) as one twin. Approximations - sameSlotTurns counts turns that share a clock-aligned five-minute slot with an earlier turn of the same conversation, which is a lower bound on follow-ups that land inside a five-minute prompt cache. A conversation is a user, a twin and a course_id, and a row without course_id counts as its own conversation. # Get totals chart data for histories Source: https://docs.praxis-ai.com/api-reference/admin-histories/get-totals-chart-data-for-histories /mdx/api-reference/admin/admin-api.json post /api/admin/histories/charts/totals Optimized endpoint for total/summary charts (pie, donut, radialBar, radar, polarArea). No time bucketing — returns aggregated totals per institution sorted by value. Top-N handled entirely in MongoDB via $sort + $limit. # Get unique user count chart data Source: https://docs.praxis-ai.com/api-reference/admin-histories/get-unique-user-count-chart-data /mdx/api-reference/admin/admin-api.json post /api/admin/histories/charts/users Dedicated endpoint for dimension=users queries. Uses a double-$group pipeline to count unique users per time bucket and institution. # Get weekly chart data for admin histories Source: https://docs.praxis-ai.com/api-reference/admin-histories/get-weekly-chart-data-for-admin-histories /mdx/api-reference/admin/admin-api.json post /api/admin/histories/charts/weekly Retrieves chart data for administrative history tracking with configurable granularity and time range # Lazy-fetch the bulk thinking and reasoning array for a single History record (admin) Source: https://docs.praxis-ai.com/api-reference/admin-histories/lazy-fetch-the-bulk-thinking-and-reasoning-array-for-a-single-history-record-admin /mdx/api-reference/admin/admin-api.json get /api/admin/history/{id}/thinking List endpoints project out the bulk `thinking` text and expose only `hasThinking` (boolean) + `thinkingCount` (number of reasoning rounds). This endpoint returns the full thinking array on demand. Permission mirrors `getHistoryById`: the History owner sees their own; otherwise the requesting admin must have the `histories.list` entitlement on the History's institution. # Lazy-fetch the structured RAG-KAG retrieval segments for a single History record (admin) Source: https://docs.praxis-ai.com/api-reference/admin-histories/lazy-fetch-the-structured-rag-kag-retrieval-segments-for-a-single-history-record-admin /mdx/api-reference/admin/admin-api.json get /api/admin/history/{id}/ragSearch List endpoints project out the bulk `ragSearch` array (multi-KB per row) and expose only `hasRagSearch`, `ragSearchCount`, and `ragSearchMode`. This endpoint returns the full structured retrieval array on demand. Permission mirrors `getHistoryById`: owner sees their own; otherwise admin must have `histories.list` on the institution. Confidential chunks arrive pre-redacted (≤100 chars + suffix when the original exceeded the preview cap). # Long-format per-user-per-period usage extract Source: https://docs.praxis-ai.com/api-reference/admin-histories/long-format-per-user-per-period-usage-extract /mdx/api-reference/admin/admin-api.json post /api/admin/histories/charts/user-stats Aggregates query count and credit usage per `(user, institution, period)` for admin reporting / CSV export. One row per non-zero usage bucket. Capped at 5000 rows; the response sets `truncated: true` when the cap is reached. Excludes histories that the user has flagged as `forgotten`. # Retrieve conversation histories for admin users Source: https://docs.praxis-ai.com/api-reference/admin-histories/retrieve-conversation-histories-for-admin-users /mdx/api-reference/admin/admin-api.json post /api/admin/histories Fetches conversation history data filtered by institution, user search term, and result limit # Retrieve detailed history record by ID Source: https://docs.praxis-ai.com/api-reference/admin-histories/retrieve-detailed-history-record-by-id /mdx/api-reference/admin/admin-api.json get /api/admin/history/{historyId} Get comprehensive information about a specific conversation history record including user details, institution info, usage metrics, and conversation data # Subagent efficiency over the turn trace (last 31 days) Source: https://docs.praxis-ai.com/api-reference/admin-histories/subagent-efficiency-over-the-turn-trace-last-31-days /mdx/api-reference/admin/admin-api.json post /api/admin/histories/charts/subagent-efficiency Aggregates `history.turnTrace` — the timing / effort record of every conducted turn — per conductor model × mode × surface (turns, p50 / p90 turn time, conductor wall and wait ratio, rounds, tool calls, tokens, credits, synthesis source mix, worker counts, refusals / retries / steers / follow-ups) and per worker role (queue, first-token, first-tool and tool-time medians, duration p50 / p90, rounds, outcomes). Same scope rules as user-stats (an institution admin sees their twin); the window is clamped to 31 days; at most 5000 rows feed each aggregation. `coverage` reports how many conducted turns in the window carried a trace. # Bulk soft-delete multiple institutions Source: https://docs.praxis-ai.com/api-reference/admin-institutions/bulk-soft-delete-multiple-institutions /mdx/api-reference/admin/admin-api.json post /api/admin/institutions/bulk-delete Soft-deletes many institutions (status `deleted`, name freed, credits returned to the parent account or acting user, memberships cascaded). Each target is authorized per-institution (institutions.delete RAP). # Clone an institution Source: https://docs.praxis-ai.com/api-reference/admin-institutions/clone-an-institution /mdx/api-reference/admin/admin-api.json post /api/admin/cloneInstitution/{id} Creates a copy of an existing institution with all settings # Create a new institution Source: https://docs.praxis-ai.com/api-reference/admin-institutions/create-a-new-institution /mdx/api-reference/admin/admin-api.json post /api/admin/institution Creates a new institution in the system # Delete an institution Source: https://docs.praxis-ai.com/api-reference/admin-institutions/delete-an-institution /mdx/api-reference/admin/admin-api.json delete /api/admin/institution/{id} Removes an institution from the system. The response carries the deleted twin without its secret fields. # Disable agent workspace desired state Source: https://docs.praxis-ai.com/api-reference/admin-institutions/disable-agent-workspace-desired-state /mdx/api-reference/admin/admin-api.json post /api/admin/institution/{id}/agent/disable Marks the instance agent workspace as disabled. MVP disable does not stop existing ECS tasks or delete EFS access points; operators must reap runtime resources separately until lifecycle reaping is implemented. # Generate about text for institution Source: https://docs.praxis-ai.com/api-reference/admin-institutions/generate-about-text-for-institution /mdx/api-reference/admin/admin-api.json post /api/admin/generateAbout Uses AI to generate an about section based on institution questions # Get a Digital Twin's settings Source: https://docs.praxis-ai.com/api-reference/admin-institutions/get-a-digital-twins-settings /mdx/api-reference/admin/admin-api.json get /api/admin/institution/{id} Returns one Digital Twin's settings as the twin editor loads them. The caller needs the institutions.edit entitlement on that twin. The twin's secret fields (its provider API keys, `mcpServerSecret`, `mcpSigningSecret`, `curationSecret`, `canvasClientSecret`, `kalturaSecret`, `aws_secret_access_key` and `canvasFacultyAccessToken`) are returned only to an administrator signed in to the app. A request made with a session obtained from an API key (`POST /api/auth/api-key-signin`) receives the settings without any of these fields. A `PUT` made with such a session ignores a blank value for any of them, so it cannot clear a stored secret; a non-empty value still replaces it. To rotate a secret from a script, send the new value with `PUT`: the current value is never needed. # Get agent workspace state for an instance Source: https://docs.praxis-ai.com/api-reference/admin-institutions/get-agent-workspace-state-for-an-instance /mdx/api-reference/admin/admin-api.json get /api/admin/institution/{id}/agent Returns the desired agent workspace state for one Digital Twin instance. Requires admin access and institutions.edit RAP for the target instance. # Get institution details by ID Source: https://docs.praxis-ai.com/api-reference/admin-institutions/get-institution-details-by-id /mdx/api-reference/admin/admin-api.json get /api/admin/institution/{institutionId} Retrieves detailed information about a specific institution including configuration, credits, and settings # Make an instance an agent Source: https://docs.praxis-ai.com/api-reference/admin-institutions/make-an-instance-an-agent /mdx/api-reference/admin/admin-api.json post /api/admin/institution/{id}/agent/activate Enables agent desired state for one Digital Twin instance and starts workspace provisioning using the configured backend mode. The request body is whitelisted; runtime fields such as desktopPath and externalId are server-owned. # Reassign an institution to a different account Source: https://docs.praxis-ai.com/api-reference/admin-institutions/reassign-an-institution-to-a-different-account /mdx/api-reference/admin/admin-api.json patch /api/admin/institution/{id}/account Clean-room endpoint with strict field whitelisting. Only the `account` field is accepted. The caller must have access to both the source institution and the target account. # Release a Digital Twin's credits to its account Source: https://docs.praxis-ai.com/api-reference/admin-institutions/release-a-digital-twins-credits-to-its-account /mdx/api-reference/admin/admin-api.json put /api/admin/freeInstitutionCreditsById/{id} The **Release Credits** action of the admin console. Moves all of a Digital Twin's remaining credits back to the account the twin belongs to: the twin's balance becomes 0, the account's grows by the same amount, and the move is recorded in the account's transfers. A twin that belongs to no account returns its credits to the caller's own balance instead. The caller needs the institutions.edit entitlement on that twin. The request has no body. # Retrieve list of institutions Source: https://docs.praxis-ai.com/api-reference/admin-institutions/retrieve-list-of-institutions /mdx/api-reference/admin/admin-api.json post /api/admin/institutions Get a list of institutions with their details and statistics. Three shapes: `minimum` (picker fields, unpaginated), `compact` (table columns) and the default full shape. No shape returns provider keys or other secret fields — read one institution by id to edit those. # Retry failed agent workspace provisioning Source: https://docs.praxis-ai.com/api-reference/admin-institutions/retry-failed-agent-workspace-provisioning /mdx/api-reference/admin/admin-api.json post /api/admin/institution/{id}/agent/retry Re-runs provisioning only when the current agent status is failed; other lifecycle states are idempotent no-ops. # Update an institution Source: https://docs.praxis-ai.com/api-reference/admin-institutions/update-an-institution /mdx/api-reference/admin/admin-api.json put /api/admin/institution/{id} Updates a Digital Twin's settings. The caller needs the institutions.edit entitlement on that twin; a field the caller is not allowed to change is dropped. Only the keys sent are written. Model fields are validated against the model catalog before anything is written. Under `cloudServices` only the switches of each provider are written, leaf by leaf (a provider's connection is managed by its own connect and disconnect routes). A switch the caller is not allowed to change is ignored, and the rest of the request is saved. `presentationPlainLanguageServer` (the server-wide level of video requests in chat that the twin read returns, 'off' | 'ask' | 'on') is read-only and ignored here, and so is `presentationNarrationVoice` (the twin read's true / false: this twin can narrate a video — in its own voice once that voice is approved, or in the server's stock voice). Changing `anam_voice_id` or `cartesia_voice_id` to a different voice withdraws the approval of the twin's own voice; to approve the new one, contact the Praxis AI team at humans@praxis-ai.com. # Update an institution configuration Source: https://docs.praxis-ai.com/api-reference/admin-institutions/update-an-institution-configuration /mdx/api-reference/admin/admin-api.json put /api/admin/institution/{institutionId} Updates the configuration settings for a specific institution # Create a new MCP server Source: https://docs.praxis-ai.com/api-reference/admin-mcp-servers/create-a-new-mcp-server /mdx/api-reference/admin/admin-api.json post /api/admin/mcpserver Creates a new Model Context Protocol server configuration # Delete MCP server Source: https://docs.praxis-ai.com/api-reference/admin-mcp-servers/delete-mcp-server /mdx/api-reference/admin/admin-api.json delete /api/admin/mcpserver/{id} Removes an MCP server configuration # Get list of MCP servers Source: https://docs.praxis-ai.com/api-reference/admin-mcp-servers/get-list-of-mcp-servers /mdx/api-reference/admin/admin-api.json post /api/admin/mcpservers Retrieves all MCP servers with optional filtering # Get MCP server by ID Source: https://docs.praxis-ai.com/api-reference/admin-mcp-servers/get-mcp-server-by-id /mdx/api-reference/admin/admin-api.json get /api/admin/mcpserver/{id} Retrieves details of a specific MCP server # Test a connector and list its tools Source: https://docs.praxis-ai.com/api-reference/admin-mcp-servers/test-a-connector-and-list-its-tools /mdx/api-reference/admin/admin-api.json post /api/admin/mcpserver/test Asks an MCP server for its tool list with the values in the connector editor, saved or not. It is the same discovery a conversation runs (https only, private and local addresses refused, redirects refused, about half a minute at most), asked for a live answer. Same right as saving a connector: an admin holding `institutions.edit` on the connector's Digital Twin. **Authorization header:** a non-empty string is used as typed; `null` means none; an empty or absent value means the stored one (the editor never holds it). The stored value is only ever sent to the stored origin: when `server_url` names another scheme, host or port and no header is typed, the answer is 400. A completed test always answers 200; `ok` says whether the server answered. # Update MCP server Source: https://docs.praxis-ai.com/api-reference/admin-mcp-servers/update-mcp-server /mdx/api-reference/admin/admin-api.json put /api/admin/mcpserver/{id} Updates an existing MCP server configuration # Bulk hard-delete memory parameters for a user (filter-aware). Source: https://docs.praxis-ai.com/api-reference/admin-memory/bulk-hard-delete-memory-parameters-for-a-user-filter-aware /mdx/api-reference/admin/admin-api.json delete /api/admin/memory/user/{userId} Deletes only rows you may see (as for the GET above). When `ids` is provided, deletes only those rows after re-checking access per row. Otherwise filters by namespace/shared. # Bulk hard-delete shared memory parameters for an instance (filter-aware). Source: https://docs.praxis-ai.com/api-reference/admin-memory/bulk-hard-delete-shared-memory-parameters-for-an-instance-filter-aware /mdx/api-reference/admin/admin-api.json delete /api/admin/memory/institution/{instId} # Edit a single memory parameter (whitelisted fields only). Source: https://docs.praxis-ai.com/api-reference/admin-memory/edit-a-single-memory-parameter-whitelisted-fields-only /mdx/api-reference/admin/admin-api.json patch /api/admin/memory/{id} Whitelist: key_value, key_description, shared. key_name and key_namespace cannot be edited via PATCH because they are part of the unique index; to rename, delete + recreate. A row on a Digital Twin needs users.edit there; a personal row of another account needs the access described on GET /api/admin/memory/user/{userId}, otherwise 403. # Hard-delete a single memory parameter. Source: https://docs.praxis-ai.com/api-reference/admin-memory/hard-delete-a-single-memory-parameter /mdx/api-reference/admin/admin-api.json delete /api/admin/memory/{id} Same access as PATCH; otherwise 403. # List memory parameters for a user, grouped by institution. Source: https://docs.praxis-ai.com/api-reference/admin-memory/list-memory-parameters-for-a-user-grouped-by-institution /mdx/api-reference/admin/admin-api.json get /api/admin/memory/user/{userId} Returns the account's memory rows that you may see: its rows on the Digital Twins where you hold users.edit and the account has joined itself (an active membership of its own, or one the person accepted), plus its personal rows when there is at least one such Digital Twin. A membership you added by importing the address counts only once the person has used it. Otherwise `data` is empty. # List shared memory parameters for an instance. Source: https://docs.praxis-ai.com/api-reference/admin-memory/list-shared-memory-parameters-for-an-instance /mdx/api-reference/admin/admin-api.json get /api/admin/memory/institution/{instId} Requires users.edit on the Digital Twin. # List payments Source: https://docs.praxis-ai.com/api-reference/admin-payments/list-payments /mdx/api-reference/admin/admin-api.json post /api/admin/stripePayments Retrieves a paginated list of Stripe payments with optional filtering by account, institution, or user search # Analyze a prompt Source: https://docs.praxis-ai.com/api-reference/admin-questions/analyze-a-prompt /mdx/api-reference/admin/admin-api.json post /api/admin/analyzePrompt Analyzes a prompt for quality and provides suggestions # Generate institution system prompt Source: https://docs.praxis-ai.com/api-reference/admin-questions/generate-institution-system-prompt /mdx/api-reference/admin/admin-api.json post /api/admin/generateInstitutionPrompt Generates a system prompt based on institution questions # Retrieve institution questions Source: https://docs.praxis-ai.com/api-reference/admin-questions/retrieve-institution-questions /mdx/api-reference/admin/admin-api.json post /api/admin/institutionQuestions Get questions associated with a specific institution, with option for minimum data # Retrieve institutional assessment questions Source: https://docs.praxis-ai.com/api-reference/admin-questions/retrieve-institutional-assessment-questions /mdx/api-reference/admin/admin-api.json post /api/admin/questions Fetches a list of questions used for institutional assessments, with optional filtering for minimal data # Bulk soft-delete multiple sessions Source: https://docs.praxis-ai.com/api-reference/admin-sessions/bulk-soft-delete-multiple-sessions /mdx/api-reference/admin/admin-api.json post /api/admin/sessions/bulk-delete Soft-deletes many sessions by id (status set to `deleted`). Each target is authorized per-record (sessions.delete RAP on its institution). Returns the number deleted plus a per-id skip list. # Get session analytics charts Source: https://docs.praxis-ai.com/api-reference/admin-sessions/get-session-analytics-charts /mdx/api-reference/admin/admin-api.json post /api/admin/sessions/charts Returns distribution charts for OS, browser, device type, daily activity timeline, and a day-of-week/hour-of-day peak usage heatmap. Results are cached. When more than 100k sessions match the filter and no institution/account filter is set, the date range is auto-narrowed to 3 days for memory safety. Distribution charts are capped at 100k most-recent sessions. # Get session by ID Source: https://docs.praxis-ai.com/api-reference/admin-sessions/get-session-by-id /mdx/api-reference/admin/admin-api.json get /api/admin/session/{id} Retrieves a single session by Mongo ObjectId. user and institution are populated with trimmed projections. # Search and retrieve active sessions Source: https://docs.praxis-ai.com/api-reference/admin-sessions/search-and-retrieve-active-sessions /mdx/api-reference/admin/admin-api.json post /api/admin/sessions Retrieves a paginated list of user sessions based on search criteria # Soft-delete a session Source: https://docs.praxis-ai.com/api-reference/admin-sessions/soft-delete-a-session /mdx/api-reference/admin/admin-api.json delete /api/admin/session/{id} Sets the session's status to 'deleted' (soft delete tombstone). The row is preserved in the database. # List tools Source: https://docs.praxis-ai.com/api-reference/admin-tools/list-tools /mdx/api-reference/admin/admin-api.json post /api/admin/tools Returns the tool list as a lightweight projection (`name, _id, status, description, rtEnabled, rtOnly, categories`) with no pagination, as used by the RT dropdown selectors. Set `minimum` to `true`; a request without it is refused with 403. Excludes both `deleted` and `inactive` tools. Pass `institution` to additionally get Google-service availability flags (`unavailable`/`unavailableReason`/`locked`) computed for that institution. # Get upload by ID Source: https://docs.praxis-ai.com/api-reference/admin-uploads/get-upload-by-id /mdx/api-reference/admin/admin-api.json get /api/admin/upload/{id} Retrieves a single upload by Mongo ObjectId with user and institution populated. The thumbnail Buffer is returned base64-encoded, and if the embeddings DB connection is ready an embeddings array of chunk text (sorted by chunkIndex) is attached. Any signed-in user may call this route, and it answers only for a file the caller may read: a public file, the caller is its owner, or an active member of the Digital Twin that holds it (or of a sibling twin for an account-shared file). A confidential file is readable by its owner only. Any other file is reported as not found. # Usage-vs-cap reporting (per-user) or account-wide at-limit counts. Source: https://docs.praxis-ai.com/api-reference/admin-usage-limits/usage-vs-cap-reporting-per-user-or-account-wide-at-limit-counts /mdx/api-reference/admin/admin-api.json get /api/admin/usage-limits Two modes selected by query parameters: - `userId` + `institutionId` (or `instanceId` alias): one user's usage-vs-cap gauges plus over-time `{buckets, totals}` (same shape as the user usage chart). - `accountId`: account-wide counts of users/memberships at or over a cap. Per-user mode needs the `users.edit` entitlement on the Digital Twin asked about, which must be the twin the person is reached through (their current twin, or yours when they joined it themselves). Account mode needs the `institutions.edit` entitlement on one of the account's Digital Twins. # Bulk-set the status of multiple users Source: https://docs.praxis-ai.com/api-reference/admin-users/bulk-set-the-status-of-multiple-users /mdx/api-reference/admin/admin-api.json put /api/admin/users/bulk-status Sets `status` to `active` or `inactive` for many users in one request. Each target is authorized per-user (users.edit RAP), so a per-institution admin only affects their own users; the caller's own id is always skipped. Returns the number updated plus a per-id skip list. An account with no current twin that has not joined your current Digital Twin (an active membership of its own, or one the person accepted) is skipped as not permitted. # Bulk soft-delete multiple users Source: https://docs.praxis-ai.com/api-reference/admin-users/bulk-soft-delete-multiple-users /mdx/api-reference/admin/admin-api.json post /api/admin/users/bulk-delete Soft-deletes many users in one request (status set to `deleted` and the email timestamp-prefixed to free it for reuse — never a hard delete). Each target is authorized per-user (users.delete RAP), so a per-institution admin only affects their own users; the caller's own id is always skipped. Returns the number deleted plus a per-id skip list. An account with no current twin that has not joined your current Digital Twin (an active membership of its own, or one the person accepted) is skipped as not permitted. # Create a user, or add an existing account to a digital twin Source: https://docs.praxis-ai.com/api-reference/admin-users/create-a-user-or-add-an-existing-account-to-a-digital-twin /mdx/api-reference/admin/admin-api.json post /api/admin/user Creates the user when the email is new. A new user gets 50 credits, or the Digital Twin's credit award. When plan is 'sdk' with a valid `institution` (the API's word for a Digital Twin: your Digital Twin's _id), the user is enrolled into that Digital Twin. `accountType` must be user or admin. When the email already belongs to a live account, that account is not edited: credits, status, plan, current twin, names, password, MFA and preferences stay as they are. Change them with PUT /api/admin/user/{userId}. The account is added to `institution` if it is not a member yet, with `accountType` as its role there, and `accountType` is applied to the account only when it raises it. When request fields were dropped, the response lists them in `ignoredFields`. Without `institution`, or when `institution` is already the account's current twin, the call answers "User already exists" and changes nothing. A soft-deleted account whose email still matches is re-added like a new one. Re-adding one that has no current Digital Twin answers 403 unless it holds an active membership of its own on your current Digital Twin. The membership this adds records the enrolling administrator, and the Digital Twin's sign-in provider does not sign the person in through it until they use the Digital Twin from a session they signed into with their password (switching to it, or that sign-in itself). # Delete a user by ID Source: https://docs.praxis-ai.com/api-reference/admin-users/delete-a-user-by-id /mdx/api-reference/admin/admin-api.json delete /api/admin/user/{userId} Permanently removes a user from the system. This is an admin-only operation. # Edit a user (Admin only) Source: https://docs.praxis-ai.com/api-reference/admin-users/edit-a-user-admin-only /mdx/api-reference/admin/admin-api.json put /api/admin/user/{userId} Edits an existing account; this is the Users edit page. On an existing account, credits, plan, current twin (`institution`, applied together with plan 'sdk'), names, password and MFA change only here; status also changes through the bulk status endpoint and DELETE. Requires users.edit on the account's current twin, and on `institution` whenever it names a different twin. A `credits` value, or a `plan` other than the account's own, that you are not allowed to change is ignored. An account with no current twin can be edited only once the person has joined your current Digital Twin (an active membership of their own, or one they accepted); while it has not joined your current Digital Twin, the call answers 403 and changes nothing. What counts is that the membership is the person's own: a pending, suspended or removed one does not count while it stays so, and counts again once your Digital Twin's administrators set it back to active. A new `accountType` must be user or admin. Setting status to 'deleted' deletes the user and needs users.delete. # Get user details by ID (Admin only) Source: https://docs.praxis-ai.com/api-reference/admin-users/get-user-details-by-id-admin-only /mdx/api-reference/admin/admin-api.json get /api/admin/user/{userId} Retrieves detailed information about a specific user. Requires admin privileges. # Live 24h cap-effectiveness analytics Source: https://docs.praxis-ai.com/api-reference/admin-users/live-24h-cap-effectiveness-analytics /mdx/api-reference/admin/admin-api.json post /api/admin/users/cap-effectiveness For every institution in the caller's scope that has an ACTIVE per-user 24-hour credit cap, reports how many members are at/over their cap right now (reached) versus under it. Scope is resolved exactly like the user list (institution → account → the institutions the caller administers). Usage is the pooled 24h credit sum per member; members with no recorded pooled usage count as under the cap. # Merge a source user into a target user Source: https://docs.praxis-ai.com/api-reference/admin-users/merge-a-source-user-into-a-target-user /mdx/api-reference/admin/admin-api.json post /api/admin/users/merge Admin operation. Repoints every ref:'user' across both connections (main + embeddings), unions user_institution memberships (higher role, unioned entitlements/favorites, summed credits), revokes the source's auth/session/credential artifacts, hard-deletes the source, and writes a userMergeAuditLog. Authorization is dual-RAP (source users.delete + target users.edit). A dryRun returns the preview; applying requires confirm:true. # Search and retrieve users for admin management Source: https://docs.praxis-ai.com/api-reference/admin-users/search-and-retrieve-users-for-admin-management /mdx/api-reference/admin/admin-api.json post /api/admin/users Retrieves a list of users based on search criteria including institution, account type, and search terms # Add a reviewer note to a Praxis Shield incident Source: https://docs.praxis-ai.com/api-reference/admin/add-a-reviewer-note-to-a-praxis-shield-incident /mdx/api-reference/admin/admin-api.json post /api/admin/security/threats/{incidentId}/notes Appends a reviewer note to the incident. Mounted under the admin gate (isAdmin) and RAP-scoped via the `institutions.edit` entitlement: the caller must manage at least one of the incident's institutions. # Get a full Praxis Shield incident (with evidence + LLM assessments) Source: https://docs.praxis-ai.com/api-reference/admin/get-a-full-praxis-shield-incident-with-evidence-+-llm-assessments /mdx/api-reference/admin/admin-api.json get /api/admin/security/threats/{incidentId} Returns the full incident document — unlike the list endpoint this does NOT strip `evidence`/`llmAssessments` (the client needs them to render the detail modal). Mounted under the admin gate (isAdmin) and RAP-scoped via the `institutions.list` entitlement: the caller must manage at least one of the incident's institutions. Evidence/LLM text is attacker-influenced and MUST be rendered inert by the client. # Get the live flagged history records cited by a Praxis Shield incident Source: https://docs.praxis-ai.com/api-reference/admin/get-the-live-flagged-history-records-cited-by-a-praxis-shield-incident /mdx/api-reference/admin/admin-api.json get /api/admin/security/threats/{incidentId}/history Returns the live history record(s) referenced by the incident's evidence (deduplicated). Mounted under the admin gate (isAdmin) and RAP-scoped via the `institutions.list` entitlement: the caller must manage at least one of the incident's institutions. Only inert-safe fields are projected (never secrets, embeddings, or full payloads). The `input`/`output`/`tools` text is attacker-influenced and MUST be rendered INERT by the client. # List a target user's active MFA-trusted devices (admin) Source: https://docs.praxis-ai.com/api-reference/admin/list-a-target-users-active-mfa-trusted-devices-admin /mdx/api-reference/admin/admin-api.json get /api/admin/users/{userId}/trusted-devices Same shape as the user-self endpoint, but admin-gated: the caller must hold `users.edit` on the account's current Digital Twin. An account with no current Digital Twin is reachable only once it has joined your current Digital Twin (an active membership of its own, or one the person accepted; a suspended or removed one counts again once your Digital Twin's administrators set it back to active — what counts is that it is the person's own). Listing is useful before deciding to revoke an individual device for the user. # List Praxis Shield threat incidents for the caller's managed institutions Source: https://docs.praxis-ai.com/api-reference/admin/list-praxis-shield-threat-incidents-for-the-callers-managed-institutions /mdx/api-reference/admin/admin-api.json get /api/admin/security/threats Returns Security-Watcher incidents scoped to the institutions the caller administers. Mounted under the admin gate (isAdmin) and additionally scoped per-institution inside the handler via the `institutions.list` entitlement — so a Digital Twin admin (global accountType 'admin') sees only the institutions they manage. Heavy evidence/LLM payloads are omitted; returned text is attacker- influenced and MUST be rendered inert by the client. # Record a reviewer action intent on a Praxis Shield incident Source: https://docs.praxis-ai.com/api-reference/admin/record-a-reviewer-action-intent-on-a-praxis-shield-incident /mdx/api-reference/admin/admin-api.json post /api/admin/security/threats/{incidentId}/actions Appends an INTENT-ONLY reviewer action to the incident (recorded for audit but never executed by the institution panel — `metadata.intentOnly` is forced true). Mounted under the admin gate (isAdmin) and RAP-scoped via the `institutions.edit` entitlement: the caller must manage at least one of the incident's institutions. # Revoke ALL trusted devices for a target user (admin) Source: https://docs.praxis-ai.com/api-reference/admin/revoke-all-trusted-devices-for-a-target-user-admin /mdx/api-reference/admin/admin-api.json delete /api/admin/users/{userId}/trusted-devices Revokes every active trusted-device row for the target, with the same access rule as the list. The audit log records who revoked them. Does NOT invalidate the target's existing JWT — only forces fresh MFA on their next login (design Q9 grandfather rule). # Suspend the user flagged by a Praxis Shield incident Source: https://docs.praxis-ai.com/api-reference/admin/suspend-the-user-flagged-by-a-praxis-shield-incident /mdx/api-reference/admin/admin-api.json post /api/admin/security/threats/{incidentId}/suspend-user Remediation action. Sets ONLY the userInstitution memberships tying the user to the incident institutions the caller administers inactive; the account stays active elsewhere and no tokens are revoked. Mounted under the admin gate (isAdmin) and scoped per-institution via the `institutions.edit` entitlement. Cannot suspend yourself. # Twin admin — allow or disallow members to run seats on their VM's own Synaps login. Source: https://docs.praxis-ai.com/api-reference/admin/twin-admin-—-allow-or-disallow-members-to-run-seats-on-their-vms-own-synaps-login /mdx/api-reference/runtime/runtime-api.json put /api/admin/institution/{id}/agent-vm-local-login # Twin admin — read whether members may use their VM's own Synaps login Source: https://docs.praxis-ai.com/api-reference/admin/twin-admin-—-read-whether-members-may-use-their-vms-own-synaps-login /mdx/api-reference/runtime/runtime-api.json get /api/admin/institution/{id}/agent-vm-local-login # Update a Praxis Shield incident (status / severity / categories) Source: https://docs.praxis-ai.com/api-reference/admin/update-a-praxis-shield-incident-status-severity-categories /mdx/api-reference/admin/admin-api.json patch /api/admin/security/threats/{incidentId} Updates the incident's triage fields. Mounted under the admin gate (isAdmin) and RAP-scoped via the `institutions.edit` entitlement: the caller must manage at least one of the incident's institutions. The change is audited (a `patch_incident` reviewerAction is appended). # Always refused — the daemon configuration is managed by Pria Source: https://docs.praxis-ai.com/api-reference/agents/always-refused-—-the-daemon-configuration-is-managed-by-pria /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/v2/config # Check whether a local Synaps login for one provider is present and usable on the caller's VM Source: https://docs.praxis-ai.com/api-reference/agents/check-whether-a-local-synaps-login-for-one-provider-is-present-and-usable-on-the-callers-vm /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/vm-login/probe Asks the caller's own agent daemon (SynapsCLI SessionQuery auth_status) on a throwaway session. Only booleans and an expiry come back. # Choose the providers whose seats run on the VM's own Synaps login. Source: https://docs.praxis-ai.com/api-reference/agents/choose-the-providers-whose-seats-run-on-the-vms-own-synaps-login /mdx/api-reference/runtime/runtime-api.json put /api/user/agents/vm-login An empty list turns the mode off and is always allowed. A non-empty list needs eligibility (403 with the code). 409 VM_LOGIN_BUSY while a durable remote run is live: a switch restarts the agent daemon. # Create a workflow (owner and twin come from the session, never the body) Source: https://docs.praxis-ai.com/api-reference/agents/create-a-workflow-owner-and-twin-come-from-the-session-never-the-body /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/v2/workflows # Daemon + bridge versions Source: https://docs.praxis-ai.com/api-reference/agents/daemon-+-bridge-versions /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/v2/info # Default + favorite models for the daemon's model picker Source: https://docs.praxis-ai.com/api-reference/agents/default-+-favorite-models-for-the-daemons-model-picker /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/v2/models # Delete a workflow (its run records stay; a run in progress finishes) Source: https://docs.praxis-ai.com/api-reference/agents/delete-a-workflow-its-run-records-stay;-a-run-in-progress-finishes /mdx/api-reference/runtime/runtime-api.json delete /api/user/agents/v2/workflows/{id} # Ensure the caller's persistent Synaps daemon is running (agentsv2) Source: https://docs.praxis-ai.com/api-reference/agents/ensure-the-callers-persistent-synaps-daemon-is-running-agentsv2 /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/v2/daemon Starts — or re-arms with fresh brokered credentials — ONE long-lived `synaps daemon` per user on the institution's Account VM, bound to a running agent session (presetKey `daemon`) that the guest's credential relays renew against. Idempotent. Capability surface = the system desktop preset. Access is the /pria/agents gate: the instance has the agent product (`agentsAllowed`) and the caller holds `agent_operator` on it; the agentic credit gate runs at start. # Get current user's agent workspace status Source: https://docs.praxis-ai.com/api-reference/agents/get-current-users-agent-workspace-status /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/workspace/me Returns the agent desired state from the user's active instance plus the per-user workspace read model. # Issue a short-lived ticket for the caller's KasmVNC desktop Source: https://docs.praxis-ai.com/api-reference/agents/issue-a-short-lived-ticket-for-the-callers-kasmvnc-desktop /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/workspace/ticket Mints a single-use, 60-second JWT ticket the browser uses to open a WebSocket to the in-band desktop proxy at `/api/agents/workspace/vnc/`. The endpoint enforces: - Sec-Fetch-Site: same-origin only — cross-site invocation is rejected. - Per-user rate limiting via `createWorkspaceTicketLimiter()` (keyed on `req.user._id`; IP only as fallback for unauthenticated requests). - Ownership: the workspace must belong to the caller and be in `status: 'ready'`. The returned `vncPassword` is the RFB-protocol password KasmVNC requires during the WebSocket handshake (separate from the HTTP Basic auth the proxy applies server-side). Both the ticket and the password are short-lived; obtain a fresh pair for each desktop session. # One workflow Source: https://docs.praxis-ai.com/api-reference/agents/one-workflow /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/v2/workflows/{id} # Read-only snapshot of the daemon's configuration (managed by Pria) Source: https://docs.praxis-ai.com/api-reference/agents/read-only-snapshot-of-the-daemons-configuration-managed-by-pria /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/v2/config # Replace the caller's agent email allowlist on their current twin Source: https://docs.praxis-ai.com/api-reference/agents/replace-the-callers-agent-email-allowlist-on-their-current-twin /mdx/api-reference/runtime/runtime-api.json put /api/user/agents/email-allowlist Addresses are trimmed, lowercased and de-duplicated; at most 100. An empty list clears it (the agent can then send no email). Same-site requests only. Send `twin` (the id the GET returned) so a page left open while the caller switched Digital Twin elsewhere cannot save its list onto the other twin. # Run now — a new session in the caller's daemon with the instruction as its first prompt Source: https://docs.praxis-ai.com/api-reference/agents/run-now-—-a-new-session-in-the-callers-daemon-with-the-instruction-as-its-first-prompt /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/v2/workflows/{id}/run Starts the daemon when needed, opens a new session on the workflow's twin with the run's system prompt (the agent identity plus a line saying nobody is watching), submits the instruction, and answers 202 as soon as the session exists. Confirmations during the run are declined. When streaming ends the session is ended (saved; it stays in Recent) and the run record settles. One run per workflow at a time. # Saved daemon sessions (headers only, most recent first) Source: https://docs.praxis-ai.com/api-reference/agents/saved-daemon-sessions-headers-only-most-recent-first /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/v2/sessions # Single-use ticket for the daemon WebSocket Source: https://docs.praxis-ai.com/api-reference/agents/single-use-ticket-for-the-daemon-websocket /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/v2/ticket 60-second, single-use ticket bound to {user, institution, daemon session}. Connect with `GET /api/agents/v2/ws?ticket=…` (WebSocket). The bridge performs the Synaps `hello` itself and forwards only allowlisted client frames (ping, sessions, attach, cmd, bye). # Status of the caller's daemon (Pria row + guest truth) Source: https://docs.praxis-ai.com/api-reference/agents/status-of-the-callers-daemon-pria-row-+-guest-truth /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/v2/daemon # Stop the caller's daemon and close its session row Source: https://docs.praxis-ai.com/api-reference/agents/stop-the-callers-daemon-and-close-its-session-row /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/v2/daemon/stop # The caller's agent email allowlist on their current twin Source: https://docs.praxis-ai.com/api-reference/agents/the-callers-agent-email-allowlist-on-their-current-twin /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/email-allowlist # The caller's agentsv2 workflows on the current twin Source: https://docs.praxis-ai.com/api-reference/agents/the-callers-agentsv2-workflows-on-the-current-twin /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/v2/workflows Newest first. Access is the /pria/agents gate (the twin has the agent product, the caller holds `agent_operator` and has not been revoked). # The caller's VM-login seat setting on their current twin. Source: https://docs.praxis-ai.com/api-reference/agents/the-callers-vm-login-seat-setting-on-their-current-twin /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/vm-login # The models and reasoning levels a workflow can use on the current twin Source: https://docs.praxis-ai.com/api-reference/agents/the-models-and-reasoning-levels-a-workflow-can-use-on-the-current-twin /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/v2/workflow-models Derived per request, never maintained: the twin's connections by its credential mode (institution ChatGPT/Grok connections; the caller's own seat menu under user_oauth; Default only under api_key) × the models the twin's account VM reports (plus the known subscription catalogs). `default.model` is what Default runs on today. # The workflow's latest 20 runs, newest first Source: https://docs.praxis-ai.com/api-reference/agents/the-workflows-latest-20-runs-newest-first /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/v2/workflows/{id}/runs # Update a workflow (partial) Source: https://docs.praxis-ai.com/api-reference/agents/update-a-workflow-partial /mdx/api-reference/runtime/runtime-api.json patch /api/user/agents/v2/workflows/{id} Changing `schedule` or `enabled` recomputes `nextRunAt` and clears any pending retry. An in-progress run is not affected. # VM owner only — let other members of a shared agent VM use their own Synaps login on it. Source: https://docs.praxis-ai.com/api-reference/agents/vm-owner-only-—-let-other-members-of-a-shared-agent-vm-use-their-own-synaps-login-on-it /mdx/api-reference/runtime/runtime-api.json put /api/user/agents/vm-login/vm-policy # Bounded, cursor-resumable, redacted service logs Source: https://docs.praxis-ai.com/api-reference/agentspace/bounded-cursor-resumable-redacted-service-logs /mdx/api-reference/runtime/runtime-api.json get /api/user/agentspace/{projectId}/deployments/{serviceId}/logs # List worker-backed deployments of a project Source: https://docs.praxis-ai.com/api-reference/agentspace/list-worker-backed-deployments-of-a-project /mdx/api-reference/runtime/runtime-api.json get /api/user/agentspace/{projectId}/deployments The registered dev/release service instances of the project (health, environment, revision, generation), the sealed artifacts behind the release services and the current published head. Requires project edit access (owner or listed editor; tenant membership re-checked). Responses are `no-store`. # Mint a short-lived private dev-preview capability for the caller Source: https://docs.praxis-ai.com/api-reference/agentspace/mint-a-short-lived-private-dev-preview-capability-for-the-caller /mdx/api-reference/runtime/runtime-api.json post /api/user/agentspace/{projectId}/dev/{serviceId}/preview Exchanges the caller's authenticated session for a narrow capability URL bound to actor, project, ACL version, dev service and generation (and the caller's open edit session). The capability is bearer authority: `no-store`, never logged, expires within minutes. Requires a READY dev service and an open edit session on the project. # Publish the revision served by a READY release service (expected-head CAS) Source: https://docs.praxis-ai.com/api-reference/agentspace/publish-the-revision-served-by-a-ready-release-service-expected-head-cas /mdx/api-reference/runtime/runtime-api.json post /api/user/agentspace/{projectId}/deployments/{serviceId}/publish Promotes the service's revision to the project's published head only when the artifact is sealed, the service is ready, and the current head still equals `expectedHead`. Requires publish rights (owner or listed editor). A lost race answers 200 with `ok:false, code:HEAD_CONFLICT` and the current head. # Roll the published head back to a retained prior revision (expected-head CAS) Source: https://docs.praxis-ai.com/api-reference/agentspace/roll-the-published-head-back-to-a-retained-prior-revision-expected-head-cas /mdx/api-reference/runtime/runtime-api.json post /api/user/agentspace/{projectId}/deployments/{serviceId}/rollback Same fenced CAS as publish, restricted to a revision that was a prior head of this project and still has a sealed artifact and a READY release service. No rebuild, no model re-run. Immutable revision URLs are untouched; only the head moves. # Status of one deployment service (registry + guest supervisor observation) Source: https://docs.praxis-ai.com/api-reference/agentspace/status-of-one-deployment-service-registry-+-guest-supervisor-observation /mdx/api-reference/runtime/runtime-api.json get /api/user/agentspace/{projectId}/deployments/{serviceId} # Stop one service instance, fenced on its generation Source: https://docs.praxis-ai.com/api-reference/agentspace/stop-one-service-instance-fenced-on-its-generation /mdx/api-reference/runtime/runtime-api.json post /api/user/agentspace/{projectId}/deployments/{serviceId}/stop Stops the exact supervised process (guest refuses a stale generation) and marks the registry row stopped. A release service currently serving the published head is refused (`code: SERVING_PUBLISHED_HEAD`) — unpublish first. # Explicitly Collect or request a retry for an owned plan task Source: https://docs.praxis-ai.com/api-reference/ai/explicitly-collect-or-request-a-retry-for-an-owned-plan-task /mdx/api-reference/runtime/runtime-api.json post /api/user/plan/{sessionId}/task-children/{stepId} Collect applies output only to the bound parent run. It never publishes the project or calls a model. Use collect + uncollected for normal Collect; drift parks the result. take-result + parked is explicit overwrite consent for affected paths in the parent run. Unrelated edits are retained. Retry requires settled execution and confirmed cleanup, at most three attempts, fresh authorization and the original parent budget/deadline. If the parent is paused, retry is queued for the normal explicit Resume. Body-supplied owner, root, model, grant, pins or receipt fields are rejected. # Look up the durable execution receipt for a chat turn Source: https://docs.praxis-ai.com/api-reference/ai/look-up-the-durable-execution-receipt-for-a-chat-turn /mdx/api-reference/runtime/runtime-api.json get /api/ai/personal/turns/by-turn/{clientTurnId} Returns the current durable execution receipt for the caller's turn in the requested scope. When no execution record exists (always the case while fleet turn admission is disabled on the server) the answer is a normal 200 with `tracked: false` — identical whether the turn never existed or belongs to another user. `turnAdmission` reports whether the server admits durable turns at all; when it is `false`, clients should stop polling this route for the session. `tracked: false` is absence, never completion. # OpenAI-compatible Chat Completions endpoint (inbound integration) Source: https://docs.praxis-ai.com/api-reference/ai/openai-compatible-chat-completions-endpoint-inbound-integration /mdx/api-reference/runtime/runtime-api.json post /api/ai/chat/completions OpenAI-compatible streaming chat completions endpoint. Accepts a `messages[]` array, extracts the last user message as the active turn, replays any prior user/assistant messages as conversation history (sanitized for Bedrock's alternating-role requirement), runs the active turn through Praxis's RAG/tool pipeline, and streams back OpenAI-format SSE chunks. **Today's primary consumer:** the ElevenLabs Voice Agent in Convo (Direct) mode — its custom-LLM webhook points at this endpoint. **OpenAI compatibility surface (what Pria reads vs. ignores):** Pria accepts the OpenAI shape but only reads `messages[]` and `model`. `model` is informational — the effective model is determined by the Praxis cascade (assistant > `chatCompletionModel` > institution conversationModel). Fields commonly seen on OpenAI clients but **silently ignored** here: `tools`, `tool_choice`, `temperature`, `max_tokens`, `stream`, `stream_options`, `top_p`, `n`, `frequency_penalty`, `presence_penalty`, `response_format`, `seed`, `logit_bias`, `user`. The response is always SSE (server forces streaming mode regardless of `stream`). Tool calls are executed server-side by Pria's tool runtime — they are not surfaced as OpenAI `tool_calls` deltas; tool acknowledgements appear inline as spoken phrases in the `content` stream. **Per-institution gate.** Disabled by default. The administrator must set `institution.chatCompletionEnabled = true` to allow inbound traffic. Disabled institutions receive `403 chat_completion_disabled`. **Override fields** (institution-level, all optional): - `chatCompletionModel` — overrides the conversation model and provider routing for inbound requests. Priority: `assistant.conversationModel` > `chatCompletionModel` > `institution.conversationModel`. Assistant always wins — the override only applies when no assistant has overridden the conversation model. Empty/unset = inherit from existing cascade. - `chatCompletionMaxCompletionTokens` — overrides `maxCompletionTokens`. Sentinel: `-1` = inherit, `0` = Auto (catalog cap), `>0` = explicit. - `chatCompletionReasoningEffort` — overrides `reasoningEffort`. Empty string = inherit. Common voice-mode value: `'none'`. Detection of "this is a chat-completion inbound request" is path-based — any request landing here sets `requestArgs.isChatCompletion = true`, which the override helpers in `rag.js` and `reasoning_effort_utils.js` read to apply the cascade above. # Read the durable execution receipt by execution id Source: https://docs.praxis-ai.com/api-reference/ai/read-the-durable-execution-receipt-by-execution-id /mdx/api-reference/runtime/runtime-api.json get /api/ai/personal/turns/{executionId} Returns the caller's execution receipt in the requested scope. A malformed execution id is refused with 400 before any scope lookup; a missing or foreign execution answers 404 identically. # Read the owner's private build screenshots Source: https://docs.praxis-ai.com/api-reference/ai/read-the-owners-private-build-screenshots /mdx/api-reference/runtime/runtime-api.json get /api/ai/personal/plan/{sessionId}/artifact Without path, returns the screenshot manifest. With path (and optional immutable captureId), returns PNG bytes. Available during the build and for 24 hours after terminal completion; paused/resumable builds do not expire by capture age. Expired screenshots are excluded from the manifest and image reads return 404. Background cleanup deletes PNG/capture metadata; this read never deletes files. Responses are private, no-store and nosniff. # Refresh tasks belonging to an owned plan Source: https://docs.praxis-ai.com/api-reference/ai/refresh-tasks-belonging-to-an-owned-plan /mdx/api-reference/runtime/runtime-api.json get /api/user/plan/{sessionId}/task-children Returns the parent History projection. Does not dispatch, retry, Collect, or publish. Reconciles exact owned jobs; expired/stopped children use the normal task cancellation path. Pending cleanup is not successful cleanup. IDs alone do not grant access. No filesystem paths or runtime grants are returned. # Request a durable Stop for an execution Source: https://docs.praxis-ai.com/api-reference/ai/request-a-durable-stop-for-an-execution /mdx/api-reference/runtime/runtime-api.json post /api/ai/personal/turns/{executionId}/stop Idempotent Stop. `expectedTurnId` is optional: when omitted it is taken from the caller's own execution receipt; when supplied and it does not match the execution's turn the answer is 409. A malformed execution id is refused with 400 before any scope lookup. # Stop a plan and retain a resumable checkpoint Source: https://docs.praxis-ai.com/api-reference/ai/stop-a-plan-and-retain-a-resumable-checkpoint /mdx/api-reference/runtime/runtime-api.json post /api/ai/personal/plan/{sessionId}/stop Owner-only. Signals cancellation first, then persists and re-reads a paused checkpoint with settledBy=user-stop and a resume token. Repeating Stop on that checkpoint is idempotent. Completed work is retained. Only executing or paused sessions can be stopped. landed=true confirms the checkpoint, NOT that every worker on every application instance has drained. Executor and cancellation state are process-local; multi-instance routing/drain require operator validation. Resume is a separate explicit action using the checkpoint token. A failed checkpoint confirmation must not be displayed as a stopped run. # Stop a running chat reply by its turn id Source: https://docs.praxis-ai.com/api-reference/ai/stop-a-running-chat-reply-by-its-turn-id /mdx/api-reference/runtime/runtime-api.json post /api/ai/personal/turns/cancel Stops the caller's own chat turn that is still generating, whether its stream connection is still open or was already dropped (a dropped connection alone never stops a turn: the reply keeps running and is saved). Use the same `id` that was sent in the body of the streaming request (`/api/ai/personal-stream/qanda-stream`). The turn ends promptly and is saved as stopped; the usage up to the Stop is charged as for any stopped reply. `cancelled: true` means a running turn of yours was stopped by this request. `cancelled: false` means nothing of yours with that id was running here: the turn is unknown, already finished or already stopped. It is the same answer in every case. A client may retry a few times, since a turn running on another server cannot always be reached. Calling it twice is safe. # Verify an exact persisted untracked chat completion Source: https://docs.praxis-ai.com/api-reference/ai/verify-an-exact-persisted-untracked-chat-completion /mdx/api-reference/runtime/runtime-api.json get /api/ai/personal/turns/by-turn/{clientTurnId}/history/{historyId} Authenticated, proof-only recovery when the original chat response was lost. The history must belong to the current user and contain the exact server-authored disabled-admission marker for this turn and scope. A socket history ID is only a lookup hint, never completion authority. This proves persisted legacy/untracked completion, not durable fleet settlement or worker drain. A tracked receipt retains priority. Older unmarked histories cannot produce proof; `legacyCompletion: null`, timeouts, and empty active lists must not be treated as successful completion. No history content or worker data is returned, and no control state is mutated. # Add an assistant to the caller's favorites Source: https://docs.praxis-ai.com/api-reference/assistants/add-an-assistant-to-the-callers-favorites /mdx/api-reference/runtime/runtime-api.json post /api/user/favoriteAssistants/{id} Appends the given assistant ObjectId to the authenticated user's `favoriteAssistants` list. Idempotent — if the id is already present, the list is returned unchanged and no save is performed. Consumed by the Pria input-pill Assistants submenu, which reads the populated favorites from `/api/user/refresh/profile`. # Create a new assistant Source: https://docs.praxis-ai.com/api-reference/assistants/create-a-new-assistant /mdx/api-reference/runtime/runtime-api.json post /api/user/assistant Creates a new AI assistant owned by the caller. Only the name field is required (other fields have defaults). If institution is an empty string it is removed from the body; a Digital Twin named here must be one the caller belongs to. Sharing with everyone in the Digital Twin (institution_shared), with every Digital Twin of its account (account_shared), and admin_only are kept only for the twin's administrators and people allowed to edit its assistants; for anyone else they are set to false and the assistant is saved as a personal one — the request is not refused, and the answer says where the assistant was saved (scope) and whether the sharing asked for was dropped (sharingDropped). account_shared needs institution_shared and a Digital Twin that belongs to an account. When the Digital Twin turned off assistant creation for its users, the request is refused with 403 unless the caller administers it or may edit its assistants. Duplicate assistants (same name + user + institution) are caught as a 400 error by the unique index constraint, not as a 409. # Get a single assistant by ID Source: https://docs.praxis-ai.com/api-reference/assistants/get-a-single-assistant-by-id /mdx/api-reference/runtime/runtime-api.json get /api/user/assistant/{id} Retrieves a single assistant by its ObjectId. Accessible to (a) the assistant owner, or (b) admin users with the relevant entitlement on the assistant's institution. Standard users who don't own the assistant get 403. The response includes populated user_data (email, fname, lname, institution, accountType), institution_data (name, ainame, status, picture), and account_data (name, status) objects. For system assistants (user=null), the instructions field is omitted. # Increment an assistant's liked count Source: https://docs.praxis-ai.com/api-reference/assistants/increment-an-assistants-liked-count /mdx/api-reference/runtime/runtime-api.json put /api/user/assistantLikesCount/{id} Increments the liked_count field of an assistant using MongoDB $inc operator. The liked_count value from the request body is added to the current count (can be negative to decrement). Any authenticated user can call this endpoint. # Remove an assistant from the caller's favorites Source: https://docs.praxis-ai.com/api-reference/assistants/remove-an-assistant-from-the-callers-favorites /mdx/api-reference/runtime/runtime-api.json delete /api/user/favoriteAssistants/{id} Removes the given assistant ObjectId from the authenticated user's `favoriteAssistants` list. Tolerant — the id does NOT need to be currently favorited; calling DELETE on a non-favorited id (or a malformed id) is a no-op that still returns 200 with the current list. # Search and retrieve assistants Source: https://docs.praxis-ai.com/api-reference/assistants/search-and-retrieve-assistants /mdx/api-reference/runtime/runtime-api.json post /api/user/assistants Retrieves a filtered list of assistants based on type, name, and the requesting user's permissions. Results include system assistants (user=null), the user's own assistants, institution-shared assistants, and account-shared assistants from sibling institutions. Assistants with status "deleted" are always excluded. Unpublished assistants from other users are excluded. Non-shared assistants from other users are excluded for regular users. Assistants disabled by the user's institution are excluded. For system assistants, the instructions field is omitted. Fields argument_1 through argument_4 are always stripped from each result. Response includes denormalized user_data, institution_data, and account_data objects for display purposes. # Soft-delete an assistant Source: https://docs.praxis-ai.com/api-reference/assistants/soft-delete-an-assistant /mdx/api-reference/runtime/runtime-api.json delete /api/user/assistant/{id} Performs a soft delete on an assistant by setting its status to "deleted" and prepending a timestamp to the name (to free the unique index slot). Requires admin privileges. System assistants (user=null) cannot be deleted through this endpoint and return a 403 error. Admin users can only delete assistants they own; attempting to delete another admin's assistant returns a 403. # Update an existing assistant Source: https://docs.praxis-ai.com/api-reference/assistants/update-an-existing-assistant /mdx/api-reference/runtime/runtime-api.json put /api/user/assistant/{id} Updates an existing assistant by its ObjectId. The caller must own the assistant, or it must be open to others (editable_others), or the caller must hold assistants.edit on its Digital Twin. Only the assistant's own fields are written (the owner, the creation date and the like counter are ignored; unknown keys are ignored); a value outside an enum (status, assistantToolMode, stsReasoningEffort) is refused with 400. Update operators are refused. An empty institution makes the assistant personal (and no longer shared); a different institution moves it and requires membership of that Digital Twin. Sharing (institution_shared, account_shared) and admin_only are decided on the Digital Twin the assistant will be in: only its administrators and people allowed to edit its assistants may turn them on, or turn them off on someone else's assistant; an assistant moved to another Digital Twin by anyone else arrives unshared. Such a change is not refused — it is not applied, and the answer reports where the assistant is (scope) and whether the sharing asked for was dropped (sharingDropped). Moving an assistant into a Digital Twin that turned off assistant creation for its users is refused with 403 unless the caller administers it or may edit its assistants. account_shared is reset to false when the assistant will not be shared with its Digital Twin, and cannot be turned on when the Digital Twin belongs to no account. # Upload one or more audio segments for transcription and vault ingestion Source: https://docs.praxis-ai.com/api-reference/audio-notes/upload-one-or-more-audio-segments-for-transcription-and-vault-ingestion /mdx/api-reference/runtime/runtime-api.json post /api/user/audio-notes Accepts 1..20 audio segments (audio/webm, audio/ogg, audio/mp4, audio/mpeg, audio/wav). Each segment is capped at 50 MB. When `combine=true` and all segments share a single mimetype, the server concatenates them losslessly via ffmpeg before ingestion. Returns 202 immediately; transcription runs asynchronously through the existing ingestion queue and produces a transcript-derived file_title. # Abandon the current MFA challenge (user clicked Cancel) Source: https://docs.praxis-ai.com/api-reference/authentication/abandon-the-current-mfa-challenge-user-clicked-cancel /mdx/api-reference/admin/admin-api.json post /api/auth/mfa-cancel Marks the challenge as invalidated server-side so it can no longer be used for /mfa-verify or /mfa-resend. Idempotent — calling it on an already-cancelled / expired / verified challenge still returns 200. The client should clear its `sessionStorage` copy of the challengeId and route the user back to the login screen. A challenge from an embedded / Canvas launch can be cancelled only from the network that started it: from another network, 410 and nothing changes. # Automatic user signup and authentication Source: https://docs.praxis-ai.com/api-reference/authentication/automatic-user-signup-and-authentication /mdx/api-reference/admin/admin-api.json post /api/auth/autosignup Creates or authenticates a user account automatically based on CMS/LMS integration data. Typically called after SDK launch token verification (see `/api/auth/sdk-verify`). **Security:** - Rate limited to 100 requests per minute per IP - The route is public. A body that carries neither a one-time sign-in code (`otp`) nor the SDK launch fields (`institution_id` / `lticontextid`) is treated as a plain sign-in: no account is created or changed, the password is checked, and an address with no account answers 401 "Email is not registered. Sign-up instead !" - A `password` field is never stored by this route, for any body - All new SDK signups are assigned `accountType: "user"` regardless of `lxp_user_type` - Admin promotion is handled server-side via the institution's `contactEmail` trust anchor, and only once the address is proven: a new address that is the launched Digital Twin's contact gets its account without any Digital Twin or membership and is asked for a code first; the verified code puts it in the Digital Twin as its administrator (an existing member's row is upgraded the same way) - URL validation uses exact hostname comparison (not substring matching) - Default passwords are cryptographically random (not derivable from email) - An existing account on a launch is decided BEFORE anything about it is written: the launched Digital Twin must be usable and the launch page's host authorized; the account's own state answers for it (an inactive or deleted account gets 401; an account that must finish its activation gets 403 and its activation email sparingly, never on every page load; a course already connected to another Digital Twin answers 400 — nothing changes); the Digital Twin's listed contact is asked for a code before any session (`mfaRequired: true, stepUp: true, codeSent: false`) — a new address that is the contact too, once its account exists; an operator can pause course sign-ins into existing accounts (403 `LAUNCH_SIGNIN_OFF`; on ordinary hosts a new address can still get an account). A sign-in writes the launched Digital Twin, the plan and the course and Canvas user the launch carries; the name and picture only for an account without administrative rights — never the account's status. Consumer app hosts do not support course launches. These return 403 `LAUNCH_SIGNIN_OFF`, including launches to a consumer app Digital Twin from another host. If the consumer service is unavailable, this endpoint returns 503 `CONSUMER_TENANT_UNAVAILABLE` before signing in. **Digital Twins that require the LMS sign-in (Canvas):** the launch's own Canvas user must be the Canvas account connected to the person's membership. A launch Canvas signed itself, from the Digital Twin's own Canvas address, reuses the connected Canvas account from any browser, once per launch. Any other launch reuses it only in the browser that last connected Canvas: it sends the `lmsTrust` value an earlier sign-in returned. Otherwise the answer is a Canvas consent link (`{ consent }`), and the connected account is kept. After the person connects Canvas, the page replays its sign-in with `canvasProof` (the one-time value Canvas sign-in hands the page) and the answer carries a new `lmsTrust` for this browser. The first sign-in connects one Canvas account to the membership; a Canvas account already connected to another Pria account on the same Digital Twin is refused. # Change user password Source: https://docs.praxis-ai.com/api-reference/authentication/change-user-password /mdx/api-reference/admin/admin-api.json post /api/auth/changePassword Changes the user's password using a valid reset code. **Rate Limiting:** 10 requests per minute per IP address. # Exchange a Pria API key for a JWT Source: https://docs.praxis-ai.com/api-reference/authentication/exchange-a-pria-api-key-for-a-jwt /mdx/api-reference/admin/admin-api.json post /api/auth/api-key-signin Validates the `x-api-key` header against the hashed key stored on the user record and returns a regular Pria JWT (`token`) plus a minimal `profile` envelope. The JWT is identical in shape and lifetime to the one issued by `POST /api/auth/signin` — every other authenticated endpoint accepts it via `Authorization: Bearer ` or `x-access-token: `. **Important: the API key is NOT a JWT.** Sending the raw `pria_…` key as a `Authorization: Bearer` value will fail with `Invalid access token jwt malformed` on the bearer-protected endpoints. You must do the exchange here first. **Authentication transport:** the API key MUST be sent in the `x-api-key` header, not `Authorization`. The endpoint has no JWT gate — only the key check. **Access gating:** - Key format is enforced: `pria_` followed by 40 hex chars (`/^pria_[0-9a-f]{40}$/`). A malformed key returns 401, not 400. - Lookup uses the 9-char prefix for indexing, then verifies the full SHA-256 hash. - Only admin accounts (and `status !== 'deleted'`) can mint a JWT. Demoting a user immediately disables their key. **Rate limiting:** 100 requests per minute per IP (the shared auth limiter). # Generate Digital Twin instructions from Q&A Source: https://docs.praxis-ai.com/api-reference/authentication/generate-digital-twin-instructions-from-q&a /mdx/api-reference/admin/admin-api.json post /api/auth/generate-prompt-preview Takes interview question/answer pairs and generates AI-powered persona instructions for a Digital Twin being created. Used during the creation wizard before the institution exists. Requires JWT authentication. # Generate password reset code Source: https://docs.praxis-ai.com/api-reference/authentication/generate-password-reset-code /mdx/api-reference/admin/admin-api.json post /api/auth/generateResetCode Sends a password reset code to the user's email address. **Rate Limiting:** 3 requests per minute per IP address. # Register a new user Source: https://docs.praxis-ai.com/api-reference/authentication/register-a-new-user /mdx/api-reference/admin/admin-api.json post /api/auth/signup Creates a new user account with email and password authentication. **Rate Limiting:** 5 requests per minute per IP address. # Request a new MFA code for the current challenge Source: https://docs.praxis-ai.com/api-reference/authentication/request-a-new-mfa-code-for-the-current-challenge /mdx/api-reference/admin/admin-api.json post /api/auth/mfa-resend Invalidates the current challenge and issues a fresh one with the same loginContext (so the verify step still lands you in the same branding / institution context). The new challenge has its own 5-min TTL and its own 5-attempt cap. **Cooldown:** the previous challenge must be at least 30 seconds old before a Resend is allowed — prevents email-bombing. **First send:** a challenge that has not emailed anything yet — one returned by an SDK / Canvas launch with `codeSent: false` ("Send me a code"), or an authenticator-app challenge whose person asks for an email instead — sends its first code at once, without the cooldown. If that email fails, the challenge stays usable so the person can try again. A resend is not a failed code and never counts toward the limit of failed codes. When that limit is reached the resend answers 423 `MFA_LOCKED` and sends nothing. Codes for an embedded / Canvas launch, or for a sign-in that asks for a code before any session (`stepUp`), are limited to 5 an hour from one network and 15 an hour in all: over that, 429 `MFA_SEND_LIMIT` with `retryAfter`, nothing is sent and the challenge stays usable. A send that fails (502) is not counted. When several resends of one challenge arrive at once, one sends a code and the others answer 410. # Sign in with Apple (native) Source: https://docs.praxis-ai.com/api-reference/authentication/sign-in-with-apple-native /mdx/api-reference/admin/admin-api.json post /api/auth/apple Native (iOS app) Sign in with Apple. Verifies `identityToken` against Apple's public JWKS, then resolves the user by `appleSub` first, falling back to a verified-email match, and finally creates a new account — then completes through the same `autosignup` → `signin` pipeline as `/api/auth/autosignup`, so the response shape, email-MFA challenge, and branding switch all behave exactly as they do there. No OTP round-trip: the identity token itself is the assertion (see `docs/index/oauth-otp.md`). **Resolution order:** 1. A user already carrying this `appleSub` → that user signs in (name/email untouched). 2. No `appleSub` match → the token must carry a verified email (`email_verified === true`, checked before any lookup, so an unverified caller learns nothing about existing data) — a user already found at that email with a DIFFERENT `appleSub` is a conflict; otherwise the Apple id is linked onto that user. 3. Nothing matches → a new account is created, named from `fullName` when present. **Security:** - Rate limited via `authLimiter` (100 requests/minute/IP). - The verified Apple identity travels on a trusted, non-enumerable request marker — never a body field — so the public shape this route forwards to `autosignup` cannot be forged by POSTing the same fields to `/api/auth/autosignup` directly. - Do not send `lticontextid` — it is never forwarded, and would misroute this into SDK-launch handling if it were. # Submit a 6-digit MFA code to complete login Source: https://docs.praxis-ai.com/api-reference/authentication/submit-a-6-digit-mfa-code-to-complete-login /mdx/api-reference/admin/admin-api.json post /api/auth/mfa-verify Second leg of the MFA login flow. The first leg (POST /api/auth/signin or /autosignup) returned `{mfaRequired: true, challengeId, maskedEmail}` and emailed a 6-digit code. This endpoint accepts the typed code, and on success returns the same shape as a normal signin response (token + profile) and sets a long-lived `pria_mfa_trust` cookie that lets the same browser skip MFA for the next 7 days (or whatever MFA_TRUST_DAYS sets, bounded to [1, 30]). **Embedded (SDK / Canvas) launches:** when the code was requested from an SDK launch, the success answer also carries `mfaTrust`, a device handle for the embedded page. The page keeps it and sends it as `mfaTrust` in the body of its later SDK launches (the embedded frame never receives the cookie). It lasts 24 hours, or until trusted devices are signed out in Security settings or the password changes; logging out inside the embedded page also forgets it. It is honoured only on SDK launches (`/api/auth/autosignup` with `institution_id` or `lticontextid`), for the same person, from the same network. The accepted code signs the person in to the Digital Twin and course the launch named, with the launch's own checks: a Digital Twin that is no longer usable answers 400 with the reason; a Digital Twin that requires Canvas sign-in answers `{ consent, mfaTrust }`, and the launch that follows the Canvas step needs no second code when it carries that `mfaTrust`. A launch challenge answers only on the network that started it (see 410). **Brute-force protection:** 5 wrong attempts per code; the 6th burns the challenge (status invalidated) and the user must request a new code via /mfa-resend. Every wrong code also counts toward the person's limit for that kind of sign-in (an embedded / Canvas launch, a password sign-in, or any other sign-in): 10 an hour or 20 a day. Over it, that kind of sign-in answers 423 `MFA_LOCKED` with `retryAfter` (seconds) — here and at sign-in — while the other kinds stay open; the wrong code that reaches the limit already answers 423. A correct code clears the count; an administrator can clear it by changing the person's MFA setting or signing out their trusted devices. **Rate limit:** 100 req/min per IP (authLimiter). # User authentication and sign-in Source: https://docs.praxis-ai.com/api-reference/authentication/user-authentication-and-sign-in /mdx/api-reference/admin/admin-api.json post /api/auth/signin Authenticates a user with email and password, and returns a JWT token along with the user profile. The profile carries `passwordChangeRequired`: whether THIS sign-in must land on the Change Password screen (`mustChangePassword` combined with the sign-in method: a password sign-in prompts, a Google/Microsoft/Facebook/Apple/LMS sign-in does not while `passwordChangeSkipOnSSO` is on). **Rate Limiting:** 10 requests per minute per IP address. ## JWT Token Lifecycle On successful authentication, the response includes a `token` field containing a signed JWT. **Token payload:** - `_id` — User's unique identifier - `email` — User's email address - `customerId` — Stripe customer ID (if applicable) - `accountType` — `admin` or `user` - `sessionId` — Server-side session identifier - `iat` — Issued-at timestamp (set automatically by JWT) - `exp` — Expiration timestamp (set automatically by JWT) **Token expiration:** 6 hours (21,600 seconds) by default. Configurable via `JWT_VALIDITY_SEC` environment variable. ## Using the Token Include the JWT in every subsequent API request using one of these methods (in priority order): 1. **`x-access-token` header (recommended):** ``` x-access-token: eyJhbGciOiJIUzI1NiIs... ``` 2. **`Authorization` header with Bearer scheme:** ``` Authorization: Bearer eyJhbGciOiJIUzI1NiIs... ``` 3. **Query parameter:** ``` GET /api/resource?token=eyJhbGciOiJIUzI1NiIs... ``` 4. **Request body field:** ```json { "token": "eyJhbGciOiJIUzI1NiIs..." } ``` ## Token Errors When a token is missing, expired, or invalid, the API returns: - **403** — No token provided (`Authentication Required`) - **401** — Token expired (`jwt expired`) or token invalid (`invalid signature`) ## Token Renewal (Sliding Session) Tokens are automatically refreshed via a sliding session mechanism. Each time the client calls `POST /api/user/refresh/profile`, the response includes a fresh JWT token with a new expiration. This extends the session without requiring re-authentication, as long as the current token is still valid. The frontend calls this endpoint on every page load, so active users never experience token expiration. If the token expires (e.g., user is inactive for more than 6 hours), a new sign-in is required. # Validate account activation code Source: https://docs.praxis-ai.com/api-reference/authentication/validate-account-activation-code /mdx/api-reference/admin/admin-api.json post /api/auth/checkActivateCode Validates whether the provided activation code is valid for the user. **Rate Limiting:** 10 requests per minute per IP address. # Validate password reset code Source: https://docs.praxis-ai.com/api-reference/authentication/validate-password-reset-code /mdx/api-reference/admin/admin-api.json post /api/auth/checkResetCode Validates whether the provided reset code is valid for the user. **Rate Limiting:** 10 requests per minute per IP address. # Create subscription checkout session Source: https://docs.praxis-ai.com/api-reference/billing/create-subscription-checkout-session /mdx/api-reference/runtime/runtime-api.json post /api/user/stripe/subscribe Creates a Stripe checkout session and returns the full session object. The client should redirect the user to the session URL to complete payment. # Get checkout session result Source: https://docs.praxis-ai.com/api-reference/billing/get-checkout-session-result /mdx/api-reference/runtime/runtime-api.json get /api/user/stripe/checkout-result Retrieves details of a completed Stripe checkout session for displaying a purchase confirmation screen. Verifies the session belongs to the authenticated user. # Get current subscription plan Source: https://docs.praxis-ai.com/api-reference/billing/get-current-subscription-plan /mdx/api-reference/runtime/runtime-api.json post /api/user/stripe/plan Retrieves the current user's Stripe subscription plan details and status # A card's checklist Source: https://docs.praxis-ai.com/api-reference/boards/a-cards-checklist /mdx/api-reference/runtime/runtime-api.json get /api/boards/tasks/{taskId}/checklist The items of a card's checklist, in order, with a `{ done, total }` summary. The board read carries only the summary (`checklistSummary` on each card); the items are read here when a card is opened. A card on a board the caller cannot see is a 404. # A card's timeline — comments and activity in one thread, oldest first Source: https://docs.praxis-ai.com/api-reference/boards/a-cards-timeline-—-comments-and-activity-in-one-thread-oldest-first /mdx/api-reference/runtime/runtime-api.json get /api/boards/tasks/{taskId}/timeline Every row carries `kind` (comment · created · moved · relocated · completed · reopened · assigned · unassigned · file_added · file_removed · edited), the actor's name, `createdAt`, `source` (user | twin), `meta` per kind, and for comments `text` and the resolved `mentions`. A removed comment reads `removed: true` with empty text. Visible iff the card's board is. Design: docs/plans/2026-10-19-boards-timeline-design.md (D1–D3). # A cross-board view of the open cards on the boards you can see Source: https://docs.praxis-ai.com/api-reference/boards/a-cross-board-view-of-the-open-cards-on-the-boards-you-can-see /mdx/api-reference/runtime/runtime-api.json get /api/boards/views/{name} Four views over the open cards on every board the caller may see. `open-loops` is what needs you: cards assigned to you, cards waiting on you, and cards you created that are still unassigned (add `delegated=1` to include cards you created and handed on). `blocked` is cards in the Waiting / Blocked list or carrying a waiting-on person, waiting-on text or a blocked reason. `this-week` answers a fixed layout, Overdue, Monday to Sunday, High priority and Blocked, from due dates and follow-up dates (weeks run Monday to Sunday, UTC). `by-label` groups cards by label, most cards first, with the seed label suggestions. Boards are resolved from the caller's access first and cards are then read by board, so a personal board is never shown to anyone else. Each view is capped at 200 cards and `truncated` is true when more exist. A teammate appears as a name, never an id. `blocked`, `this-week` and `by-label` show everyone's cards, so every card says whose it is: `assigneeName` (empty when unassigned) and `mine`, true when the card is assigned to you, waits on you, or is yours and unassigned (a card you created and handed on is not `mine`, even with `delegated=1`). Every card carries `nudges`, short reminders computed when you ask (blocked three days or more, who it waits on, a follow-up due today or overdue, a high-priority card that has not moved this week, a card in Review / QA with no one assigned). # Accept suggested cards Source: https://docs.praxis-ai.com/api-reference/boards/accept-suggested-cards /mdx/api-reference/runtime/runtime-api.json post /api/boards/triage/{draftId}/accept Creates the cards of one of the caller's own pending drafts. This is the only way cards are created from a suggestion; the twin itself can only stage them. Optionally send `removed` (suggestion ids to leave out) and `edits` (an object keyed by suggestion id with `title`, `columnId` and / or `priority`); a half-valid edit is a 400 and nothing is created. The draft is claimed atomically, so two accepts at once create the cards once and the second gets a 409. A suggestion whose title matches an open card on the board is skipped and reported. The cards are inserted together but not as a transaction: on a partial failure the answer lists what was created and what failed. # Add items to a card's checklist Source: https://docs.praxis-ai.com/api-reference/boards/add-items-to-a-cards-checklist /mdx/api-reference/runtime/runtime-api.json post /api/boards/tasks/{taskId}/checklist Adds one or several items. Send `text` (a pasted list: one item per line, leading dashes, bullets, numbers and checkbox marks are dropped) or `items` (an array of lines). Each item is capped at 200 characters and a checklist holds at most 50; the cap is enforced by the write itself, so two people adding at once can never pass it. The write is atomic, so it never overwrites someone else's change. One `checklist_added` timeline event is written with the count, plus `checklist_reopened` if the list was complete. # Add the standard workflow lanes to a board Source: https://docs.praxis-ai.com/api-reference/boards/add-the-standard-workflow-lanes-to-a-board /mdx/api-reference/runtime/runtime-api.json post /api/boards/boards/{boardId}/lanes Brings an existing kanban board up to the standard workflow lists (Triage, Next Up, In Progress, Waiting / Blocked, Review / QA, Done) by inserting only the ones it is missing. A list counts as present when its id, or its label (or either half of it, case-insensitively), is already on the board, so nothing is renamed, removed or duplicated and every card stays where it is. Calling it again changes nothing. Only the board's owner may call it; a weekly board is refused because its lists are the days of the week. # Change a board (its owner only) — name, scope, lists, layout, week, and the project record Source: https://docs.praxis-ai.com/api-reference/boards/change-a-board-its-owner-only-—-name-scope-lists-layout-week-and-the-project-record /mdx/api-reference/runtime/runtime-api.json patch /api/boards/boards/{boardId} The project record is `project: { status, description, client, summary, nextAction }`. `status` is one of on_track, at_risk, blocked, paused. Every key is optional and only the keys sent change; `""` or `null` clears a key, and clearing the last one removes the record. Text must be a string (a number, list or object is a 400) and is trimmed and capped (description 1000, client 120, summary 2000, next action 300). The server records who set the status or summary and when; those fields cannot be sent. `status`, `summary` and `nextAction` record a person's own decision or words: a request that carries any of them, even to clear it, is refused with 403 unless it comes from the person signed in themselves (not an agent, an API key, an impersonation or a consent link), and a request that mixes them with other changes changes nothing. The board list returns the record without `summary` and `nextAction`; reading one board returns all of it. # Comment on a card (plain text, ≤ 2000 chars; mentions resolved within the board's members) Source: https://docs.praxis-ai.com/api-reference/boards/comment-on-a-card-plain-text-≤-2000-chars;-mentions-resolved-within-the-boards-members /mdx/api-reference/runtime/runtime-api.json post /api/boards/tasks/{taskId}/comments `mentions` ids outside the board's visibility set and `@user@domain` tokens that match no member are dropped silently. Limited to 20 a minute per person. The mentioned people, the card's creator and its assignee are notified in-app (never the author). # Discard suggested cards Source: https://docs.praxis-ai.com/api-reference/boards/discard-suggested-cards /mdx/api-reference/runtime/runtime-api.json delete /api/boards/triage/{draftId} Discards one of the caller's own pending drafts; no card is created. Discarding a draft that is already discarded answers success; one that was accepted is a 409. # Mark what Pria did as seen Source: https://docs.praxis-ai.com/api-reference/boards/mark-what-pria-did-as-seen /mdx/api-reference/runtime/runtime-api.json post /api/boards/digest/seen Marks the caller's own batches as seen so they leave the digest. Nothing is deleted and a seen batch can still be undone until its 7-day window ends. # Remove a checklist item Source: https://docs.praxis-ai.com/api-reference/boards/remove-a-checklist-item /mdx/api-reference/runtime/runtime-api.json delete /api/boards/tasks/{taskId}/checklist/{itemId} Removes one item atomically and writes `checklist_removed` with its text, plus `checklist_completed` if it was the last open item. # Remove a comment (author or board owner); the row stays, reading Comment removed Source: https://docs.praxis-ai.com/api-reference/boards/remove-a-comment-author-or-board-owner;-the-row-stays-reading-comment-removed /mdx/api-reference/runtime/runtime-api.json delete /api/boards/tasks/{taskId}/comments/{eventId} # Reorder a card's checklist Source: https://docs.praxis-ai.com/api-reference/boards/reorder-a-cards-checklist /mdx/api-reference/runtime/runtime-api.json put /api/boards/tasks/{taskId}/checklist/order Send `ids`, the item ids in the new order. They must be exactly the items on the card; if anyone changed the list in the meantime the answer is 409 and nothing is written, so a reorder can never undo someone's tick. # Suggested cards waiting on a board Source: https://docs.praxis-ai.com/api-reference/boards/suggested-cards-waiting-on-a-board /mdx/api-reference/runtime/runtime-api.json get /api/boards/boards/{boardId}/triage The caller's own pending AI triage drafts for a board they can see: cards the twin suggested from text the person pasted, staged for review. Nothing here is a card yet. Each draft shows its suggested cards (title, notes, priority, labels, the list it would land in, the name of who it is for and who it waits on, never an id) and when it expires (24 hours after it was made). # The caller's Projects boards access Source: https://docs.praxis-ai.com/api-reference/boards/the-callers-projects-boards-access /mdx/api-reference/runtime/runtime-api.json get /api/boards/access Which Projects workspaces the signed-in person may open, resolved from the `boards.personal` / `boards.shared` entitlements on their active memberships (design docs/plans/2026-10-06-boards-account-entitlements-design.md D9). `personal` is true when any membership grants the personal workspace; `shared` lists every institution whose shared workspace is granted, with its display name. A person with no grant at all receives 403 — the Projects surface stays hidden for them. # Tick, untick or rename a checklist item Source: https://docs.praxis-ai.com/api-reference/boards/tick-untick-or-rename-a-checklist-item /mdx/api-reference/runtime/runtime-api.json patch /api/boards/tasks/{taskId}/checklist/{itemId} Send `done` (true or false) and / or `text`. Only that item changes, atomically; ticking records when. Ticking an item is not a timeline event, except that ticking the last open item writes `checklist_completed` and unticking one from a complete list writes `checklist_reopened`. Blank text is a 400; an item that is not on the card is a 404. # Undo what Pria did Source: https://docs.praxis-ai.com/api-reference/boards/undo-what-pria-did /mdx/api-reference/runtime/runtime-api.json post /api/boards/batches/{batchId}/undo Undoes one of the caller's own batches, or only the cards named in `items`. A card Pria created is archived only while it still looks untouched; a card the person has since worked on (edited, moved, completed, ticked, commented on or given a file) is kept and listed under `kept` with the reason. Undoing twice does nothing the second time. Nothing is ever deleted. After 7 days a batch can no longer be undone (409). A batch that is not the caller's, or whose board they can no longer see, is a 404. # What changed on a board since the page last looked (polled while the tab is visible) Source: https://docs.praxis-ai.com/api-reference/boards/what-changed-on-a-board-since-the-page-last-looked-polled-while-the-tab-is-visible /mdx/api-reference/runtime/runtime-api.json get /api/boards/boards/{boardId}/pulse Returns `{ at, changes }`: up to 20 changes by other people since `since` (an ISO time; at most 10 minutes back), newest first, each `{ id, taskId, title, kind, actorName, at }`. Never the caller's own changes, never an id for a person, never a comment's text. Pass the previous answer's `at` as the next `since`. Without `since` it only returns `at`. Plan docs/plans/2026-10-29-projects-slice-E-interactive-board.md (E4 D11–D13). # What Pria did on its own Source: https://docs.praxis-ai.com/api-reference/boards/what-pria-did-on-its-own /mdx/api-reference/runtime/runtime-api.json get /api/boards/digest The caller's own change batches they have not marked as seen, newest first (at most 20), for boards they can still see. A batch is one thing Pria did without being asked, such as filing a pasted list into cards on a personal board. Each entry says what was added and lists the cards, so the person can be told and can undo it. Send `board` to look at one board only. # Who can see a Projects scope — the people a card there may be assigned to Source: https://docs.praxis-ai.com/api-reference/boards/who-can-see-a-projects-scope-—-the-people-a-card-there-may-be-assigned-to /mdx/api-reference/runtime/runtime-api.json get /api/boards/boards/members `scope=personal` answers the caller alone; `scope=` answers that institution's active members holding `boards.shared`, by name. `POST /api/boards/boards/{boardId}/tasks` and `PATCH /api/boards/tasks/{taskId}` accept an `assignee` (a user id from this list, or `null` to unassign) and refuse anyone outside it with 400. Design: docs/plans/2026-09-22-crm-shared-boards-design.md §9 (R2). # Resolve a public twin widget by its web-access slug Source: https://docs.praxis-ai.com/api-reference/branding/resolve-a-public-twin-widget-by-its-web-access-slug /mdx/api-reference/runtime/runtime-api.json get /api/agent/twins/{slug} Resolves an institution configured for public web access at `/twins/{slug}` and returns the `publicId` plus branding needed to launch its digital twin. Powers the no-auth public widget page. **No authentication required.** Returns `404` unless the institution has a matching `webAccessSlug` and is active and not disabled. Any twin with a slug is reachable; the public page always renders in guest mode regardless of the institution's `guestUI` setting. Rate limited per IP. # Retrieve branding information for a digital twin Source: https://docs.praxis-ai.com/api-reference/branding/retrieve-branding-information-for-a-digital-twin /mdx/api-reference/runtime/runtime-api.json post /api/agent/branding Gets branding details for an institution's digital twin instance. Use this API to personalize your embedded application with the institution's custom avatar, background images, AI name, and description. **No authentication required** when providing a valid `publicId`. ## Use Cases - SDK/widget embedding customization - White-label application theming - Voice-enabled digital twin configuration # Add files to a collection Source: https://docs.praxis-ai.com/api-reference/collections/add-files-to-a-collection /mdx/api-reference/runtime/runtime-api.json put /api/user/collection/{id}/add # Bulk action on files or collections Source: https://docs.praxis-ai.com/api-reference/collections/bulk-action-on-files-or-collections /mdx/api-reference/runtime/runtime-api.json post /api/user/bulk/action # Count what deleting a collection would do (changes nothing) Source: https://docs.praxis-ai.com/api-reference/collections/count-what-deleting-a-collection-would-do-changes-nothing /mdx/api-reference/runtime/runtime-api.json get /api/user/collection/{id}/delete-preview Read-only. Answers the numbers the delete confirmation shows: how many files would move to the Trash and how many collections would be removed. It counts exactly what `DELETE /api/user/collection/{id}` acts on and needs the same permission. # Create a new collection Source: https://docs.praxis-ai.com/api-reference/collections/create-a-new-collection /mdx/api-reference/runtime/runtime-api.json post /api/user/collection # Delete a collection; its files move to the Trash Source: https://docs.praxis-ai.com/api-reference/collections/delete-a-collection;-its-files-move-to-the-trash /mdx/api-reference/runtime/runtime-api.json delete /api/user/collection/{id} Removes the collection and all its sub-collections. Every file in them that is not already in the Trash moves to the Trash (restorable for 30 days; processing jobs are cancelled). Files already in the Trash are left as they are. The confirmation dialog's numbers come from `GET /api/user/collection/{id}/delete-preview`; a request carrying a `dryRun` query parameter is refused with 400 (it never counts and never deletes). A personal collection (no Digital Twin) may be deleted only by its owner; a twin collection needs `files.delete` in that twin. # Download collection as ZIP Source: https://docs.praxis-ai.com/api-reference/collections/download-collection-as-zip /mdx/api-reference/runtime/runtime-api.json get /api/user/collection/{id}/download Streams a ZIP of the files directly in the collection. A personal collection can be downloaded by its owner only. For a Digital Twin's collection the caller needs the files.list entitlement on that twin, and the archive holds the files the caller may read: confidential files of other people are left out. If a source file fails while the archive is being sent, the connection is closed (a failed download). A download that completes counts as a use of each file sent: it restarts the file's "keep if unused" period. # Download selected files as ZIP Source: https://docs.praxis-ai.com/api-reference/collections/download-selected-files-as-zip /mdx/api-reference/runtime/runtime-api.json post /api/user/bulk/download Streams a ZIP archive of the selected files. When only one file is selected, streams the file directly without zipping. A 1GB total size limit is enforced. Accepts both upload IDs and collection IDs — files in collections are included. Duplicate files are deduplicated by ID. ZIP entry names are deduplicated with a counter suffix. A download that completes counts as a use of each file sent: it restarts the file's "keep if unused" period. # Get all file and collection IDs for bulk select-all Source: https://docs.praxis-ai.com/api-reference/collections/get-all-file-and-collection-ids-for-bulk-select-all /mdx/api-reference/runtime/runtime-api.json post /api/user/collections/select-all-ids Returns all file IDs and collection IDs matching the current scope (vault root or inside a collection), honoring the active filters from the UI (file-name search, status filter). When any filter is active, collections are NOT returned — selecting a whole collection would pull in non-matching files inside it, which is unsafe for bulk delete. With `trash: true` the scope is the Trash tab instead — every trashed file the caller can see across vaults, matching the Trash listing (`POST /api/user/uploads` with `status: trashed`). `vault`, `parent` and `status` are ignored; `fileNameSearch` and `institution` still apply. Collections are never returned (they are not shown in the Trash). # Get recursive file counts for collections Source: https://docs.praxis-ai.com/api-reference/collections/get-recursive-file-counts-for-collections /mdx/api-reference/runtime/runtime-api.json post /api/user/collections/deep-count Given an array of collection IDs, returns the real recursive file count for each (including files in all descendant sub-collections). Does not use cached fileCount. # List collections for a vault Source: https://docs.praxis-ai.com/api-reference/collections/list-collections-for-a-vault /mdx/api-reference/runtime/runtime-api.json post /api/user/collections # List files within a collection Source: https://docs.praxis-ai.com/api-reference/collections/list-files-within-a-collection /mdx/api-reference/runtime/runtime-api.json post /api/user/collection/{id}/files # Remove files from a collection Source: https://docs.praxis-ai.com/api-reference/collections/remove-files-from-a-collection /mdx/api-reference/runtime/runtime-api.json put /api/user/collection/{id}/remove # Update collection (rename, move vault) Source: https://docs.praxis-ai.com/api-reference/collections/update-collection-rename-move-vault /mdx/api-reference/runtime/runtime-api.json put /api/user/collection/{id} Renames, recolours, re-parents or moves a ROOT collection to another vault. A vault move carries the whole subtree (sub-collections and every file in them, Trash included) to the new vault, so the caller must be entitled to move every one of those files: a move to a personal vault takes content out of the Digital Twin, so only the collection's owner may make it, into the owner's own vault, with files.delete in every twin the files leave (403 otherwise); every file and sub-collection must already belong to the owner (409 otherwise); to a Digital Twin or the account vault, the caller needs files.edit in every other twin a file sits in (403 otherwise). Nothing is changed when the move is refused. # Access log of one of your connections (decisions, never arguments) Source: https://docs.praxis-ai.com/api-reference/connectors/access-log-of-one-of-your-connections-decisions-never-arguments /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/connections/{id}/calls # Add a Stripe connection from a restricted read-only key Source: https://docs.praxis-ai.com/api-reference/connectors/add-a-stripe-connection-from-a-restricted-read-only-key /mdx/api-reference/runtime/runtime-api.json post /api/user/connectors/connections/stripe Body `{ apiKey: "rk_live_…" | "rk_test_…", shared?: boolean }`. Secret (sk_) and publishable (pk_) keys are refused. The key is stored encrypted and never returned (only its last 4 characters). `shared` (institution admins) makes it the twin's connection. # Approve or deny one connector write (once, or all for this session) Source: https://docs.praxis-ai.com/api-reference/connectors/approve-or-deny-one-connector-write-once-or-all-for-this-session /mdx/api-reference/runtime/runtime-api.json post /api/user/connectors/approvals/{approvalId} Body `{ decision: approve | deny, scope: once | session, grant?: { hours ≤ 12, maxWrites ≤ 100, capabilities?, scope?: binding | connection } }`. Only the connection owner (an institution admin for a twin's shared connection) may decide; anyone else gets 404. A per-call approval is bound to the exact input and used once. `scope: session` creates a revocable grant for that agent session; it is refused for actions that always ask. # Approve or deny one pending MCP connector call Source: https://docs.praxis-ai.com/api-reference/connectors/approve-or-deny-one-pending-mcp-connector-call /mdx/api-reference/runtime/runtime-api.json post /api/user/mcp-approvals/{id} Records the caller's decision on a pending approval. The waiting turn sees it within about a second and either runs the tool or tells the model the user declined. The decision is one-way — a second decision on the same request is refused with 409. Only the caller, in the instance the request was made in, can decide; anything else is a 404. # Bindings of one of your connections Source: https://docs.praxis-ai.com/api-reference/connectors/bindings-of-one-of-your-connections /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/connections/{id}/bindings # Check whether this session may decide MCP approvals now Source: https://docs.praxis-ai.com/api-reference/connectors/check-whether-this-session-may-decide-mcp-approvals-now /mdx/api-reference/runtime/runtime-api.json post /api/user/mcp-approvals/step-up The voice lane that answers approvals over the browser's direct OpenAI Realtime channel asks this first. 204 when the session may decide; the launch-scope 403 (LAUNCH_SCOPE_STEP_UP) when an administrator's Canvas-launched session must confirm it's them with a code. # Connect a Postgres or MongoDB database through Pria's static egress IP Source: https://docs.praxis-ai.com/api-reference/connectors/connect-a-postgres-or-mongodb-database-through-prias-static-egress-ip /mdx/api-reference/runtime/runtime-api.json post /api/user/connectors/connections/database/{kind} CONNECTORS_EGRESS only. Body `{ dsn, caPem?, shared? }`. Only paying or credit-holding instances may connect a database. The DSN is parsed into a closed set of fields (file paths, TLS-off modes and ambient-identity auth are refused), checked against the destination policy (no private, metadata or Pria addresses; Postgres 5432/6543/25060, MongoDB 27015–27017), then sealed so that ONLY the egress broker can open it. It is never returned. When another organisation already connected the same database address, the connection is created but unusable until you prove control (`verificationRequired` + DNS TXT / database token). # Connector framework availability Source: https://docs.praxis-ai.com/api-reference/connectors/connector-framework-availability /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/status Answers 200 `{ enabled: true }` while connections for agents and apps are turned on. Every /api/user/connectors path answers 404 while they are off. # Connector writes waiting for YOUR approval (you own the connection) Source: https://docs.praxis-ai.com/api-reference/connectors/connector-writes-waiting-for-your-approval-you-own-the-connection /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/approvals/pending # Create a binding (who may use the connection, for what, on which files) Source: https://docs.praxis-ai.com/api-reference/connectors/create-a-binding-who-may-use-the-connection-for-what-on-which-files /mdx/api-reference/runtime/runtime-api.json post /api/user/connectors/connections/{id}/bindings Body `{ connectorId, subjectType (user | twin | agentRole | app), subjectId?, capabilities[], dataBoundary { : [ids] , allowCreate? }, writeRequiresApproval (default true), callsPerMin?, expiresAt? }`. A user binding is always for you; a twin binding needs an institution admin. Capabilities and boundary keys are validated against the manifest. # Edit a binding (narrowing it revokes its session approvals) Source: https://docs.praxis-ai.com/api-reference/connectors/edit-a-binding-narrowing-it-revokes-its-session-approvals /mdx/api-reference/runtime/runtime-api.json patch /api/user/connectors/bindings/{id} # Google Picker session for the binding editor (owner only; off unless configured) Source: https://docs.praxis-ai.com/api-reference/connectors/google-picker-session-for-the-binding-editor-owner-only;-off-unless-configured /mdx/api-reference/runtime/runtime-api.json post /api/user/connectors/connections/{id}/picker Uses your EXISTING Google sign-in (personal, or the twin identity's for admins) — no OAuth here. Returns an access token narrowed to drive.file (minted for this Picker session, never stored, at most 1 hour, never a refresh token), the Picker developer key and the app id. Not cached. Audited. # How to prove control of a database address another organisation connected first Source: https://docs.praxis-ai.com/api-reference/connectors/how-to-prove-control-of-a-database-address-another-organisation-connected-first /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/connections/{id}/verification # Institution admins — every active session grant Source: https://docs.praxis-ai.com/api-reference/connectors/institution-admins-—-every-active-session-grant /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/admin/grants # Institution admins — every connection in the institution Source: https://docs.praxis-ai.com/api-reference/connectors/institution-admins-—-every-connection-in-the-institution /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/admin/connections # Institution admins — pending connector write approvals (see only; the owner decides) Source: https://docs.praxis-ai.com/api-reference/connectors/institution-admins-—-pending-connector-write-approvals-see-only;-the-owner-decides /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/admin/approvals # Institution admins — revoke a connection Source: https://docs.praxis-ai.com/api-reference/connectors/institution-admins-—-revoke-a-connection /mdx/api-reference/runtime/runtime-api.json delete /api/user/connectors/admin/connections/{id} # Institution admins — revoke a session grant Source: https://docs.praxis-ai.com/api-reference/connectors/institution-admins-—-revoke-a-session-grant /mdx/api-reference/runtime/runtime-api.json delete /api/user/connectors/admin/grants/{id} # List the caller's pending MCP connector approvals Source: https://docs.praxis-ai.com/api-reference/connectors/list-the-callers-pending-mcp-connector-approvals /mdx/api-reference/runtime/runtime-api.json get /api/user/mcp-approvals/pending While a conversation model waits for permission to run a tool on an MCP connector that the instance marked "Require approval", the pending request is stored server-side. This endpoint re-renders those requests after a page reload, on a second tab, or on another device. Only the caller's own pending requests, in their current instance, are returned — newest first, at most 20. # Prove control of the database address (DNS TXT record or a token in the database) Source: https://docs.praxis-ai.com/api-reference/connectors/prove-control-of-the-database-address-dns-txt-record-or-a-token-in-the-database /mdx/api-reference/runtime/runtime-api.json post /api/user/connectors/connections/{id}/verify Body `{ method: "dns" | "db", database? }`. `dns` looks for `_pria-egress.` TXT "pria-egress-verify=". `db` has the egress broker read `pria_verification` with this connection's own credential (Postgres `public.pria_verification(token text)`, MongoDB `.pria_verification { token }`). At most 10 attempts per hour; failed sign-ins count against the address's cross-tenant lockout. # Remove a binding Source: https://docs.praxis-ai.com/api-reference/connectors/remove-a-binding /mdx/api-reference/runtime/runtime-api.json delete /api/user/connectors/bindings/{id} # Remove a connection whose key was pasted here (Stripe) Source: https://docs.praxis-ai.com/api-reference/connectors/remove-a-connection-whose-key-was-pasted-here-stripe /mdx/api-reference/runtime/runtime-api.json delete /api/user/connectors/connections/{id} Google and Microsoft 365 are disconnected in their own settings (409 MANAGED_ELSEWHERE). # Revoke one of your session grants Source: https://docs.praxis-ai.com/api-reference/connectors/revoke-one-of-your-session-grants /mdx/api-reference/runtime/runtime-api.json delete /api/user/connectors/grants/{id} # The connectors Pria offers (manifests, no secrets) Source: https://docs.praxis-ai.com/api-reference/connectors/the-connectors-pria-offers-manifests-no-secrets /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/catalog # Your active approve-all-for-this-session grants Source: https://docs.praxis-ai.com/api-reference/connectors/your-active-approve-all-for-this-session-grants /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/grants # Your connections (plus your twin's shared ones when you administer it) Source: https://docs.praxis-ai.com/api-reference/connectors/your-connections-plus-your-twins-shared-ones-when-you-administer-it /mdx/api-reference/runtime/runtime-api.json get /api/user/connectors/connections Health, scopes, connector names and last use. Never a credential. Your current Google and Microsoft 365 grants are listed automatically; connecting, reconnecting and disconnecting happen in Settings › Google services (personal) or the Digital Twin's identity settings — never here. `managedIn` says which. # Send a message to the AI assistant Source: https://docs.praxis-ai.com/api-reference/conversation/send-a-message-to-the-ai-assistant /mdx/api-reference/runtime/runtime-api.json post /api/ai/personal/qanda Processes conversational AI requests with full context awareness including: - User location and timezone - Conversation history (via selectedCourse) - Assistant personality and instructions - RAG (Retrieval-Augmented Generation) from uploaded documents **Streaming:** For real-time response streaming, include a valid `socketId` in requestArgs. The AI will stream chunks via Socket.IO to the `RECEIVE_STREAM` event. **Without Streaming:** If socketId is omitted, the full response is returned synchronously. # Send a message to the AI assistant (experimental — Soul Document prompt) Source: https://docs.praxis-ai.com/api-reference/conversation/send-a-message-to-the-ai-assistant-experimental-—-soul-document-prompt /mdx/api-reference/runtime/runtime-api.json post /api/ai/experimental/personal/qanda Experimental variant of `/api/ai/personal/qanda`. Identical request / response contract and Socket.IO streaming semantics, but the system prompt is generated by the **Soul Document V1** prompt generator (`getSoulDocumentPrompt` / `getSoulDocumentPromptBypassed`) instead of the production fragmented-prompt generator. Used for A/B testing prompt architectures against the classic production endpoint. Behavior parity with `/api/ai/personal/qanda`: - Same `inputs[]` + `requestArgs` request shape. - Same Socket.IO streaming (provide `requestArgs.socketId` for `RECEIVE_STREAM` chunks; omit for synchronous response). - Same downstream middleware chain (`creditCheck`, `contentFilterCheck`, `creditPayment`, `saveToHistory`, `sendResponse`). Differences vs. `/api/ai/personal/qanda`: - `req.locals.experimental = true` and `req.locals.promptMode = 'soul'` are stamped on the history record for downstream comparison. - Error emails are sent with an `EXPERIMENTAL ENDPOINT` label so they can be filtered out of production triage. - The handler re-loads the user via its own `User.findOne({_id})` and populates `institution` + `institution.account` directly, instead of consuming `req.locals.resolvedUser` produced upstream. The `resolveInstitution` middleware still runs (so `institutionPublicId` is validated and the institution switch is persisted), but the user object the handler operates on is fresh from this re-load — matching the soul-comparison harness's expectations. See `docs/plans/2026-02-01-soul-document-experiment-design.md` and `test/soul-comparison/runner.js` for the A/B harness that drives this endpoint. # Send a message to the AI assistant (experimental — Soul Document V2 prompt) Source: https://docs.praxis-ai.com/api-reference/conversation/send-a-message-to-the-ai-assistant-experimental-—-soul-document-v2-prompt /mdx/api-reference/runtime/runtime-api.json post /api/ai/experimental/personal/qanda-v2 Second-generation experimental variant of `/api/ai/personal/qanda`. Identical request / response contract to the V1 experimental endpoint, but uses the **Soul Document V2** prompt generator (`getSoulDocumentPromptV2` / `getSoulDocumentPromptV2Bypassed`) which refines the cohesive-anchor architecture introduced in V1. Used for three-way A/B testing alongside classic `/api/ai/personal/qanda` and the V1 experimental endpoint. Behavior is otherwise identical to `/api/ai/experimental/personal/qanda`: - Same `inputs[]` + `requestArgs` request shape (`QandARequest`). - Same Socket.IO streaming via optional `requestArgs.socketId`. - Same downstream middleware chain (`creditCheck`, `contentFilterCheck`, `creditPayment`, `saveToHistory`, `sendResponse`). - Same handler-level `User.findOne({_id})` re-load (the `resolveInstitution` middleware still runs upstream, but the handler operates on the freshly re-loaded user object). - `req.locals.experimental = true` and `req.locals.promptMode = 'soul-v2'` are stamped on the history record so the A/B harness can distinguish V1 from V2 runs. See `docs/plans/2026-02-01-soul-document-experiment-design.md` and the three-way comparison runner in `test/soul-comparison/`. # Send a message with HTTP SSE streaming response Source: https://docs.praxis-ai.com/api-reference/conversation/send-a-message-with-http-sse-streaming-response /mdx/api-reference/runtime/runtime-api.json post /api/ai/personal-stream/qanda-stream Alternative to Socket.IO streaming - uses standard HTTP Server-Sent Events (SSE). Ideal for server-side integrations, SDKs, and environments where WebSockets aren't available. ## Response Format Returns `text/event-stream; charset=utf-8` with SSE-formatted JSON chunks. Each line is prefixed with `data: ` followed by a JSON object and two newlines. ``` data: {"type":"connected","message":"Stream connected"} data: {"type":"stream","prompt":"The capital","delta":"The capital"} data: {"type":"stream","prompt":"The capital of France is Paris.","delta":" of France is Paris."} data: {"type":"tool_call","call_id":"tooluse_abc123","name":"search_uploads","arguments":null,"displayInfo":{"icon":"search","label":"Searching documents"}} data: {"type":"tool_result","call_id":"tooluse_abc123","name":"search_uploads","arguments":{"query":"France capital"},"response":"...","responseLength":512,"responseDurationMs":150,"success":true} data: {"type":"complete","success":true,"usage":1234,"outputs":["The capital of France is Paris."],"model":"us.anthropic.claude-sonnet-4-5-20250929-v1:0","cached":0,"completion":42} data: {"type":"done"} ``` ## Event Types | Type | Description | Key Fields | |------|-------------|------------| | `connected` | Stream established | `message` | | `stream` | Text chunk from AI | `prompt` (cumulative), `delta` (incremental) | | `tool_call` | Tool invocation started | `call_id`, `name`, `arguments`, `displayInfo` | | `tool_result` | Tool execution completed | `call_id`, `name`, `response`, `success`, `responseDurationMs` | | `complete` | Final response with metrics | `success`, `usage`, `outputs`, `model`, `cached`, `completion` | | `error` | Processing error | `error.message`, `error.status` | | `done` | Stream ended | _(none)_ | ## Response Headers ``` Content-Type: text/event-stream; charset=utf-8 Cache-Control: no-cache, no-transform Connection: keep-alive Content-Encoding: none Transfer-Encoding: chunked X-Accel-Buffering: no ``` ## Cancellation and disconnects Closing the HTTP connection does NOT cancel the request. A dropped connection (network blip, proxy timeout, client exit) detaches the turn: the agent keeps working headless, the finished answer is persisted to the conversation history, and it is delivered the next time the conversation is loaded. Detached turns are bounded by a server-side deadline (30 minutes by default). To cancel a running request explicitly, call POST /api/ai/personal/subagent/abort-turn with the turn's id (the same id sent in this request's body). # Discard a prepared email without sending it Source: https://docs.praxis-ai.com/api-reference/email-proposals/discard-a-prepared-email-without-sending-it /mdx/api-reference/runtime/runtime-api.json post /api/user/email-proposals/{id}/decline # List the emails a conversation turn prepared for you to send Source: https://docs.praxis-ai.com/api-reference/email-proposals/list-the-emails-a-conversation-turn-prepared-for-you-to-send /mdx/api-reference/runtime/runtime-api.json get /api/user/email-proposals When a Digital Twin's helper prepares an email on your behalf, nothing is sent — it waits for you on a card below the answer. This lists the prepared emails of one conversation turn (a history entry you own), oldest first, at most 20. An email whose sending did not finish within 10 minutes is reported as `unknown` (it may have been sent). # Send a prepared email Source: https://docs.praxis-ai.com/api-reference/email-proposals/send-a-prepared-email /mdx/api-reference/runtime/runtime-api.json post /api/user/email-proposals/{id}/send Sends exactly the prepared email — its From (your connected Gmail or Outlook account), To, Cc, Subject and plain-text body — from your connected account. The request body is ignored. A second click never sends twice. # Queue an async full-dataset CSV export Source: https://docs.praxis-ai.com/api-reference/exports/queue-an-async-full-dataset-csv-export /mdx/api-reference/admin/admin-api.json post /api/admin/exports Queues a background CSV export for the specified admin resource. The export worker leases the job, applies the same role-scoped filter as the list endpoint (so an admin only exports their managed accounts), builds the CSV, saves it to the requesting admin's private vault, and emails a download link when ready. Filters and columnIds from the request body narrow the result but never widen the caller's authorized scope. # Get user feedbacks Source: https://docs.praxis-ai.com/api-reference/feedback/get-user-feedbacks /mdx/api-reference/runtime/runtime-api.json get /api/user/feedbacks Retrieves feedback submitted by the current user. Returns up to 100 items sorted by newest first. Response is a raw JSON array (no wrapper object). # Submit feedback Source: https://docs.praxis-ai.com/api-reference/feedback/submit-feedback /mdx/api-reference/runtime/runtime-api.json post /api/user/feedback Submits user feedback about the application. On success, the Digital Twin's contact addresses receive an email with the feedback and a link that opens it on the Admin › Feedbacks page. # Connect any GitLab with a personal access token Source: https://docs.praxis-ai.com/api-reference/git-connections/connect-any-gitlab-with-a-personal-access-token /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/gitlab/token Checks the token against the GitLab at `baseUrl` (default https://gitlab.com; public https only, no redirects) and stores it encrypted. The token needs the `api` and `write_repository` scopes. Disconnecting later forgets the token but does not revoke it (it is the person's own). # Disconnect GitHub Source: https://docs.praxis-ai.com/api-reference/git-connections/disconnect-github /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/github/disconnect Forgets the person's GitHub connection and revokes that token at GitHub (best effort). Agents' next git operation against github.com fails at once. Person only (403 HUMAN_SIGN_IN_REQUIRED otherwise). # Disconnect one GitLab host Source: https://docs.praxis-ai.com/api-reference/git-connections/disconnect-one-gitlab-host /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/gitlab/disconnect # GitHub / GitLab sign-in return (browser redirect) Source: https://docs.praxis-ai.com/api-reference/git-connections/github-gitlab-sign-in-return-browser-redirect /mdx/api-reference/runtime/runtime-api.json get /api/auth/agent-git/{provider}/callback Public. Consumes the single-use state, stores the connection for the person who started it, and redirects to /pria/agents?connections=connectors — with `&git_error=` (GIT_STATE_INVALID, GIT_DENIED, GIT_EXCHANGE_FAILED) when it did not work. # Is GitHub connected for this person's agents Source: https://docs.praxis-ai.com/api-reference/git-connections/is-github-connected-for-this-persons-agents /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/connect/github/status The signed-in person's GitHub connection, used by `git` in every shell of their agents (Agents, the persistent daemon, its workflow runs and the desktop) on every twin. `configured` is false when this Pria has no GitHub app for agents (GITHUB_AGENT_CLIENT_ID/SECRET). Tokens are never returned. # Start connecting GitHub (returns the GitHub sign-in address) Source: https://docs.praxis-ai.com/api-reference/git-connections/start-connecting-github-returns-the-github-sign-in-address /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/github/start Returns GitHub's authorize address (scopes `repo workflow read:org gist`, PKCE S256, a single-use state that expires in 10 minutes); the app navigates there. GitHub sends the person back to /api/auth/agent-git/github/callback, which stores the connection and returns to /pria/agents?connections=connectors (adding `git_error=` on failure). Only a person signed in themselves can do this — API-key, agent and consent-link tokens get 403 HUMAN_SIGN_IN_REQUIRED. # Start connecting gitlab.com by sign-in Source: https://docs.praxis-ai.com/api-reference/git-connections/start-connecting-gitlabcom-by-sign-in /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/gitlab/start Like GitHub's start: returns gitlab.com's authorize address (scopes `api read_user write_repository`, PKCE). The callback is /api/auth/agent-git/gitlab/callback. Tokens last 2 hours and are renewed by Pria. # The person's GitLab connections for their agents Source: https://docs.praxis-ai.com/api-reference/git-connections/the-persons-gitlab-connections-for-their-agents /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/connect/gitlab/status One entry per GitLab host (gitlab.com by sign-in, any host by personal access token). `oauthConfigured` says whether gitlab.com sign-in is available (GITLAB_AGENT_CLIENT_ID/SECRET). Tokens are never returned. # Can this user's agents read Gmail on the current Digital Twin Source: https://docs.praxis-ai.com/api-reference/google-connection/can-this-users-agents-read-gmail-on-the-current-digital-twin /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/connect/google/status Reports whether the signed-in user's agents (Agents, the persistent Synaps daemon) can read Gmail on the current Digital Twin through the read-only `gmail` proxy connector, and whose mailbox it is. Uses the same Google connection as the twin's Gmail tool: the twin's shared Google account when it uses one, otherwise the user's own. `canConnect` is true when the user can fix it by connecting Google (GET /api/auth/google/services/authorize with scopes=gmail and origin=agents). Tokens and consent links are never returned. # Clear history records (soft delete) Source: https://docs.praxis-ai.com/api-reference/history/clear-history-records-soft-delete /mdx/api-reference/runtime/runtime-api.json post /api/user/clearHistory Soft-deletes history records by setting forgotten=true. Two operation modes: (1) course_id deletes a conversation within the resolved institution scope and detaches its favorites, (2) id deletes a single record. Favorites in a course are detached (course_id/course_name removed) rather than deleted. course_id mode supports institution scoping (ObjectId / explicit null = personal / omitted = user.institution fallback); allInstitutions:true is rejected with 400. # Generate an AI summary title for a history record or conversation Source: https://docs.praxis-ai.com/api-reference/history/generate-an-ai-summary-title-for-a-history-record-or-conversation /mdx/api-reference/runtime/runtime-api.json post /api/user/summarizeHistory Uses AI to generate a concise title that describes the benefit or outcome of the conversation. The AI provider is determined by the institution's summaryModel configuration. When 'id' is supplied, reads a single history record (input, inputs, outputs, code) and returns up to 200 chars. When 'course_id' is supplied, summarizes the first 2 + last 3 dialogues of the conversation within the resolved institution scope (all dialogues if ≤5 total) and returns up to 50 chars. course_id mode supports institution scoping (ObjectId / explicit null = personal / omitted = user.institution fallback); allInstitutions:true is rejected with 400. # Rename a conversation or favorite Source: https://docs.praxis-ai.com/api-reference/history/rename-a-conversation-or-favorite /mdx/api-reference/runtime/runtime-api.json post /api/user/renameHistory Two modes of operation: (1) Rename a conversation by providing course_id and course_name - updates all history records in that conversation within the resolved institution scope. (2) Rename a favorite by providing id and favorite_name - updates a single record. If favorite_name is falsy, the field is removed ($unset). Conversation renames support institution scoping (ObjectId / explicit null = personal / omitted = user.institution fallback); allInstitutions:true is rejected with 400. # Retrieve user conversation histories Source: https://docs.praxis-ai.com/api-reference/history/retrieve-user-conversation-histories /mdx/api-reference/runtime/runtime-api.json post /api/user/histories Fetches conversation history records based on specified filters. Results are sorted newest-first by the database, then reversed to oldest-first before returning. Long strings in inputs/outputs are trimmed to 200 chars. Tool responses are truncated to 80 chars unless tools=true. # Retrieve user conversations Source: https://docs.praxis-ai.com/api-reference/history/retrieve-user-conversations /mdx/api-reference/runtime/runtime-api.json post /api/user/courses Gets a grouped list of all conversations (courses) for the authenticated user. Each course includes its history count, last dialogue date, and the most recently used assistant (so callers can restore conversation context on the next turn). Courses with course_id=0 are filtered out of results. Institution scoping: pass an ObjectId to scope to a twin, explicit null/empty to scope to personal history only, or omit the field to fall back to the user's current institution. Cross-twin: `allInstitutions: true` lists the caller's conversations across every active membership plus the personal account, keyed on {course_id, institution}, each row badged with `institution` ({_id, name, ainame, picture, slug} | {personal: true} | null). Always limited to the caller's own history. # Retrieve user's favorite dialogues Source: https://docs.praxis-ai.com/api-reference/history/retrieve-users-favorite-dialogues /mdx/api-reference/runtime/runtime-api.json post /api/user/favorites Returns history records marked as favorites by the authenticated user. Uses the same HistoryRecord response shape as /histories. Results are trimmed (inputs/outputs to 200 chars, tool responses to 80 chars). Limited to 1000 records. # Update a history record Source: https://docs.praxis-ai.com/api-reference/history/update-a-history-record /mdx/api-reference/runtime/runtime-api.json put /api/user/history/{id} Updates a user's history record with the provided properties. Accepts any valid history field in the body, not just favorite and forgotten. Returns the full updated document. # A Digital Twin's about and its numbers of files and assistants Source: https://docs.praxis-ai.com/api-reference/institutions/a-digital-twins-about-and-its-numbers-of-files-and-assistants /mdx/api-reference/runtime/runtime-api.json post /api/user/twinSummary Returns, for one Digital Twin you belong to, its about text and how many files and assistants it has — counted as you may see them: files in the Trash and other members' confidential files are not counted. Assistants are those the Assistants list shows you: the twin's own, the platform's, and those shared by the other Digital Twins of its account — assistants reserved for administrators count only for the twin's administrators, private assistants only for their owner, drafts only for their author, and assistants switched off for the twin not at all. Without an `institution`, the numbers are those of your personal account (your own files; your own assistants and the platform's). With `detail: true` the answer also describes the twin for its About page: up to six of its assistants (its own shared ones and those shared by its account's other Digital Twins, most liked first; for the personal account, the platform's), its top-level collections (up to eight) and what it can do for you (capabilities). For a Digital Twin, detail is given only to members whose membership is active. # Check the upgrade to create Digital Twins Source: https://docs.praxis-ai.com/api-reference/institutions/check-the-upgrade-to-create-digital-twins /mdx/api-reference/runtime/runtime-api.json get /api/user/twin-upgrade Where the signed-in account stands on the upgrade that lets a personal account create its own Digital Twins. An account that registered itself, belongs to no Digital Twin and has asked its personal Pria 5 questions can upgrade. `state` is `off` (the upgrade is not offered), `already` (the account can already create Digital Twins), `integration` (the account was created for a Digital Twin), `not-personal` (the account belongs to a Digital Twin), `revoked` (the upgrade was taken back), `progress` (fewer than 5 questions so far) or `eligible`. # Create a Digital Twin Source: https://docs.praxis-ai.com/api-reference/institutions/create-a-digital-twin /mdx/api-reference/runtime/runtime-api.json post /api/user/institution Creates a Digital Twin with the signed-in user as its contact and administrator: the user gets an admin membership with the admin entitlements on it, it becomes their current Digital Twin, and their user account becomes an administrator account. The Digital Twin joins a customer account only when the user manages that account: the one named in `account`; without `account`, the one whose registered domain is exactly `domain`; then the account of the user's current Digital Twin; otherwise no account. The listed managers of that account get an admin membership too. It starts with 50 credits and in persona mode. Fields not listed below are ignored. Only from the user's own session. At most 5 creations per user every 10 minutes (429 beyond). When the upgrade to create Digital Twins is offered (see /api/user/twin-upgrade), only an account that can create Digital Twins may call it, and an account that upgraded itself creates at most 3 Digital Twins. # Create a Digital Twin for a Canvas course Source: https://docs.praxis-ai.com/api-reference/institutions/create-a-digital-twin-for-a-canvas-course /mdx/api-reference/admin/admin-api.json post /api/auth/createInstitutionForContextid Creates a Digital Twin for one Canvas course, from the course's onboarding page. Only the fields listed in the request schema are used; any other field is ignored. The Digital Twin joins the customer account whose registered domain is exactly the `domain` host; otherwise it is created without an account. The contact address never decides the account, and the answer never names it. Creating a Digital Twin here changes no existing account: the contact administers the new Digital Twin after confirming their address with a code on their first launch into it. To create a Digital Twin while signed in, use `POST /api/user/institution`. # Fetch lazy-loaded institution about markdown Source: https://docs.praxis-ai.com/api-reference/institutions/fetch-lazy-loaded-institution-about-markdown /mdx/api-reference/runtime/runtime-api.json post /api/user/institutionAbout Returns the `about` markdown for a single institution, gated by an active UserInstitution membership for the caller. Used by the Gallery card flip and About modal so the bulk entitlements payload (POST /api/user/refresh/entitlements) does not have to ship the about text for every institution the user belongs to. # Get institutions for LTI context Source: https://docs.praxis-ai.com/api-reference/institutions/get-institutions-for-lti-context /mdx/api-reference/admin/admin-api.json post /api/auth/getInstitutionsForContextid Retrieves institutions associated with a specific LTI context ID — one of four answers (design 2026-09-28 D5): `login` (a usable twin holds the course), `unavailable` (the course's only holder(s) are disabled or account-blocked twins — named to a manager only), `hidden` (no holder, but a hide row exists), or the caller's own chooser list (`existing`/`contact`). The `unavailable`/`hidden` marker is returned ALONE — it is NEVER returned alongside the chooser list, because a held or hidden course is not offered for remapping. Passing the optional `launch` or `ticket` lets a manager (a verified in-process LTI 1.3 launch, or the ticket of one, by default) get `canManage`/`canUnlink`/`ticket` on the `unavailable`/`hidden` answer instead of the bare block everyone else sees. # Update institution settings Source: https://docs.praxis-ai.com/api-reference/institutions/update-institution-settings /mdx/api-reference/runtime/runtime-api.json put /api/user/institution Updates the current user's Digital Twin configuration. Which keys the caller may send depends on their rights on the current Digital Twin: `personalisationAsked` and `canvasAuthRequiredAsked` (the first-run prompts) need no right; the six retrieval dials (`kmeanScore`, `entityVectorMinScore`, `ragLimitChunks`, `ragChunkChars`, `ragChunkEnrichment`, `ragChunkSanitize`) need the files.edit entitlement; every other key needs the institutions.edit entitlement. A key outside the caller's list is refused with a 400. Admins/managers may set `creditCaps` (per-user quotas) on their institution when the account has not enabled caps; when the account owns caps `creditCaps` is ignored (read-only inherited). The request body is validated against the institution authorized properties list (conversationModel, conversationFallbackModel, maxCompletionTokens, reasoningEffort, extendedContext, about, personaMode, personalisationAsked, disableToolUseInstructions, kmeanScore, ragLimitChunks, toolsDisabled, compactHistory, displayThinkingDetails, displayAgentDetails, displayRagSearchDetails, displayMemoryDetails, displayThinkingExecution, displayToolExecution, enableModeration, alwaysCiteSources, toolResultsMaxChars, toolCallBudget, rtEnabled, rtAdminOnly, rtTextInputEnabled, rtModel, rtVoice, gemini_rt_voice, gemini_rt_start_sensitivity, xai_rt_voice, openai_live_voice, rtVADEagerness, rtNoiseReduction, rtTranscriptionLanguage, disableFileUploadForUser, disableAudioNotesForUser, disableClipboardForUser, locationEnabled, guestUI, theme, picture, ainame, assistantsDisabled, engramAdminOnly, memoryMode). Any properties not in this list are rejected with a 400. The long-term memory controls (`engramAdminOnly`, `memoryMode`, `displayMemoryDetails`) additionally require the institutions.edit entitlement. # Upgrade to create Digital Twins Source: https://docs.praxis-ai.com/api-reference/institutions/upgrade-to-create-digital-twins /mdx/api-reference/runtime/runtime-api.json post /api/user/twin-upgrade Upgrades the signed-in personal account so it can create Digital Twins (up to 3). Only when the state is `eligible`, and only from the account's own session. The upgrade cannot be undone from the account. # Aggregate vault-wide health stats Source: https://docs.praxis-ai.com/api-reference/ip-vault/aggregate-vault-wide-health-stats /mdx/api-reference/runtime/runtime-api.json post /api/user/uploads/vault-health-summary Returns per-category counts across the entire vault (Personal / Instance / Account) — not scoped to the current collection or page. Used by the Files panel's Vault Health header to compute the A-F grade and the attention dot. Computed via parallel `$match + $count` pipelines (DocumentDB-safe; no `$facet`). # Delete uploaded file Source: https://docs.praxis-ai.com/api-reference/ip-vault/delete-uploaded-file /mdx/api-reference/runtime/runtime-api.json delete /api/user/files/{fileId} Deletes a file and its associated embeddings from the user's IP Vault via RAG # Edit a text file's content and reprocess it Source: https://docs.praxis-ai.com/api-reference/ip-vault/edit-a-text-files-content-and-reprocess-it /mdx/api-reference/runtime/runtime-api.json put /api/user/files/{fileId}/content Replaces the content of an existing text-editable file (Markdown, plain text, HTML, and common code/data formats) in place, then re-runs the FULL ingestion pipeline (extract → chunk → sanitize → embed → finalize) so search and the knowledge graph reflect the new text. The file's id, filename, and `file_url` stay byte-identical so any published links keep resolving. Only text-editable file types are accepted — non-text files (PDFs, images, office documents, etc.) return 415. The write is confined to the caller's own vault. # Get KAG (knowledge graph) summary for a file Source: https://docs.praxis-ai.com/api-reference/ip-vault/get-kag-knowledge-graph-summary-for-a-file /mdx/api-reference/runtime/runtime-api.json get /api/user/files/{uploadId}/kag-summary Returns the latest knowledge_graph_job for the upload at the current `graph-v2` extractionVersion: status, entities/relationships extracted, segments processed, attempt count, and the latest error (if any). Lazy-loaded by the File Preview > Knowledge Graph (KAG) sidebar section so the lean upload list doesn't have to ship this for every row. The endpoint is read-only and per-upload. It applies the same read gate as `POST /api/user/embeddings` (canToolReadUpload): the owner, an active member of the file's institution, or an account-shared sibling; confidential files stay owner-only. Callers who may not read the file get 403 (checked before the `notReady` answer). Soft-200 with `{ notReady: true }` when the embeddings Atlas connection is still opening — same convention as the embeddings endpoint. Returns `{ exists: false }` when no KAG job has been enqueued yet (e.g. file still in chunk/sanitize before KAG enqueues). # List every file with a vault-health issue Source: https://docs.praxis-ai.com/api-reference/ip-vault/list-every-file-with-a-vault-health-issue /mdx/api-reference/runtime/runtime-api.json post /api/user/uploads/files-with-issues Companion to `/api/user/uploads/vault-health-summary` — returns the full *list* of problematic files in scope (vault, or vault + collection subtree), classified into one of eight issue categories. Both endpoints share the same `$match` predicates so the list and the pill counts on the Vault Health panel always agree. Issue classification mirrors the client's legacy `filesWithIssues` priority order (first match wins): `missing_terminal > missing_file > unindexed > stale_base_url > unoptimized > error > never_used > stale`. Returned uncapped — problem inventory is naturally bounded by the vault's issue count, not browse pagination. Files-with-issues counts in the summary endpoint are also uncapped, so the list always matches. # Re-ingest file from source URL Source: https://docs.praxis-ai.com/api-reference/ip-vault/re-ingest-file-from-source-url /mdx/api-reference/runtime/runtime-api.json put /api/user/reingest/{fileId} Re-downloads the file content from its original `source_url`, replaces the file on disk, and re-runs the RAG ingestion pipeline — regenerating embeddings, summary, and metadata. The existing Upload record is updated in-place (no new record is created). Only works for files that were originally uploaded via URL (`source_url` must be set). Collection membership is preserved through the re-ingestion process. **YouTube URLs** are automatically detected and handled specially: metadata is fetched via oEmbed, transcripts are extracted with timestamps, and the upload thumbnail and `embed_url` are updated. If no captions are available and `skipIndexing` is false, the request fails. On failure, the upload's original status is restored to prevent file cards from getting stuck in a "processing" state. # Re-queue an existing file for ingestion Source: https://docs.praxis-ai.com/api-reference/ip-vault/re-queue-an-existing-file-for-ingestion /mdx/api-reference/runtime/runtime-api.json post /api/user/files/{fileId}/reprocess Re-enqueues an existing Upload record through the asynchronous ingestion pipeline (extract → chunk → sanitize → embed → finalize) without re-downloading the source file. Unlike `/reingest/{fileId}` which re-fetches the source URL, this endpoint operates on the file already on disk. Returns 409 if the file is already being processed (phase not in `done`/`error`). # Reload file content Source: https://docs.praxis-ai.com/api-reference/ip-vault/reload-file-content /mdx/api-reference/runtime/runtime-api.json put /api/user/reload/{fileId} Re-processes an existing file through the RAG pipeline, regenerating its embeddings and metadata. On success, returns the refreshed Upload record. On RAG callback error, returns HTTP 200 with success: false. # Scan vault uploads for content quality Source: https://docs.praxis-ai.com/api-reference/ip-vault/scan-vault-uploads-for-content-quality /mdx/api-reference/runtime/runtime-api.json post /api/user/uploads/vault-health Analyzes embedding chunks for unoptimized content (JavaScript, HTML, CSS, SQL, JSON) and assigns a vaultHealthScore (0-100) to each unscanned upload. Only processes uploads with vaultHealthScore null. Idempotent - re-running skips already-scanned files. # Search and retrieve user uploaded files Source: https://docs.praxis-ai.com/api-reference/ip-vault/search-and-retrieve-user-uploaded-files /mdx/api-reference/runtime/runtime-api.json post /api/user/uploads Retrieves a paginated list of user uploads with optional filtering by filename, status, vault type, and institution. Supports compact and lean response modes. When no vault is specified, legacy behavior applies: the user's personal files plus institution files are returned, and account-shared uploads from sibling institutions are appended. # Summarize the Trash for the notice above the composer Source: https://docs.praxis-ai.com/api-reference/ip-vault/summarize-the-trash-for-the-notice-above-the-composer /mdx/api-reference/runtime/runtime-api.json post /api/user/uploads/trash-summary Returns how many files are in the Trash and when the oldest one is purged, per vault. `personal` is always returned (the caller's own vault). `instance` is returned only for admins who hold file-edit rights on the institution (null otherwise) and counts only the twin files the caller is allowed to read. Retention is `retentionDays` days from `trashedAt`. # Update an existing upload file's metadata Source: https://docs.praxis-ai.com/api-reference/ip-vault/update-an-existing-upload-files-metadata /mdx/api-reference/runtime/runtime-api.json put /api/user/upload/{id} Updates the metadata of an uploaded file. Only whitelisted fields are accepted (originalname, file_title, file_summary, file_authors, file_url, source_url, status, is_private, is_public, institution, account_shared, collection, embeddings_model, summary_model, image_analysis_model, audio_analysis_model). Setting is_public to true automatically forces is_private to false. Sending institution or collection as empty string or null triggers $unset. Users with accountType user can only update their own files. Admins can update files within their own institution (with files.edit there), or files they originally uploaded (owner match) regardless of institution. Another user's PERSONAL file (no Digital Twin) cannot be changed. Setting collection to an id places the file in that collection: the caller must be allowed to edit it (a personal collection: its owner; a Digital Twin collection: files.edit there) and the file, as it will be after this request, must be in the collection's vault. A vault move (institution or account_shared changed) that does not send `collection` drops the file's current collection when that collection is not in the file's new vault (collections belong to a vault). account_shared is read strictly (true, 'true', 1, '1', 'yes' mean true) for every check. # Update file confidential status Source: https://docs.praxis-ai.com/api-reference/ip-vault/update-file-confidential-status /mdx/api-reference/runtime/runtime-api.json patch /api/user/files/{fileId}/confidential Updates the confidential (is_private) flag on a file. The caller must either own the file or be an institution admin for the file's institution. # Upload content from URL Source: https://docs.praxis-ai.com/api-reference/ip-vault/upload-content-from-url /mdx/api-reference/runtime/runtime-api.json post /api/user/url Downloads or scrapes content from a URL and ingests it into the user's IP Vault via RAG. Google document URLs (Docs, Sheets, Slides) are automatically detected and read via Google OAuth instead of plain HTTP download. The URL is validated against SSRF in non-dev mode. When an institution is provided, the user's membership is verified before proceeding. # Upload files Source: https://docs.praxis-ai.com/api-reference/ip-vault/upload-files /mdx/api-reference/runtime/runtime-api.json post /api/user/files Uploads one or more files to the user's IP Vault for RAG processing and embedding. Files are uploaded via multipart form-data using the 'files' field name. Audio files (mp3, m4a, webm, wav, mp4, mov, etc.) are limited to 25MB each. Non-audio files are limited to 150MB each. The multer middleware enforces a 500MB overall limit per file before the handler's own size checks. An SVG file (a .svg name, an image/svg+xml type, or an .xml file whose root element is ) is stored without active content: scripts, event handlers and javascript: links are removed; its drawing stays. If an SVG cannot be sanitised, that file is not stored and its entry in the files array has success false. # Approve a pending membership Source: https://docs.praxis-ai.com/api-reference/membership/approve-a-pending-membership /mdx/api-reference/runtime/runtime-api.json post /api/user/approveUid Approves a pending membership request. The caller must be the referrer recorded on the request when it was made, `ref` must also name the caller, and the caller must still be allowed to add members to that Digital Twin. On approval the membership becomes active, the twin's join credit award (where one is configured and the person has not had it) is paid, and an approval email is sent to the person who asked to join. The answer carries only the names shown in the confirmation: never the user or Digital Twin records. # Create or retrieve institution join code Source: https://docs.praxis-ai.com/api-reference/membership/create-or-retrieve-institution-join-code /mdx/api-reference/runtime/runtime-api.json post /api/user/institutionCreateJoinId Returns the Digital Twin's invite code, creating one (UUID v4) when the twin has none. The caller must be allowed to add members to that twin (the `users.add` entitlement on it). This is the only route that returns the code: it is not part of the profile, the memberships list or the twin record. # Create personal institution Source: https://docs.praxis-ai.com/api-reference/membership/create-personal-institution /mdx/api-reference/runtime/runtime-api.json post /api/user/userInstitutionCreatePersonal Creates a new personal Digital Twin instance (UserInstitution with no institution) for the user. Does not return the created record. Idempotent: if the user already has a personal instance, responds 200 without creating a second one. Refused with 403 when the user's current instance has Prevent Personal Account Creation enabled. # Email an invite link to a recipient Source: https://docs.praxis-ai.com/api-reference/membership/email-an-invite-link-to-a-recipient /mdx/api-reference/runtime/runtime-api.json post /api/user/institutionSendInvite Composes an invitation email containing the institution's join link and sends it to the supplied email address. Requires admin privileges. Reuses the institution's existing joinId or generates one on demand. # Get available institutions Source: https://docs.praxis-ai.com/api-reference/membership/get-available-institutions /mdx/api-reference/runtime/runtime-api.json post /api/user/availableInstitutions Retrieves a list of institutions the user can join. Results are wrapped in a UserInstitution-like structure with nested institution_data and account_data. Visibility rules depend on user account type and allowJoining/account settings. Optionally filters by a search term (matched against name, ainame, or account name). Optionally paged: when `page` and/or `pageSize` is present the rows are sorted by ainame, name, _id and only the requested page is returned, together with page/pageSize/totalMatching/hasMore. When neither is present every row is returned, unsorted, exactly as before. # Get institution by join code Source: https://docs.praxis-ai.com/api-reference/membership/get-institution-by-join-code /mdx/api-reference/runtime/runtime-api.json post /api/user/institutionByJoinId Retrieves institution information using a join code. Includes populated account data if available. # Join an institution Source: https://docs.praxis-ai.com/api-reference/membership/join-an-institution /mdx/api-reference/runtime/runtime-api.json put /api/user/institutionJoin Joins the caller to a Digital Twin. Two ways in: the twin is open to the caller (it is offered by `POST /api/user/availableInstitutions`), or the request carries the twin's invite code in `joinId`. When `referrer` is the caller the membership is active at once. When `referrer` is someone else (an invitation link) `joinId` is required, the referrer must be allowed to add members to that twin, the membership is created `pending` and an email asks the referrer to approve it. If the caller already has a membership for the twin, the existing record is returned and nothing changes. A twin's join credit award, where one is configured, is paid once per person, when the membership becomes active. # Remove user institution membership Source: https://docs.praxis-ai.com/api-reference/membership/remove-user-institution-membership /mdx/api-reference/runtime/runtime-api.json delete /api/user/userInstitution/{id} Removes a user's membership from an institution (also cancels a pending join request). If removing the currently active profile, the user is automatically switched to another active membership, or to no Digital Twin when none is left. The only admin of a twin (no other active admin) cannot leave while other people (active or inactive rows) are in it: 409. Every removal is written to the membership audit ledger (detail self-leave). # Check the caller's membership on a public twin slug Source: https://docs.praxis-ai.com/api-reference/memberships/check-the-callers-membership-on-a-public-twin-slug /mdx/api-reference/runtime/runtime-api.json post /api/user/twinMembership Twin-widget identity pre-flight. Given the public slug used by /twins/{slug}, reports whether the AUTHENTICATED caller holds an active membership on that twin's institution. The widget page uses this to route an already-signed-in visitor into the app as themselves (member) or ask them to log out first (non-member); unauthenticated visitors never call this and proceed as guests. # Bulk hard-delete shared rows for an instance (requires institutions.edit). Source: https://docs.praxis-ai.com/api-reference/memory/bulk-hard-delete-shared-rows-for-an-instance-requires-institutionsedit /mdx/api-reference/runtime/runtime-api.json delete /api/user/memory/institution/{id} # Bulk hard-delete the user's own personal memory rows (filter-aware). Source: https://docs.praxis-ai.com/api-reference/memory/bulk-hard-delete-the-users-own-personal-memory-rows-filter-aware /mdx/api-reference/runtime/runtime-api.json delete /api/user/memory/personal # Edit a memory parameter (whitelisted fields only). Source: https://docs.praxis-ai.com/api-reference/memory/edit-a-memory-parameter-whitelisted-fields-only /mdx/api-reference/runtime/runtime-api.json patch /api/user/memory/{id} Whitelist: key_value, key_description, shared. Author can always edit own rows; non-author can edit shared rows iff they hold institutions.edit on that institution. `shared` must be a boolean (the strings "true"/"false" are accepted); sharing an entry that is not yet shared (false → true) is admin only (role re-read from the database), and a personal row (no Digital Twin) can never be shared. # Hard-delete a single memory parameter. Source: https://docs.praxis-ai.com/api-reference/memory/hard-delete-a-single-memory-parameter /mdx/api-reference/runtime/runtime-api.json delete /api/user/memory/{id} # List the user's memory parameters (personal + shared in their instances). Source: https://docs.praxis-ai.com/api-reference/memory/list-the-users-memory-parameters-personal-+-shared-in-their-instances /mdx/api-reference/runtime/runtime-api.json get /api/user/memory # Personal-scope data counts Source: https://docs.praxis-ai.com/api-reference/my-data/personal-scope-data-counts /mdx/api-reference/runtime/runtime-api.json get /api/user/data/stats Returns counts of personal-scope dialogues, uploads (with byte sum), and memory entries. Used by the My Data panel's initial render and by the post-delete refresh. Hits existing indexes — no `$facet` (DocumentDB-safe). # Request a ZIP-by-email export of personal data Source: https://docs.praxis-ai.com/api-reference/my-data/request-a-zip-by-email-export-of-personal-data /mdx/api-reference/runtime/runtime-api.json post /api/user/data/export Rate-limited to 1 request per user per hour. Returns 202 immediately and kicks off a background build that streams the ZIP to `/uploads//gdpr-export-.zip` and emails a 30-day-signed download link to the user's address. Contents: README.txt + dialogues.csv + uploads.csv + memory.csv + assets/. The ZIP reflects state at job start; concurrent deletes during the build are best-effort. If the build fails (disk full, mail relay down, etc.) a failure email is sent and the partial ZIP is removed. # Scoped soft-delete of personal data Source: https://docs.praxis-ai.com/api-reference/my-data/scoped-soft-delete-of-personal-data /mdx/api-reference/runtime/runtime-api.json delete /api/user/data Atomic per-class soft-delete. At least one of `dialogues` / `vault` must be true. Personal-scope only — institution rows are filtered out before any mutation. Idempotent: re-running returns zeros once everything is already soft-deleted. Vault deletes go through `rag.fileDelete` to clear embeddings + KAG cascade + physical file before flipping `status='deleted'` and stamping `deleted_at`. Per-upload failures from rag.fileDelete are collected in `uploadsFailed` and the status flip is skipped on those rows so a retry can re-attempt the physical removal. # Complete the Canvas LMS API authorization handoff Source: https://docs.praxis-ai.com/api-reference/oauth/complete-the-canvas-lms-api-authorization-handoff /mdx/api-reference/admin/admin-api.json get /api/auth/token_complete Canvas sends the person's browser here after they authorize the Digital Twin to call the Canvas API on their behalf (Canvas OAuth2 authorization-code flow): when they open the twin from a Canvas course that requires the Canvas sign-in, or when a Canvas course tool in a chat gives them a sign-in link. The code is exchanged for a Canvas API token, which is stored for that person in that Digital Twin. A Canvas sign-in link works once and for 10 minutes. Its `state` is a random value that names nobody: the person and the Digital Twin come from the link itself, never from the address. A newer link replaces the earlier one. A link is accepted only for the Canvas account the course opened the Digital Twin for (for a course tool's link, on a Digital Twin that asks for the Canvas sign-in); signing in to Canvas with another account connects nothing. This is **not** a Pria sign-in: the answer is a small HTML page either way. **Configuration requirements:** the Digital Twin (or its parent account) must have `canvasClientId` and `canvasClientSecret` set, and a derivable Canvas API domain (an instructure.com URL or a `.edu` vanity URL in `publicAuthorizedUrls`). # Connect a learner's Blackboard Learn account to a Digital Twin's course tools Source: https://docs.praxis-ai.com/api-reference/oauth/connect-a-learners-blackboard-learn-account-to-a-digital-twins-course-tools /mdx/api-reference/admin/admin-api.json get /api/auth/blackboard_tool_complete Blackboard Learn sends the learner's browser here after they open the sign-in link a Digital Twin gave them in a chat (the twin then reads their Blackboard course with their own, read-only access). A link works once and for 10 minutes. The page that answers says whether Blackboard is now connected; the learner then goes back to the chat and asks again. Only the Blackboard account the learner uses in this course can be connected: the one they opened the Digital Twin from in Blackboard. Nothing is connected otherwise. # GitHub Marketplace webhook receiver Source: https://docs.praxis-ai.com/api-reference/oauth/github-marketplace-webhook-receiver /mdx/api-reference/admin/admin-api.json post /api/auth/github/webhook Receives `marketplace_purchase` events from GitHub when an org or user purchases, upgrades, downgrades, or cancels the Pria Marketplace listing. The endpoint validates the request via the `X-Hub-Signature-256` HMAC header (computed by GitHub with `GITHUB_WEBHOOK_SECRET`), then dispatches by `action` (`purchased`, `changed`, `cancelled`, `pending_change`, `pending_change_cancelled`). On a new purchase the handler auto-creates the Pria user (via `autosignup`), generates a one-time login link (`?otp=` in the URL since the link is delivered by email — see `docs/index/oauth-otp.md`), and emails it to the purchaser. **Authentication:** none in the traditional sense — request authenticity is proven by the `X-Hub-Signature-256` HMAC, compared with `crypto.timingSafeEqual`. Requests with a missing or wrong signature are rejected with 401. Application errors that occur *after* signature validation still return 200 so GitHub does not retry; the failure is surfaced via internal email instead. # Google Services OAuth callback Source: https://docs.praxis-ai.com/api-reference/oauth/google-services-oauth-callback /mdx/api-reference/admin/admin-api.json get /api/auth/google/services/callback Google redirects here after the user accepts (or rejects) the consent screen. Validates the CSRF `state` against `req.session.oauth_state`, exchanges the authorization `code` for tokens, then stores them on `UserInstitution.googleLoginToken` or `User.googleLoginToken` depending on the institution context captured at authorize time. On success the user is redirected to `${PRIA_URL}/my-profile/me?oauth=google&status=success` (profile origin) or `${PRIA_URL}/pria/personal/qanda` (chat origin). On failure the user is redirected to `${PRIA_URL}/oauth/success?error=` where the SPA renders the error. This callback is **not** a JWT-protected endpoint — auth is proven by the session-bound CSRF state, identical to the public OAuth login callbacks. # Initiate SSO login Source: https://docs.praxis-ai.com/api-reference/oauth/initiate-sso-login /mdx/api-reference/admin/admin-api.json get /api/auth/sso/{id} Initiates OAuth 2.0 SSO login for a specific provider # Revoke an institution's stored Google token Source: https://docs.praxis-ai.com/api-reference/oauth/revoke-an-institutions-stored-google-token /mdx/api-reference/admin/admin-api.json delete /api/auth/google/institution/{institutionId}/revoke Clears `cloudServices.google` from the target institution (`$unset`), and best-effort revokes the access token at Google. The caller must hold `institutions.edit`. As with the per-user revoke, an upstream revoke failure does not prevent the local cleanup or change the 200 response. # Revoke the caller's stored Google Services token Source: https://docs.praxis-ai.com/api-reference/oauth/revoke-the-callers-stored-google-services-token /mdx/api-reference/admin/admin-api.json delete /api/auth/google/services/revoke Clears the caller's stored Google OAuth token from the database — institution-specific (`UserInstitution.googleLoginToken`) when the JWT has institution context, otherwise personal (`User.googleLoginToken`). Best-effort: also calls Google's `https://oauth2.googleapis.com/revoke` to invalidate the token at Google's end. If the upstream call fails (e.g. token already expired), the local database is still cleared and the endpoint still returns success. # SSO callback Source: https://docs.praxis-ai.com/api-reference/oauth/sso-callback /mdx/api-reference/admin/admin-api.json post /api/auth/sso_callback On consumer app hosts, creating a new account requires sign-up to be enabled and open. Otherwise the callback returns 503 `CONSUMER_APP_DISABLED` or 403 `SIGNUP_CLOSED`. An unavailable consumer service returns 503 `CONSUMER_TENANT_UNAVAILABLE`. Handles the callback from OAuth 2.0 SSO authentication: checks the `state`, exchanges the code for the provider's profile and signs the person in (an unknown address gets an account). When the provider belongs to a Digital Twin, an existing account is checked before anything about it changes: an account that may not sign in through a provider answers 403 (its `message` says how to sign in instead); an account with administrative rights is asked for a code first — `{ mfaRequired: true, stepUp: true, codeSent: false, challengeId, maskedEmail, factor, availableFactors }` and no session until `/api/auth/mfa-verify` accepts the code ("Send me a code" → `/api/auth/mfa-resend` emails it); everyone else is signed in. A sign-in never changes the account's status. # Start the Google OAuth flow for an institution-level token Source: https://docs.praxis-ai.com/api-reference/oauth/start-the-google-oauth-flow-for-an-institution-level-token /mdx/api-reference/admin/admin-api.json get /api/auth/google/institution/authorize Begins an institution-scoped Google OAuth 2.0 authorization-code flow. The resulting token is later stored on `Institution.cloudServices.google.googleLoginToken` and is used as the **shared** institution credential for downstream Google API calls performed on behalf of any member of that institution. The caller MUST hold `institutions.edit` on the target institution (checked via `checkRAPForUI`). The captured session state records the connecting user's `_id` (`connectedByUserId`) so the callback can attribute the connection. Where Google Drive saving is enabled on the server, reconnecting an already connected institution keeps every service it already has, asks Google to show the account chooser with the connected account pre-selected, and refuses a different Google account (the callback redirects to the editor with `oauth=error&reason=account_mismatch` and changes nothing). # Start the Google Services (per-user) OAuth consent flow Source: https://docs.praxis-ai.com/api-reference/oauth/start-the-google-services-per-user-oauth-consent-flow /mdx/api-reference/admin/admin-api.json get /api/auth/google/services/authorize Begins a Google OAuth 2.0 authorization-code flow scoped to the per-user services the caller requests (Gmail / Drive / Calendar / Sheets / Docs). Generates a CSRF state, stores it in `req.session.oauth_state` along with the caller's `userId` and institution context, then 302-redirects to Google's consent screen with `access_type=offline` and `prompt=consent` to ensure a refresh token is issued. **Storage routing (Option B):** - If the JWT has an institution attached, the resulting token is stored on `UserInstitution.googleLoginToken` (institution-specific). - If there is no institution, it goes on `User.googleLoginToken` (personal). **Origin handling:** the `origin` query param (`profile` default, `chat` for the in-chat consent prompt) is preserved in the session so the post-callback redirect returns the user to the right place. # Validate an institution's stored Google token Source: https://docs.praxis-ai.com/api-reference/oauth/validate-an-institutions-stored-google-token /mdx/api-reference/admin/admin-api.json get /api/auth/google/institution/{institutionId}/validate Probes Google's userinfo endpoint with the institution's stored `cloudServices.google.googleLoginToken` to check whether it is still accepted. Expired tokens are refreshed before probing; a 401 can trigger at most one refresh and retry. Transient refresh/probe failures return `valid: false, retryable: true` and preserve the connection, including a 401 after refresh. Only a token-endpoint `invalid_grant`, or a 401 without a refresh token, clears `cloudServices.google` (`$unset`) and reports `valid: false, cleared: true`. The caller must hold `institutions.edit` on the target institution. # Validate the caller's stored Google Services token Source: https://docs.praxis-ai.com/api-reference/oauth/validate-the-callers-stored-google-services-token /mdx/api-reference/admin/admin-api.json get /api/auth/google/services/validate Checks whether the caller's stored Google access token is still accepted by Google by making a probing call to the userinfo endpoint. Resolves which storage location to read from in the same priority order as the runtime authenticator: institution token first (when the JWT has an institution), personal token second. Expired tokens are refreshed before probing. A 401 with unknown expiry can trigger one refresh and one retry. Refresh network/5xx/rate-limit failures return `valid: false, retryable: true` without probing the expired token or clearing credentials. A 401 after a successful refresh also preserves the grant. Only a token-endpoint `invalid_grant`, or a 401 without a refresh token, clears the credential and returns `valid: false, cleared: true`. # Connect this Digital Twin to Power BI (read-only) Source: https://docs.praxis-ai.com/api-reference/power-bi-connection/connect-this-digital-twin-to-power-bi-read-only /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/powerbi/key Saves the Azure tenant id and one or more Power BI connections. Each connection is an Azure app (service principal) with Build permission on one dataset. Every connection is verified before anything is saved: a client-credentials token, then `EVALUATE ROW("ok", 1)` through executeQueries. The response reports each connection's outcome. On success the configuration is stored encrypted and the twin's Power BI tool is switched on for its signed-in members. Leave `client_secret` empty to keep a connection's stored secret (same tenant, name, client id, workspace and dataset). The whole list replaces the previous one. Instance administrators only; at most 5 attempts per 10 minutes per twin. Nothing is ever written to Power BI: the server's client can only make four requests (the token mint, executeQueries, GET dataset, GET refreshes?$top=1) and refuses any other method or path before it is sent. # Disconnect this Digital Twin from Power BI Source: https://docs.praxis-ai.com/api-reference/power-bi-connection/disconnect-this-digital-twin-from-power-bi /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/powerbi/disconnect Switches the twin's Power BI tool off and disables the stored configuration. Instance administrators only. # Power BI connection status of this Digital Twin Source: https://docs.praxis-ai.com/api-reference/power-bi-connection/power-bi-connection-status-of-this-digital-twin /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/connect/powerbi/status Reports whether the signed-in user's Digital Twin can read Power BI datasets, which connections it has, and whether the caller may change them. Instance administrators also get the tenant id and each connection's app, workspace and dataset ids so they can edit them. Client secrets are never returned. # Count a view of a shared video Source: https://docs.praxis-ai.com/api-reference/presentation-share-links/count-a-view-of-a-shared-video /mdx/api-reference/runtime/runtime-api.json post /api/public/presentation-share/view Called once when playback first starts. `clientId` is a per-link id the browser derives (it differs for every link, so one browser cannot be followed across links); at most one view is counted per link and client id every 10 minutes. Without a valid client id nothing is counted. The client id and anything else about the viewer are never stored. # Download a shared video or its captions Source: https://docs.praxis-ai.com/api-reference/presentation-share-links/download-a-shared-video-or-its-captions /mdx/api-reference/runtime/runtime-api.json post /api/public/presentation-share/download A short-lived download address (up to 5 minutes) for the shareable MP4 or the captions of the shared version, when the response of resolve says one is offered. Open the address in the browser to download the file. # Open a shared presentation video Source: https://docs.praxis-ai.com/api-reference/presentation-share-links/open-a-shared-presentation-video /mdx/api-reference/runtime/runtime-api.json post /api/public/presentation-share/resolve Everything the player needs to show the video a share link points to. The token travels in the body, never in an address. Links shared with "people in this Digital Twin" need you to be signed in as a member of that twin. Answers are never cached and never indexed. Call again to get fresh media addresses before they expire. A request body over 4 KB (or not valid JSON) gets the same 404. # Apply a brand to this video (a new version) Source: https://docs.praxis-ai.com/api-reference/presentations/apply-a-brand-to-this-video-a-new-version /mdx/api-reference/runtime/runtime-api.json put /api/user/presentations/{id}/brand `input` is one of { name, primary, secondary?, neutral?, logo?: "asset:" | null } (colours #RRGGBB), { saved: "" }, { none: true } (neutral colours) or { praxis: true } (Praxis colours — the default of a video made without a named brand; here an explicit, audited choice). The server works out every colour of every look; nothing else is taken from the request. `revision` must be the latest version's number (else 409 STALE_HEAD { headRevision }: reload and apply again). `remember: true` (only for colours) also saves the brand as it was stored for next time — `remembered { slug }`, or `rememberRefused` (e.g. MEMORY_OFF) while the brand itself is applied. Owner only; 30 changes per minute; the body is at most 2 KB. # Change a share link — audience, version, expiry, label — or turn it off Source: https://docs.praxis-ai.com/api-reference/presentations/change-a-share-link-—-audience-version-expiry-label-—-or-turn-it-off /mdx/api-reference/runtime/runtime-api.json patch /api/user/presentations/{id}/shares/{shareId} `revision` moves the link to another version (normally the latest). `off: true` turns the link off for good (anything else in the body is ignored); a turned-off link cannot be changed or turned back on (`off: false` → 409 SHARE_OFF): create a new link instead. A new `expiresAt` on an EXPIRED link brings it back: the 20-live cap applies again (409 SHARE_LIMIT { cap }) and its version must still be shareable (409 NOT_SHAREABLE). If a move is refused and the link's old version was removed meanwhile, the link is turned off (`reason: pruned`). # Create a share link (view-only) for a version Source: https://docs.praxis-ai.com/api-reference/presentations/create-a-share-link-view-only-for-a-version /mdx/api-reference/runtime/runtime-api.json post /api/user/presentations/{id}/shares `revision` (a revision number from the versions list) defaults to the current version; it must have its narration ready and not be the version being built. `audience` defaults to the first one the twin allows (`public` = anyone with the link, `twin` = people in this Digital Twin, who must sign in). `expiresAt`: optional, in the next 365 days (null = no end). `label`: your note (≤ 80 characters, one line), never shown to viewers. Viewers never see your source file names: vault sources read "Internal document", public web pages their hostname. At most 20 live links per presentation. 30 link changes per minute. The version must be the newest revision of its version (as listed) — an older revision of a version is not shareable. # Decline a brand offer Source: https://docs.praxis-ai.com/api-reference/presentations/decline-a-brand-offer /mdx/api-reference/runtime/runtime-api.json post /api/user/presentations/brand-proposals/{proposalId}/decline Nothing is saved; the offer cannot be answered again. # Delete a share link now Source: https://docs.praxis-ai.com/api-reference/presentations/delete-a-share-link-now /mdx/api-reference/runtime/runtime-api.json delete /api/user/presentations/{id}/shares/{shareId} # Delete one of your presentation videos Source: https://docs.praxis-ai.com/api-reference/presentations/delete-one-of-your-presentation-videos /mdx/api-reference/runtime/runtime-api.json delete /api/user/presentations/{id} Deletes your presentation with all its versions, narration audio, posters and stills, including one that is still being built. Credits used so far for narration are charged first (rounded up to a whole credit). Only the presentation's owner can delete it. If part of the cleanup fails the presentation is hidden at once and the answer is 503; send the same request again to finish. While the Digital Twin's face is still being recorded, or an export task could not be stopped yet, the answer is 202 (`pending: true`): the presentation is hidden at once and removed when that ends. Running exports are cancelled and not charged. # Delete one of your saved brands Source: https://docs.praxis-ai.com/api-reference/presentations/delete-one-of-your-saved-brands /mdx/api-reference/runtime/runtime-api.json delete /api/user/presentations/{id}/brand/saved/{slug} # Download the MP4 or the captions (WebVTT) Source: https://docs.praxis-ai.com/api-reference/presentations/download-the-mp4-or-the-captions-webvtt /mdx/api-reference/runtime/runtime-api.json get /api/user/presentations/{id}/export/{jobId}/download A 302 redirect to a link valid 5 minutes that downloads the file (attachment), named `-v<version>.mp4|vtt` (`-r<revision>` for an export saved before versions). With format=json the same link is returned as JSON instead (200), so a browser client can authenticate with its header and then navigate to the link itself — no session token in a URL. Owner only; audited either way (one `download` row per request). # Edit one scene's narration or on-screen text Source: https://docs.praxis-ai.com/api-reference/presentations/edit-one-scenes-narration-or-on-screen-text /mdx/api-reference/runtime/runtime-api.json patch /api/user/presentations/{id}/scenes/{sceneId} Small direct text edit by the owner: the scene's `narration`, or one on-screen text field of its component, named by its path below `props` (title `kicker|title|subtitle`; statement `kicker|text|emphasis`; bullets `title`, `items/<i>/text`; metric `label|caption`; bar-chart `title|caption`, `bars/<i>/label`; flow `title`, `steps/<i>/label|detail`; quote `quote|attribution|role` only when the quote has no source; cta `title|subtitle`) — only fields the scene already has. A statement's emphasis must stay part of its text. Numbers, number prefixes/suffixes/units, the cta address, claim references, component, layout and background are not editable here. The text is trimmed and capped by the document schema (narration 600 characters; on-screen text 24–200 depending on the field). The edit is validated like the Digital Twin's own saves: a number that no claim of the scene backs, a link or e-mail address, an address spelled out in narration or more than 50 narration words is refused (422 with the validator's `errors`). An accepted edit creates a new version; the narration is re-made in the background (only an edited scene is voiced again and charged), and the Digital Twin's face is recorded again only when the narration changed. An export estimate for the previous version is stale afterwards. `revision` (the version you edited) is required. A narration edit is refused up front when the video would clearly leave its length (55–65 s for a 1-minute video, 170–190 s for a 3-minute one; 422 NARRATION_TIMING with the projected total and the word range that fits). Not while the Digital Twin is still building the video (409 BUILD_IN_PROGRESS). Fields you edited are listed on later versions as `ownerEdited` until the Digital Twin rewrites them. Owner only; 30 edits per minute. # Estimate the credits to export the current version to MP4 Source: https://docs.praxis-ai.com/api-reference/presentations/estimate-the-credits-to-export-the-current-version-to-mp4 /mdx/api-reference/runtime/runtime-api.json post /api/user/presentations/{id}/export/estimate Stores an estimate for the current version (valid 10 minutes). Show it to the user, then start the export with its `estimateId`. `presenter` says whether the Digital Twin's face will be in the video; `affordable` whether the balance covers the estimate. While the face is still being recorded the answer is 409 PRESENTER_PENDING (with `presenterStatus`): wait (poll the version) and ask again. Owner only. `footer` chooses the source line burned into the video: `owner` (default — your source names) or `public` (the share-link redaction: "Internal document" for vault files, the web site's hostname for public web pages); only a `public`-footer export (or one naming no internal source) can be downloaded through a share link. The price does not depend on it. # Get one presentation video and its versions Source: https://docs.praxis-ai.com/api-reference/presentations/get-one-presentation-video-and-its-versions /mdx/api-reference/runtime/runtime-api.json get /api/user/presentations/{id} Your presentation and its versions (newest first, without their content). An administrator of the presentation's Digital Twin may read it for support; every such read is recorded. # Get one version of a presentation video, ready to play Source: https://docs.praxis-ai.com/api-reference/presentations/get-one-version-of-a-presentation-video-ready-to-play /mdx/api-reference/runtime/runtime-api.json get /api/user/presentations/{id}/revisions/{n} The version's document, its validation reports and narration timing, with short-lived links (at most 15 minutes; ask again to refresh) to the narration audio, captions (WebVTT) and poster when they exist, and to the Digital Twin's recorded face (`media.presenter`, a muted video) once it is ready. The player's fonts and logo are public files under `assets.base`. For an administrator's support read, claims and source excerpts from files outside the Digital Twin's shared vault are hidden. # List the brand save offers of a chat reply Source: https://docs.praxis-ai.com/api-reference/presentations/list-the-brand-save-offers-of-a-chat-reply /mdx/api-reference/runtime/runtime-api.json get /api/user/presentations/brand-proposals The offers to remember a video's brand that the reply's turn made (one per started video whose brand came from the conversation or the vault). Each offer is exactly what saving it writes: the colours (`swatches`), the logo thumbnail (`logoUrl`, signed for 15 minutes, or null), the web site's host and the name it is saved under (`slug`); `replaces` is true when a saved brand of that name already exists. `status` is pending, saved, declined or expired (an offer lasts 24 hours). Your own replies in your current Digital Twin only; not available while brand colours are switched off (404). # List your presentation videos Source: https://docs.praxis-ai.com/api-reference/presentations/list-your-presentation-videos /mdx/api-reference/runtime/runtime-api.json get /api/user/presentations The presentation videos you made in your current Digital Twin, most recently active first. A video still being built with no progress for 30 minutes is reported as `failed`. # Poll one export Source: https://docs.praxis-ai.com/api-reference/presentations/poll-one-export /mdx/api-reference/runtime/runtime-api.json get /api/user/presentations/{id}/export/{jobId} # Read brand colours and a logo from your website Source: https://docs.praxis-ai.com/api-reference/presentations/read-brand-colours-and-a-logo-from-your-website /mdx/api-reference/runtime/runtime-api.json post /api/user/presentations/{id}/brand/import Reads the colours and a logo from a website you name (your own address; a bare domain like acme.com gets https://). Nothing is saved to the video: the answer shows what was found, and Apply (PUT …/brand with `{ "input": { "website": url } }`) saves it — a repeat of the same site within 30 days is served from your earlier import without reading the site again. Only the colours, the site's host and the logo come back, never the page's text. Limits: 5 imports per person and 50 per Digital Twin per day (UTC), and 20 per website per day. Owner only; 30 changes per minute. Not available while website import (or brand colours) is switched off (404). # Rename a video Source: https://docs.praxis-ai.com/api-reference/presentations/rename-a-video /mdx/api-reference/runtime/runtime-api.json patch /api/user/presentations/{id}/title The owner renames the video. The title is trimmed and must be 1–120 characters of plain, one-line text: no `< > { }` or backtick, no web address, e-mail address or link, and nothing that reads like an instruction (a bare domain such as Booking.com is fine). The new title shows on the video page, in the chat card and the list, to your Digital Twin, and on your share links (a link's page shows it the next time it is opened). It belongs to the video, not to a version: no new version is made, nothing is narrated again and no credits are used. A video file you already made keeps its name. When your Digital Twin later gives the video a new title of its own, that title replaces yours. Not while a version is being made (409 PRESENTATION_BUILDING: rename it when that version is ready; such a refusal normally does not count toward the limit). Owner only; renames and scene edits share the same limit of 30 per minute. # Save a brand offer for next time Source: https://docs.praxis-ai.com/api-reference/presentations/save-a-brand-offer-for-next-time /mdx/api-reference/runtime/runtime-api.json post /api/user/presentations/brand-proposals/{proposalId}/accept Saves exactly what the offer shows as one of your saved brands (a personal memory entry the Digital Twin may use for your next videos). The body carries only the offer's `payloadHash`; nothing else is read. Each offer can be answered once. Refused when your memory, or the Digital Twin's personal memory, is switched off. # Show (or stop showing) a logo from your Digital Twin's files on public links and MP4s Source: https://docs.praxis-ai.com/api-reference/presentations/show-or-stop-showing-a-logo-from-your-digital-twins-files-on-public-links-and-mp4s /mdx/api-reference/runtime/runtime-api.json post /api/user/presentations/{id}/brand/logo/public A logo that came from a file in your Digital Twin's files follows the twin's rule for files on public links until it is confirmed once here. Only the person who added the file, or an admin of this Digital Twin, can confirm it (403 CONFIRM_NOT_ALLOWED { who }). `confirmed: false` withdraws it: shareable MP4s that show it stop being offered through links at once. Owner only; 30 changes per minute. # Start the MP4 export (after the user confirmed the estimate) Source: https://docs.praxis-ai.com/api-reference/presentations/start-the-mp4-export-after-the-user-confirmed-the-estimate /mdx/api-reference/runtime/runtime-api.json post /api/user/presentations/{id}/export Needs a live, unused estimate for the CURRENT version and a balance at least the estimate. The charge is the measured task time (60 s minimum), never more than the estimate, and nothing if the export fails or times out. Poll the job until `sealed`, then download. `footer` (owner|public) as on the estimate; omitted → the estimate's footer. # Stop making a presentation video Source: https://docs.praxis-ai.com/api-reference/presentations/stop-making-a-presentation-video /mdx/api-reference/runtime/runtime-api.json post /api/user/presentations/{id}/cancel Stops your video while it is being made: the voice-over stops before its next scene, and a presenter recording that has not started yet never starts. The chat answer that was making the video is charged by what the stop leaves: if the video is still ready to watch from that answer, the answer is charged as usual; otherwise it costs a flat 2 credits. Voice-over already made is charged on top, and a presenter recording that has already started finishes and is charged. A video stopped before it could be previewed ends as `failed` with `failureCode` `STOPPED`; one that could already be previewed stays previewable without a presenter. Only your own video; asking again answers the same. The chat answer that was making the video ends too: it stops at once and its answer is "Video stopped." (or "Stopped. Your video is ready to watch." when the video is still ready to watch) with the video's card. To reach that answer quickly, send the answer's `turn_id` (the video's `buildTurnKey`) and, when you have it, its `execution_id` from `GET /api/ai/personal/subagent/active`. Both are optional and are checked: a `turn_id` that is not this video's answer is ignored. Without them the answer is still ended, at its next step. # The Brand panel of this video Source: https://docs.praxis-ai.com/api-reference/presentations/the-brand-panel-of-this-video /mdx/api-reference/runtime/runtime-api.json get /api/user/presentations/{id}/brand What the owner's Brand panel shows: the latest version (`head`), its look, its brand (`kind` praxis, none — the neutral colours, where the panel asks for your brand — or brand with the name, colours, the engine's notes (`flags`) and the logo: its origin, size, ink, the automatic white version, short-lived image links, and for a logo from your Digital Twin's files whether it may show on public links (`publicConfirmed`) and whether you may change that (`confirm`)), your saved brands (only while memory is on), whether memory is on, and whether this Digital Twin is on the Praxis list (`praxisListed`; every video made without a named brand uses Praxis colours — with the Praxis logo only on a listed Digital Twin, else `brand` reads `{ kind: praxis, coloursOnly: true }`). Memory counts as off when your own memory, the Digital Twin's, or the memory of the assistant that built the video is switched off. `?logo=asset:<id>` also returns that just-uploaded logo as `draftLogo` (for the preview). Owner only. Not available while brand colours are switched off (404). # Upload your logo for this video Source: https://docs.praxis-ai.com/api-reference/presentations/upload-your-logo-for-this-video /mdx/api-reference/runtime/runtime-api.json post /api/user/presentations/{id}/brand/logo The owner's own logo, as the raw request body (any content type: the bytes decide the format). PNG, JPEG or WebP (an animated image gives its first frame); SVG only where the operator has switched it on (otherwise 415 LOGO_FORMAT "Please upload a PNG of your logo."). At most 5 MB and 4096 px a side. The logo is trimmed to its ink, fitted inside 1920 × 512 and stored as a PNG with its transparency and no metadata. It must be at least 48 px on its short side and at most 12 times as wide as it is tall (or 2 times as tall as it is wide). An SVG is refused if it holds anything beyond plain shapes, paths and gradients (scripts, styles, text, images, links, external references, document type declarations). `onDark` says whether the logo is drawn for dark backgrounds; a dark logo of one colour also gets an automatic white version (`variant`, `auto: true`) for dark looks. Nothing about the video changes until the brand is saved. Owner only; 10 uploads per minute. Not available while brand colours are switched off (404). # Whether this Digital Twin can make presentation videos Source: https://docs.praxis-ai.com/api-reference/presentations/whether-this-digital-twin-can-make-presentation-videos /mdx/api-reference/runtime/runtime-api.json get /api/user/presentations/availability Whether presentation videos are available to you in your current Digital Twin (the feature is switched on for the platform and for this twin). `exportAvailable`: MP4 export is set up too (export task image, internal callback address and media bucket configured). `shareAudiences`: who a new share link may be for in this twin right now (`public` = anyone with the link, `twin` = people in this Digital Twin) — empty when share links are off for the platform or the twin's admins allow none; `shareAvailable` is false exactly then. `startAvailable`: you can start a new video from the chat in this session — videos are available, the twin runs multi-step answers (subagents), and you are signed in to the app as yourself (not through an API key, an agent or a consent link, not as a visitor of the twin's public page, and not in a Canvas launch as a student), and you have confirmed your sign-in with a code if the app asked you for one. `startEstimate`: about how many credits one 1-minute video costs you, as a range (`low`–`high`, about 10–20, or 10–15 where the server builds without LEAN: writing the script, the voice-over and the presenter); present only with `startAvailable` and when it can be worked out. `startEstimateCredits`: the high end of that range, as one number. `cancelAvailable`: a video you are making can be stopped (`POST /api/user/presentations/{id}/cancel`). `startCostIncluded`: your plan includes videos (you are not charged for them), so no estimate is sent. `lengths`: only when videos can be made in more than one length (for example 1 and 3 minutes): each length with its label, its estimate (`null` when your plan includes videos or it cannot be worked out) and `affordable` (your credits — or the Digital Twin's, when it pays — cover what that length needs to start; a 3-minute video needs the high end of its range). To make a video of another length, send the chosen `seconds` as `requestArgs.presentationSeconds` (60 or 180) with the chat message (`POST /api/ai/personal/qanda`); without it the video is 1 minute. The server checks the length again and refuses one that is not available (nothing is started or charged). Creative videos (pilot Digital Twins only, while switched on): each length also has `kinds.creative` — what a creative video of that length costs (`estimate`, not measured yet), the credits it needs to start (`gateCredits`), `affordable`, `paused` (creative videos are paused for now: a presentation can still be made), the build wait in minutes (`waits.build`: [at least, null]), the scene list's price (`list.credits`), the price after a scene list (`buildAfterList`) and a scene remake's price and wait (`remake`). Then `lengths` is sent even when only 1-minute videos can be made. To make one, send `requestArgs.presentationKind: "creative"` with a Create a video message (optionally `requestArgs.presentationPresenter: "on"` for Show my twin, honoured only when the twin's face is available); the server checks again and refuses (nothing started or charged) when creative videos are paused or not available. `startsLeft` / `startsPerDay`: how many new videos you can still start today, and the most you can start in one day (10 unless your platform sets another number); the day is a UTC day. When none are left, `startAvailable` is false, `startUnavailableReason` is `DAILY_STARTS` and `startsResetAt` says when you can start another (the next midnight UTC); a video started then anyway is refused before anything runs, and nothing is charged. When this Digital Twin has no narration voice (neither its avatar voice nor its Cartesia voice approved for narration, and no stock voice on the server), `startAvailable` is false and `startUnavailableReason` is `NO_VOICE` (it wins over `DAILY_STARTS`; no `lengths`, estimate or `startsLeft` then). Your existing videos stay available, exportable and shareable; a new one is refused before anything runs, and nothing is charged. # Your recent exports of this presentation (newest first, up to 10) Source: https://docs.praxis-ai.com/api-reference/presentations/your-recent-exports-of-this-presentation-newest-first-up-to-10 /mdx/api-reference/runtime/runtime-api.json get /api/user/presentations/{id}/exports # Your share links of this presentation Source: https://docs.praxis-ai.com/api-reference/presentations/your-share-links-of-this-presentation /mdx/api-reference/runtime/runtime-api.json get /api/user/presentations/{id}/shares Newest first, including turned-off and expired links until they are removed (30 days after they ended). Each link carries its `url` (absolute) and `path` (`/share#<token>`): the token is in the fragment, never sent to a server. `policy.audiences`: who this twin's admins allow a link for. `latest`: the current version and whether it can be shared (narration ready, not being built). `shareableExport`: the pinned versions (by revision number) that have an MP4 viewers may download. Owner only (admins, other members and impersonated sessions get 404). `url` is null when the server has no app address configured (compose it from your own origin + `path`); `url` and `path` are null for a link that can no longer open (`reason: reset`). Only a live link reports downloads. # Connect this Digital Twin to Procore (read-only) Source: https://docs.praxis-ai.com/api-reference/procore-connection/connect-this-digital-twin-to-procore-read-only /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/procore/key Validates the Client ID and Client Secret of a Procore app (a Developer Managed Service Account installed by a Procore company admin) by signing in to Procore, listing the companies the app is installed in and counting its permitted projects. On success the pair is stored encrypted and the twin's Procore tool is switched on. When the app is installed in more than one company the response asks for one (`needsCompany`); send the same body again with `company_id`. Instance administrators only; at most 5 attempts per 10 minutes per twin. Nothing is ever written to Procore. # Disconnect this Digital Twin from Procore Source: https://docs.praxis-ai.com/api-reference/procore-connection/disconnect-this-digital-twin-from-procore /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/procore/disconnect Switches the twin's Procore tool off and disables the stored credentials. Instance administrators only. # Procore connection status of this Digital Twin Source: https://docs.praxis-ai.com/api-reference/procore-connection/procore-connection-status-of-this-digital-twin /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/connect/procore/status Reports whether the signed-in user's Digital Twin can read Procore (construction project management), which Procore company it reads, and whether the caller may change the connection. Credentials are never returned. # List active onboarding questions for the Persona Builder bank. Source: https://docs.praxis-ai.com/api-reference/questions/list-active-onboarding-questions-for-the-persona-builder-bank /mdx/api-reference/runtime/runtime-api.json post /api/user/questions Returns every active question whose `code` starts with the supplied `questionType` (currently always `PERSONA` — the single live bank), sorted by `position`. Used by the create-twin wizard at /my-profile/create. No pagination — the wizard renders the whole list at once. # Create a new embedding chunk Source: https://docs.praxis-ai.com/api-reference/rag/create-a-new-embedding-chunk /mdx/api-reference/runtime/runtime-api.json post /api/user/embedding Creates a new embedding chunk for an existing upload. The chunk text is vectorized automatically using the institution's configured embedding model. The new chunk is appended after the last existing chunk (highest chunkIndex + 1). Use this to manually extend a file's RAG segments with additional text content that wasn't captured during automatic ingestion. # Delete an embedding chunk Source: https://docs.praxis-ai.com/api-reference/rag/delete-an-embedding-chunk /mdx/api-reference/runtime/runtime-api.json delete /api/user/embedding/{id} Permanently deletes a single embedding chunk by ID. # Get embedding chunks for an upload Source: https://docs.praxis-ai.com/api-reference/rag/get-embedding-chunks-for-an-upload /mdx/api-reference/runtime/runtime-api.json post /api/user/embeddings Retrieves all embedding chunks for a specific IP Vault upload, sorted by chunk index. Each uploaded file is split into text chunks and converted into vector embeddings for retrieval-augmented generation (RAG). This endpoint returns the chunk metadata and text content (up to 1000 chunks per request). # Sanitize an embedding chunk with AI Source: https://docs.praxis-ai.com/api-reference/rag/sanitize-an-embedding-chunk-with-ai /mdx/api-reference/runtime/runtime-api.json post /api/user/embedding/{id}/sanitize Sends the chunk text to the institution's summary model for AI-powered cleanup. Removes noise (navigation, boilerplate, encoding artifacts), normalizes whitespace, and fixes broken formatting — without summarizing or shortening the content. The sanitized text is returned for preview but **not persisted**. To save the cleaned text, call `PUT /api/user/embedding/{id}` with the returned `sanitizedText`. Token usage is automatically tallied to the parent Upload's `tokens_used` counter. # Search file content via RAG-KAG and return scored snippets Source: https://docs.praxis-ai.com/api-reference/rag/search-file-content-via-rag-kag-and-return-scored-snippets /mdx/api-reference/runtime/runtime-api.json post /api/user/files/search-content Scored-chunk content search across the user's eligible IP Vault (personal + current institution + account-shared siblings). Returns ~200-char snippets centered on matched tokens, with a relevance score per chunk and a `rag` | `kag` | `fused` source label. Confidential institution files surface a 🔒 placeholder snippet rather than raw chunk text. `selectedUploadIds` is optional — when provided, it intersects with the user's scope; foreign or malformed ids are silently dropped (never 403). Rate-limited per user (default 20/min). Results now include KAG graph matches when KAG is enabled for a vault in scope, and each result carries the full `content` plus KAG evidence (`matchedEntities`, `trace`) for inline expansion. # Search RAG content for user using a specified query string Source: https://docs.praxis-ai.com/api-reference/rag/search-rag-content-for-user-using-a-specified-query-string /mdx/api-reference/runtime/runtime-api.json post /api/user/searchRag # Update an embedding chunk Source: https://docs.praxis-ai.com/api-reference/rag/update-an-embedding-chunk /mdx/api-reference/runtime/runtime-api.json put /api/user/embedding/{id} Updates an existing embedding chunk. When `chunkText` is modified, the vector embedding is automatically regenerated to keep the semantic search index in sync with the text content. # Background tool jobs of a realtime session Source: https://docs.praxis-ai.com/api-reference/realtime/background-tool-jobs-of-a-realtime-session /mdx/api-reference/runtime/runtime-api.json post /api/ai/rtTools/jobs Polled by a realtime client while tool calls it handed to the background are outstanding. Acks the jobs a previous note told, then returns the note for the next turn and how many jobs are still running. # Create realtime AI session Source: https://docs.praxis-ai.com/api-reference/realtime/create-realtime-ai-session /mdx/api-reference/runtime/runtime-api.json post /api/ai/rtProxy/rtSession Creates a new realtime AI session for voice/WebRTC communication. Provider, model, and voice are resolved server-side from the user's institution `rtModel` setting (OpenAI / Google Gemini Live / xAI / ElevenLabs). Returns either an ephemeral WebRTC key (OpenAI / Gemini / xAI) or a signed-agent configuration (ElevenLabs). The Anam, Cartesia, ElevenLabs (both transports), Gemini Live and GPT-Live sessions also carry `turn_predict` (see VoiceTurnPredictSettings): the effective voice turn-prediction settings. OpenAI Realtime and xAI do not. # Execute realtime tool Source: https://docs.praxis-ai.com/api-reference/realtime/execute-realtime-tool /mdx/api-reference/runtime/runtime-api.json post /api/ai/rtTools/exec Executes a tool/function during a realtime AI session. Used for RAG search, web search, and other AI tool capabilities. # Mint a Deepgram streaming STT session Source: https://docs.praxis-ai.com/api-reference/realtime/mint-a-deepgram-streaming-stt-session /mdx/api-reference/runtime/runtime-api.json post /api/ai/rtProxy/deepgram/sttSession Mints a short-lived Deepgram bearer token (`/v1/auth/grant`) plus the WSS URL the browser should open. The long-lived account API key never leaves the backend — the browser passes `access_token` via the WS subprotocol and streams 16 kHz mono linear16 PCM directly to Deepgram. The endpoint also resolves keyterm hints from `requestArgs` (institution name/ainame are added automatically) so the streaming STT is biased toward the conversation's terminology. Dev fallback: when `DEEPGRAM_DEV_RAW_KEY=true`, the raw account key is returned directly (visible in the browser) and `expires_in=0`. Never enable that mode in production. # Report one voice turn-prediction outcome Source: https://docs.praxis-ai.com/api-reference/realtime/report-one-voice-turn-prediction-outcome /mdx/api-reference/runtime/runtime-api.json post /api/ai/rtProxy/voiceTurn/spec One record per predicted user turn: timings, verdict summaries and enums, and the words the prediction worked on — the heard text as it grew (`heardTimeline`), the final text, the text each check judged, each interruption's words and the twin's last spoken words. `shadow` records (and any record when prediction is on) are kept as a 30-day sample, used to improve the turn-taking model; the words are kept with the same care as the conversation history and are never written to logs. `commit`, `discard` and `blocked` are accepted and logged. One record per `turnKey` is kept, with a daily per-user limit; a repeat or a record over the limit is still answered `204`. Unknown enum values, out-of-range numbers, over-long arrays, over-long or non-string text, tool names that are not `[a-z0-9_]` identifiers or bad ids reject the body with `400` (text is not trimmed: send it within the limits). Unknown keys are dropped. Keep the whole record under 48 KB. # Report the usage of a live voice call Source: https://docs.praxis-ai.com/api-reference/realtime/report-the-usage-of-a-live-voice-call /mdx/api-reference/runtime/runtime-api.json post /api/ai/rtProxy/voiceMeter Sent about once a minute during a call on a voice model that talks to its provider directly from the browser, and once more when the call ends. The numbers are totals for the session, so a repeated report counts nothing twice. When the session answer has `voiceMeterReports: true`, send this with its `voiceMeterId`. Any session answer with a `voiceMeterId` wants the same id as `voiceMeterId` on each voice turn and on the save. # Save realtime conversation Source: https://docs.praxis-ai.com/api-reference/realtime/save-realtime-conversation /mdx/api-reference/runtime/runtime-api.json post /api/ai/rtSave/conversation Saves a realtime conversation to history after the session ends. Records inputs, outputs, tool usage, and token consumption. # Stream a provider-neutral avatar voice turn (Anam + future providers) Source: https://docs.praxis-ai.com/api-reference/realtime/stream-a-provider-neutral-avatar-voice-turn-anam-+-future-providers /mdx/api-reference/runtime/runtime-api.json post /api/ai/rtProxy/voiceTurn Provider-neutral alias for the per-turn voice bridge. Reuses the same `streamVoiceTurn` NDJSON handler as the shared voice-turn bridge. Used by the Anam Pria-direct Custom LLM (CUSTOMER_CLIENT_V1) frontend to fetch each assistant turn and stream the text into the Anam talk stream. Pria remains the LLM/tools/RAG/IP Vault authority for every turn. Response is `application/x-ndjson` with `segment` lines followed by one terminal `end` line (identical contract to the shared voice-turn bridge). # Voice turn prediction check (is the speaker done, is it the same request, is it an interruption) Source: https://docs.praxis-ai.com/api-reference/realtime/voice-turn-prediction-check-is-the-speaker-done-is-it-the-same-request-is-it-an-interruption /mdx/api-reference/runtime/runtime-api.json post /api/ai/rtProxy/turnPredict Asks the turn-prediction model one question about the words heard so far, so the voice client can start answering before the speech-to-text end of turn. No credits are used. The effective mode comes from the twin's voice turn prediction setting and the server switches; when it is off the answer is `{ ok:false, error:'off' }`. `barge` is answered only when barge-in prediction is enabled as well. Phases: `listen` (is the speaker done; optionally which lookup the answer needs), `drift` (would a reply to `earlier` still answer `heard`), `end` (done, and the same question when `earlier` is set), `barge` (is the user taking the turn while the twin speaks `lastAssistant`), `react` (how the speaking twin's face and voice should react to words that did not interrupt it; answered only when the session's `turn_predict.react` is set, else `react-off`), `warm` (opens the connection before the first check; no `heard`; always answers `{ ok:true }` at once). Every failure (off, timeout, busy, rate) is a `200` with `ok:false`; only a malformed body is a `400`. The text is never logged or stored. # A teacher disconnects a disabled Digital Twin from its Canvas course Source: https://docs.praxis-ai.com/api-reference/sdk-launch/a-teacher-disconnects-a-disabled-digital-twin-from-its-canvas-course /mdx/api-reference/admin/admin-api.json post /api/auth/sdk-unlink-course Not available on consumer app hosts: requests return 403 `LAUNCH_SIGNIN_OFF`. Open Pria directly to sign in. The ONE public way a held Canvas course becomes free again (design 2026-09-28 D6): a teacher — proven only by a course ticket, at the `UNLINK_TRUST` level (an in-process LTI 1.3 launch by default) — disconnects the DISABLED Digital Twin that holds the course, so it can be connected to a different twin. A twin merely blocked by its account is never touched (that block is the twin's to walk back, not the course's), and a course a USABLE twin holds is refused. Rate-limited with the signup-grade limiter because it writes. # Course-wide Hide Pria for everyone toggle Source: https://docs.praxis-ai.com/api-reference/sdk-launch/course-wide-hide-pria-for-everyone-toggle /mdx/api-reference/admin/admin-api.json post /api/auth/sdk-hide Not available on consumer app hosts: requests return 403 `LAUNCH_SIGNIN_OFF`. Open Pria directly to sign in. Hides (or restores) Pria for an entire Canvas course. Teacher-gated both ways: students can neither hide a course nor show it again. Identity and course come from the VERIFIED launch or the ticket — never free body fields. A course already connected to a USABLE Digital Twin cannot be hidden (409). A course whose only holder is a DISABLED Digital Twin stays connected to it (it is freed only by a teacher's Disconnect or an administrator's edit); hiding it still works, because only a USABLE holder blocks the hide. # Sign SDK launch parameters Source: https://docs.praxis-ai.com/api-reference/sdk-launch/sign-sdk-launch-parameters /mdx/api-reference/admin/admin-api.json post /api/auth/sdk-sign Not available on consumer app hosts: requests return 403 `LAUNCH_SIGNIN_OFF`. Open Pria directly to sign in. Signs launch parameters with a server-held HMAC-SHA256 secret for secure SDK iframe embedding. Called by `pria-sdk.js` before creating the launch iframe. **Security model:** - The signing secret (`SDK_LAUNCH_SECRET`) is never exposed to the client - Parameters are canonicalized (all values stringified, `launch_*` keys stripped) to ensure consistent HMAC computation across sign and verify, since URL query strings coerce values to strings - A cryptographic nonce and timestamp are included to prevent replay attacks - The token expires after 10 minutes **Origin validation:** - For institution-specific launches, the request `Origin` or `Referer` header is validated against the institution's `publicAuthorizedUrls` using exact hostname comparison - In development mode (`NODE_ENV !== 'production'`), `file://` origins (null/missing Origin header) are allowed **Digital twin selector mode:** - When `institutionId` is an empty string and `params.digitaltwin` is true, institution lookup and origin validation are skipped. The user will be presented with their existing digital twins or the option to create a new one. # Verify SDK launch token Source: https://docs.praxis-ai.com/api-reference/sdk-launch/verify-sdk-launch-token /mdx/api-reference/admin/admin-api.json post /api/auth/sdk-verify Not available on consumer app hosts: requests return 403 `LAUNCH_SIGNIN_OFF`. Open Pria directly to sign in. Verifies an HMAC-SHA256 launch token against the server-held secret. Called by `Sdk.js` (React frontend) before proceeding to autosignup. **Verification steps:** 1. Checks that the timestamp is within a 10-minute window 2. Recomputes the HMAC from canonicalized params (values stringified, `launch_*` keys stripped) 3. Compares using constant-time `crypto.timingSafeEqual` to prevent timing attacks **When verification fails:** - Expired tokens (>10 min) return 401 with "Launch token expired" - Tampered or invalid tokens return 401 with "Invalid launch token" # Create a new instance variable Source: https://docs.praxis-ai.com/api-reference/setting/create-a-new-instance-variable /mdx/api-reference/runtime/runtime-api.json post /api/user/setting Creates a new setting within the authenticated user's institution. The institution and user fields are auto-populated from the auth context. A duplicate key within the same institution returns a 400 error. # Delete an instance variable Source: https://docs.praxis-ai.com/api-reference/setting/delete-an-instance-variable /mdx/api-reference/runtime/runtime-api.json delete /api/user/setting/{settingId} Permanently removes a setting by ID. The delete is scoped to the authenticated user's institution. Validates the ID format and checks that the setting exists before attempting deletion. # Retrieve settings by key Source: https://docs.praxis-ai.com/api-reference/setting/retrieve-settings-by-key /mdx/api-reference/runtime/runtime-api.json post /api/user/settingByKey Fetches settings matching a specific key. When no institution is provided, returns settings where institution is null. Results are sorted by key descending and limited to 100 records. # Retrieve settings for the current institution Source: https://docs.praxis-ai.com/api-reference/setting/retrieve-settings-for-the-current-institution /mdx/api-reference/runtime/runtime-api.json post /api/user/settings Fetches settings scoped to the authenticated user's institution, with institution and user metadata. Results are sorted by key ascending and limited to 100 records. Requires the user to belong to an institution. # Update an instance variable Source: https://docs.praxis-ai.com/api-reference/setting/update-an-instance-variable /mdx/api-reference/runtime/runtime-api.json put /api/user/setting/{settingId} Updates a setting of the caller's own Digital Twin by ID (a setting of another Digital Twin, or a platform setting, is not found). Only the setting's own fields are written: key, value, status, admin_only, institution_shared, editable_others; the twin, the author, the id and the creation date in the body are ignored, unknown keys are ignored. Update operators are refused. # Disconnect the twin's ChatGPT subscription Source: https://docs.praxis-ai.com/api-reference/subscription-connections/disconnect-the-twins-chatgpt-subscription /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/chatgpt/disconnect Disconnects the ChatGPT (Codex) subscription from the current Digital Twin and drops any sign-in in progress; the twin's agents stop using it at once. Only an administrator of the twin can do this; everyone else gets 403 NOT_TWIN_ADMIN and nothing changes. # Disconnect the twin's Grok subscription Source: https://docs.praxis-ai.com/api-reference/subscription-connections/disconnect-the-twins-grok-subscription /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/grok/disconnect Disconnects the xAI (Grok) subscription from the current Digital Twin and drops any sign-in in progress; the twin's agents stop using it at once. Only an administrator of the twin can do this; everyone else gets 403 NOT_TWIN_ADMIN and nothing changes. # Finish connecting the twin's ChatGPT subscription Source: https://docs.praxis-ai.com/api-reference/subscription-connections/finish-connecting-the-twins-chatgpt-subscription /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/chatgpt/poll Asks whether the person has finished the device sign-in started with `start`. Answers `pending` until they have; once complete, the subscription is connected to the twin. Only an administrator of the twin can do this; everyone else gets 403 NOT_TWIN_ADMIN and nothing is stored. # Finish connecting the twin's Grok subscription Source: https://docs.praxis-ai.com/api-reference/subscription-connections/finish-connecting-the-twins-grok-subscription /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/grok/poll Asks whether the person has finished the device sign-in started with `start`. Answers `pending` until they have; once complete, the subscription is connected to the twin. Only an administrator of the twin can do this; everyone else gets 403 NOT_TWIN_ADMIN and nothing is stored. # Is a ChatGPT subscription connected to the twin Source: https://docs.praxis-ai.com/api-reference/subscription-connections/is-a-chatgpt-subscription-connected-to-the-twin /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/connect/chatgpt/status Whether the current Digital Twin has a usable ChatGPT (Codex) subscription connected. Any member of the twin can read it. Tokens are never returned. # Is a Grok subscription connected to the twin Source: https://docs.praxis-ai.com/api-reference/subscription-connections/is-a-grok-subscription-connected-to-the-twin /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/connect/grok/status Whether the current Digital Twin has a usable xAI (Grok) subscription connected. Any member of the twin can read it. Tokens are never returned. # Start connecting the twin's ChatGPT subscription Source: https://docs.praxis-ai.com/api-reference/subscription-connections/start-connecting-the-twins-chatgpt-subscription /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/chatgpt/start Begins the device sign-in that connects a ChatGPT (Codex) subscription to the current Digital Twin, so the twin's agents run on it. Returns the code and the page where the person enters it; then call `poll`. Only an administrator of the twin can do this; everyone else gets 403 NOT_TWIN_ADMIN and nothing is started. # Start connecting the twin's Grok subscription Source: https://docs.praxis-ai.com/api-reference/subscription-connections/start-connecting-the-twins-grok-subscription /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/connect/grok/start Begins the device sign-in that connects an xAI (Grok) subscription to the current Digital Twin, so the twin's agents run on it. Returns the code and the page where the person enters it; then call `poll`. Only an administrator of the twin can do this; everyone else gets 403 NOT_TWIN_ADMIN and nothing is started. # Check status of the middleware application Source: https://docs.praxis-ai.com/api-reference/testing/check-status-of-the-middleware-application /mdx/api-reference/admin/admin-api.json get /api/test/health Returns the current health status of the service including uptime, memory usage, and dependency status # Retrieves an institution and validates user access for a specific context Source: https://docs.praxis-ai.com/api-reference/testing/retrieves-an-institution-and-validates-user-access-for-a-specific-context /mdx/api-reference/admin/admin-api.json post /api/test/url Use this method to determine if your originating URL or institution ID is associated with an institution, and optionally validate user access status. The properties returned can be used for branding your AI application. **Rate Limiting:** 30 requests per minute per IP address. **Lookup Priority:** 1. First attempts to find institution by matching `url` against registered LTI context IDs 2. If not found, falls back to direct lookup by `institutionid` (publicId) **User Validation (optional):** When `email` or `userid` is provided, the endpoint also validates: - User account status (must be 'active') - User-Institution membership status (must be 'active') **Status Values:** - `active`: Institution/user is active and accessible - `inactive`: Institution or user account is inactive - `pending`: User membership is pending approval - `suspended`: User membership is temporarily suspended - `invalid`: No institution found matching the provided criteria # Get available tools for the authenticated user Source: https://docs.praxis-ai.com/api-reference/tools/get-available-tools-for-the-authenticated-user /mdx/api-reference/runtime/runtime-api.json post /api/user/tools Retrieves the list of active tools available for the current user. Returns minimal tool information needed for Pria requests, including availability status for Google-integrated tools based on the user's institution settings and Google Cloud configuration. Results are sorted in ascending alphabetical order by tool name. For Google-integrated tools (gmail, drive, calendar, sheets, docs, slides, meet, maps, classroom), the response includes `unavailable` and `unavailableReason` fields. Availability is determined by checking whether Google OAuth is configured, whether the institution has enabled Google Cloud for users, and whether an institution-level Google account is connected. Non-Google tools do not include these fields. For a personal account (a user with no Digital Twin) every row also says whether the account can have the tool (`personalAvailable`), whether it is on now (`enabled`), whether the recommended set has it on (`defaultOn`) and, for a Google or Microsoft tool, whether the account connected that service (`connected`). The response carries `personal` with the five presets. The list itself is saved with `toolsEnabled` on `PUT /api/user/me`. # Transient speech-to-text Source: https://docs.praxis-ai.com/api-reference/transcription/transient-speech-to-text /mdx/api-reference/runtime/runtime-api.json post /api/user/transcribe Accepts a single audio blob, dispatches it to the user's institution- configured STT provider via `getProviderForModel(user, 'audioAnalysisModel')`, and returns the transcript. Suitable for in-place dictation (e.g. the chat textarea mic icon) — explicitly does NOT persist `Upload`, `History`, or embedding rows. Rate-limited 30 req / 60s / user (per-process token bucket). The gate also enforces the same `checkAudioNotesAllowed` predicate the `/audio-notes` route uses (guest mode + institutional opt-out). Accepted mimetypes: `audio/webm`, `audio/ogg`, `audio/mp4`, `audio/mpeg`, `audio/wav`. 25 MB ceiling covers ~120s of opus at 128 kbps with headroom. # Download a workspace as ZIP Source: https://docs.praxis-ai.com/api-reference/user-files/download-a-workspace-as-zip /mdx/api-reference/runtime/runtime-api.json get /api/user/workspace/{slug}/export Streams a ZIP of the caller's own workspace (its files as they are now; run folders and symbolic links are not included). The archive is complete or the request is refused: a workspace of more than 20,000 entries or nested deeper than 32 folders is answered 413. If a source file fails while the archive is being sent, the connection is closed (a failed download). The `X-Pria-Export-Note` response header says whether the workspace carries its own libraries. # Get a short-lived link to a file Source: https://docs.praxis-ai.com/api-reference/user-files/get-a-short-lived-link-to-a-file /mdx/api-reference/runtime/runtime-api.json post /api/user/upload-token Answers a signed address for one file of the vault. The address can be opened without a session until it expires. Name the file by `filename` (a file of the caller) or by `path` (`/uploads/<owner id>/<file name>`; a file of another person must be one the caller may read). Asking for a link counts as a use of the file — it restarts the file's "keep if unused" period — unless `purpose` is `preview`: a link for showing the file in a preview counts nothing, and its address ends with `preview=1`. # Swap (replace) the on-disk asset for an existing Upload Source: https://docs.praxis-ai.com/api-reference/user-files/swap-replace-the-on-disk-asset-for-an-existing-upload /mdx/api-reference/runtime/runtime-api.json put /api/user/upload/{fileId}/swap-asset Replaces the physical bytes under an existing Upload record without regenerating embeddings or touching ingestion state. The Upload `_id`, `filename`, and `file_url` stay byte-identical so any published links continue to resolve. Existing embeddings, `file_title`, `file_summary`, and `vaultHealthScore` are preserved — to re-index the new content, call the Reprocess Content endpoint afterwards. Two input modes (mutually exclusive): - Multipart `file` field with the new asset bytes. - JSON `{ url }` body — server fetches the URL and writes it into place. SSRF guard mirrors `/api/user/url`. Authorization mirrors the rename endpoint: the caller must own the upload, or hold `files.edit` on the upload's institution. # Hear a short sample of a read-aloud voice Source: https://docs.praxis-ai.com/api-reference/user-history/hear-a-short-sample-of-a-read-aloud-voice /mdx/api-reference/runtime/runtime-api.json get /api/user/tts/preview Returns a short spoken sample so users can audition a voice from the read-aloud voice pickers before choosing it. The sample is generated with the configured text-to-speech model, cached server-side, and is not billed against credits. # Lazy-fetch the bulk thinking and reasoning array for a single History record Source: https://docs.praxis-ai.com/api-reference/user-history/lazy-fetch-the-bulk-thinking-and-reasoning-array-for-a-single-history-record /mdx/api-reference/runtime/runtime-api.json get /api/user/history/{id}/thinking List endpoints (`/api/user/histories`, `/api/user/favorites`) project out the bulk `thinking` text and expose only `hasThinking` (boolean) + `thinkingCount` (number of reasoning rounds) for the UI summary badge. This endpoint returns the full thinking array on demand, fired by the UI when the user expands the lightbulb `<details>` block. # Lazy-fetch the structured RAG-KAG retrieval segments for a single History record Source: https://docs.praxis-ai.com/api-reference/user-history/lazy-fetch-the-structured-rag-kag-retrieval-segments-for-a-single-history-record /mdx/api-reference/runtime/runtime-api.json get /api/user/history/{id}/ragSearch List endpoints (`/api/user/histories`, `/api/user/favorites`) project out the bulk `ragSearch` array (multi-KB per row) and expose only `hasRagSearch`, `ragSearchCount`, and `ragSearchMode` for the summary line. This endpoint returns the full structured retrieval array on demand, fired by the UI when the user expands the "RAG/KAG Search Results" `<details>` block. Confidential chunks arrive pre-redacted (≤100 chars + "(rest is confidential)" suffix when the original exceeded the preview cap). # Read an assistant response aloud using the configured speech model Source: https://docs.praxis-ai.com/api-reference/user-history/read-an-assistant-response-aloud-using-the-configured-speech-model /mdx/api-reference/runtime/runtime-api.json get /api/user/history/{id}/audio Generates (or replays) spoken audio for the assistant response of a single History record using the institution's configured text-to-speech model. Available when read-aloud is enabled for the institution (or on the personal profile for personal accounts). Generated audio is cached server-side with a TTL, so repeat requests for the same response replay instantly and are not billed again. A cache miss synthesizes the speech and consumes credits proportional to the response length (long responses are truncated to a maximum character cap). # Accept the privacy policy of your digital twin's account Source: https://docs.praxis-ai.com/api-reference/user-institutions/accept-the-privacy-policy-of-your-digital-twins-account /mdx/api-reference/runtime/runtime-api.json post /api/user/account-policy/accept Records that you accepted the privacy policy your current digital twin's account shows before you can use the twin. The server stamps its own date and the policy version on every membership you hold in digital twins of that same account, so you accept once per account. Read the policy and its version from `profile.institution.account.privacyPolicyHTML` and `profile.institution.account.privacyPolicyHash` (signin or `/api/user/refresh/profile`). Voice sessions (`/api/ai/rtProxy/rtSession`, `/deepgram/sttSession`, `/cartesia/token`) answer 403 `consent_required` until you accept the current version. # Switch user's active institution profile Source: https://docs.praxis-ai.com/api-reference/user-institutions/switch-users-active-institution-profile /mdx/api-reference/runtime/runtime-api.json post /api/user/userInstitutionSwitch/{id} Switches the user's active institution profile. Updates the user's institution reference and plan (sdk for institution, free for personal). Also updates lastLogin and lastKA on the target user-institution record. Only an active membership can be switched into: a pending (awaiting approval), suspended or removed membership answers 403 MEMBERSHIP_NOT_ACTIVE. # Transfer 1,000 credits from the parent account into your Digital Twin Source: https://docs.praxis-ai.com/api-reference/user-institutions/transfer-1000-credits-from-the-parent-account-into-your-digital-twin /mdx/api-reference/runtime/runtime-api.json post /api/user/userInstitutionCredit/{id} Moves exactly 1,000 credits from the twin's parent account into the twin. The membership must be yours, active, with the admin role, and for your current twin; the twin must pool credits; the account must allow credit transfers and hold more than 1,000 credits. The amount is fixed (any amount in the request is ignored). The transfer is recorded. # Unlink LTI context from user institution Source: https://docs.praxis-ai.com/api-reference/user-institutions/unlink-lti-context-from-user-institution /mdx/api-reference/runtime/runtime-api.json put /api/user/unlinkContextId/{id} Removes the LTI context association from a user institution, allowing reassociation with a different Digital Twin. Validates that the user institution exists, belongs to the authenticated user, has an LTI context linked, belongs to an institution, and the institution record exists. Also removes the context ID from the parent institution's ltiContextIds array. # Update user institution preferences Source: https://docs.praxis-ai.com/api-reference/user-institutions/update-user-institution-preferences /mdx/api-reference/runtime/runtime-api.json put /api/user/userInstitution/{id} Updates user-institution settings. Accepts canvasApiToken ({ expired: true } to expire the stored token — a 503 with retryable: true means it could not be expired in time and nothing changed, so send it again; empty string to remove — any other value answers 400), lastConversation, favoriteAssistants, acceptedAccountPrivacyPolicyDate (only the empty string, which withdraws a privacy-policy acceptance; accepting goes through POST /api/user/account-policy/accept), and favorite. At least one valid field must be provided. # Aggregate status of a Digital Twin's KAG jobs Source: https://docs.praxis-ai.com/api-reference/user-profile/aggregate-status-of-a-digital-twins-kag-jobs /mdx/api-reference/runtime/runtime-api.json get /api/user/institution/{id}/kag/backfill/status Aggregates the institution's knowledge-graph jobs into a single progress view. `state` is idle when there are no jobs, otherwise running / queued / error / done derived across all jobs. # Aggregate status of the caller's personal-vault KAG jobs Source: https://docs.praxis-ai.com/api-reference/user-profile/aggregate-status-of-the-callers-personal-vault-kag-jobs /mdx/api-reference/runtime/runtime-api.json get /api/user/kag/personal/backfill/status Aggregates the caller's personal knowledge-graph jobs into a single progress view. `state` is idle when there are no jobs, otherwise running / queued / error / done derived across all jobs. # Begin authenticator-app (TOTP) enrollment Source: https://docs.praxis-ai.com/api-reference/user-profile/begin-authenticator-app-totp-enrollment /mdx/api-reference/runtime/runtime-api.json post /api/user/me/totp/setup Generates a fresh TOTP secret, stores it sealed as a *pending* secret (confirm-before-enable — this call does NOT activate TOTP), and returns the `otpauthUrl` (render as a QR code) plus the base32 `secret` for manual entry. The user proves possession by calling `/api/user/me/totp/confirm`. # Cancel a Digital Twin's in-progress KAG backfill Source: https://docs.praxis-ai.com/api-reference/user-profile/cancel-a-digital-twins-in-progress-kag-backfill /mdx/api-reference/runtime/runtime-api.json delete /api/user/institution/{id}/kag/backfill/active Marks in-flight backfill jobs (lower-priority) as skipped. Live uploads and already-completed graph data are left intact. # Cancel the caller's in-progress personal KAG backfill Source: https://docs.praxis-ai.com/api-reference/user-profile/cancel-the-callers-in-progress-personal-kag-backfill /mdx/api-reference/runtime/runtime-api.json delete /api/user/kag/personal/backfill/active Marks in-flight personal backfill jobs (lower-priority) as skipped. Live uploads and already-completed graph data are left intact. # Confirm and activate the authenticator-app factor Source: https://docs.praxis-ai.com/api-reference/user-profile/confirm-and-activate-the-authenticator-app-factor /mdx/api-reference/runtime/runtime-api.json post /api/user/me/totp/confirm Verifies the 6-digit `code` against the pending secret. On success: promotes the pending secret to the active encrypted secret, sets `mfaMethod='totp'` and `mfaEnabled=true`, and generates 10 single-use backup codes returned **once** in `backupCodes` (never retrievable again — the user must save them). A wrong code returns 400 and does NOT enable. # Confirm it's you — ask for the code that gives a course-page session its full rights Source: https://docs.praxis-ai.com/api-reference/user-profile/confirm-its-you-—-ask-for-the-code-that-gives-a-course-page-session-its-full-rights /mdx/api-reference/runtime/runtime-api.json post /api/user/launch-scope/challenge A session that a course page (Canvas) opened for an administrator — or that a Digital Twin's sign-in provider opened for one of its people — starts with user rights in that twin only: until the person confirms it's them, every route outside the twin's day-to-day work (chat, conversations, the person's own files, the profile and preferences) answers `403` with `code: LAUNCH_SCOPE_STEP_UP` and the twin's id in `twin` — and a day-to-day route answers the same `403` when the session asks for an administrator's view (uploading into the twin's shared files, listing them or their trash, every member's usage, a platform setting, a change of the account's name, address, password or security settings). This route creates that confirmation as an email-code challenge, unsent like a launch's: "Send me a code" (`POST /api/auth/mfa-resend` with the `challengeId`) emails it, and `POST /api/auth/mfa-verify` checks it and answers a new session `token` with full rights — plus `mfaTrust`, the handle a course page keeps so its next launches into this twin need no code for a day. Asked again while the challenge is pending (the widget runs on every page), the same `challengeId` comes back; another network gets its own. Wrong codes count against the course-page sign-in's budget, never the password sign-in's. # Dismiss the enable-MFA nudge for 7 days Source: https://docs.praxis-ai.com/api-reference/user-profile/dismiss-the-enable-mfa-nudge-for-7-days /mdx/api-reference/runtime/runtime-api.json post /api/user/me/mfa-prompt-dismiss Records `mfaPromptDismissedAt = now` on the current user. The post- login MFA opt-in screen will suppress itself for 7 days from this timestamp before reappearing. An administrator who signed in directly cannot postpone the prompt (403 `MFA_PROMPT_REQUIRED`); an administrator who opened Pria from a course page can. # Estimate cost of processing a Digital Twin's files through KAG extraction Source: https://docs.praxis-ai.com/api-reference/user-profile/estimate-cost-of-processing-a-digital-twins-files-through-kag-extraction /mdx/api-reference/runtime/runtime-api.json get /api/user/institution/{id}/kag/backfill-quote Returns how many of the institution's (Digital Twin's) files still need knowledge-graph extraction at the current extraction version, plus an estimated TOKEN cost (with a 1.2x safety buffer). Authorized per-instance via `institutions.edit` — NOT the global admin gate — so a per-institution admin can run it for the Twin they manage. # Estimate cost of processing personal-vault files through KAG extraction Source: https://docs.praxis-ai.com/api-reference/user-profile/estimate-cost-of-processing-personal-vault-files-through-kag-extraction /mdx/api-reference/runtime/runtime-api.json get /api/user/kag/personal/backfill-quote Returns how many of the caller's personal-vault files (and their chunks) still need knowledge-graph extraction at the current extraction version, plus an estimated TOKEN cost (with a 1.2x safety buffer). Token→credit conversion is handled separately; this endpoint reports tokens, not credits. # Forget a device row from the caller's list (cosmetic only) Source: https://docs.praxis-ai.com/api-reference/user-profile/forget-a-device-row-from-the-callers-list-cosmetic-only /mdx/api-reference/runtime/runtime-api.json delete /api/user/api-key-usage/{id} Deletes one of the caller's own apiKeyUsage rows so it disappears from their list. This does NOT invalidate access — anyone who still holds the API key can sign in again and a new row will be recorded. To actually revoke access, rotate the key via POST /api/user/api-key (which wipes ALL device rows in one go). Returns 404 for both "row not found" and "row belongs to another user" to avoid leaking the existence of other users' rows. # List devices that have used the caller's personal API key Source: https://docs.praxis-ai.com/api-reference/user-profile/list-devices-that-have-used-the-callers-personal-api-key /mdx/api-reference/runtime/runtime-api.json get /api/user/api-key-usage Returns the caller's own per-device usage rows for their personal API key, ordered by most-recently-seen, capped at 50. Each successful POST /api/auth/api-key-signin upserts a row keyed by sha256(ipSubnet24 | uaFamily | uaOs). Rotating or revoking the key wipes all rows (the list resets to empty). Records auto-expire 180 days after lastSeenAt. # List the current user's active MFA-trusted devices Source: https://docs.praxis-ai.com/api-reference/user-profile/list-the-current-users-active-mfa-trusted-devices /mdx/api-reference/runtime/runtime-api.json get /api/user/me/trusted-devices Returns every non-revoked, non-expired `trusted_device` row for the authenticated user, sorted by `lastUsedAt` descending. These rows back the 7-day MFA-skip cookie — revoking one forces the matching browser to re-MFA on its next login. # Read-only funnel diagnostic for a Digital Twin's KAG backfill quote Source: https://docs.praxis-ai.com/api-reference/user-profile/read-only-funnel-diagnostic-for-a-digital-twins-kag-backfill-quote /mdx/api-reference/runtime/runtime-api.json get /api/user/institution/{id}/kag/backfill-diagnose Explains why the backfill quote is what it is by returning the full funnel (counts only, no mutation): total uploads → eligible (status + user) → embedded (RAG-ready) → with a completed graph-v2 job → pending. Also breaks down upload statuses and graph-v2 job statuses so an admin can reconcile the quote against the status endpoint's chunk totals. # Regenerate single-use backup codes Source: https://docs.praxis-ai.com/api-reference/user-profile/regenerate-single-use-backup-codes /mdx/api-reference/runtime/runtime-api.json post /api/user/me/totp/backup-codes/regenerate Replaces the user's backup codes with a fresh set of 10, returned **once** in `backupCodes`. The previous codes (used or not) are discarded. # Revoke a specific trusted device Source: https://docs.praxis-ai.com/api-reference/user-profile/revoke-a-specific-trusted-device /mdx/api-reference/runtime/runtime-api.json delete /api/user/me/trusted-devices/{deviceId} Targets a single trusted-device row by its `deviceId` (the opaque hex value). # Revoke ALL trusted devices for the current user Source: https://docs.praxis-ai.com/api-reference/user-profile/revoke-all-trusted-devices-for-the-current-user /mdx/api-reference/runtime/runtime-api.json delete /api/user/me/trusted-devices Sets `revokedAt` on every active trusted-device row for the user. Also clears the pria_mfa_trust cookie from this browser. Users will see re-MFA on their next login on every device. # Send a verification code to prove email ownership (post-enable enrollment) Source: https://docs.praxis-ai.com/api-reference/user-profile/send-a-verification-code-to-prove-email-ownership-post-enable-enrollment /mdx/api-reference/runtime/runtime-api.json post /api/user/me/mfa-enroll Called by the client right after PUT /api/user/me {mfaEnabled:true}. Creates a 5-min challenge, emails the 6-digit code, returns challengeId + maskedEmail so the frontend can launch the verify screen. On success the user gets a trusted-device cookie; on cancel the frontend rolls mfaEnabled back to false to prevent self-lockout. # Start (or resume) KAG backfill for a Digital Twin's vault Source: https://docs.praxis-ai.com/api-reference/user-profile/start-or-resume-kag-backfill-for-a-digital-twins-vault /mdx/api-reference/runtime/runtime-api.json post /api/user/institution/{id}/kag/backfill Enqueues knowledge-graph extraction jobs for the institution's eligible files. Returns 409 if a backfill is already in progress for this Digital Twin. Backfill jobs run at a lower priority than live uploads. # Start (or resume) KAG backfill for the caller's personal vault Source: https://docs.praxis-ai.com/api-reference/user-profile/start-or-resume-kag-backfill-for-the-callers-personal-vault /mdx/api-reference/runtime/runtime-api.json post /api/user/kag/personal/backfill Enqueues knowledge-graph extraction jobs for the caller's eligible personal-vault files (one job per file, reusing the existing backfill machinery). Returns 409 if a personal backfill is already in progress. Backfill jobs run at a lower priority than live uploads. # The spending limits a Digital Twin may set Source: https://docs.praxis-ai.com/api-reference/user-profile/the-spending-limits-a-digital-twin-may-set /mdx/api-reference/runtime/runtime-api.json get /api/user/institution/{id}/turn-limits For the administrators of this Digital Twin (an administrator of this twin who may edit it). Returns, per limit, the most this twin may set (what its account allows), what applies to its turns now, and whether the limit is still only measured (watch-only, nothing is stopped). A twin can only lower a limit; set the values with PUT /api/user/institution (turnLimits). All numbers are credits; no account details are returned. # Toggle the email verification factor on or off Source: https://docs.praxis-ai.com/api-reference/user-profile/toggle-the-email-verification-factor-on-or-off /mdx/api-reference/runtime/runtime-api.json post /api/user/me/mfa/email Per-user switch for the email second factor. Independent of the authenticator-app (TOTP) factor — a user may run both at once. Flips `mfaEmailEnabled` directly (no email round-trip proof: the caller is already authenticated as that email identity), then recomputes the derived master gate `mfaEnabled = email OR totp`. Disabling the last remaining factor also resets the preferred factor back to email. Audits `mfa.email.enabled` / `mfa.email.disabled`. # Turn off the authenticator-app factor Source: https://docs.praxis-ai.com/api-reference/user-profile/turn-off-the-authenticator-app-factor /mdx/api-reference/runtime/runtime-api.json post /api/user/me/totp/disable Clears the TOTP secret, pending secret, backup codes, and replay counter, flips `mfaMethod` back to `email` (leaving `mfaEnabled` to the user's choice), and revokes all trusted devices so the next login re-MFAs. Per the grandfather rule this does NOT invalidate the current JWT. # What powers a Digital Twin — its chat and voice models, files and knowledge graph Source: https://docs.praxis-ai.com/api-reference/user-profile/what-powers-a-digital-twin-—-its-chat-and-voice-models-files-and-knowledge-graph /mdx/api-reference/runtime/runtime-api.json get /api/user/institution/{id}/models-knowledge For the Digital Twin's administrators (an administrator of this twin who may edit it). Returns, by display name, the model the twin's next chat answer uses and where that choice comes from (the platform default, a model selected for this twin, or one of the twin's custom AI models), the fallback model when one applies, the twin's assistants that pick their own model, the voice engine and the model it thinks with, the twin's file count and whether its knowledge graph is on, with the entities and relations extracted from its files. Read-only; no model identifiers, keys or endpoints are returned. # Add the right answer to the twin's Knowledge and resolve the review Source: https://docs.praxis-ai.com/api-reference/user/add-the-right-answer-to-the-twins-knowledge-and-resolve-the-review /mdx/api-reference/runtime/runtime-api.json post /api/user/conversation-review/{id}/knowledge Writes a markdown note (`# <question>` + the answer) into the twin's vault, in the "Answers from review" collection (created when the caller also has `files.edit`, else the vault root), queues it for indexing, and resolves the review with `resolution.action:'knowledge'`. Requires `histories.list` and `files.add` on the review's twin. The heading is `question` (the console always sends the admin-edited question); without it, the person's own message is used. # Conversation Review inbox — conversations to review for a twin Source: https://docs.praxis-ai.com/api-reference/user/conversation-review-inbox-—-conversations-to-review-for-a-twin /mdx/api-reference/runtime/runtime-api.json post /api/user/conversation-review/list Replies a person rated 👎 and replies where the twin said it could not answer. Requires `histories.list` on the twin. The text is read from the conversation itself. A review whose conversation was deleted, forgotten by the person or hidden is removed from the inbox when it is read and is never returned (no person, time or text). # Create a saved agent workflow. Source: https://docs.praxis-ai.com/api-reference/user/create-a-saved-agent-workflow /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/workflows Tenancy is resolved server-side; `institution`, `createdBy` and `_id` in the request body are ignored. The preset must exist, be enabled for the institution, and satisfy runtime capability when the runtime has reported an inventory. # Credit-cap gauges and block state for the caller's current institution. Source: https://docs.praxis-ai.com/api-reference/user/credit-cap-gauges-and-block-state-for-the-callers-current-institution /mdx/api-reference/runtime/runtime-api.json get /api/user/credit-cap-status Returns the caller's usage against any configured credit caps for their current institution (and its parent account). `capsEnabled` is false when caps are off or the user has no capped account; in that case the gauges carry null caps. Reuses the same evaluator as server-side enforcement, so the UI and the hard block agree exactly. While the 24-hour limit refuses the caller, `h24.freeAt` says when they can use the twin again. When the status could not be computed the answer carries `error: true` with `capsEnabled: false`. `warning` names the one limit to warn about, from 80 % of a limit and at the limit, or is null. # Delete one of the caller's workflows. Source: https://docs.praxis-ai.com/api-reference/user/delete-one-of-the-callers-workflows /mdx/api-reference/runtime/runtime-api.json delete /api/user/agents/workflows/{id} Hard delete. Deleting a workflow made by the Digital Twin also retires its internal workflow agent (a failed retire is logged, not returned). Delegated tokens get 403 `TWIN_MANAGED` for a Twin row. # Delete (soft) one of the caller's authored definitions. Source: https://docs.praxis-ai.com/api-reference/user/delete-soft-one-of-the-callers-authored-definitions /mdx/api-reference/runtime/runtime-api.json delete /api/user/agents/fleet-tasks/{slug} # Dismiss the welcome message Source: https://docs.praxis-ai.com/api-reference/user/dismiss-the-welcome-message /mdx/api-reference/runtime/runtime-api.json post /api/user/me/personal-welcome-dismiss Records that the signed-in person has seen the welcome message of their personal Pria, so it does not show again. The profile's `showPersonalWelcome` is false from the next profile load. # Fork a platform definition into a new user definition. Source: https://docs.praxis-ai.com/api-reference/user/fork-a-platform-definition-into-a-new-user-definition /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/fleet-tasks/customize Answers 403 TWIN_MANAGED when `baseSlug` or `slug` names one of the caller's own Twin workflow agents. A `tw-` slug is reserved for the Twin (400 `slug_taken`). # Get custom AI models Source: https://docs.praxis-ai.com/api-reference/user/get-custom-ai-models /mdx/api-reference/runtime/runtime-api.json post /api/user/customModels Retrieves the list of custom AI models available for the current institution # Get system AI models Source: https://docs.praxis-ai.com/api-reference/user/get-system-ai-models /mdx/api-reference/runtime/runtime-api.json post /api/user/systemModels Retrieves the list of system-wide AI models available # Hide or show an institution definition for the caller. Source: https://docs.praxis-ai.com/api-reference/user/hide-or-show-an-institution-definition-for-the-caller /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/fleet-tasks/{slug}/twin-disable # List the caller's saved agent workflows. Source: https://docs.praxis-ai.com/api-reference/user/list-the-callers-saved-agent-workflows /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/workflows Returns only workflows created by the caller within their own institution. Rows whose catalogue preset has been removed, disabled or whose runtime capabilities are missing are still LISTED and annotated, never hidden. # Observe RunPod model readiness Source: https://docs.praxis-ai.com/api-reference/user/observe-runpod-model-readiness /mdx/api-reference/runtime/runtime-api.json post /api/user/runpod/status Read-only readiness for active models in the caller's current institution, or another institution the caller is authorized to administer. Includes each configured datacenter. This request does not create warm-up demand, submit a job, cancel a job, or acquire a GPU. A cold snapshot is not a running GPU host; stock signals are advisory and not reservations. # Per-bucket credits spent for the calling user within an instance scope Source: https://docs.praxis-ai.com/api-reference/user/per-bucket-credits-spent-for-the-calling-user-within-an-instance-scope /mdx/api-reference/runtime/runtime-api.json get /api/user/usage-history Returns time-bucketed credits and message counts for the authenticated user, scoped either to `personal` usage (History rows with no institution) or to a single institution the caller belongs to. The aggregation is DocumentDB-safe (no `$facet`, no `$dateTrunc`, no `.collation()`); buckets are padded with zero-value entries so the chart renders contiguous bars. Results are cached in-memory for 60 seconds per `user × instance × window × interval × scope` (see the `X-Cache` response header). Consumed by the Usage tab in the Pricing pane. When the effective scope is `all`, buckets and totals additionally carry distinct active-user counts. # Per-dialog context-composition breakdown for the InfoCard 10×10 grid. Source: https://docs.praxis-ai.com/api-reference/user/per-dialog-context-composition-breakdown-for-the-infocard-10×10-grid /mdx/api-reference/runtime/runtime-api.json get /api/user/history/{id}/composition Returns the categorised input/output token split for one LLM dialog. Built asynchronously by a `process.nextTick` dispatch from `routes/logic/sendResponse.js` after `res.json` has flushed, so the breakdown is typically available within ~50 ms of the dialog completing — but the InfoCard MUST handle the "pending" race window by retrying on `404 — composition pending`. Input categories (12 total) roll up into 3 ownership boundaries: - **system**: persona, systemRules, toolDefinitions, toolInstructions, toolGuidance, formatting - **twin**: digitalTwin, assistant, rag - **user**: userContext, history, toolResults Output categories (3 total): thinking, completion, toolCalls. Permission: caller must own the dialog (`History.user === req.user._id`). Dialogs flipped to `forgotten:true` return 404 (same behaviour as the rest of `/api/user/history/:id/*`). # Platform choices for the per-mode subagent seat grid. Source: https://docs.praxis-ai.com/api-reference/user/platform-choices-for-the-per-mode-subagent-seat-grid /mdx/api-reference/runtime/runtime-api.json get /api/user/subagentSeatOptions Returns what the AI models page needs to show a model and an effort per subagent role for each mode (Advanced, Expert, Mythical) of a Digital Twin: the platform default model of every role under "All modes" and in each mode, and the reasoning efforts each catalog model really supports. Platform data only — nothing about the caller's twin. The per-mode defaults come from the same resolver the runs use, so operator overrides and the per-mode switch-off are reflected. A mode default applies only while the twin has no pin of its own for that role. # Read one of the caller's workflows. Source: https://docs.praxis-ai.com/api-reference/user/read-one-of-the-callers-workflows /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/workflows/{id} # Refresh user entitlements and permissions Source: https://docs.praxis-ai.com/api-reference/user/refresh-user-entitlements-and-permissions /mdx/api-reference/runtime/runtime-api.json post /api/user/refresh/entitlements Retrieves the current user's entitlements across all institutions. Transforms populated institution/account into institution_data/account_data. Sorts by favorite flag, ainame, and institution name. Auto-cleans null-institution duplicate records. Returns accountManagerAccounts. # Refresh user profile data Source: https://docs.praxis-ai.com/api-reference/user/refresh-user-profile-data /mdx/api-reference/runtime/runtime-api.json post /api/user/refresh/profile Retrieves the current user's full profile including populated institution, account, and Google OAuth status. Proactively refreshes expired Google tokens when a refresh_token is available. Returns a fresh JWT token (sliding session) — store this token to extend the session without re-authentication. Accepts an optional branded-link hint (see request body). # Resolve, dismiss or reopen a review Source: https://docs.praxis-ai.com/api-reference/user/resolve-dismiss-or-reopen-a-review /mdx/api-reference/runtime/runtime-api.json patch /api/user/conversation-review/{id} Requires `histories.edit` on the review's own twin (never taken from the body). # Run history for one of the caller's workflows. Source: https://docs.praxis-ai.com/api-reference/user/run-history-for-one-of-the-callers-workflows /mdx/api-reference/runtime/runtime-api.json get /api/user/agents/workflows/{id}/runs Newest first. Runs whose session has finished are resolved on read; runs whose session is still going are left open rather than being given an invented ending. # Run one of the caller's workflows now. Source: https://docs.praxis-ai.com/api-reference/user/run-one-of-the-callers-workflows-now /mdx/api-reference/runtime/runtime-api.json post /api/user/agents/workflows/{id}/run Starts the workflow's agent through the same deploy chain a catalogue deploy uses. Manual trigger only — there is no scheduling and nothing runs unattended. The agent is resolved from the SAVED workflow; the request body is ignored entirely. If a session for that agent is already running, the existing session is returned with outcome `reused` — it is never presented as a fresh start. When the outcome is `started` and the workflow has a non-empty instruction, the instruction is delivered to the new session on a BEST-EFFORT basis (bounded in-request retry). Delivery failure NEVER fails the run: the session did start. The result reports it separately via `instructionDelivered` / `deliveryState` / `deliveryCode`. The instruction is NEVER delivered on a `reused` outcome. This system has no observable turn state, so an injected prompt could land mid-turn; the caller is told to open the session instead. Workflows made by the Digital Twin (`madeBy: twin`) run in their own read-only session that closes after the turn, and never reuse a live one: a run while another is live answers 409 `workflow_busy`. They need automatic session cleanup (409 `auto_close_unavailable`), share a limit of 48 started runs per owner per 24 hours across chat, page and schedule (429 `run_limit`, recorded as a rejected run), and can be refused 409 `tool_group_unavailable` or `model_unavailable`. They are paid like any other agent use (owner ruling 10): the model follows the institution's credential mode (`user_oauth` the owner's own connection, `institution_oauth` the institution's connection, `api_key` the institution's key), refused 409 `credential_unavailable` when that route has no credential and 409 `model_route_changed` when it now serves a different model than the saved one. Delegated tokens get 403 `TWIN_MANAGED`. (A scheduled Twin run whose workflow agent is gone is released as failed with `WORKFLOW_AGENT_MISSING`; that code is internal to the scheduler.) # Save a meeting transcript record to the owner's personal vault Source: https://docs.praxis-ai.com/api-reference/user/save-a-meeting-transcript-record-to-the-owners-personal-vault /mdx/api-reference/runtime/runtime-api.json post /api/user/history/{id}/meeting-transcript/vault Backs the "Save transcript to vault" action on a meeting transcript. For a `type:'meeting'` History row (the live-built, speaker-attributed Zoom/Meet/Teams transcript — spec `docs/specs/2026-08-25-meeting-transcript-history-record-SPEC-AND-PLAN.md`), serializes the canonical transcript to markdown (`routes/logic/meetingTranscript.formatMeetingTranscript` — byte-identical to what the UI "Copy" action emits), writes it into the caller's **personal** vault under a "Meeting Transcripts" collection, creates the `upload` row (`text/markdown`, `is_private:false`, personal — no institution) and enqueues normal RAG ingestion so the transcript becomes searchable knowledge. - **Owner only**: `History.user === req.user._id`; other rows answer 404 (no existence oracle). Admin entitlement does not unlock another user's transcript into this vault. - **Server-authored**: the request body carries no content; the server serializes the record. - **Idempotent**: `meeting.vaultUpload` is the key — a repeat returns the existing upload (`200`, `existing:true`). A trashed/deleted upload lets a fresh save through. - The upload deliberately carries no `history` backlink, so ingestion cost is filed as a standalone `type:'ingestion'` row and never mutates the meeting record's `credits` (a mirror of `meeting.billing.creditsDebited` — the amount actually debited). # Set the authorized-source allowlist for the caller's personal API key Source: https://docs.praxis-ai.com/api-reference/user/set-the-authorized-source-allowlist-for-the-callers-personal-api-key /mdx/api-reference/runtime/runtime-api.json put /api/user/api-key/sources Restricts which sources may exchange this API key for a JWT at POST /api/auth/api-key-signin. Entries are auto-classified as web origins ("https://app.example.com", "*.example.com") or network sources ("52.206.211.0/24", "1.2.3.4") and are normalized before storage. An EMPTY list means the key is open (no enforcement) — existing keys are unaffected until a list is saved. Security notes: network entries are matched against the resolved client IP and cannot be spoofed; web origins are matched on the Origin header, which non-browser clients can set freely, so an origin entry constrains browser use only. A MIXED list is therefore only as strong as its weakest entry — the response returns `mixed: true` so callers can surface that. The Referer header is deliberately not accepted. Survives key rotation. # Start, reconcile, or release bounded RunPod warm-up demand Source: https://docs.praxis-ai.com/api-reference/user/start-reconcile-or-release-bounded-runpod-warm-up-demand /mdx/api-reference/runtime/runtime-api.json post /api/user/runpod/warm Explicit demand only; this operation can allocate paid GPU capacity. Reuse the same demandId on reconciliation requests (approximately every ten seconds). Each demand has a fixed server-bounded deadline; polling does not extend it indefinitely. Readiness includes acquisition phase and deadline. A hostless job may transfer to another approved datacenter only after the exact owned warm-up job is safely cancelled. Existing initializing or ready hosts are reused. Ownership uncertainty blocks new launches. No speculative dual-datacenter warming or endpoint-wide queue purge is performed. Set release to true to detach only this caller's demand; it never terminates a serving worker or cancels another caller's inference. Client-supplied endpoint ids, job ids and deadlines are not acquisition authority. # Twin Home — a Digital Twin's week at a glance (twin admins) Source: https://docs.praxis-ai.com/api-reference/user/twin-home-—-a-digital-twins-week-at-a-glance-twin-admins /mdx/api-reference/runtime/runtime-api.json get /api/user/twin-home/{institutionId} Activity (30 UTC days; this week vs last week), credits left and runway, satisfaction (👍 vs 👎 over 30 days), needs-attention counts and the launch checklist. - Requires `histories.list` on the twin. The feedback count additionally needs `feedbacks.list`; without it `attention.feedbackOpen` is `null`. - Activity uses the daily rollup (the same source as the Histories charts) plus a live count for the days the rollup has not reached (at most 3); `activity.stale` is true when the rollup is further behind. Weekly people are distinct across the week. - The first request for a twin starts a one-time background collection of its past ratings and "couldn't answer" replies (last 90 days, newest 5,000 conversations); `seeding` is true while it runs. # Update one of the caller's authored definitions. Source: https://docs.praxis-ai.com/api-reference/user/update-one-of-the-callers-authored-definitions /mdx/api-reference/runtime/runtime-api.json put /api/user/agents/fleet-tasks/{slug} # Update one of the caller's workflows. Source: https://docs.praxis-ai.com/api-reference/user/update-one-of-the-callers-workflows /mdx/api-reference/runtime/runtime-api.json patch /api/user/agents/workflows/{id} Updates name, presetKey, instruction, enabled and schedule. For a workflow made by the Digital Twin (`madeBy: twin`): delegated tokens (a desktop agent's `PRIA_API_TOKEN`, a scoped desktop token, impersonation) get 403 `TWIN_MANAGED`; the agent cannot be changed (403 `TWIN_BINDING_FIXED`); instructions cannot be empty; the catalogue check is skipped and the response carries the Twin availability note; the schedule limits apply (interval of at least 60 minutes, at most 10 scheduled Twin workflows per owner). # Update user profile or change password Source: https://docs.praxis-ai.com/api-reference/user/update-user-profile-or-change-password /mdx/api-reference/runtime/runtime-api.json put /api/user/me Updates the current user's profile fields or changes the user's password. When `resetCodeId` is present in the request body, the endpoint operates in password-change mode and requires `password` (current) and `newPassword` fields. Otherwise, it updates profile fields validated against the authorized properties list (email, fname, lname, picture, remember_history_count, use_location, use_stt, dark_mode, pin_ui, showSideBar, sideBarCollapsed, galleryAsGrid, ragOnlySearch, ragIgnore, ragKagMode, ragLimitChunks, browser_voice, browser_voices, mustChangePassword, updatePasswordOnSSO, rt_voice, gemini_rt_voice, xai_rt_voice, openai_live_voice, mfaEnabled, toolsEnabled, toolGuidanceEnabled). Any properties not in this list are rejected. # Upload profile picture Source: https://docs.praxis-ai.com/api-reference/user/upload-profile-picture /mdx/api-reference/runtime/runtime-api.json post /api/user/uploadPicture Uploads a profile picture from base64-encoded image data. Saves the file to the user's home directory, creates a RAG upload record for the file, and updates the user's profile picture URL. Supported formats are png, jpeg, jpg, gif, and webp. Maximum file size is 5MB. # Usage-vs-cap reporting for one person, or an account's at-limit counts. Source: https://docs.praxis-ai.com/api-reference/user/usage-vs-cap-reporting-for-one-person-or-an-accounts-at-limit-counts /mdx/api-reference/runtime/runtime-api.json get /api/user/usage-limits Two modes selected by query parameters: - `userId` + `institutionId` (or `instanceId` alias): one person's usage-vs-cap gauges plus over-time `{buckets, totals}` (the same shape as the usage chart). Needs the `users.edit` entitlement on the Digital Twin asked about, which must be the twin the person is reached through. - `accountId`: account-wide counts of people and memberships at or over a cap. Needs the `institutions.edit` entitlement on one of the account's Digital Twins (the Instance Settings Quotas panel and the Digital Twin settings editor read it). # Managing Accounts Source: https://docs.praxis-ai.com/mdx/admin-guide/accounts/managing-accounts Configure account settings, shared integrations, which Digital Twins belong to the account, and credit transfers. The account management view has five tabs: **General**, **Shared Integrations**, **Instances**, **Credit Transfers** and **Managers** (the Studio UI adds **Credits & Caps**, which holds the balance and the per-user caps). > [!NOTE] > > Fields marked **No** below are managed by the Praxis AI team. Contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request changes to account name, status, or credit balance. *** ## General Settings The General tab contains the core account configuration. ### Account Properties | Field | Description | Editable by Account Manager | | - | - | :-: | | **Name** | Account display name | No | | **Status** | `active` or `inactive`. An `inactive` (or deleted) account takes every one of its Digital Twins out of service — members are told the Digital Twin is unavailable and launches are refused — and stops the account's agent computers; everything resumes once the account is `active` again. | No | | **Credits** | Account credit pool balance | No | | **Transfer to Instances** | Credit transfer mode | Yes | | **Account Contact/Notification Emails** | People who become admins of every new Digital Twin created under the account | Yes | | **Domains** | Web addresses from which new Digital Twins are assigned to the account | Yes | | **Privacy Policy Consent Form** | Consent notice users must accept the first time they open a chat | Yes | | **KAG Fusion** | Account-wide knowledge-graph (KAG) controls for all linked Digital Twins | No | | **Per-User Credit Caps** | Credit limits per person for every Digital Twin in the account (Studio UI: **Credits & Caps** tab). See [User quotas](/mdx/admin-guide/credit-management#user-quotas) | No | ### Transfer to Instances Account Managers can move credits by hand in every mode (see [Credit Transfers](#credit-transfers)). The mode adds: | Mode | Description | | - | - | | **Never** | Nothing automatic. | | **By Instance Admins** | The admins of a Digital Twin that pools credits can pull **1,000 credits** from the account themselves, from the classic **Add Credits** page, while the account holds more than 1,000. | | **Automatically on low credits** | Pria automatically tops up a Digital Twin's credits from the account pool when they reach 500 or fewer, topping up 1,000 credits at a time (or the account's remaining balance, if lower). | ### Account Contact/Notification Emails Use the list manager to add or remove addresses. Each person listed who has a Pria account becomes an admin, with full entitlements, of every new Digital Twin created under the account. The list does not make anyone an Account Manager (see [Managers](#managers)), and it receives no emails. ### Domains When someone creates a Digital Twin from a web address in this list, it is attached to the account. The host must match exactly, so list every address you launch from (`canvas.university.edu`, not `university.edu`). See [How Domain Matching Works](/mdx/admin-guide/accounts/overview#how-domain-matching-works). ### Privacy Policy Consent Form Enter a privacy/consent notice in Markdown (inline HTML is allowed). It is shown to every member of the account's Digital Twins the first time they open a chat — they must accept it before continuing, and the date of acceptance is recorded on their membership. Leave it blank to skip the consent prompt entirely. This is useful for organizations that require compliance acknowledgment (e.g., FERPA, GDPR). Saving or editing the policy re-prompts everyone in the account: anyone who already accepted an earlier version is asked to accept again. Acceptance is per account, not per Digital Twin — a member who accepts once is covered for every Digital Twin under this account. ### Knowledge Graph (KAG Fusion) The **KAG Fusion** section on the General tab controls knowledge-graph retrieval for every Digital Twin linked to the account. Account Managers see these switches; the Praxis AI team changes them. Two switches decide it between them: * If **Enable KAG for all instances** is on, every Digital Twin in the account uses the knowledge graph and cannot opt out. * If it is off but **Allow instance-level KAG toggles** is on, each Digital Twin decides for itself, in its own settings. * If both are off, no Digital Twin in the account can use it. > [!NOTE] > > Building the knowledge graph runs an extra extraction pass over every uploaded file, so enabling KAG account-wide increases file-processing credit consumption across all its Digital Twins. See [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config#kag-fusion) for what KAG does and how the per-twin setting works. *** ## Shared Integrations The Shared Integrations tab configures credentials that are shared across all Digital Twins in the account. This avoids duplicating integration setup on each individual twin. > [tab] Canvas > > ### Canvas LMS Integration > > Configure credentials for [Instructure Canvas](/mdx/integrations/canvas/overview) integration across all the Digital Twins in the account. > > | Field | Description | > | - | - | > | **Canvas API URL** | Base URL of your Canvas instance (e.g., `https://canvas.university.edu`) | > | **Canvas Client Id** | OAuth2 client ID from Canvas developer keys | > | **Canvas Client Secret** | OAuth2 client secret from Canvas developer keys | > | **Canvas Faculty Access Token** | Access token for faculty-level Canvas API operations | > | **Canvas API Scopes** | List of Canvas API scopes to request during OAuth authorization | > | **Require LMS sign-in on launch (Canvas or Blackboard)** | When enabled, people who open the account's Digital Twins from Canvas or Blackboard must first sign in to that LMS | > > > [!NOTE] > > > > Canvas credentials set here apply to every Digital Twin in the account and take precedence over a Digital Twin's own. **Require LMS sign-in on launch (Canvas or Blackboard)** applies when it is on at either level. > [tab] AWS > > ### Amazon Web Services > > Set the AWS credentials your Digital Twins use for Amazon Bedrock models, transcription, image and video generation, and the S3 storage those features need. Every Digital Twin in the account that has no AWS keys of its own uses this pair automatically, so your usage bills to your own AWS account. > > | Field | Description | > | - | - | > | **AWS Region** | AWS region for services (e.g., `us-east-1`, `eu-west-1`) | > | **AWS Access Key Id** | IAM access key identifier | > | **AWS Secret Access Key** | IAM secret access key | > > > [!NOTE] > > > > A Digital Twin's own AWS keys override the account's when both are set. The account pair is used only as a complete pair: leave both key fields empty to fall back to the platform. > > > [!WARNING] > > > > Store AWS credentials securely and use IAM policies with least-privilege access. The key needs Bedrock model invocation (conversation, embeddings, image analysis and generation). Video generation and audio/video transcription always run on Pria's own AWS account, because they stage files in a bucket Pria owns — your key is not used for them. *** ## Instances The Instances tab lists the Digital Twins attached to the account — assigned at creation by their web address, attached by their admins from the Digital Twin's **Configuration**, or attached by the Praxis AI team. ### The Instances table | Column | Description | | - | - | | *(actions)* | The pencil opens the Digital Twin's settings; the stack icon transfers credits with it | | **Instance** | The Digital Twin's name and AI name | | **Authorized URLs** | The Digital Twin's public URLs — highlighted **green** if matching account domains, **red** if not | | **Contact** | The Digital Twin's contact email | | **Credit Usage** | Visual progress bar of credit consumption | | **Used** | Credits consumed by this Digital Twin | | **Left** | Remaining credits available to this Digital Twin | | **Total** | Total credits ever allocated to this Digital Twin | | **Created** | When the Digital Twin was created | ### Credit Usage Indicators The credit usage bar uses color coding to quickly identify Digital Twins that need attention: | Color | Usage Range | Action | | - | - | - | | **Green** | 0–65% | Healthy — no action needed | | **Orange** | 66–85% | Monitor — consider transferring credits soon | | **Red** | 86–100% | Critical — transfer credits to avoid service interruption | ### Exporting the list Click the **CSV** button to download the rows loaded so far (scroll to load more) with names, contact emails, credit balances, authorized URLs and creation dates. *** ## Credit Transfers Credit transfers move credits between the account pool and individual Digital Twins. The Credit Transfers tab provides a full audit trail of all transfers. ### Transferring Credits To transfer credits, navigate to the **Instances** tab and click the transfer button next to the target Digital Twin. **1. Select a Digital Twin** On the Instances tab, locate the Digital Twin you want to transfer credits to or from. Click the **transfer** icon (stack icon) next to it. **2. Enter Amount** In the transfer dialog, enter the number of credits to transfer. The dialog shows the current credit balance for both the account and the Digital Twin. **3. Choose Direction** By default, credits transfer **from the account to the Digital Twin**. Click the **reverse** button (in the Studio UI, the **Direction** list) to send credits **from the Digital Twin back to the account**. **4. Confirm Transfer** Select **Transfer** (**Review** in the Studio UI), check the source, destination and amount in **Confirm Transfer**, then select **Transfer Credits**. > [!WARNING] > > Ensure the source (account or Digital Twin) has sufficient credits before initiating a transfer. Transfers with insufficient funds will fail. ### Transfer History The Credit Transfers tab displays a log of all credit movements for the account. | Column | Description | | - | - | | **Credits** | The effect on the account's balance: a green `+` amount came in (back from a Digital Twin, or added by the Praxis AI team), a red `−` amount went out | | **Mode** | How the transfer was initiated: `Admin` (manual), `Auto` (automatic replenishment), or `Deletion` (reclaimed when a Digital Twin was deleted) | | **Date** | Timestamp of the transfer | | **Instance** | The Digital Twin involved | | **User** | Who initiated the transfer — on an `Auto` row, the member whose question triggered it | | **Reason** | The note on a balance adjustment by the Praxis AI team | ### Transfer Modes | Mode | Description | | - | - | | **Admin** | A transfer made by hand — by an Account Manager, by a Digital Twin's admins pulling 1,000 credits or releasing its balance back to the account, or an adjustment by the Praxis AI team | | **Auto** | Automatic transfer triggered when a pooled Digital Twin's credit balance reaches 500 or fewer (requires "Automatically on low credits" transfer mode) | | **Deletion** | Credits reclaimed from a Digital Twin when it is deleted | ### Exporting Transfer Data Click the **CSV** button to download the transfers loaded so far (scroll to load more), including the Digital Twin involved, user information, credit amounts, and timestamps. *** ## Managers The Managers tab displays the list of Account Managers assigned to this account. Account Managers are admin users who have been granted access to manage account-level settings. ### Manager Details | Column | Description | | - | - | | **Name** | Manager's first and last name | | **Email** | Manager's email address | | **Added By** | Email of the administrator who assigned this manager | | **Date** | Date the manager was assigned | ### Account Manager Capabilities Account Managers can: * Edit account domains, contact emails, privacy policy, and transfer mode * Configure shared Canvas and AWS integration credentials * View the Digital Twins associated with the account * Transfer credits between the account pool and its Digital Twins * View credit transfer history * Export the Digital Twin list and transfer data as CSV > [!NOTE] > > Adding or removing Account Managers is managed by the Praxis AI team. Contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request changes. *** ## Related * [Accounts Overview](/mdx/admin-guide/accounts/overview) — Account concepts, list view, and domain matching * [Entitlements](/mdx/admin-guide/entitlements) — Per-Digital-Twin permission management * [Configuration](/mdx/admin-guide/configuration) — Configuring an individual Digital Twin * [Plans & Credits](/mdx/introduction/plans-and-credits) — Understanding the credit system # Accounts Source: https://docs.praxis-ai.com/mdx/admin-guide/accounts/overview Group several Digital Twins under one account: a shared credit balance, shared integrations and new Digital Twins assigned by web address. > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. Accounts are the top-level organizational unit in Pria. Each account groups several Digital Twins under a single dashboard, enabling central credit management, assignment of new Digital Twins by web address, and shared integration credentials. > [!NOTE] > > Account management is available to **Account Managers** — administrators assigned to oversee one or more accounts. To request Account Manager access, contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com). *** ## Key Concepts | Concept | Description | | - | - | | **Account** | Top-level container grouping several Digital Twins | | **Account Manager** | An admin user authorized to manage account settings and transfer credits | | **Credit Balance** | Credits held by the account and moved to its Digital Twins by transfer — a Digital Twin spends its own balance | | **Domains** | The web addresses (exact hosts) from which a newly created Digital Twin is assigned to the account | | **Transfer Mode** | Controls how credits flow from the account to its Digital Twins | *** ## Accounts List The Accounts list provides an at-a-glance view of all accounts you manage. Each row displays the account's key metrics and configuration. ### List Columns | Column | Description | | - | - | | **Name** | Account name | | **Status** | `active` or `inactive`. Under an active account quiet for more than 30 days, a note says how long ("35 days ago"); after 6 months it becomes a warning reading "idle 6+ months" | | **Last Activity** | How recently anyone in the account used Pria (classic admin list). The dot is green up to 30 days, yellow up to 6 months and red after that; an account never used reads "Never used" | | **Manager** | The account's **Account Contact/Notification Emails** (**Manager Email** in the Studio UI) — not the Account Managers, who are listed on the **Managers** tab | | **Balance** | Available credit balance in the account pool | | **Instances Count** | Number of active Digital Twins in the account (**Instances** in the Studio UI) | | **Credit Usage** | Visual progress bar showing aggregate credit consumption across all its Digital Twins | | **Credits Used** | Total credits consumed across all its Digital Twins | | **Left** | Remaining credits across all its Digital Twins | | **Total** | Total credits ever allocated across all its Digital Twins | | **Credit Transfers** | Transfer mode, in short form — `None`, `By Admin`, or `Auto` (the classic edit form spells them out as **Never**, **By Instance Admins**, **Automatically on low credits**; the Studio UI's **Credit Transfers** field uses the short names) | | **Domains** | Domain URLs used to work out which Digital Twins belong to the account | | **Created** | Account creation date | Use the **Columns** button to show or hide columns — a few (such as **Credit Transfers** and **Domains**) are hidden by default; the classic list remembers your selection. ### Finding an account * **Account** search box — matches account names and contact emails. * **All · Active · Inactive** — filters by the account's status. * **Has Activity** — keeps only accounts that have been used at least once (in the Studio UI: the **All · Has activity** pills). * In the classic list, column filters narrow it further (name, status, manager email, domain, figures, dates). * In the Studio UI, **CSV** downloads the list. Select the pencil on a row (in the Studio UI, the row itself) to open the account's settings, its Digital Twins and its credit transfers. > [!NOTE] > > Account creation and deletion are managed by the Praxis AI team. Contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request a new account or remove an existing one. *** ## Account Manager Role Account Managers have scoped administrative access to the accounts they are assigned to. This role is separate from the standard [entitlement system](/mdx/admin-guide/entitlements) and provides account-level management capabilities. ### What Account Managers Can Do > [card] Manage Domains > > Add or remove the web addresses from which new Digital Twins are assigned to the account. > [card] Transfer Credits > > Move credits between the account pool and its Digital Twins. > [card] Configure Integrations > > Set up shared Canvas and AWS credentials for every Digital Twin in the account. > [card] Set Transfer Policy > > Choose whether Pria tops up Digital Twins automatically, and whether their admins may pull credits themselves. ### What Requires Praxis AI Team Assistance The following operations require assistance from the Praxis AI team: * Creating or deleting accounts * Changing account name or status * Adjusting the account credit balance * Assigning or removing Account Managers * Changing the **KAG Fusion** settings or the account's credit caps Contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) for these requests. *** ## How Domain Matching Works Domains assign **new** Digital Twins to the account: when someone creates a Digital Twin from a web address in the list (a Canvas launch, say), it is attached to the account. The host must match exactly — `canvas.university.edu` is not covered by `university.edu` — so list every address you launch from. A Digital Twin that already exists is attached by its admins from its own **Configuration** (the **Account** picker) or by the Praxis AI team; detaching one is done by the Praxis AI team. On the Instances tab, a Digital Twin's authorized URLs that contain one of the domains appear in **green**, the others in **red** — a quick check that the list covers your launch addresses. *** ## Credit Flow Credits move from the account to its Digital Twins. Account Managers can always transfer by hand, in either direction; the transfer mode decides what happens on top of that: | Mode | Behavior | | - | - | | **Never** | Nothing automatic. | | **By Instance Admins** | The admins of a Digital Twin that pools credits can pull **1,000 credits** from the account themselves (classic **Add Credits** page) while the account holds more than 1,000. | | **Automatically on low credits** | If a Digital Twin shares one credit balance among its members (Pool Credits), Pria tops it up from the account whenever it drops to 500 credits or fewer, adding 1,000 at a time (or what the account has left). | > [!NOTE] > > For details on transferring credits, see [Managing Accounts — Credit Transfers](/mdx/admin-guide/accounts/managing-accounts#credit-transfers). *** ## Related * [Managing Accounts](/mdx/admin-guide/accounts/managing-accounts) — Configure account settings, integrations, and credit transfers * [Entitlements](/mdx/admin-guide/entitlements) — Per-Digital-Twin permissions * [Plans & Credits](/mdx/introduction/plans-and-credits) — Understanding the credit system # The Agent Workspace Source: https://docs.praxis-ai.com/mdx/admin-guide/agent-workspace Where you work with your Digital Twin's agent day to day — the agents page, workflows, the remote desktop, and the connections your agent uses. Once agents are set up for a Digital Twin, you work with yours on the **agents page**. Open it with the **Agent** button in the top bar, or go to `/pria/agents`. > [!NOTE] > > **Who sees it.** The **Agent** button appears for the administrators of a Digital Twin that has > agents. The Praxis AI team sets agents up — contact > [humans@praxis-ai.com](mailto:humans@praxis-ai.com). On any other Digital Twin, the agents page > sends you back to your conversation. > [!NOTE] > > This page covers the agents page. The [Agents](/mdx/admin-guide/agents) page covers the **Agents** > tab of the Digital Twin editor — live sessions, pending approvals and Shield events. *** ## The agents page Your agent is your own, for the Digital Twin you are in. It keeps working when you close the tab, and your sessions are saved, so you can come back to one later. Each Digital Twin you use has its own agent; switching Digital Twin reloads the page for the new one. * **Start working:** type in the message box and press Enter, or select **New session**. * **Come back to earlier work:** pick a session from **Recent**. * **Helpers:** when the agent hands parts of a job to helpers, a tray above the message box shows each one live — what it is working on and, once done, its result. The first time you open the page, the agent's computer may need a minute to start ("Your agent VM is starting…"). The bottom of the session list holds four buttons: | Button | What it opens | | - | - | | **Settings** (gear) | The agent's session settings | | **Desktop** | The [Remote Desktop](#remote-desktop), in a new tab | | **Workflows** (lightning bolt) | Your [workflows](#workflows) | | **Connections** (link) | The [services your agent can reach](#connections) | > [!NOTE] > > The earlier agents page is at `/pria/agents-v1` while it is being retired. Old links to it still > work. *** ## Workflows A **workflow** is a job your agent runs again and again — a name, an instruction, and when to run it. Each run starts a new session with the instruction as its first message. **1. Open Workflows** Select **Workflows** at the bottom of the session list, then **New workflow**. **2. Describe the job** Fill in **Name** and **Instruction**. Nobody is watching while a workflow runs, so write the instruction so the agent never needs to ask you anything. **3. Choose when it runs** Under **When**, pick **Manual**, **Once**, **Daily**, **Weekly**, **Monthly** or **Every N min** (at least 15 minutes). Times are in your own time zone. **4. Optionally pick a model** **Model** and **Reasoning** stay on **Default** unless you choose otherwise. If a chosen model is no longer available, runs use **Default** and the workflow says so. **5. Save** Select **Create**. Use the **On** / **Off** switch to pause a schedule, and **Run now** to start a run straight away. Each workflow lists its recent **Runs** — **Running**, **Completed**, **Failed**, **Cancelled**, **Interrupted** or **Skipped** — and **Open session** shows what a run did. * A scheduled run starts **as you**, with your connections, and never gains rights you do not have. * Any confirmation the agent asks for during a run is answered "no", so it never waits for a reply. * If a run is still going when the next one is due, the next one is **skipped**. *** ## Remote Desktop Agents that need a real computer get one: a private cloud desktop you can watch and use in the browser. Open it with **Desktop**, or go to `/pria/agents/desktop`. The page opens on a status card: | Status | What it means | What you can do | | - | - | - | | **Inactive** | The agent for your Digital Twin is not set up | Contact the Praxis AI team | | **Queued** | Setup was requested | Wait — it moves on by itself | | **Setting up** | The workspace is being built | Wait; the desktop appears when it is ready | | **Ready** | The workspace is up | **Connect to Agent Desktop** opens the live screen | | **Sleeping** | Idle, paused to save compute; your files are kept | **Resume** wakes it | | **Needs attention** | Setup did not finish | The card shows the reason; contact the Praxis AI team | | **Stopped** | The workspace was removed | Contact the Praxis AI team to set it up again | | **Runtime missing** | Marked ready, but no desktop is attached | Contact the Praxis AI team | > [!NOTE] > > The desktop connects only when you ask. The screen is not streamed until you select **Connect to > Agent Desktop**, and closing it drops the connection. *** ## Connections Everything your agent reaches outside Pria, in three tabs. ### AI Providers The AI subscription your agent runs on: **ChatGPT** (ChatGPT / Codex) or **Grok** (xAI). Connecting finishes with a code you confirm in the provider's own page. ### Connectors | Connector | What it gives your agent | | - | - | | **GitHub** | Clone, push and open pull requests as you, in every repository your account reaches. Shows **Not available** when GitHub is not set up for your organization | | **GitLab** | The same for GitLab: add a personal access token with the `api` and `write_repository` scopes, from gitlab.com or your own GitLab server | | **Gmail** | Search and read your mail — never send, delete or change it. Uses the same Google connection as your Digital Twin's chat; on a Digital Twin with a shared Google account, the agent reads that account | | **HubSpot** | Read your CRM and propose changes a person approves. Writes stay off until they are turned on | | **Procore** | Read projects, submittals, documents and more — read only | | **Smartsheet** | Read the sheets the Digital Twin's administrators added. Where they allow it, propose changes an administrator approves | | **Exa search** | Web search, with your Exa API key | | **Notion** | Read and update the Notion pages you share with your integration | | **Pria API key** | Lets the agent call Pria's API; the key stays on the server | | **Email** | The addresses your agent may email on this Digital Twin (to, cc and bcc). With none approved, it cannot send email | GitHub and GitLab connections are yours and work for your agent on every Digital Twin. HubSpot, Procore and Smartsheet belong to the Digital Twin: if you cannot connect them, the card says to ask an administrator of the Digital Twin. > [!NOTE] > > The Connections page at `/pria/agents/connections` shows the same tabs, without GitHub, GitLab and > Gmail — connect those from the agents page. ### Variables & Secrets Settings your agent reads while it works — an endpoint, an account number, an API key. A change applies the next time the agent looks it up; nothing needs restarting. | Field | Meaning | | - | - | | **Name** | What the agent reads it by: capital letters, digits and underscores | | **Type** | **Value** (the agent can read it) or **Secret** (write-only) | | **Value** | What it resolves to | > [!WARNING] > > **A secret is write-only.** The agent can see that it exists, never its value, and it is never > shown to you again after saving. To change it, save a new value over it. You can disable an entry without deleting it. Deleting asks you to confirm. *** ## Related * [Agents](/mdx/admin-guide/agents) — the Agents tab: sessions, approvals, Shield events * [Single Model vs Agent Mode](/mdx/user-guide/interface/single-model-vs-agent-mode) — subagents in chat, a different feature * [Connectors](/mdx/admin-guide/connectors) — connectors for the Digital Twin's own conversations * [Credits](/mdx/user-guide/credits) — how agent work is billed # Agents Source: https://docs.praxis-ai.com/mdx/admin-guide/agents Watch over your Digital Twin's agents from the Agents tab of the Digital Twin editor — live sessions, pending approvals, Shield events and extensions. An **agent** is your Digital Twin given its own workspace: a private cloud computer that persists between conversations, so it can carry out longer jobs, pick up where it left off and run work on a schedule. People use their agents on the [agents page](/mdx/admin-guide/agent-workspace). This page covers the **Agents** tab, where a Digital Twin's administrators keep an eye on them. > [!NOTE] > > Agents are set up per Digital Twin by the Praxis AI team, because each one runs on its own cloud > workspace. To have agents for your Digital Twin, contact the Praxis AI team at > [humans@praxis-ai.com](mailto:humans@praxis-ai.com). Until then, the **Agents** tab does not appear. ## Opening the Agents tab **1. Open your Digital Twin in Admin** Go to **Admin → Instances** and edit your Digital Twin. **2. Select Agents** Select the **Agents** tab (in the Studio UI: **Agents Control Center**). It is shown once agents are set up for the Digital Twin, to administrators who may edit it. ## The tab at a glance Four tiles at the top summarise the current state: | Tile | What it tells you | | - | - | | **Workspace** | Whether the agent's workspace is up (see below) | | **Important Shield events** | High and critical security events in the last 24 hours | | **Live sessions** | How many sessions are running now | | **Pending approvals** | How many actions are waiting for your decision, or **No reviews needed** | Below the tiles: **PraxisShield** with an **Agent readiness** checklist, **Live Threads & Sessions**, **Active sessions**, **Pending approvals**, **Extensions & Features** and **Impact**. ### Workspace status | Status | What it means | | - | - | | **Inactive** | The agent for your Digital Twin is not set up | | **Queued** | Setup was requested; it starts shortly | | **Setting up** | The workspace is being built — this takes a few minutes the first time | | **Active** | The agent is live and accepting work | | **Needs attention** | Setup did not finish. The reason is shown; contact the Praxis AI team | | **Disabled** | The agent is paused | ## Active sessions Work happening right now. Select **Cancel session** to stop one that is stuck, wrong or no longer needed. Cancelling stops that session only; a scheduled workflow still starts its next run on time. ## Pending approvals Some actions pause and wait for a person instead of going ahead. They collect here, and nothing happens until someone decides. **Approve** lets the agent continue; **Reject** means the step is not taken. Each decision is recorded with who made it. > [!TIP] > > If the same approval keeps coming back, the work is probably asking for more than it should — > narrow the workflow's instructions. ## PraxisShield Security events raised by [Praxis Shield](/mdx/admin-guide/praxis-shield) for this Digital Twin's agents, so you do not have to look for them. Only events worth an administrator's attention are listed; with none in the last 24 hours the card reads "All clear". ## Extensions & Features Optional capabilities for this Digital Twin's agents. Each one shows **Enabled** or **Disabled**; select **Enable** or **Disable** to switch it. ## Impact Tokens used in the last 24 hours and the last 7 days (prompt, reply and total), the estimated cost and the success rate. ## Troubleshooting > [accordion] The workspace stays in Setting up > > The first setup takes a few minutes. If it stays there much longer, or shows **Needs attention**, > contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) rather than waiting. > [accordion] A scheduled workflow never seems to run > > Check that the workspace is **Active**, that the workflow is switched on, and that the Digital > Twin still has credits. A run that cannot be paid for does not start. ## Related * [The Agent Workspace](/mdx/admin-guide/agent-workspace) — the agents page, workflows, the remote desktop and connections * [Praxis Shield](/mdx/admin-guide/praxis-shield) — the security events shown on this tab * [Credit Management](/mdx/admin-guide/credit-management) — how agent work is paid for * [Entitlements](/mdx/admin-guide/entitlements) — who may edit a Digital Twin # AI Models Source: https://docs.praxis-ai.com/mdx/admin-guide/ai-models Choose which AI model does each job for your Digital Twin — conversation, images, audio and more — add your own models, and set how much the model thinks. Each Digital Twin picks its own AI model for each job it does. This page explains where you choose them, which model answers when several could, how reasoning effort works, and how to bring your own model. ## Model uses A **Model Use** is one job a model does for your Digital Twin: * Conversation (and a fallback conversation model) * Image Analysis * Image Generation * Audio Generation * Video Generation * Audio Transcription * Video Analysis * Text-to-Speech * Documents Summarization * Speech-to-Speech (Convo Mode) * Embeddings Generation * Moderation Two more jobs run in the background and are chosen by Praxis AI: **KAG analysis** (building the knowledge graph from your files) and **Praxis Shield** (spotting misuse). > [!NOTE] > > A conversation model must support tools and streaming together. ## Choose models for your Digital Twin **1. Open the Digital Twin** In **Admin**, open **Instances** and select **Edit** on your Digital Twin. **2. Open Personalization and AI Models** The **AI Models** part of this tab lists one dropdown per Model Use: **Conversation & Reasoning**, **Convo (Live Voice & Avatar Calls)**, **Media** and **System**. **3. Pick a model, or leave Default** **-- Default --** follows the platform default, which Praxis AI keeps current. Pick a model only when you need a specific provider, cost or speed. Save. ![The AI Models section of the Personalization and AI Models tab](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/instance-ai-model-personalization.png?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=d29972c0084d8f88924a99964dfec932) You can also change the conversation model without leaving the chat: open **Instance Settings › Conversation** (in the chat's **+** menu, select **Settings**, then your Digital Twin's name). It has the **Conversation Model**, the **Fallback conversation model**, and, for admins allowed to add AI models, a way to add a custom model. ### What the model pickers show * The model marked **— Default** is the platform default for that job. * **(Deprecated)** models are hidden unless you tick **Show Deprecated**. * **⚠ 30-day retention** marks a model whose provider keeps data for 30 days (see [Zero Data Retention](#zero-data-retention-zdr)). ### Per assistant Each assistant can have its own **Conversation Model** and **STS / Voice Conversation Model**. An assistant's model wins over the Digital Twin's model while that assistant runs. ![Choosing a conversation model for an assistant](https://mintcdn.com/praxisai/RQ_2cJOeV_FmtYkN/images/user-guide/interface/assistant-model-choice.png?fit=max\&auto=format\&n=RQ_2cJOeV_FmtYkN\&q=85\&s=875d3a507882f43e7e790fbb64cd70ad) ### Which model answers For each job, Pria uses the first of these that is set: 1. The running assistant's own model. 2. A custom AI model of this Digital Twin marked **Instance default for this Model Use** (see [Bring your own AI model](#bring-your-own-ai-model-byom)). 3. The model selected for the Digital Twin. 4. The platform default. Voice turns can use their own model (for example **Anam Response Model**, see [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice)), and requests through the [Chat Completions endpoint](#chat-completions-endpoint-model) can use theirs. ### Deprecated models A deprecated model is on its way out. Pria hides it in the pickers and moves any Digital Twin still set to it to a current model — normally the platform default for that job — so the twin keeps working. An assistant that names a deprecated model keeps it until you change it. Review your choices when you see a model marked **(Deprecated)**. ### Fallback conversation model A conversation model can fail before it has said anything — the provider is over its usage limit, briefly unavailable, unreachable, or refuses the key. When a **Fallback conversation model** is set, Pria answers that turn with the fallback instead of showing an error, and the turn's usage card says which model answered and why the first one could not. Nothing changes when the reply had already started, and a tool that already ran is never run twice. * **Platform-wide**: Praxis AI can set one fallback model for every Digital Twin. None is set unless Praxis AI chooses one. * **Per Digital Twin**: **Fallback conversation model**, right under the conversation model in the twin editor and in Instance Settings › Conversation. Leave it unset to inherit the platform choice. A twin on its own custom model falls back the same way, and the fallback itself may be a custom model. * The fallback runs on its own provider's credentials, with the same tools translated for that provider. The record of the conversation keeps the model that actually answered; billing follows that model. ## Platform Models Every Digital Twin can choose from the same catalog of models from Amazon Bedrock, OpenAI, Anthropic, Google, Mistral, xAI, Kimi, OpenRouter and Stability AI. > [card] [Platform Models & Providers](/mdx/admin-guide/platform-models) > > The full catalog — models per provider, status, token limits, capabilities and Thinking support. ## Reasoning Effort & Thinking Some models can **think** before they answer: they spend extra tokens working through the problem. **Reasoning Effort** sets how much, with five levels that work the same way across providers. | Level | Description | Best For | | - | - | - | | **None** | No thinking. Fastest, lowest cost. | Simple questions, quick lookups | | **Low** | Minimal reasoning. | Straightforward questions | | **Medium** | Balanced reasoning. | Most everyday tasks | | **High** | Thorough reasoning. | Complex analysis, multi-step problems | | **Max** | Deepest reasoning. Highest latency and cost. | Research, detailed technical analysis | ### How the levels map to each provider Each provider names thinking differently. Pria translates the level for you; the table shows what each level becomes, so you can predict cost and speed. | Provider | Native parameter | none | low | medium | high | max | | - | - | - | - | - | - | - | | **Anthropic — newest Claude (Opus 4.6+, Opus 5 / 5.5, Sonnet 5 / 5.5, Fable 5 / 5.1; Direct & Bedrock)** | adaptive thinking, `output_config.effort` | thinking disabled (Sonnet 5.5: no thinking before answering, short notes between tool calls stay; Fable 5.1 and Opus 5.5: lowest effort — cannot be disabled) | `"low"` | `"medium"` | `"high"` | `"xhigh"` | | **Anthropic — earlier Claude (Sonnet 4.x, Haiku 4.5, Opus 4.5 and earlier; Direct & Bedrock)** | `thinking.budget_tokens` | omitted | `1,024` | `4,096` | `8,192` | `16,384` | | **OpenAI (Responses & Chat)** | `reasoning_effort` | omitted (`"low"` on GPT-6 Astra and GPT-6.1 Sol) | `"low"` | `"medium"` | `"high"` | `"high"` (`"xhigh"` on the GPT-5.6 and GPT-6 models) | | **Google Gemini (3.x Flash and Flash-Lite)** | `thinkingConfig.thinkingLevel` | `"minimal"` (`"low"` on Gemini 3.7 and 3.8 Flash) | `"low"` | `"medium"` | `"high"` | `"high"` | | **Google Gemini (3.x Pro — low/high only)** | `thinkingConfig.thinkingLevel` | `"low"` | `"low"` | `"low"` | `"high"` | `"high"` | | **Google Gemini (4 — cannot disable)** | `thinkingConfig.thinkingLevel` | `"low"` | `"low"` | `"medium"` | `"high"` | `"high"` | | **Google Gemini (2.5)** | `thinkingConfig.thinkingBudget` | `0` (`128` on Pro — cannot disable) | `1,024` | `4,096` | `8,192` | `24,576` (`32,768` on Pro) | | **xAI (`grok-3-mini`)** | `reasoning_effort` | omitted | `"low"` | `"medium"` | `"high"` | `"high"` | | **xAI (`grok-4.6`, `grok-4.7`)** | `reasoning_effort` | `"low"` | `"low"` | `"medium"` | `"high"` | `"xhigh"` | | **xAI (`grok-4.5`)** | `reasoning_effort` | `"low"` | `"low"` | `"medium"` | `"high"` | `"high"` | | **xAI (other `grok-4.x`, `grok-build-0.1`)** | — | thinking is automatic; the parameter is rejected | | | | | | **Kimi (Moonshot AI)** | `reasoning_effort` | omitted | `"low"` | `"medium"` | `"high"` | `"max"` | | **Mistral (`magistral-*`)** | — | thinking is automatic (built-in reasoning); the effort setting is not forwarded | | | | | | **Bedrock (Meta Llama, Cohere)** | — | thinking unsupported | | | | | | **Bedrock (OpenAI OSS)** | — | thinking is automatic; the effort setting is not forwarded | | | | | > [!NOTE] > > Models that don't think ignore the setting. xAI's older grok-4.x models and grok-build-0.1 always think, so Pria leaves the parameter out. `grok-4.5`, `grok-4.6` and `grok-4.7` think deeply when the parameter is missing, so **None** sends `"low"`, the closest setting to off; `grok-4.3` can switch thinking off, so **None** means none there, and `grok-4.3`, `grok-4.6` and `grok-4.7` take `"xhigh"` for **Max**. Gemini 3.7 and 3.8 Flash refuse the near-zero level of earlier Flash models, so **None** uses their lowest level, `"low"`; Gemini 4 Argon cannot switch thinking off either, so **None** runs it at `"low"` too. Claude Sonnet 5 and Opus 5 think by default, so **None** sends an explicit "disabled". Claude Fable 5.1 and Opus 5.5 always think and refuse to switch it off, so **None** runs them at their lightest setting. Some models have a minimum effort — GPT-6 Astra and GPT-6.1 Sol start at **Low**, `gpt-5.4-pro` at **Medium** — and lower levels are raised to that minimum automatically. ### Which effort applies 1. **Custom AI Model** — a custom model's own **Reasoning Effort** wins over everything. 2. **Chat Completion Reasoning Effort** — for requests through the [Chat Completions Integration](/mdx/integrations/chat-completions/introduction). 3. **Reasoning Effort** on the Digital Twin. 4. Platform default: **None**. The OpenAI deep research models (`o3-deep-research`, `o4-mini-deep-research`) always run at medium effort, whatever the setting. ### Models that can think Look for **Thinking** = "Yes" in the [Platform Models](/mdx/admin-guide/platform-models) tables. Today: * **Anthropic:** Claude Sonnet 5.5, Opus 5.5, Fable 5.1, Haiku 5.5, Sonnet 5, Opus 5, Fable 5, Sonnet 4.6, Haiku 4.5 (Bedrock or Direct API) * **OpenAI:** GPT-6.1 series (Sol, Terra), GPT-6 series (Astra, Sol, Luna), GPT-5.6 series (Sol, Terra, Luna), GPT-5.5, GPT-5.4 series (5.4, 5.4-pro, 5.4-mini, 5.4-nano), GPT-5 series (5.2, 5.1, 5-mini, 5-nano), o4-mini * **Google Gemini:** Gemini 4 Argon, Gemini 3.8 / 3.6 / 3.5 Flash (Gemini 3.7 Flash was retired by Google in October 2026 — a Digital Twin still set to it answers with Gemini 3.8 Flash), Gemini 3.5 Flash-Lite, Gemini 3.1 Pro Preview, Gemini 3.1 Flash Lite, Gemini 3 Flash Preview, Gemini 2.5 Pro / Flash / Flash Lite * **Google AI Platform:** Gemini 3.8 Flash (the same model on Vertex AI, same thinking levels) * **xAI:** Grok 4.7, Grok 4.6, Grok 4.5, Grok 4.3, Grok 4.20 (reasoning), Grok 4.1 fast (reasoning), Grok Build 0.1 * **Mistral:** Mistral Small 4; Magistral Small 2509 on Amazon Bedrock * **Kimi (Moonshot AI):** Kimi K3, Kimi K2.7 code, Kimi K2.6 * **OpenRouter:** Claude Opus 5.5, Claude Sonnet 5.5, Claude Sonnet 5, Claude Sonnet 4.6, Gemini 3.8 Flash, Grok 4.7, Grok 4.3, Kimi K3.1 Pro — the same models reached through OpenRouter, with the same thinking levels ("none" runs Claude Opus 5.5, Claude Sonnet 5.5, Gemini 3.8 Flash and Grok 4.7 at their lightest setting and switches Grok 4.3 off) *** ## Image & Video Generation Providers The conversation model calls the image or video tool; Pria sends the request to the model selected for **Image Generation** or **Video Generation**. | Provider | Image Generation | Image Editing | Video Generation | Notes | | - | - | - | - | - | | **OpenAI** | `gpt-image-2.5-flare` (fast everyday images), `gpt-image-2.5-sunburst` (most precise edits), `gpt-image-2` | Yes | Retired by OpenAI (Sora 2 and Sora 2 Pro are deprecated) | OpenAI no longer serves DALL·E and GPT Image 1: a request that still names one is answered by GPT Image 2.5 Flare. GPT Image 1.5 and GPT Image 1 mini are deprecated. | | **Amazon Bedrock** | `amazon.nova-canvas-v1:0`, `Amazon Titan Image Generator v2` (both deprecated) | Yes (Titan & Nova Canvas inpainting/outpainting) | Retired by Amazon (Nova Reel 1.1 is deprecated) | Both image models are deprecated; pick a current one from another provider. | | **Stability AI** | `Stable Image Ultra`, `Stable Image Core`, `SD 3.5 Large` | No — creates a new image from the description | Retired by Stability AI | Image and audio generation only (`Stable Audio 2`, up to 190 s, for **Audio Generation**). | | **Google Gemini** | `gemini-nano-banana-2.1` (Nano Banana 2.1), `gemini-3.1-flash-image`, `gemini-3.1-flash-lite-image` (fastest), `gemini-3-pro-image` (high quality, up to 4K), `gemini-2.5-flash-image` | No — creates a new image from the description | No | Google's native Gemini image generation. `gemini-3-pro-image-preview` is deprecated: a Digital Twin set to it now uses `gemini-3-pro-image`. | | **Google AI Platform** | No | No | `Veo 3.1 Fast (Google AI Platform)` (default), `Veo 3.1 (Google AI Platform)` | Google's Veo models make the videos: Veo 3.1 Fast by default, Veo 3.1 when high quality is asked for. Clips of 4, 6 or 8 seconds with sound, landscape (16:9) or portrait (9:16), from a description or from a PNG, JPEG or WebP picture. Videos are made through Praxis AI's Google Cloud account (a Digital Twin's own Google AI Platform key is not used for video) and use credits according to their length — about 2 credits per second with Veo 3.1 Fast and about 5.5 with Veo 3.1 at standard pricing. | | **xAI** | `grok-imagine-image-2.0` (recommended), `grok-imagine-image-quality` (higher quality), `grok-imagine-image-pro`, `grok-imagine-image` | **No** | No | Shaped by aspect ratio rather than pixel size; supports ratios such as `1:1`, `16:9`, `3:2`. | *** ## Content Moderation Models When **Enable Moderation** is on (see [Configuration](/mdx/admin-guide/configuration)), every message is checked by the moderation model **before** the conversation model sees it. Flagged messages are blocked and an email goes to the Digital Twin's contact address. | Provider | Models | | - | - | | **OpenAI** | `omni-moderation-latest` | | **Mistral** | `mistral-moderation-2603`, `mistral-moderation-2411` | See [Content Moderation](/mdx/admin-guide/moderation) for categories, thresholds and false positives. *** ## Embeddings Model Embeddings power all file search: every uploaded file is cut into passages, and each passage is turned into a numeric fingerprint stored in the search index. The **Embeddings Generation** picker offers one model, `text-embedding-3-small` (OpenAI, 1,536 dimensions, up to 8,191 tokens per passage). > [!WARNING] > > **If the embedding model ever changes, every file already uploaded must be processed again.** Two embedding models describe documents in ways that cannot be compared, so old files cannot be found until they are reprocessed. For chunk size, search depth and the knowledge graph, see [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config). *** ## Prompt Caching Some providers support **prompt caching**, which reduces latency and input token costs by reusing previously processed prompt prefixes. Praxis AI enables prompt caching automatically where supported — no configuration is needed. | Provider | Caching Type | How It Works | Cost Savings | | - | - | - | - | | **OpenAI** | Automatic | Cached automatically on every request — no code changes needed. The API returns `cached_tokens` in the usage response. | 50% on cached input tokens (90% on the GPT-5.6 and GPT-6 models, 95% on GPT-6.1 Sol and GPT-6.1 Terra) | | **Anthropic** | Explicit | Praxis marks cache breakpoints on tools, system prompt, and the last user message using `cache_control` headers. Cached prefixes are reused on subsequent requests. | Up to 90% on cached reads (95% on Claude Opus 5.5; 97.5% on Claude Fable 5.1, whose cache-read price is \$0.25 per million tokens) | | **Google Gemini** | Implicit (automatic) + context caching | Gemini 2.5 and newer reuse a repeated prompt prefix automatically (at least 4,096 tokens on 3.x; no write or storage cost). Explicit context caching through cached-content objects is also available. | Cached reads bill at 10% of the input price on current Gemini models (5% on Gemini 4 Argon) | | **Amazon Bedrock** | Varies | Depends on the underlying model provider (e.g., Anthropic models on Bedrock inherit Anthropic's caching). | Varies | | **Mistral AI** | Automatic | Praxis sends a per-twin cache routing key so all members of a Digital Twin share cache hits on the common prompt prefix. The API returns cached token counts in the usage response. | Cached reads bill at \~10% of the input price | | **xAI** | Automatic | Cached automatically on every request. The API returns `cached_tokens` in the usage response and supports conversation-level caching via the `x-grok-conv-id` header. | Up to 50% on cached input tokens (85% on `grok-4.5`, 84% on `grok-4.3`, 75% on `grok-4.6` and `grok-4.7`) | | **Kimi (Moonshot AI)** | Automatic | Context caching with no cache id or TTL to manage — a stable prompt prefix gets the cache-hit input rate automatically. | Up to 90% on cached input tokens (`kimi-k3`) | | **OpenRouter** | Passed through | Models with automatic caching (Gemini, Grok, DeepSeek, OpenAI, Kimi) keep it through OpenRouter; for the Claude models Praxis marks the same cache breakpoint it uses natively, and every conversation is kept on the endpoint that cached it. | The upstream provider's rate (90% on Claude Sonnet, 95% on Opus 5.5, 90% on Gemini, 90% on Kimi K3.1 Pro) | > [!NOTE] > > Prompt caching is most impactful for conversations with long system prompts, many tools, or extended history — exactly the pattern used by Praxis AI's RAG pipeline. Anthropic and OpenAI caching are enabled by default for all eligible requests. ### How to Verify Caching is Working The admin Conversation History view shows per-turn token usage. Look for the `cached_tokens` (or `cache_read_input_tokens` for Anthropic) field — a non-zero value confirms the request hit the cache. Cached prefixes save you \~50–90% on those input tokens; you only pay full price for the new portion of each turn. *** ## Zero Data Retention (ZDR) **Zero Data Retention (ZDR)** means the AI model provider does not store your prompts or the model's responses after the request completes — nothing you send to the model is retained on the provider's servers, used for training, or available for later review. ZDR is a contractual and technical guarantee offered by major providers for API traffic, and it is a cornerstone requirement for privacy-sensitive deployments in education, healthcare, and the enterprise. **Praxis AI middleware ships only with models that comply with ZDR.** Every model in the platform catalog routes through provider API tiers covered by zero-data-retention practices — your organization's conversations, documents, and knowledge never become provider-side data. ### The exception: Anthropic Mythos-class models Anthropic's **Mythos-class models** (Claude Mythos 5, Claude Fable 5 and Claude Fable 5.1) are subject to a mandatory **30-day data retention** for trust-and-safety purposes, on every platform, effective June 9, 2026. This retention **overrides Zero Data Retention agreements** — it applies even to organizations with ZDR contracts in place. Because of this, the Claude Fable 5 and Fable 5.1 models carry a **⚠ 30-day retention** marker in the model picker. Selecting one is an explicit, informed choice — administrators choosing these models accept that prompts and outputs sent to them are retained by Anthropic for 30 days. > [!WARNING] > > If your organization requires strict ZDR compliance (e.g., for regulatory or contractual reasons), do not select a flagged model. All other catalog models remain fully ZDR-compliant. For the full provider policy, see Anthropic's notice: [Data retention practices for Mythos-class models](https://support.claude.com/en/articles/15425996-data-retention-practices-for-mythos-class-models). *** ## AI-Generated Content Marking To meet the EU AI Act's transparency rules (Article 50, in force since 2 August 2026), model providers embed imperceptible, machine-readable marks in what their models generate: Anthropic's text watermark on Claude (Fable 5.1 now, Opus 5 from 9 September 2026, other Claude models to follow), SynthID on Gemini text, and Content Credentials (C2PA) on generated images from OpenAI, Amazon, Stability AI and Anthropic. The mark is applied inside the model, adds no tokens or characters, changes nothing you can see, and has no effect on credits or latency. Praxis AI relays every output unchanged, so the marks reach your Digital Twin on every channel — there is nothing to configure. See [AI-Generated Content Transparency](/mdx/introduction/ai-content-transparency) for the per-provider status, how detection works, and what labelling obligations remain with your organization. *** ## KAG Analysis Model When a file is processed for the knowledge graph, a separate **KAG analysis model** picks out the people, things and relationships in each passage. It is independent of the conversation model, so a heavy conversation model does not raise the cost of building the graph. Praxis AI chooses this model and validates which catalog models fill the graph reliably. It is not a Digital Twin setting: an extractor that fills the graph badly degrades answers quietly rather than visibly. If your files need a different one, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [!NOTE] > > Files uploaded before KAG was turned on join the graph only when you process them: under **Enable KAG Fusion for your Digital Twin**, select **Add existing files**. See [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config#add-the-files-you-already-have). *** ## Video Analysis Model When a video is uploaded, Pria transcribes its sound track (with the **Audio Transcription** model). The **Video Analysis** model adds a second pass over the *picture*: it watches the video and describes what was shown on screen — slides, diagrams, demos, on-screen text. That description is placed first, before the transcript, in the processed document, so what was shown becomes searchable and part of the knowledge graph. | Setting | Default | Notes | | - | - | - | | **Platform default** | Curated by Praxis AI | Used whenever the Digital Twin sets no model. | | **Video Analysis** (Personalization and AI Models › Media) | **-- Default --** | Pick a model to override the platform default. | Only Google Gemini models can watch video. The picker offers: | Model | Notes | | - | - | | `gemini-3.8-flash` / `gemini-3.6-flash` / `gemini-3.5-flash` | Fast and low-cost. (`gemini-3.7-flash` is retired: Google answers it with 3.8 Flash.) | | `gemini-2.5-flash` | Fast, low-cost alternative. | | `gemini-2.5-pro` | Higher-quality scene understanding at higher cost. | > [!NOTE] > > Video analysis runs at **low media resolution** for cost control, and is **failure-isolated**: if the video-analysis pass errors, it is dropped and the transcript is ingested on its own — a video-analysis hiccup never blocks the transcript. Scene analysis is capped at **500 MB / 30 minutes** per video; **very large videos** that exceed the cap or are processed in split segments are **transcript-only** (no scene description). *** ## Chat Completions Endpoint Model When the [Chat Completions Integration](/mdx/integrations/chat-completions/introduction) is on, outside clients — such as the ElevenLabs Voice Agent — send requests to your Digital Twin through an OpenAI-compatible endpoint. You can give those requests a **different conversation model** from the one people see in the app. The settings are in the admin editor's **Configuration and Integrations** tab, under **Chat Completion**. | Field | Default | Notes | | - | - | - | | **Enable Chat Completion endpoint** | Off | When off, the endpoint refuses requests. | | **Chat Completion Model** | **-- Default --** | Empty = the same model as the in-app conversation. | | **Chat Completion Max Output Tokens** | **Unspecified (LLM Default)** | Unspecified = the Digital Twin's own max-token setting; **Auto** = a cap Pria computes for the model; a number = that cap. | | **Chat Completion Reasoning Effort** | **Inherit (use main Reasoning Effort)** | Or pick a level. | Use this when people in the browser should get your best model (say Claude Opus 5.5) but a voice agent calling in should get a faster, cheaper one — in a voice call, waiting is what people notice. Only the conversation model changes; summaries, embeddings, images, audio and speech keep the Digital Twin's selection. *** ## Provider Types | Provider | How It Works | | - | - | | **Amazon Bedrock** | Models hosted on AWS. Uses AWS credentials — Praxis AI's, your account's, or your Digital Twin's own key pair. | | **OpenAI** | OpenAI's API, also used for OpenAI-compatible endpoints, including the **OpenRouter** provider: open-weight models plus Claude Opus 5.5, Claude Sonnet 5.5 / 5 / 4.6, Gemini 3.8 Flash and Grok 4.7 / 4.3, selectable as conversation models like their native counterparts. | | **Anthropic Direct API** | Claude models straight from Anthropic, instead of through Bedrock. | | **Google GenAI** | Google's Gemini API. | | **Google AI Platform** | The same Gemini models served from Google Cloud's Vertex AI with a Google Cloud API key — pick them from the **Google AI Platform** provider. Set the key under **Google AI Platform API Key**; the **Gemini API Key** is for the Gemini Developer API and is not interchangeable. Also the home of Google's Veo video models (the default for **Video Generation**), which always run on Praxis AI's Google Cloud account. | | **Mistral AI** | Mistral's own API. | | **xAI** | xAI's Grok API. | | **Kimi (Moonshot AI)** | Moonshot AI's API for the Kimi models. | | **Stability AI** | Image and audio generation only (its video model is retired). | > [!NOTE] > > Some model families, such as Claude, are offered through several providers — for example Bedrock, the Anthropic API and OpenRouter. Choose by latency, cost, data residency and which keys you hold. *** ## Bring Your Own AI Model (BYOM) You can connect your own hosted model — for example on Google Vertex AI, behind an OpenAI-compatible gateway, or a custom model on Bedrock — and use it for any Model Use. You need the **AI Models** add permission. ### Add a custom model **1. Open AI Models** In **Admin**, open **AI Models**. The list shows your Digital Twins' custom AI models. **2. Add a model** Select **Add** and fill in the form: * **Model Name** — the exact model id your hosting platform publishes (case sensitive), for example `gemini-flash` or `projects/my-proj/locations/us/models/my-model`. * **Status** — **Active** models are used; **Inactive** ones are kept but ignored. * **Description** — what the model is, for other admins. * **Model Use** — the job it does (for example Conversation, Image Generation, Documents Summarization). * **Instance default for this Model Use** — tick it to make this model replace the platform model for that job. Untick it to keep the model available only to assistants that pick it (**Conversation Model** → "Custom models (this instance)"). One default per Model Use. * **Client Library Type** — **Open AI** (any OpenAI-compatible endpoint, including most gateways), **AWS Bedrock**, **Anthropic**, **Google GenAI**, **Mistral AI**, **X.AI (Grok)** or **Stability AI**. * **API URL** and **API Key** — your endpoint's base address and its secret. Keep the key secure and rotate it from time to time. * Optional: **Max Input Tokens**, **Max Output Tokens**, **Reasoning Effort**, **Extended Context (1M tokens)**, and the model's features (**Stream**, **Tools**, **Vision**, **MCP**…). **3. Save** The model joins the list. A conversation model must support tools and streaming together. ![The custom AI model form](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/instance-ai-model-edit.png?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=482e173ae97cb5e34805ee3978ad47ca) > [!TIP] > > Try a custom model on a test Digital Twin first, to check its speed, cost and behaviour before busy twins depend on it. ### Self-hosted models on RunPod If your organization runs its own models on [RunPod](https://www.runpod.io) (GPU hosting that starts a model when it is needed), you can connect your RunPod account and use those models as custom AI models. 1. In **AI Models**, click **Browse RunPod**. 2. Paste your **RunPod API key** and click **Connect**. Pria lists the models your RunPod account serves and adds each one as a custom AI model. A model served from several data centres is listed once; Pria sends each request to whichever data centre is ready. 3. Click **Sync now** after you add or change models on RunPod. **Disconnect** forgets the key and makes the synced models inactive; connecting again brings them back. If you manage several Digital Twins, select one twin before you connect, sync or disconnect — the RunPod account belongs to that twin. Each RunPod model shows whether it is ready: | Status | Meaning | | - | - | | **Not running** | The model is switched off and takes several minutes to start. Looking at the status never starts it. | | **Warming up** | The model is starting. The time shown is an estimate, not a promise. | | **Ready** | The model can answer now. | | **Status unavailable** | The check did not work. Pria tries again by itself. | Click **Warm up** to start a model before people need it. If you stop waiting, Pria withdraws only your own request; a model that someone else is using keeps running. If a model never becomes ready, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Related * [Platform Models & Providers](/mdx/admin-guide/platform-models) — the full model catalog * [Personalization](/mdx/admin-guide/personalization) — the tab where each Digital Twin picks its models * [Configuration](/mdx/admin-guide/configuration) — API keys for each provider * [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config) — chunking, search depth and the knowledge graph * [Content Moderation](/mdx/admin-guide/moderation) — moderation model and thresholds * [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice) — voice models per provider * [Chat Completions Integration](/mdx/integrations/chat-completions/introduction) — the endpoint for outside clients * [AI-Generated Content Transparency](/mdx/introduction/ai-content-transparency) — provider watermarks, Content Credentials and EU AI Act Article 50 # Assistants Source: https://docs.praxis-ai.com/mdx/admin-guide/assistants Create, manage, and share AI assistants that extend your Digital Twin's capabilities with specialized knowledge and workflows. Assistants are specialised helpers that extend what your Digital Twin can do — a tutor, a grader, a report writer. Each assistant carries its own instructions (its *system prompt*), can use its own conversation model, and can be personal, shared with the Digital Twin, or shared across the account. > [!NOTE] > > **An assistant adds to the twin; it does not replace it.** Its instructions (and, optionally, its own model) sit on top of the Digital Twin's configuration for the conversations that use it. The twin's instructions, knowledge files and integrations stay in place. An assistant set to **Unpublished** is visible only to the person who created it; it never appears in anyone else's picker or in the Convo Mode switcher. > [!NOTE] > > Managing assistants requires the `assistants.list`, `assistants.add`, `assistants.edit`, or `assistants.delete` entitlements. See [Entitlements](/mdx/admin-guide/entitlements) for details. *** ## Where You Manage Assistants | Place | What you do there | | - | - | | **Assistants window** (in chat) | Browse the **Personal**, Digital Twin, account and **System** tabs, add and edit assistants, move them between tabs, and switch them on or off for the twin. | | **Admin › Assistants** | A list of every assistant you manage. In the classic interface, filter by account, Digital Twin and user, search with **Assistant** (name or description), and pick a scope: **All · Personal · Instance · Account · System**. In the Studio UI, filter by **Status**: **All**, **Active** or **Unpublished**. | | **Instance Settings › Assistants** | A checklist that switches assistants on or off for the twin, with a search by name and **Show only enabled assistants**. An assistant shared across the account says which Digital Twin it comes from. | ![Assistant Settings](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/assistants-settings.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=cea6d0751d34deef0655f5c10a7e2553) *** ## Creating an Assistant **1. Open the tab where the assistant belongs** In the Assistants window, open the tab the new assistant should live in — **Personal**, your Digital Twin's tab or the account tab — then select **Add**. The assistant is created in the tab you are on. Only the people who manage the twin's assistants can add one for everyone; anyone else's new assistant is saved to **Personal**, and the window says so. You can also select **Add** in **Admin › Assistants**. **2. Fill in the details** | Field | Description | | - | - | | **Name** and **Description** | Users see both when they pick an assistant. | | Picture | In the Assistants window, click the picture to upload a new one. The admin editor takes a **Picture URL**. | | **Status** | **Active** assistants appear in the picker. **Unpublished** ones are visible only to their author — use this while you test. | | **Remember History** | How many earlier turns of the conversation the assistant sees (0–15). Higher values use more credits. | | **Conversation Model** | Optional. Overrides the Digital Twin's conversation model for this assistant. | | **RAG Enabled** | When on, the assistant searches the vault before answering. | | **Bypass System Context** | When on, only your instructions apply — Pria's own guidance on tools, sources and safety is left out. Use it only for assistants with complete instructions of their own. | | **Disable User Memory** | (Assistants window) The assistant ignores what each person has told Pria about themselves and behaves the same for everyone. | | **Instructions** | The system prompt that defines the assistant's behaviour. The **Variables** panel beside it inserts [variables](#variables-in-assistants). | **3. Set who can use it** * **Share with Instance** — available to everyone in the Digital Twin. When off, the assistant is personal. * **Share across Account** — also available in every Digital Twin of the same account. * **Admin Only** — visible to administrators only. * **Editable by others** — others may change the assistant's instructions. **4. Save** Save the assistant. If it is shared and **Active**, it appears in the Assistants window for the people it is shared with. *** ## Editing Assistants Open an assistant from the Assistants window or from **Admin › Assistants** to change its instructions, model, variables, sharing, collections and tools. ![Assistant Update](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/assistants-update.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=95e2c1d3e9db66c7d7bea3cd9bc6b031) > [!WARNING] > > Changes take effect immediately for everyone who uses the assistant. Consider testing significant instruction changes during low-usage periods. *** ## Who Can Use and Create Assistants These switches are in the admin editor's **Assistants** tab (in the Studio UI: **Hide assistants from people**, **Except these email domains** and **Stop people creating assistants**). They apply to regular users only; admins keep full access. | Setting | Effect | | - | - | | **Disable Assistants for Users** | Regular users cannot see or use any assistant. | | **Enable Assistants by Email Domains (ex: school.edu)** | Shown while assistants are disabled: people whose email address contains one of these domains keep access. | | **Disable Create Assistants for Users** | Shown while assistants are not disabled: regular users can use the assistants that are switched on, but cannot build their own. | *** ## Enabling and Disabling Switch an assistant on or off for your Digital Twin: * **Enabled** — the assistant is available to members. * **Disabled** — the assistant is hidden from members but kept. ![Assistant Disable](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/assistants-disable.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=70e7658cc0f36d9c6403044c22ce0e57) Administrators of the Digital Twin can flip this **right on the card** in the Assistants window: every card and table row shows an **Enabled** switch, and the ⋮ menu offers **Disable in \<twin>** / **Enable in \<twin>**. A disabled assistant dims, carries a **Disabled** badge and drops out of the list for everyone else. It is hidden from your own view too until you tick **Show disabled**, which also shows how many are switched off; each tab's count reads enabled of total (for example 10/12) when some are disabled. The checklist under **Instance Settings → Assistants** does the same job. Disabling is useful to remove an assistant during maintenance, hide seasonal assistants, or keep a draft without showing it. ## Moving an Assistant to a Wider Scope An assistant that should serve the whole twin, or every twin under the account, does not have to be re-created: drag its card onto the **twin tab** or the **account tab** at the top of the Assistants window, or open its ⋮ menu and choose **Move to \<twin>** / **Move to \<account>**. The move applies at once — the assistant is shared at that level, leaves the tab it came from, and a short confirmation names the destination. A twin-shared assistant can move up to the account and back down to the twin. * Only administrators of the twin who may edit the assistant can move it — the same people who may change **Share with Instance** / **Share across Account** in the editor. * The account tab is offered only when the twin belongs to an account. * Your own assistants can be dragged back onto **Personal** (or ⋮ → **Move to Personal**), which stops sharing them. An assistant someone else owns cannot be moved to Personal — only its owner can un-share it. * Built-in System assistants never move. *** ## Assistants in Convo Mode A conversation that runs an assistant keeps it when a member starts talking. Every assistant of the Digital Twin can be used in Convo Mode unless **Restrict use of assistants** is on in **Instance Settings › Voice**; then only the assistants checked there can be used, and members can switch between them during a call. The **Available in Realtime / Convo** check in the admin editor adds an assistant to that list; it has no effect while the restriction is off. When the twin talks through ElevenLabs, Anam, Cartesia or GPT-Live, the editor also offers **STS / Voice Conversation Model** and **STS / Voice Reasoning Effort**, which apply only to this assistant's spoken turns. Left empty, voice turns use the assistant's conversation model and the twin's voice settings. See [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice). *** ## Variables in Assistants Assistants support **substitution variables** — placeholders like `${variable_name}` that Pria replaces with a value when the assistant runs. Use them for webhook URLs, quiz or course IDs, and instruction blocks shared by several assistants. Create and insert them from the **Variables** panel of the **Instructions** tab. > [!WARNING] > > A variable's value is put into the prompt the model reads, so treat it like prompt text: a user can sometimes get the model to repeat it. Do not store passwords or long-lived API keys in variables. See [Variables](/mdx/admin-guide/variables). *** ## Model Override By default, an assistant uses the Digital Twin's conversation model. Set **Conversation Model** to use a different one — a more capable model for complex analysis, or a faster one for simple lookups. Pick a current model: an assistant set to a deprecated model keeps using it until you change it. *** ## RAG Collection Scope By default, an assistant searches all the files included in search. You can restrict it to specific **collections**. **1. Open the RAG & Tools tab** Open the assistant and select the **RAG & Tools** tab. **2. Select collections** Use **RAG Collection Scope** to choose one or more collections; the assistant searches the files of all of them. Leave it empty to search all collections. A shared assistant lists the Digital Twin's collections; a personal one lists your own. **3. Save** Save the assistant. > [!TIP] > > Use collection scoping to build focused assistants — for example, an HR assistant that only searches HR policy documents, or a course assistant that only searches the materials of one course. *** ## Per-Assistant Tool Configuration By default, an assistant can use every tool switched on for the Digital Twin. **Tool Mode** narrows that: | Mode | Behavior | | - | - | | **All Tools (default)** | The assistant uses every tool the Digital Twin has on. | | **Selected Tools Only** | The assistant uses only the tools you tick in the list below. **Show All** / **Selected (N)** switches between the full list and your picks. | In Convo Mode, an assistant limited to selected tools always has those tools, even ones otherwise switched off for voice conversations. > [!WARNING] > > A tool switched off for the whole Digital Twin stays off, even if an assistant lists it. *** ## Required Permissions | Action | Required Entitlement | | - | - | | View assistants | `assistants.list` | | Create assistants | `assistants.add` | | Edit assistants | `assistants.edit` | | Delete assistants | `assistants.delete` | *** ## Related * [What are Assistants](/mdx/user-guide/assistants-personalization/assistants) — How users find and run assistants * [Building Assistants](/mdx/user-guide/assistants-personalization/building) — CRISPE methodology and development lifecycle * [Variables](/mdx/admin-guide/variables) — Substitution variable guide * [Entitlements](/mdx/admin-guide/entitlements) — Managing assistant permissions * [AI Models](/mdx/admin-guide/ai-models) — Model selection and configuration * [Tools Reference](/mdx/admin-guide/tools) — Complete list of available AI tools * [Connector MCP](/mdx/admin-guide/connectors) — MCP server integration # Billing & Subscriptions Source: https://docs.praxis-ai.com/mdx/admin-guide/billing Purchase credits, manage subscriptions, and retrieve your receipts. Pria runs on a credit-based billing model: **Praxis Unified Credits** are purchased through Stripe — for yourself, or for a Digital Twin you administer — and consumed as people interact with Pria. This page covers how billing works, where it lives in the platform, and how to manage payment methods, invoices, and subscriptions. ## Billing model overview Every interaction with Pria consumes tokens. For ordinary turns Pria converts tokens into **credits** at one rate, whatever the model; multi-agent turns, voice minutes and very long inputs are priced from the model's real cost. > [card] One credit = 10,000 tokens > > The default conversion ratio. Both input and output tokens count toward the total. > [card] Cached tokens cost less > > When a provider serves part of a prompt from its prompt cache, part of the provider's caching saving is passed on as a discount on those tokens. The discount that caching provides is shown on every interaction in the **Usage Details** panel under each reply and in the **Discount** column of **Admin → Histories**, so you can verify the realized savings on a per-call basis. > [!TIP] > > For a deeper walkthrough of token math, caching, and how credits are calculated for any single interaction, see [Plans & Credits](/mdx/introduction/plans-and-credits). ## Where billing lives Billing decisions are made at three scopes — but money only flows in at one of them. > [accordion] Account (parent) > > Accounts hold a balance for organizations that operate several Digital Twins. It is funded by the Praxis AI team (and by credits released back from Digital Twins) and distributed to Digital Twins by transfer. > [accordion] Digital Twin > > Each Digital Twin tracks its own credit balance. When **Pool Credits** is enabled on the Digital Twin, all member interactions draw from this balance instead of from individual users. > [accordion] User (personal) > > Individual users keep a personal credit balance that funds activity in their personal Pria and in any Digital Twin where credit pooling is turned off. > [!NOTE] > > Purchases are made by a person: for themselves, or — by its admins — for a Digital Twin that pools credits. Account balances are not bought through Stripe; contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to fund an Account. See [Credit Allocation & Transfers](/mdx/admin-guide/credit-management). ## One-time credit purchases One-time purchases use **Stripe Checkout** and are the most common way to top up credits. **1. Open the credits gallery** From your profile, choose **Add Credits** (**Add credits** in the Studio UI). The gallery shows the **Personal** and **Volume** ladders; while you are in a Digital Twin that pools credits, its admins buy for the Digital Twin. **2. Pick a package** Larger packages unlock progressively better per-credit pricing. Credits **never expire**. **3. Complete checkout** Stripe handles card capture, 3-D Secure, tax, and receipts. On success, the credits are applied immediately and a Stripe receipt is emailed. ## Subscriptions Subscriptions deliver a recurring credit allotment on a fixed cadence. They are intended for Accounts that want predictable monthly or annual spend, and for the **Named User Subscription** model where total credits scale with population size. > [!NOTE] > > To start, change, or cancel a subscription contract for your Account, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request access. Once a subscription is active, recurring billing is handled by Stripe; for any change, contact the Praxis AI team. ## Receipts and payment methods Cards are collected at Stripe checkout; Pria keeps no payment method on file. Past purchases and their receipts are listed under **Billing** (Studio UI: **Settings › Billing › Usage › Recent purchases**; a Digital Twin's under **Instance Settings → Billing**). For an invoice copy or a billing-address change, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Plan tiers Pria offers two ladders of one-time credit packages, **Personal** and **Volume**, both open to any buyer. Pricing improves as the bundle grows. > [tab] Personal > > | Package | Cost | Credits | Per Credit | > | - | - | - | - | > | Silver | \$10 | 90 | 11.00¢ | > | Premium | \$25 | 238 | 10.50¢ | > | Pro | \$50 | 500 | 10.00¢ | > | Gold | \$120 | 1,263 | 9.50¢ | > | Diamond | \$300 | 3,333 | 9.00¢ | > [tab] Volume > > | Package | Cost | Credits | Per Credit | > | - | - | - | - | > | Level 1 | \$1,000 | 11,428 | 8.75¢ | > | Level 2 | \$2,750 | 32,352 | 8.50¢ | > | Level 3 | \$5,000 | 60,606 | 8.25¢ | > | Level 4 | \$9,500 | 117,283 | 8.10¢ | > | Level 5 | \$41,500 | 518,750 | 8.00¢ | For the full breakdown — including the Named User Subscription model and caching examples — see [Plans & Credits](/mdx/introduction/plans-and-credits). ## Trial credits Every new user starts with a free trial allocation so they can evaluate Pria before purchasing. > [card] 50 free credits > > New accounts start with **50 credits**. They pay for the person's own use — their personal Pria and Digital Twins that do not pool credits — and do not expire. When the credits run out, users are prompted to add credits before continuing. ## BYOK and billing When you bring your own provider keys ("Bring Your Own Tokens" / BYOT), Pria sends that provider's requests with your key, so the provider bills your account for the raw usage. **Your conversations are still metered in Pria credits** — what changes is the price: BYOK customers buy credits at a discount through our sales team. > [!NOTE] > > BYOK customers purchase credits at a 40% discount on standard pricing through our sales team. Standard setup and support charges are unchanged. See [Bring Your Own Model](/mdx/introduction/byot). A mixed model — your own key for one provider, Praxis-managed access for another — is fully supported: keys are set per provider under **Configuration and Integrations → API Keys** (and per custom model in **AI Models**). ## Refunds and exceptional adjustments Refunds, credit grants for service incidents, and other exceptional adjustments are handled manually so that an audit trail exists for every change. > [!WARNING] > > To request a refund, a goodwill credit, or a balance correction, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request access. Routine credit transfers between an Account and its Digital Twins are self-service — see [Credit Allocation & Transfers](/mdx/admin-guide/credit-management). ## Related * [Plans & Credits](/mdx/introduction/plans-and-credits) — full pricing tables and caching math * [Credits](/mdx/user-guide/credits) — user-facing view of how credits are spent * [Credit Allocation & Transfers](/mdx/admin-guide/credit-management) — moving credits between Account, Digital Twin, and User * [Bring Your Own Model](/mdx/introduction/byot) — bypass Pria credits with your own provider keys * [Accounts Overview](/mdx/admin-guide/accounts/overview) — Account structure and ownership # Branding & Public URLs Source: https://docs.praxis-ai.com/mdx/admin-guide/branding-and-domains Apply your organization's look and authorized launch URLs to your Digital Twin. This page covers two settings tabs that sit close together because they both shape what your users — and external sites — see when they reach your Digital Twin. > [card] Visual Branding > > Name, logo, colors, custom CSS — the look and feel of your Digital Twin. > [card] Public URLs > > The allow-list of websites (origins) that may embed or launch your Digital Twin from the outside. ## Visual Branding Branding is set on each Digital Twin under **Admin → Instances → edit a Digital Twin → Personalization and AI Models** (sections **Name & Avatar** and **UI & Appearance**); the picture and **AI Name** are also under **Instance Settings → General**, the theme and backgrounds under **Instance Settings → Personalization**. Most fields apply immediately on save — refresh any open tab to pick them up. ### Name and avatar **ainame** `string` The display name for your Digital Twin. Defaults to "Pria". Shown in the chat header, the welcome screen, and the browser tab title. **picture** `image` Light-mode logo. Click the avatar to upload. Square aspect ratio works best (we render it at 192×192 in most places). **picture\_bg** `image` **Background URL (Large Picture)** — the page background. **Dark Mode Background URL (Large Picture)** is its dark-mode counterpart. Both optional. **picture\_animated** `image` **Animated Picture URL (GIF)** — optional; when set, it replaces the twin's picture wherever the twin is shown (the twin list, the Convo screen, the chat avatar). > [!TIP] > > Click the avatar itself to launch the upload dialog — there is no separate **Upload** button. The same pattern applies to user, Digital Twin and assistant avatars across the product. ### Theme and colors **theme** `enum` **UI Theme**: **Dark Mode**, **Light Mode**, or **User Directed** (each person picks in their profile). Most Digital Twins should leave it on User Directed. **css** `string` Custom CSS applied across the whole Digital Twin UI. Use this for primary color, accent color, button shapes, font choices, and layout tweaks. See [UI Customization](/mdx/admin-guide/ui-customization) for the full class reference and a starter template. ### Where branding shows up | Surface | What it picks up | | - | - | | Login page | Logo, name, theme, custom CSS | | Chat header | Logo, name, animated avatar | | Welcome screen | Name, "About" text, logo | | Embedded SDK | Logo, name, custom CSS | | Emails from Pria | Name (as the sender name) | | Browser tab | Name (as title), favicon | ## Public Authorized URLs The **Public Authorized URLs** list is the list of websites (like `https://school.edu`) permitted to launch or embed your Digital Twin — SDK and Canvas launches, LTI, and single sign-on, which lands people on the first entry. Any site not on the list is rejected, and an empty list refuses every launch — this is what stops a random third-party site from dropping your assistant into their page. > [!WARNING] > > Treat this list as a security boundary. Only add origins you control or trust. ### Adding an authorized URL **1. Open the Integrations section** On the Digital Twin editor's **Configuration and Integrations** tab, scroll to **Integrations → Embedding & LTI**, where you will find **Public Authorized URLs**. **2. Add the URL** Type the URL in **Enter new item** and select **Add**. Include the scheme (`https://`) and host; the path is ignored. **3. Save the Digital Twin** The new URL is live as soon as you save. ### Matching rules Hosts match by **hostname suffix**. Adding `https://example.com` authorizes that host **and every subdomain underneath it** (single- or multi-level). Adding `https://app.example.com` authorizes only that host and anything deeper. No wildcard syntax is needed. | You enter | What is allowed | | - | - | | `https://example.com` | `example.com`, `app.example.com`, `eu.app.example.com`, etc. | | `https://app.example.com` | `app.example.com` and any sub-subdomain like `eu.app.example.com` | | `http://localhost:3000` | Local development from `localhost` (the port and scheme are not checked) | > [!NOTE] > > The match is host-only — Pria compares the hostname, not the scheme, port or path. The React component and avatar embeds are stricter: they need the exact origin (scheme, host and port). Pick the most specific host that covers your real launch surfaces; broader entries authorize more. ## Public ID Each Digital Twin has a **Public ID** — an opaque identifier safe to share with anyone. The SDK and the branded login link use it to identify *which* Digital Twin to launch (the guest link uses the Convo Web Access Link instead). Where the twin's internal id is private (never put it in a URL), the Public ID is designed to be visible. **1. Find it** Copy **Public ID** from the editor's **Configuration and Integrations → Instance Details** (or **Instance Settings → General**). **2. Use it in an SDK launch** Pass it as the `publicId` option when initializing the SDK on your site. See the [SDK integration guide](/mdx/sdk/javascript). **3. Use it in a branded login link** Share `https://<your-pria-host>/login?brandingId=<publicId>` to send users to a login page branded for your Digital Twin — after signing in, members land directly on it. ## Custom domain (white-label) Running Pria on your own subdomain — `assistant.yourcompany.com` rather than the default Pria host — is a hosted setup we configure for you. Contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request a custom domain. We will coordinate DNS, the TLS certificate, and the routing. ## Emails from Pria **ainame** `string` Used as the **From name** on transactional emails Pria sends on behalf of your Digital Twin. Pria's emails come from a do-not-reply address that is platform-managed; replies are not read. Contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) if you need a white-labelled sender domain. ## Favicon and app icons The Digital Twin's **logo** doubles as the favicon and the touch icon for users who add the Digital Twin to a home screen. Upload a single square logo with reasonable contrast against both light and dark backgrounds and you are done — Pria renders the appropriate variant for each surface. ## Related * [Personalization](/mdx/admin-guide/personalization) — name, About text, welcome screen, conversation model * [UI Customization](/mdx/admin-guide/ui-customization) — custom CSS class reference and starter template * [Web App integration](/mdx/integrations/web/introduction) — embedding Pria in your site * [SDK integration](/mdx/sdk/javascript) — JavaScript SDK launch options # Cloning a Digital Twin Source: https://docs.praxis-ai.com/mdx/admin-guide/cloning Make a second twin from an existing one — what comes along, what does not, and what to review before you share it. Cloning creates a **new Digital Twin from an existing one**. Use it when you need a separate twin that starts from the same setup: a dedicated guest link for one audience, a variant with a different default assistant, a sandbox to try a change without touching the original. > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. ## When to clone instead of editing A twin serves **one default assistant** and **one guest link**. If you want a second audience to land on a different assistant through its own link, changing the default on the original would change it for everyone who already has that link. A clone gives the second audience its own twin, its own link and its own default, and leaves the original untouched. A typical shape is one original twin plus one clone per sponsor or program, each with its own guest link and default assistant. The clones share nothing at runtime: a change to one never reaches the others. ## How to clone **1. Open the Instances list** In the Admin dashboard go to **Instances**, open the twin's actions and choose **Clone Instance → Clone**, then confirm. You need the `institutions.add` entitlement. **2. Confirm** There is nothing to fill in. The clone is created immediately and named `copy-1.<original name>` (the number increases if that name is taken). **3. Read the confirmation** The success message names the clone and, when the original had a guest link, tells you the clone's own link. Keep it: that is the address you will rename next. ## What the clone gets | Comes along | Does not come along | | - | - | | Every setting of the original: instructions, personality, models, voice and Convo settings, branding, UI options, authorized origins (the LTI Contexts list starts empty) | The name — the clone is `copy-N.<original>` until you rename it | | Integrations and cloud-service connections, with their credentials (reconnect Microsoft 365 on the clone) | The guest link — the clone gets its own, `<original link>-copy-N` | | The twin's own assistants (published or not), with the clone's default and Convo allow-list re-pointed at the copies; assistants shared across the account are used as they are | The public ID and the MCP secrets — regenerated, so existing embeds and integrations keep pointing at the original | | Custom AI models, MCP servers and onboarding questions | Credits — the clone starts with a small starter balance, not the original's | | | Users, memberships and conversation history — nobody is enrolled in the clone but you, with exactly the role and entitlements you hold on the original | | | Knowledge files: the vault is not copied | ## What to review before you share the clone Everything the original had is now on the clone, whether or not it belongs there. Go through the clone's settings once: **1. Name it** The internal name (`copy-N.…`) is changed by the Praxis AI team on request; what people see is the **AI Name**, under **Instance Settings → General** (classic editor: **Personalization and AI Models → Digital Twin Name**). Set it first. **2. Set the guest link** Under **Realtime / Convo → Convo Web Access Link** the clone shows its derived address (`nova-copy-1` for an original `nova`). Change it to the address you actually want to share, then **Update**. See [Guest Twin Links](/mdx/integrations/web/guest-links). > [!WARNING] > > Two twins cannot share a guest link. Cloning gives the clone a free one automatically; if you paste the original's address into the clone the save is refused with a conflict. **3. Choose the default assistant** If the clone exists to serve one assistant, turn on **Restrict use of assistants**, check only that assistant and set it as the **default voice assistant**. Unpublish or delete the assistants that do not belong to this audience. **4. Turn off what the audience should not have** Integrations, cloud services, connectors and MCP servers came across from the original. A narrowly scoped clone usually needs only a few of them. Disable the rest under **Configuration and Integrations** so the twin cannot reach data or tools that are irrelevant to its purpose. **5. Check credits and knowledge** Have credits moved to the clone (it starts with 50: an Account Manager transfers them, or add credits under **Instance Settings → Billing**) and upload or share the knowledge files it should answer from — the original's vault did not come along. > [!TIP] > > A clone that will only ever serve guests through its link needs no enrolled users at all. Configure it, test the link in a private window, then share the address. # Configuration and Integrations Source: https://docs.praxis-ai.com/mdx/admin-guide/configuration A map of the Digital Twin editor (Admin → Instances) — every tab, section, and setting for your Digital Twin, and where each one is documented in depth. > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. The **Instances** editor is where a Digital Twin is configured (*Instance* is the older name for a Digital Twin that this screen still uses). It is organised as a **tab bar** across the top, and within each tab a set of **section headings** (with a quick-access rail to jump between them). This page mirrors that structure exactly, so a heading here is a heading you can see on screen. > [!TIP] > > Looking for the **Instance Settings** panel that twin admins open from **\[+] → Settings** in a conversation — with the **Integration Wizard**, **Billing**, **Voice**, **Knowledge** and the other screens? It has its own page: [Instance Settings](/mdx/user-guide/profile-settings/instance-settings). This page covers the full editor in the admin console. > [card] [Configuration and Integrations](#tab-configuration-and-integrations) > > Twin details, membership, AI behaviour, quotas, and every third-party integration. > [card] [Personalization and AI Models](#tab-personalization-and-ai-models) > > Identity and branding, plus the model assigned to each job the twin does. > [card] [Knowledge and tools](#tab-rag-and-files) > > RAG and Files, Connector MCP and Tools, Assistants, Onboarding Questions. > [card] [Twin Memory](#tab-twin-memory) > > Long-term Memory and Shared Memory. ## How the editor is organised > [!NOTE] > > This editor is available to **Digital Twin Instance Admins**. Depending on your entitlements, > some fields are read-only, and a few are managed by the Praxis AI team. **Two tabs are always present.** The remaining tabs appear **only after the Digital Twin has been saved** — when you are creating a new one you will see just the first two, and the rest unlock once it exists. | Tab | What lives there | Documented | | - | - | - | | **Configuration and Integrations** | The twin's identity, membership and credits, AI behaviour, quotas, voice entry points, and every external service | On this page | | **Personalization and AI Models** | Name, avatar, branding, UI, and the model chosen for each job | [Personalization](/mdx/admin-guide/personalization), [AI Models](/mdx/admin-guide/ai-models) | | **Connector MCP and Tools** | External MCP connectors and the platform tool policy | [MCP Servers](/mdx/admin-guide/mcp-servers), [Tools](/mdx/admin-guide/tools) | | **Onboarding Questions** | The guided questions new users answer on first run | [Onboarding Questions](/mdx/admin-guide/onboarding-questions) | | **RAG and Files** | Retrieval settings, the ingestion pipeline, and the IP Vault itself | [Knowledge & RAG](/mdx/admin-guide/knowledge-rag-config) | | **Assistants** | Which assistants users may reach, and who may author them | [Assistants](/mdx/admin-guide/assistants) | | **Agents** | Autonomous agent workspaces. Appears only when the twin is agent-eligible | [Agents](/mdx/admin-guide/agents) | | **Twin Memory** | Long-term Memory and Shared Memory | [Twin Memory](/mdx/user-guide/memory/twin-memory) | > [!TIP] > > Within a tab, use the **quick-access rail** beside the form to jump straight to a section > heading rather than scrolling. On narrow screens the rail collapses and the headings stay in > document order. ## Instance Management A Digital Twin is the thing you configure here: its knowledge, its personality, its people and its settings. The admin screens call it an **Instance**. ![Admin Configurations Main Ui Gi](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-configurations-main-ui.gif?s=0ef5e5183e64a3fd8b33d5dc3afe63bf) Start by clicking the Admin dashboard, located at the top of the main user interface. The **Instances** tab lists every Digital Twin you are entitled to manage, and lets you create a new one if you are entitled to. ![Configurations Instances Tab List Web](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/configurations-instances-tab-list.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=aef2e741dd8d42ce75f8767a72d22a56) ### Viewing Instances > [card] List of Instances > > The Instances tab lists every Digital Twin you have access to, with its name, status, and other details. > [card] Instance Details > > Clicking a Digital Twin opens the editor described below — configuration, members, and activity. > [!WARNING] > > Depending on your administrative rights, your editing privileges may be limited. *** ## Tab: Configuration and Integrations ![Instances General Settings](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/instance-general-settings.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=8de1f7424b9c44f97b01b686d50877bf) This tab carries two top-level sections — **Configuration** and **Integrations**. ### Configuration #### Instance Details > [accordion] Instance Name > > You name a new Digital Twin when you create it. Use a consistent convention: > > ``` > Canvas integration: instance_name.school_name.instructure.com > Praxis LXP integration: instance_name.praxislxp.com > ``` > > > [!NOTE] > > > > To rename an existing Digital Twin, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [accordion] Instance Credits > > The credit balance for this Digital Twin. New Digital Twins receive 50 starter credits. Purchase additional credits at [https://pria.praxislxp.com/my-profile/pricing](https://pria.praxislxp.com/my-profile/pricing) or contact your organization's IT administrator for enterprise options. > > > [!NOTE] > > > > To adjust this field, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [accordion] Status > > Controls whether the Digital Twin is available: > > * **Active** — The Digital Twin is operational for all users > > * **Inactive** — The Digital Twin is temporarily disabled > > > [!NOTE] > > > > To adjust this field, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [accordion] Public ID > > Unique identifier automatically generated when the Digital Twin is created. Used for API integrations, Chat Completions, and system connections. It is public by design — safe to share in embed code and links; it is not a credential and grants no access on its own. This field is read-only — use the copy button to copy it to your clipboard. > [accordion] Contact Emails > > Specify administrator email addresses (comma-separated) for monitoring and notifications about this Digital Twin. Used for moderation alerts and system notifications. > [accordion] Account > > Links this Digital Twin to an Account (your organisation) for centralised credit management across several Digital Twins. Select from available accounts in the dropdown. #### Access & Membership > [accordion] Allow React Component Embed > > Lets this Digital Twin be embedded inside another web application as a component, rather than only through a link or the standard embed. Leave it off unless a developer is building the twin into your own product; see [Embed your Digital Twin](/mdx/integrations/web/introduction). > [accordion] Allow Joining > > Controls how new users can join this Digital Twin: > > * **Disabled** — Users cannot self-join; they must be added by an administrator > > * **Account only** — Only users within the same Account can join > > * **Everyone (public)** — Anyone can join this Digital Twin > > > [!NOTE] > > > > To adjust this field, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [accordion] Joining Admin Only > > When enabled, only administrators can join the Digital Twin — regular users are blocked from self-joining. This option appears only when **Allow Joining** is set to "Account only" or "Everyone (public)". > > > [!NOTE] > > > > To adjust this field, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [accordion] Pool Credits > > Enable credit sharing across everyone using this Digital Twin. Each interaction consumes credits based on complexity. When credits are depleted, users cannot interact until credits are replenished according to your service agreement. > > > [!NOTE] > > > > When Pool Credits is disabled, requests from users draw from each user's personal credit pool instead. To change this field, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [accordion] Credits Awarded to New Users > > The number of credits automatically granted to new users when they first join this Digital Twin. Set to `0` to disable automatic credit awards. This field is only visible when **Pool Credits** is disabled (i.e., users manage their own credit balance). > > > [!NOTE] > > > > To change it on an existing Digital Twin, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [accordion] Grant Entitlements to New Admins > > Automatically grants full [entitlements](/mdx/admin-guide/entitlements) to new administrators, providing complete dashboard access and customization capabilities. For specific entitlement questions, contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [accordion] Prevent Switching to other Instances > > When enabled, users are locked to this Digital Twin and cannot switch to any other. Useful for kiosk-style deployments or single-purpose integrations. > [accordion] Disable Add Credits > > Hides the option for users to purchase or add credits to their account. Use this when credit management is handled exclusively by administrators or through organization-wide agreements. > [accordion] Prevent Personal Account Creation > > When enabled, members of this Digital Twin are not offered a personal Pria account, and the option is unavailable to them. > > Two boundaries are worth knowing: > > * The setting applies while a member is working in **this** Digital Twin. Someone who also belongs to another Digital Twin without this setting can still create a personal account from there. > * It covers members creating an account for themselves. Administrators adding or editing people through the admin screens are not restricted by it. #### AI Behavior > [accordion] Enable Moderation > > **Default:** on. Screens every user message for unsafe content before it reaches the AI model. Flagged messages are blocked with a safe response, and an alert email goes to the Digital Twin's **Contact Emails**. > > The model that does the screening is picked under **Personalization and AI Models → System → Moderation** (for example `omni-moderation-latest`). For the categories, what users see when a message is blocked, and how to review flagged conversations, see [Content Moderation](/mdx/admin-guide/moderation). > [accordion] Cite Sources > > When enabled, the Digital Twin always includes source citations in its responses. This instructs the AI to reference the documents, files, or knowledge base entries it used to generate each answer, improving transparency and traceability. > [accordion] Don't prompt to personalize > > Disables the initial [personalization](/mdx/admin-guide/personalization) popup for new users, allowing direct access to the conversation interface without being prompted to set preferences first. > [accordion] Use Location > > Enables location-based responses for queries about local services, weather, campus information, and regional content. Improves response accuracy and relevance for location-dependent requests. > [accordion] Compact History > > **Default:** on. Before each request, Pria has the summary model condense the earlier part of the conversation, so long conversations keep their context while using fewer tokens. Leave it on for long, ongoing conversations (research projects, multi-session tutoring); short Q\&A barely needs it. > > > [!NOTE] > > > > **Document Search Affinity** (under **RAG and Files**) has nothing to do with shortening conversations: it sets how closely a passage must match a question before Pria uses it. See [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config). > [accordion] Transparency toggles > > Five independent switches decide what users see alongside each response. All default to **on**; turn them off for kiosk-style deployments where the conversation should feel chat-like rather than tool-driven. > > * **Display RAG/KAG Search Details** — which passages were retrieved, and their relevance scores > * **Display Thinking Details** — the model's reasoning trace when thinking is enabled > * **Display Thinking Execution** — live progress while the model is reasoning > * **Display Tool Execution** — real-time progress as tools execute > * **Display Tools Details** — the complete agent step-by-step breakdown > [!NOTE] > > An always-on autonomous agent workspace for a Digital Twin is set up by the Praxis AI team. To ask for one, contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com); once it is on, the **Agents** tab appears in this editor. #### Subagents Lets this Digital Twin answer with a **team** instead of a single model: one model becomes the manager, plans the work, and brings in temporary specialists — a researcher, a builder, a checker — that run in parallel and report back. Best for jobs with real steps; slower and dearer than a single answer. See [Single Model vs Agent Mode](/mdx/user-guide/interface/single-model-vs-agent-mode) for what members experience. > [accordion] Enable Subagents (experimental) > > The master switch. While it is off, every conversation in this Digital Twin is single-model — the > default everywhere. > > > [!NOTE] > > > > Turning it on makes subagents **available**; it does not turn them on for anyone. Each member > > opts in for themselves from the chat's **\[+] → Subagents** menu and chooses how much of a team > > to allow. Everyone who doesn't opt in keeps single-model conversations. > [accordion] Admins only > > Limits that opt-in to administrators of the twin while you try the feature out. Members keep > single-model conversations and don't see the Subagents entry in the **\[+]** menu at all. > [accordion] Max Concurrent Subagents > > **Default:** `10`. > > How many helpers may work at the same time for one member. Lower it to smooth out spend and load; > raise it when jobs split naturally into many independent pieces. > [accordion] Subagent Tool-Call Budget > > **Default:** `20`. > > The most tool calls a single helper may make before it is stopped and has to report what it has. > This is per helper, and separate from **Tool calls per answer (cap)**, which bounds an ordinary > single-model answer. > [accordion] Subagent Resume Attempts > > **Default:** `3`. > > How many times a helper that fails is retried automatically before the problem is handed back to > the manager. Raising it makes runs more resilient but slower to give up. > [accordion] Subagent Max Tokens > > **Default:** `0` — each role uses its own default. > > Caps how long a single helper's reply may be. Set a number only when you want a hard ceiling on > every role at once. > [!WARNING] > > **Subagent turns are billed differently.** A single-model answer uses the flat rate; a turn handled > by a team is billed on what the team's work actually cost, added up and rounded once for the whole > turn. A request that becomes dozens of model calls costs noticeably more. See > [Plans and Credits](/mdx/introduction/plans-and-credits#subagent-agent-mode-pricing). The **models** each role uses are set on the Personalization and AI Models tab — see [Subagent role models](#subagent-role-models). #### User Quotas Per-user credit caps for this Digital Twin, shown alongside any caps inherited from the parent account and a live count of how many users are currently at their limit. Caps limit how much a single user may consume without affecting the Digital Twin's total balance. See [Credit Management](/mdx/admin-guide/credit-management) for how caps interact with pooled credits and account-wide limits. #### Realtime / Convo The entry points to live voice. Provider choice, voice selection, and avatar tuning live in the **Personalization and AI Models** tab — see [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice). > [accordion] Enable Convo (Speech-to-Speech) > > Activates real-time voice communication. Users can speak directly to the Digital Twin and receive verbal responses in real time. See [Convo Mode](/mdx/user-guide/interface/convo-speech). > > When enabled, the additional Convo settings below appear. > [accordion] Convo Admin Only > > Restricts Convo Mode to administrators — regular users will not see the Convo button. > [accordion] Convo Enable Text Input > > Allows users to type text messages during a Convo session in addition to speaking. > [accordion] Convo Show Transcript > > Shows the live transcript of the conversation beneath the voice panel, so people can read along as they and the twin speak. Turn it off for a cleaner kiosk or demo screen. > [accordion] Avatar Fullscreen > > Lets people expand the avatar to fill the screen during a voice conversation. > [accordion] Restrict use of assistants > > Set it in **Instance Settings → Voice**. Off by default: every assistant of the Digital Twin can be used in Convo Mode, and a conversation that already runs an assistant keeps it when someone starts talking. Turn it on to limit Convo Mode to the assistants you check in the list below the switch; members can then switch between those assistants during a call. With the switch on and nothing checked, every assistant stays allowed. > [accordion] Lock full-screen conversation > > Keeps people in the full-screen avatar view for the whole conversation — the collapse button and the Escape key are turned off, and ending the call is the only way out. Use this for kiosk screens and embedded experiences. > [accordion] Start Immersive Mode by Default > > Launches the voice conversation automatically after sign-in — visitors land in the immersive voice experience (with a tap-to-start step) every time, instead of the classic chat. > [accordion] Immersive Side Drawer > > Adds a panel of your own content beside the avatar in the immersive view — a menu, a reading, a set of instructions, a form. You author what it holds, and it sits alongside the conversation rather than interrupting it. Off by default; the two settings below appear once it is on. > > * **Drawer Side** — whether the panel opens on the left or the right of the avatar. > * **Drawer width (px)** — how wide the panel is. Widen it for content people need to read; keep it narrow when the avatar is the point. > [accordion] Share voice transcripts with the embedding page > > When this Digital Twin is embedded in your own web page, the page receives the live transcript of the spoken conversation, so it can display, log or react to what is said. Off unless you need it — the page you embed in can read everything spoken. > [accordion] Let the embedding page guide live conversations > > Lets the page that embeds the twin send it instructions mid-conversation — for example to steer the twin as a visitor moves through a form or a lesson. The twin answers those instructions aloud. Off unless the embedding page is built to use it. > [accordion] Convo Web Access Link > > A short public web address that opens this Digital Twin for people with no Pria account — for example `nova` produces `…/twins/nova`. Once saved, the full link is shown with a copy button and a scannable **QR code** for posters, badges, and screens. > > Whether that page opens straight into a voice conversation is decided by **Start Immersive Mode by Default**; if voice isn't available it falls back to text chat. > > > [!WARNING] > > > > Anyone with the link can talk to the twin and consume credits from the pool it bills to. There is no separate publish switch — setting the address makes the twin reachable, and clearing it takes the page offline. > > Full guide: [Guest Twin Links](/mdx/integrations/web/guest-links). > > **Cloning:** a clone never shares this address with its original. It gets its own, derived one (`nova-copy-1` for an original `nova`) — rename it here before you share the clone. See [Cloning a Digital Twin](/mdx/admin-guide/cloning). #### Text-To-Speech Controls the **read-aloud** voice used to speak responses in text conversations (distinct from Convo, which is a live voice call). | Field | Description | | - | - | | **Use natural voices for read-aloud** | Use a high-quality neural voice instead of the browser's built-in speech synthesis | | **Read-aloud voice** | Which voice to use when natural voices are on; only the voices the speech model can speak are listed (for example Ballad and Verse exist only on `gpt-4o-mini-tts`) | The speech model itself is picked under **Personalization and AI Models → Media → Text-to-Speech**, or as **Speech model** in Instance Settings → Voice. ### Integrations ![Admin Configurations Integrations Gi](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-configurations-integrations.gif?s=0dd2cf11c8558f51194780716a97eebc) Connect your Digital Twin to external platforms and services. #### Embedding & LTI **Public Authorized URLs** — the URLs authorized to embed or call your Digital Twin. All inbound requests are validated against this list. ``` https://<your_school>.instructure.com https://<your_school>.beta.instructure.com https://canvas.instructure.com ``` For hostname matching rules (subdomains, ports, what a broad entry authorizes), see [Branding & Public URLs](/mdx/admin-guide/branding-and-domains#matching-rules). **LTI Contexts** are populated automatically when you connect an LTI placement. The system remembers which Digital Twin to launch when a user arrives through LTI or a Canvas theme integration. To disconnect, remove the placement from this list or manage it from your profile page. #### Pria MCP Server MCP (Model Context Protocol) is the open standard for connecting AI to external systems, and your Digital Twin speaks it in both directions. **Outbound** — the twin calling external MCP servers as extra tools — is configured on the **Connector MCP and Tools** tab. The settings here govern the **inbound** direction and the identity signing used on outbound calls. > [accordion] MCP Server Enabled > > Switch for the **inbound** MCP endpoint: when enabled, external MCP clients (Claude, agents, partner platforms) can call this Digital Twin as an MCP source — for example to search its knowledge vault — authenticating with the MCP Server Secret below. > > This switch does **not** affect outbound connectors: the MCP servers your twin calls as tools stay active regardless. > [accordion] MCP Server Secret > > Unique authentication token used when this Digital Twin exposes itself as an MCP endpoint. Generated automatically; can be rotated. Configure third-party MCP clients with this secret. > > This secret is the **only** accepted credential for inbound MCP. The Digital Twin's Public ID is not a credential and will not authenticate an MCP call. > [accordion] MCP Signing Secret > > When your twin calls an outside tool, Pria attaches a tamper-proof note saying which of your signed-in users the request is for, and signs it with this key. Your partner checks the signature, so they can safely build tools that return one learner's own data — the identity comes from the login, not from anything the AI wrote. > > Share it through a secure channel (not email). Regenerating is an immediate cutover — partners verifying signatures reject calls until they configure the new value — so coordinate before rotating. See [Verified learner identity on tool calls](/mdx/admin-guide/mcp-servers#verified-learner-identity-on-tool-calls). > [accordion] Curation Enabled > > Allows an external learning platform to request curated articles from this Digital Twin via `POST /api/curation/search`. Used by the Praxis LXP to populate its AI Curated Content library. > > Switching **Curation Enabled** on generates a **Curation Secret** the first time. Give that secret to the calling platform; it is sent as `Authorization: Bearer <secret>`. It is scoped to the Digital Twin rather than to a person, so curation keeps working when staff change roles. > > To stop curation, switch **Curation Enabled** off. Do not blank the secret — turning the switch off refuses calls cleanly, whereas an emptied secret makes the calling platform look misconfigured instead. > [!NOTE] > > To add the outside MCP servers your twin calls, see [MCP Servers](/mdx/admin-guide/mcp-servers). To let other MCP clients call your twin, see [Pria as an MCP server](/mdx/integrations/mcp/introduction). #### Canvas Connect your Digital Twin to Canvas LMS so it can query courses, assignments, grades, and more through the Canvas REST APIs. Without these credentials, the `call_canvas` and `search_canvas` tools are unavailable. > [accordion] Canvas Client Id > > The numeric identifier from your Canvas Developer Key (e.g., `10000000000217`). Generated when a Canvas administrator creates an API-type Developer Key under **Admin → Developer Keys**. > > One Developer Key can be shared across several Digital Twins in the same organisation. > [accordion] Canvas Client Secret > > The secret key paired with the Client ID above. Click **Show Key** on your Canvas Developer Key to reveal and copy it. Together these enable OAuth2 so users can authorize the Digital Twin to access Canvas on their behalf. > [accordion] Canvas Faculty Access Token > > A personal access token generated by a registered course instructor. Optional, but required for teacher-level operations such as posting grade comments, creating announcements, or bulk grading — actions that need instructor-scoped permissions even when the end user is a student. > > To generate one: in Canvas, go to **Account → Settings → New Access Token**. > > > [!WARNING] > > > > This token grants instructor-level access to the courses the faculty member is enrolled in. Store it securely and rotate it periodically. > [accordion] Canvas API Scopes > > A whitelist of Canvas REST API endpoints your Digital Twin may call. Each scope follows the syntax: > > ``` > url:<HTTP_METHOD>|<API_ENDPOINT> > ``` > > For example: `url:GET|/api/v1/courses/:course_id/smartsearch` > > Scopes must be configured in **two places** — on the Canvas Developer Key and here. If a scope is missing from either location, the API call is rejected. > > > [!TIP] > > > > During development, disable scope enforcement on your Canvas Developer Key to discover which endpoints your twin needs. Monitor **Agent Details** in your dialog history to see which API calls are made, then add those scopes here before going live. Use the Upload/Download buttons to manage the list from a JSON file. > > See [Canvas Scopes Reference](/mdx/integrations/canvas/pria-tools-scopes) for the full list. > [accordion] Require LMS sign-in on launch (Canvas or Blackboard) > > In its own section, **LMS sign-in (Canvas and Blackboard)**. When enabled, people who open the Digital Twin from Canvas or Blackboard must first sign in to that LMS — **Sign in with Canvas** or **Sign in with Blackboard** — **before** the twin opens, rather than being prompted only when a Canvas tool is first invoked. Blackboard sign-in also needs your Blackboard site set up for it: see [Require Blackboard sign-in](/mdx/integrations/blackboard/introduction#require-blackboard-sign-in-optional). > [accordion] Don't prompt to enable Canvas authentication > > Stops Pria from suggesting to this twin's admins that they turn on **Require LMS sign-in on launch (Canvas or Blackboard)**. The new admin editor calls it **Stop suggesting Canvas sign-in**. > [!NOTE] > > For a complete walkthrough — creating the Developer Key, configuring scopes, testing, and troubleshooting — see the [Canvas Pria Tools](/mdx/integrations/canvas/pria-tools) guide. #### Chat Completion Exposes this Digital Twin behind an OpenAI-compatible **Chat Completion endpoint**, so external tools that already speak that protocol can talk to your twin. | Field | Description | | - | - | | **Enable Chat Completion endpoint** | Turns the endpoint on | | **Chat Completion Model** | Which model serves requests arriving on the endpoint | | **Chat Completion Max Output Tokens** | Ceiling on response length | | **Chat Completion Reasoning Effort** | Reasoning depth, for models that support it | Requests authenticate with a Pria sign-in token (JWT) — see the [Chat Completions guide](/mdx/integrations/chat-completions/introduction). #### ElevenLabs Voice Cloning Appears while Convo uses ElevenLabs. Connects an [ElevenLabs Conversational AI](https://elevenlabs.io/conversational-ai) agent: * **ElevenLabs Agent ID (for Digital Twin Voice)** — the Agent ID from your ElevenLabs agent * **ElevenLabs API Key** — must match the key in your ElevenLabs agent's Custom LLM settings; without one, the platform-wide key is used if configured * **ElevenLabs Connection Method** — WebSocket (the default) or WebRTC ElevenLabs also needs the **Chat Completion** endpoint above. See the [ElevenLabs Voice Agent](/mdx/integrations/elevenlabs/introduction) guide. #### Cartesia Voice Appears while Convo uses Cartesia: voice selection and tuning. See [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice). > [!NOTE] > > The **Anam Avatar** and **Anam Meeting Bot** sections of this editor are managed by the Praxis AI > team. Tune your twin's Anam avatar in **Instance Settings → Voice** (see > [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice)); to send your twin into meetings, > contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) and see > [Meeting Agent](/mdx/admin-guide/meeting-agent). > [!NOTE] > > Anam and Cartesia voice conversations listen through **Deepgram Flux**. Its language is set by > **Speech Recognition Language (Deepgram Flux)** under **Personalization and AI Models → Convo (Live > Voice & Avatar Calls)**, and applies wherever the twin listens through Deepgram — avatar > conversations, embedded twins and meeting bots. **English only** is the platform default and the > most accurate for English; pick the multilingual option for people who speak another language or > switch languages mid-conversation. OpenAI GPT-Realtime, Gemini Live, ElevenLabs and xAI transcribe > inside their own connection and ignore this field. #### Google and Microsoft Both sections work the same way: | Field | What it does | | - | - | | **Enable Access** | Turns the provider's services on for this Digital Twin | | **Use Digital Twin identity** | Everyone reaches the provider through **one account the twin connects**, instead of each person connecting their own. The service list and the connect button appear only with this on. | | **Microsoft tenant (optional)** | Microsoft only: restrict sign-in to one Microsoft organization | > [!WARNING] > > A connected Digital Twin account takes precedence over any personal account a user connected: if the twin connects a shared Gmail, everyone uses that Gmail. Services, permissions and the connect, reconnect and disconnect steps are on [Google Workspace](/mdx/admin-guide/google-workspace) and [Microsoft 365](/mdx/admin-guide/microsoft-365). #### Kaltura Connect the [Kaltura Video Platform](https://www.kaltura.com/) so the twin can search and reference videos hosted in your Kaltura account: | Field | Purpose | | - | - | | **Kaltura Partner Id** | Your Kaltura account (partner) identifier — in the Kaltura Management Console under **Settings → Integration Settings** | | **Kaltura Secret** | The API secret shown next to the Partner Id: an **Admin Secret** (full account access) or a **User Secret** (limited, read-only) | | **Is Admin Secret** | Turn it on when the secret is an admin secret. When it is off, **Kaltura Client Id** (the Kaltura user ID the secret belongs to) is also required | > [!WARNING] > > The Kaltura secret is a sensitive credential. It is stored encrypted and never sent back to the browser. #### Amazon Web Services Connect your own AWS services — primarily **Amazon Bedrock** for model access and **Amazon S3** for storage — so the twin uses your AWS account under your organization's billing and security policies. > [accordion] AWS Region > > The region where your services are deployed. Choose the one closest to your users or where your Bedrock models and S3 buckets are provisioned. > > * **us-east-1** (N. Virginia) — Broadest Bedrock model availability > > * **us-west-2** (Oregon) — Good Bedrock coverage > > * **eu-central-1** (Frankfurt) — European data residency > > * **ap-southeast-1** (Singapore) — Asia-Pacific > > > [!NOTE] > > > > Not all Bedrock foundation models are available in every region. Check [AWS Bedrock model availability](https://docs.aws.amazon.com/bedrock/latest/userguide/models-regions.html). > [accordion] AWS Access Key Id > > The access key ID from your AWS IAM credentials. Generate this in the [AWS IAM Console](https://console.aws.amazon.com/iam/) by creating an IAM user or role with the necessary Bedrock and/or S3 permissions. > > Leave both of the Digital Twin's keys empty to use the pair set on its account (**Accounts → Shared Integrations**). A complete pair set here on the twin wins; a single key is ignored and the account pair is used. > [accordion] AWS Secret Access Key > > The secret access key paired with the Access Key ID. Shown only once when you create the IAM credentials — store it securely. > > > [!WARNING] > > > > This is a sensitive credential. It is stored encrypted and excluded from API responses by default. Never share it in client-side code or logs. > [!TIP] > > **IAM Permissions:** Your IAM user or role needs: > > * **Amazon Bedrock** — `bedrock:InvokeModel`, `bedrock:InvokeModelWithResponseStream`, and `bedrock:ListFoundationModels` > * **Amazon S3** — `s3:GetObject`, `s3:PutObject`, and `s3:ListBucket` on the relevant buckets > > Follow the [principle of least privilege](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege). #### API Keys By default the Digital Twin reaches every AI provider through Praxis-managed access. When you provide your own API key, the twin sends that provider's requests **with your key** — the provider bills your account for the raw usage, and you control rate limits and model availability. Conversations are still metered in Pria credits; BYOK customers buy those credits at a discount through our sales team. This is the **bring-your-own-key (BYOK)** section. > [!NOTE] > > **How BYOK routing works:** when a model is selected for a Model Use and an API key exists for > that model's provider, the request goes out with your key. If no key is set, it uses > Praxis-managed access. The choice is **per provider**, so you can use your own OpenAI key while > Anthropic requests go through Praxis. > [accordion] OpenAI API Key > > Connects to [OpenAI](https://platform.openai.com/) models including GPT-5.2, GPT-5.1, GPT-5-mini, o4-mini, GPT Image 2.5, and Whisper transcription. Also enables image generation and GPT-Realtime voice. > > Generate your key at [platform.openai.com/api-keys](https://platform.openai.com/api-keys). > [accordion] Anthropic API Key > > Connects to [Anthropic](https://www.anthropic.com/) Claude models including Opus, Sonnet, and Haiku. Enables extended thinking and reasoning where available. > > Generate your key at [console.anthropic.com/settings/keys](https://console.anthropic.com/settings/keys). > [accordion] Gemini API Key > > Connects to [Google Gemini](https://ai.google.dev/) models including Gemini 3.8 Flash, Gemini 3.1 Pro, Gemini 2.5 Flash, and Gemini Live for real-time voice. > > Generate your key at [aistudio.google.com/apikey](https://aistudio.google.com/apikey). > [accordion] xAI API Key > > Connects to [xAI](https://x.ai/) Grok models including Grok 4.7, Grok 4.1 Fast Reasoning, Grok Code Fast, and Grok Imagine (images). > > Generate your key at the [xAI Console](https://console.x.ai/). > [accordion] Mistral API Key > > Connects to [Mistral AI](https://mistral.ai/) models via the native SDK — Mistral Large, Medium, Small, Pixtral (vision), Magistral (reasoning), Codestral (code), Voxtral (TTS/STT), and embedding/moderation models. > > Generate your key at [console.mistral.ai/api-keys](https://console.mistral.ai/api-keys). > [accordion] OpenRouter API Key > > Connects to [OpenRouter](https://openrouter.ai/), a gateway to many providers: open-weight models such as DeepSeek V4 (Flash and Pro), Qwen, GLM, MiniMax and Gemma, plus Claude, Gemini and Grok models. DeepSeek models are offered only through OpenRouter — there is no separate DeepSeek key. > > Generate your key at [openrouter.ai/settings/keys](https://openrouter.ai/settings/keys). > [accordion] Cohere API Key > > Connects to [Cohere](https://cohere.com/) models including Command A. Enables Cohere's retrieval-augmented generation and enterprise search. > > Generate your key at [dashboard.cohere.com/api-keys](https://dashboard.cohere.com/api-keys). > [!NOTE] > > This section also takes a **Kimi API Key** (Moonshot AI), a **Stability AI API Key**, a **Google > AI Platform API Key** (Gemini on Google Cloud's Vertex AI — not interchangeable with the Gemini API > Key) and a **RunPod API Key** (see [Self-hosted models on RunPod](/mdx/admin-guide/ai-models#self-hosted-models-on-runpod)). > The ElevenLabs key sits in its own section above. > [!WARNING] > > **Security:** All API keys are stored encrypted, excluded from API responses by default, and never exposed to the browser. Only administrators with the appropriate entitlements can view or modify them. *** ## Tab: Personalization and AI Models Identity and appearance, plus the model assigned to each job the twin performs. ### Personalization (Digital Twin) | Sub-section | What it covers | | - | - | | **Name & Avatar** | The twin's display name, pictures and backgrounds | | **Content & Behavior** | Digital Twin Instructions, **Use About for Welcome Screen**, **Persona mode** and guardrails | | **UI & Appearance** | **UI CSS** (custom CSS for branding), **UI Theme**, **Guest UI (Minimum screen)**, **Disable Clipboard for Users** and **Disable Audio Notes for Users** (hides the audio-note microphone from standard users) | > [!NOTE] > > **UI CSS** is injected as-is into the page. Test thoroughly to avoid breaking the layout. **Disable Clipboard for Users** stops non-admin users from copying AI-generated content: text selection and copy shortcuts are blocked, and the copy and share-link buttons are hidden. Administrators keep full access. Useful for exams and for content that must not be extracted. #### Guardrails Under **Content & Behavior**, **Enable guardrail instructions** turns on a separate block of standing rules about what the twin must refuse, avoid or hand off — kept apart from the Digital Twin Instructions so the twin's personality and its limits can be edited independently. With it on, a **Guardrail Instructions** box holds those rules. Write them as plain, concrete limits rather than a tone of voice: ```text wrap theme={null} Never give individual medical, legal or financial advice — say you cannot and point to a qualified professional. Do not discuss admissions decisions or fee waivers; direct people to the admissions office. ``` > [!TIP] > > Guardrails are standing rules, so they are sent on every turn. Keep them short and specific — a > long list costs credits on every message and gives the model more to weigh before it answers. The > creation interview also asks what the twin should avoid and where it should send people instead; > those answers shape the same behaviour. See > [Onboarding Questions](/mdx/admin-guide/onboarding-questions) and > [Crafting Digital Twin Instructions](/mdx/admin-guide/digital-twin-instructions). Full reference: [Personalization](/mdx/admin-guide/personalization) and [Branding & Public URLs](/mdx/admin-guide/branding-and-domains). ### AI Models Each **Model Use** — a job the twin does — is assigned a model here. | Sub-section | What it covers | | - | - | | **Custom Models** | Bring-your-own-model entries added to the catalog | | **Conversation & Reasoning** | The conversation model, its **Fallback conversation model** (answers when the conversation model fails before any reply started — quota, outage, network, credential; unset = the platform default), **Conversation Completion Max Tokens**, **Reasoning Effort**, **Documents Summarization** and **Extended Context (1M tokens)** | | **Convo (Live Voice & Avatar Calls)** | **Speech-to-Speech Model**, voice, **Voice Reasoning Effort**, **Interruption Sensitivity**, VAD, noise reduction, transcription language, and the Deepgram speech-recognition language | | **Media** | Image Analysis, Image Generation, Audio Generation, Video Generation, Audio Transcription, Video Analysis and Text-to-Speech models | | **Subagents** | The model and effort for each subagent role — see [Subagent role models](#subagent-role-models) | | **System** | **Embeddings Generation** and **Moderation**. The knowledge-graph models (**Knowledge Generation**) are chosen by the Praxis AI team. | Full reference: [AI Models](/mdx/admin-guide/ai-models), [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice), and [Platform Models](/mdx/admin-guide/platform-models). #### Subagent role models When [Subagents](#subagents) are enabled, each role in the team can run on its own model — a strong reasoning model where the thinking happens, a cheap fast one where it doesn't. The **Subagents** section has a mode switch — **All modes**, **Advanced**, **Expert**, **Mythical** — and one row per role, each with a model picker and an effort picker. A choice for one mode overrides **All modes**; **All modes** overrides the platform's per-mode picks. Each **Default** keeps the platform's choice and its label says which model and effort that is; leave rows on **Default** until you have a reason not to. Each picker lists only the models suited to that role. | Row | The role it runs | | - | - | | **Conductor** / **Conductor Fallback** (All modes only) | The manager that plans the turn and decides who to bring in, and the model used when it is unavailable | | **Planner**, **Spec Writer**, **Plan Reviewer** | Work out what should be built, and check the plan | | **Coder**, **Tester** | Build the thing, and check it. Per mode you can also pin **Coder for harder tasks** and **Coder for games and simulations**. | | **Designer**, **Writer** | Visual and written output | | **Researcher**, **Preflight** | Gather material, and check readiness before a run starts | | **Judge** | Scores or compares results where a run asks for it | | **Agentic Loop** | The repeated think-act cycle a helper runs inside | | **Vision** | Reading images; only models that can see are offered | Default effort follows the mode: Medium in **Advanced**, High in **Expert**, Extra High in **Mythical**. Members can still pin their own models. *** ## Tab: Connector MCP and Tools ### Connector MCP Outbound MCP connectors — external MCP servers this Digital Twin may call as extra tools. Each connector is authored with its own configuration and credentials. See [MCP Servers](/mdx/admin-guide/mcp-servers) and [Connectors](/mdx/admin-guide/connectors). ### Tools Governs which platform tools the twin may use. > [accordion] Tools of this Digital Twin > > The list of platform tools, each with its own switch, a **Search tools** box, category filters and **Show only enabled tools**. A tool switched off is never offered to the AI, and a call to one is refused. Tools whose feature is off for this Digital Twin are not listed; a line names those features (for example, `call_blackboard` is listed only once a Blackboard Learn site is connected; see [Blackboard Pria Tools](/mdx/integrations/blackboard/pria-tools)). To apply a ready-made set (None, Minimal, Media, Builder, All), use **Instance Settings → Tools** — see [Tools](/mdx/admin-guide/tools#ready-made-sets). > [accordion] Result Size (Max Chars Count) > > **Default:** `60000` characters. > > Maximum characters returned by a single tool call; longer results are truncated. Increase for Digital Twins working with large documents or detailed API responses. Decrease to reduce token usage and protect against runaway tool output. > [accordion] File navigation tools > > **Default:** on. > > Lets the AI list the folders of this Digital Twin's vault and find files by name, which helps it > work across many files at once. Searching inside a file and editing it stay available either way. > Subagents need this on. > [accordion] Builder tools > > **Default:** on. > > Lets the AI check the web pages and activities it builds before handing them over — running their > checks, taking screenshots, and reviewing the result. Turn it on for a twin that builds pages or > interactive activities. Subagents need this on. > [accordion] Tools Guidance > > **Default:** off. > > Off, every question carries short rules for using tools. On, it also carries detailed guidance on > how many tool calls each kind of question deserves (and, in voice conversations, the full tool > rules). Turn it on when you need more reliable tool use — research workflows especially. It adds > several thousand characters to every question, so it costs credits whether or not tools are used. > Personal accounts have their own **Tools Guidance** switch in their Tools panel. > [accordion] Tool calls per answer (cap) > > **Default:** `0` — the platform default of 20 tool calls. > > Most answers may call tools this many times before the Digital Twin must write the answer from what it has gathered. When the cap is reached, the twin finishes with a written answer that lists anything it could not find under "Not found", or with an honest line saying it could not finish, never with a reply that trails off mid-search. Set a number from 1 to 50 to lower the cap for this twin; a twin can only lower the platform cap, never raise it. Leave the field empty or at 0 to use the platform default. Lower it for twins that should answer quickly from a small vault; keep the default for research-style twins that search many folders or sources before answering. Full reference: [Tools](/mdx/admin-guide/tools). *** ## Tab: Onboarding Questions The guided questions new users answer on first run, whose answers feed the twin's understanding of each person. See [Onboarding Questions](/mdx/admin-guide/onboarding-questions). *** ## Tab: RAG and Files How the twin retrieves from the IP Vault, and the vault itself. ### User Access **Disable File Upload for Users** and **Allowed Emails or Domains** — who may upload. ### Ingestion Pipeline How uploaded files are processed before they become searchable: **Sanitize Chunks**, **Chunk Keyword Enrichment**, **Chunk Size (Search & Knowledge Graph)**, **Chunk Overlap (%)**, and **File longevity (days)** for this Digital Twin's vault. ### RAG **Ignore user personal vault**, **Max. Files In Vault**, **Document Search Affinity (k-NN Vector Score %)** and **Max. Number of relevant articles**. The embedding model is under **Personalization and AI Models → System → Embeddings Generation**. ### KAG (Knowledge Graph) To build a knowledge graph from this Digital Twin's files, use **Enable KAG Fusion for your Digital Twin** in **Instance Settings → Knowledge → Ingestion**. Whether each twin may choose can be decided by its account; the switch then says so. ### Files in IP Vault The vault itself, embedded directly in the tab — upload, preview, edit segments, and remove files without leaving the editor. Full reference: [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config). *** ## Tab: Assistants ### User Access Whether regular users may reach assistants at all, and whether they may author their own. > [accordion] Disable Assistants for Users > > When enabled, regular users cannot access the Assistant Library or use custom assistants. Administrators retain full access. Useful when the twin should present a single unified persona rather than a menu of specialists. > [accordion] Disable Create Assistants for Users > > When enabled, people who don't manage this Digital Twin's assistants can use assistants but cannot create new ones while working in it, in any app. Useful for curated deployments (curriculum, customer support). > [accordion] Enable Assistants by Email Domains (ex: school.edu) > > A list of email **domains** (for example `school.edu`) whose members may still use assistants when assistants are otherwise switched off above. It matches on the domain, not on individual addresses — so it grants access to everyone signing in with an address at that domain. Useful for opening assistants to staff while keeping them off for everyone else. Appears once **Disable Assistants for Users** is on. ### Available Assistants A table of the assistants available to this Digital Twin, where you select which ones are enabled. Switching one off retires it here without deleting it. Full reference: [Assistants](/mdx/admin-guide/assistants). *** ## Tab: Agents The control center of this Digital Twin's autonomous agent — its sessions, the approval queue and an activity summary. > [!NOTE] > > This tab appears only once the Praxis AI team has set up an autonomous agent for the Digital > Twin. To ask for one, contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com). Full reference: [Agents](/mdx/admin-guide/agents). *** ## Tab: Twin Memory Twin Memory is the umbrella for what the twin knows about a person across conversations. It has two parts, each with its own section. ### Long-term Memory What the twin forms on its own from conversations, with a visible receipt for every memory it saves. Whether it is available on a Digital Twin at all, and whether memories are shared across sibling twins, are Praxis AI settings; what the twin's own administrators control here is how far it reaches once it is on, and what users see under each answer. Once long-term memory is switched on for the twin, these settings appear: * **Long-term Memory: Admins Only** limits it to administrators of the twin while you try it out. * **Memory Mode** — the memory new conversations use: **Classic (key/value)** or **Long-term Memory (twin memories)**. Members can change their own in their settings. * **Display Memory Details** (on by default) — whether the expandable **Memory** row under an answer lists the memories that were **Recalled** to shape the reply. Turn it off for a quieter transcript; memories are still used. Anything the twin **Saved**, **Updated** or **Forgotten** is always shown, so a user can always see what was kept. The same controls are also available to Digital Twin administrators from inside the product, in **Instance Settings → Knowledge → Long-term Memory** (the first card of that tab). Turning the feature on or off and sharing memories across the account are set by the Praxis AI team; they show as read-only. ### Shared Memory Facts the whole Digital Twin reads — set once by an administrator and available to every user of this Digital Twin. Full reference: [Twin Memory](/mdx/user-guide/memory/twin-memory) and [Memory Parameters & Act As](/mdx/admin-guide/memory-and-impersonation). *** ## Related * [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config) — Retrieval modes, chunk handling, embeddings, KAG analysis model, upload policies * [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice) — Provider catalog, voice tuning, avatar configuration * [Google Workspace](/mdx/admin-guide/google-workspace) and [Microsoft 365](/mdx/admin-guide/microsoft-365) — connect the twin to Google or Microsoft * [MCP Servers](/mdx/admin-guide/mcp-servers) — Inbound and outbound Model Context Protocol setup * [Twin Memory](/mdx/user-guide/memory/twin-memory) — Long-term Memory and Shared Memory * [Memory & Act As](/mdx/admin-guide/memory-and-impersonation) — Per-user memory, shared memory, impersonation * [AI Models](/mdx/admin-guide/ai-models) — Provider catalogs, BYOM, reasoning effort, prompt caching * [Personalization](/mdx/admin-guide/personalization) — Identity, avatar, branding, model assignments * [Content Moderation](/mdx/admin-guide/moderation) — Per-message safety screening * [Agents](/mdx/admin-guide/agents) — Autonomous agent workspaces, scheduled tasks, approvals * [Meeting Agent](/mdx/admin-guide/meeting-agent) — Sending the twin into a Zoom, Meet, or Teams call * [Credit Management](/mdx/admin-guide/credit-management) — Pooled credits, user quotas, and caps * [Onboarding Questions](/mdx/admin-guide/onboarding-questions) — Guided personalization for new users # Connector MCP Source: https://docs.praxis-ai.com/mdx/admin-guide/connectors Connect your Digital Twin to remote MCP servers for unlimited AI capabilities. > [!NOTE] > > Connectors for MCP (Model Context Protocol) are currently in **Beta**. Features and compatibility may change as the protocol evolves. ## Overview Connectors link your Digital Twin to remote **MCP (Model Context Protocol) servers**, giving it access to the rapidly growing ecosystem of MCP tools without any custom code. ### What is MCP? MCP is an open standard for integrating external applications with AI models — think of it as the **universal "USB-C port" for AI ecosystems**. Once a connector is active, every tool the remote server exposes becomes available to your Digital Twin during conversations. ### Expanded Capabilities Your Digital Twin can interact with a wide landscape of external systems, including: * **Business applications** (CRM, ERP, project management) * **Databases** (SQL, NoSQL, data warehouses) * **APIs** (REST, GraphQL, webhooks) * **Cloud services** (AWS, Azure, Google Cloud) * **Custom applications** and proprietary systems (Salesforce, Hubspot, Whatsapp, Slack, etc.) ## Key Benefits > [card] Unified Integration > > Tap into any external business logic, data service, or proprietary application seamlessly > [card] Workflow Automation > > Automate cross-platform workflows and eliminate manual processes > [card] Break Down Silos > > Unify fragmented services without complex custom integrations > [card] AI-Powered Solutions > > Unlock new AI capabilities by connecting to specialized external tools ## Prerequisites > [!NOTE] > > **Tools that need approval now ask in the chat.** When a connector has *Require approval* switched on, its tools are offered to the model, and the first time the model wants to run one you get a small card in the conversation naming the tool, the connector and exactly what it would run — with **Approve**, **Approve for this conversation** and **Deny**. Nothing runs until you choose. Tools listed under *Skip approval for* run without asking, as before. > > The card keeps showing what happened, wherever you're looking at it: decide in one browser tab and every other open tab updates to the outcome ("Approved", "Denied", …) instead of leaving a stale card behind, and the card you get back after reloading the page — or from a second device — stays in sync the same way. > > The card appears in text chat on every conversation model with tool support, and in **Anam** and > **Cartesia** voice conversations — there, Pria also says out loud that she needs your approval and > reminds you every twenty seconds or so until you answer, and the card appears in the live transcript. > > In **OpenAI Realtime** voice conversations the approval is answered in your browser. It is **not saved to > your approval history**, so it cannot be approved from another device and **Approve for this > conversation** is not offered there. > > Approval-gated connector tools now work in **xAI Realtime** and **Gemini Live** voice conversations > too. When the twin needs your approval, the microphone pauses and an approval card appears — in the > transcript, or over the conversation when you are in the compact bubble, the immersive view, or have > transcripts turned off; approve or decline there (you have 45 seconds), and the conversation > continues. In those two voice modes Pria cannot speak the approval request aloud — watch for the card. > **Approve for this conversation** is offered when the voice call is bound to a conversation thread. > > **Approval also works inside delegated tasks.** When Pria hands a piece of work to one of her > agents and that agent needs to run a tool you have set to require approval, the agent's card reads > "waiting for your approval" and the request appears right under that agent's activity. Approve or decline > there, or from the pending list in any other tab you have open, and the agent carries on with the real > result. An agent waits up to three minutes for you; if nobody answers, it is told the request timed out > and carries on without running the tool. A declined or timed-out call is shown as a failed step, so it is > never mistaken for work that happened. > > **While a plan is building, answer from the agent's own activity.** Open the agent that is waiting inside > the build panel and approve or decline there. **Known limitation:** if Pria itself — rather than > one of its agents — needs approval during a plan build, no card appears and that step waits out its > three-minute limit without running. > > **ElevenLabs** conversations do not offer approval-gated tools either; Pria will say so and ask you to try > again from the Pria chat. > > If you hang up or reload the page while Pria is waiting for your approval, the request is cancelled and > the tool does not run. Your decision is still recorded if you make one, but that particular request > will not finish. Ask again. ### Supported Models * Any conversation model with tool support — Claude, GPT-5 and later, Gemini, Mistral, Grok and more. * Voice conversations through Anam, Cartesia and ElevenLabs use the same connectors. * Realtime voice sessions on xAI and Gemini Live use connector tools, including tools that require approval. * Pria's own agents — the ones it uses for delegated tasks and plan builds — use connectors too, including tools that require approval. During a plan build, answer from the waiting agent's own activity. > [!NOTE] > > Connector calls now originate from Pria's own servers. If your MCP server allowlists source addresses, add Pria's outbound addresses (ask support) alongside any OpenAI addresses you may have allowlisted. ## Configuration In the admin editor (**Admin › Instances › Edit**), open the **Connector MCP and Tools** tab. **Add a Connector MCP** opens the **Edit Connector MCP** form; in the Studio UI the same form is **MCP Server Configuration**. **Add Praxis Documentation** adds the public Praxis docs server in one click. > [!TIP] > > **Example Use Case**: Add the Praxis AI Documentation as a connector so your digital twin can reference official documentation when responding to questions about Pria's features and usage. ### Connector List View ![MCP Connectors List](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/connectors-list.png?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=24f6bfd4a4e54014d20eba26ebd60c32) Only connectors whose **Status** is active are used by your Digital Twin. You can quickly switch a connector on or off from this view. ### Creating/Editing Connectors ![Connector MCP Configuration](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/connectors-edit.png?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=88b0832c528b416111389a388827d6c9) #### Required Fields **name** `string` *required* **Name (Label)**: the connector's name. A new connector starts empty — the examples in the fields are placeholders, not saved values. **status** `select` (default: active) **Status**: * `active` - Connector is enabled and available to the Digital Twin * `inactive` - Connector is disabled **description** `string` **Description**: A description of your MCP server's purpose, sent to the AI model as context. Use this to help the AI understand when and how to use the server's tools. Example: `"This server provides access to the company's CRM. Use it to look up customer records, update contact information, and create support tickets."` > [!TIP] > > A well-written description significantly improves how reliably the AI selects the right tools from your MCP server. Be specific about what the server does and when the AI should use it. **type** `select` (default: url) **Type**: Communication method * `url` - URL-based communication (currently the only supported method) **server\_url** `string` *required* **Server URL**: The endpoint of your remote MCP server Example: `https://docs.praxis-ai.com/mcp` > [!NOTE] > > Use the server's final URL — Pria refuses to follow a redirect from this address. This is a security measure: the URL is checked once, up front, and a redirect would send the request somewhere that check never saw. If your provider's URL redirects to another address, register that destination address instead. #### Test connection Select **Test connection** to ask the server for its tool list with the values in the form (a name and a server address are needed). The tools come back as a checklist under **Tools Choice** and **Ignore Approval for Tools**: tick the ones the Digital Twin may use, and the ones that run without asking. If the test fails, check the **Server URL** and the **Authorization Header** before saving. #### Tool Management **tools\_enabled** `boolean` (default: true) **Tools**: Enable to select a subset of available tools. When no tools are listed below, all of the server's tools remain available. > [!NOTE] > > **Recommended**: Use tool filtering when your MCP server has many tools. Some servers may expose hundreds of tools, so filtering helps optimize performance and focus functionality. **tools\_choice** `array` **Tools Choice**: the tools the Digital Twin may use — tick them in the checklist after **Test connection**, or type the names > [!WARNING] > > * Tool names are **case-sensitive** > * Use only alphanumeric characters, dashes, and underscores > * Allowed characters may vary by LLM model > [!TIP] > > **When to use tool filtering:** If your MCP server exposes dozens or hundreds of tools (common with platforms like Zapier or Salesforce), enable the tools filter and select only the tools your Digital Twin actually needs. This reduces token usage and improves response quality — the AI doesn't have to evaluate tools it will never use. #### Approval Settings **requires\_approval** `boolean` (default: false) **Require Approval**: When enabled, the LLM requests user permission before using MCP tools > [!NOTE] > > **Recommendation**: Leave disabled for most use cases to maintain smooth user experience **ignore\_approval\_tools** `array` **Ignore Approval for Tools**: the tools that run without asking when approval is required — tick them in the checklist after **Test connection**, or type the names Use this for frequently-used, low-risk tools like search or read-only operations. #### Authentication **authorization\_header** `string` **Authorization Header**: Service-level authentication token Format: `Bearer xyz123...` > [!WARNING] > > **Security Note**: Praxis AI middleware uses service-level credentials. All requests share the same credentials to access the remote MCP server. > [!NOTE] > > In addition to the Authorization header, every outbound MCP call carries a **signed learner identity** (the signed-in user's email and IDs), so your MCP server can safely expose per-learner tools. Verify the signature with the Digital Twin's **MCP Signing Secret** — see [Verified identity](/mdx/integrations/mcp/verified-identity) for the headers, the signing rule and ready-to-paste verifiers, and [Configuration → MCP Servers](/mdx/admin-guide/configuration#pria-mcp-server) for where the secret lives. ## Best Practices > [accordion] Security Considerations > > * Use service accounts with minimal required permissions > * Regularly rotate authorization tokens > * Monitor MCP server access logs > * Implement rate limiting on your MCP servers > [accordion] Performance Optimization > > * Enable tool filtering for servers with many available tools > * Use descriptive connector names for easy management > * Test a connector on a trial Digital Twin before busy ones depend on it > * Monitor response times and adjust timeouts as needed > [accordion] Troubleshooting > > * Verify model MCP compatibility before deployment > * Check authorization headers and server URLs > * Ensure tool names match exactly (case-sensitive) > * Monitor server logs for connection issues ## Next Steps > [card] [Read on Model Context Protocol](https://modelcontextprotocol.io/docs/getting-started/intro) > > Read on Model Container Protocol > [card] [Search through existing MCP Servers](https://github.com/modelcontextprotocol/servers?tab=readme-ov-file#%EF%B8%8F-official-integrations) > > Search Existing MCP server > [card] [Develop on hoster platforms](https://smithery.ai/) > > Develop MCP servers on hosted platforms like smithery.ai zapier.com > [card] [Praxis AI is also an MCP Server](/mdx/integrations/mcp/introduction) > > Connect Claude, ChatGPT, or your favorite LLM to Praxi-AI # Credit Allocation & Transfers Source: https://docs.praxis-ai.com/mdx/admin-guide/credit-management How credits flow between an Account, its Digital Twins and their users — pooling, manual transfers, auto top-up. Once credits — **Praxis Unified Credits** — have been purchased, the next question is **where they sit and how they move**. Pria has a three-tier credit model with explicit rules for pooling, manual transfers, automatic top-up, and audit. This page is the reference for Admins managing those flows. ## Three-tier credit model Credits live at three levels. Each level has its own balance, its own usage counter, and clear rules for how it can be funded. > [card] Account > > The balance of an organization that runs several Digital Twins. Funded by the Praxis AI team and by credits released back from its Digital Twins; moved down to Digital Twins by transfer. > [card] Digital Twin > > The Digital Twin's own balance: 50 credits to start, then purchases by its admins and transfers from the parent Account. Drawn down by member activity when it pools credits. > [card] User > > Personal balance attached to each person: 50 credits to start, then personal purchases and a Digital Twin's welcome award. Drawn down whenever the person works outside a pooled Digital Twin. ## Credit pooling Each Digital Twin has a **Pool Credits** flag that decides who pays for member activity. > [accordion] Pool Credits ON (default) > > All members of the Digital Twin draw from the twin's balance. A user with zero personal credits can still chat freely as long as the twin has credits. This is the standard setup for schools, classrooms, and corporate teams. > [accordion] Pool Credits OFF > > Each member pays from their **personal** credit balance. The twin's balance is not consumed by member chat. Use this when you want the Digital Twin to provide branding and configuration but each user is responsible for their own usage. It is chosen when the Digital Twin is created (**Pool Credits** or **Personal Credits** in the creation wizard). To change it on an existing Digital Twin, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Manual transfer Account Managers can move credits between an Account and any of its Digital Twins at any time, in either direction, whatever the transfer mode. **1. Open the account** Go to **Admin → Accounts**, open the account, then its **Instances** tab. **2. Choose the transfer** Select the transfer icon on the Digital Twin's row, enter the amount, and reverse the direction if the credits should go back to the account. **3. Confirm** The balances are updated immediately and a transfer record is written so the move shows up in the audit trail. > [!TIP] > > Manual transfers can also pull credits **back** from a Digital Twin into the parent Account — useful at the end of a term or when winding down a Digital Twin. A Digital Twin's own admins can send its whole balance back with **Release Credits** in the Digital Twin's manage actions. ## Automatic top-up — Transfer Modes Each Account has a **Transfer to Instances** setting (**Credit Transfers** in the Studio UI) that decides whether Pria refills a Digital Twin by itself and whether the Digital Twin's own admins may pull credits. The three choices, as the classic edit form names them: > [card] Never > > No automatic movement. Account Managers make every transfer by hand. Use this for strict per-twin budgeting. > [card] By Instance Admins > > No automatic refill either, but the admins of a Digital Twin that pools credits can pull **1,000 credits** from the Account themselves (classic **Add Credits** page) while the Account holds more than 1,000. > [card] Automatically on low credits > > When a Digital Twin with **Pool Credits ON** falls below the low-balance threshold, Pria automatically pulls credits from the parent Account. ### How automatic top-up works When **Transfer Credits Mode = Automatically on low credits** and a pooled Digital Twin hits the threshold: **1. Trigger** The Digital Twin's balance falls to **500 credits or below** during an interaction. **2. Transfer amount** Pria pulls **up to 1,000 credits** from the parent Account — capped at whatever the Account currently has available. **3. Apply** The Account is debited, the Digital Twin is credited, and a transfer record is written with mode **Auto**. > [!WARNING] > > If the Digital Twin runs out and the parent Account has nothing left to give (or is not on automatic top-up), members are told the Digital Twin has run out of Praxis Unified Credits, and its admins are asked to refill them. ## When a Digital Twin is deleted Deleting a Digital Twin does **not** burn its credits. Any remaining balance returns to the parent Account so it can be redistributed to other Digital Twins (the move is recorded in the transfer ledger with mode **Deletion**). If the deleted Digital Twin has no parent Account, the remaining balance is credited to the administrator who performed the deletion. ## Awarded credits A Digital Twin that does not pool credits can award **welcome credits** to brand-new accounts when they first join. The award comes out of the Digital Twin's own balance (a join is refused if it cannot cover it) and is recorded on the person's membership. > [card] Use cases > > Welcome bonus for new members of a non-pooled Digital Twin, so they can start chatting before purchasing. > [card] Audit > > Each award is timestamped and tied to the membership record, so you can audit who received what and when. Configure the amount with **Credits Awarded to New Users** in the Digital Twin's [Configuration](/mdx/admin-guide/configuration) (visible when Pool Credits is off). For a one-off manual grant to a specific user, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Trial credits and conversion New accounts start with **50 free credits**. They behave like purchased credits and do not expire. > [!NOTE] > > When the balance runs out, the person sees a prompt to add credits. Their account stays active; only chat is gated. Credits bought afterwards land on the same balance and clear the gate at once. If you want to extend a trial for a specific user or Account, the Praxis AI team can issue a one-off bonus. Contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Watching the balance Pria does not email admins when a pooled Digital Twin runs low. Watch the balance under **Instance Settings → Billing** and on the account's **Instances** tab, where the usage bar turns orange above 65% and red above 85%. With **Automatically on low credits**, the Account refills the Digital Twin at 500 credits or fewer, as long as the Account has credits left. ## Reading the audit trail Every credit movement that involves an Account writes a transfer record. Together these form the canonical ledger for your organization's credit movements. | Field | Meaning | | - | - | | **User** | Who triggered the transfer (or who was active when auto-refill fired) | | **Instance** | The Digital Twin involved (blank for an adjustment by the Praxis AI team) | | **Credits** | The effect on the Account's balance (`+` in, `−` out) | | **Mode** | Admin (manual), Auto (automatic top-up), or Deletion (reclaimed when a Digital Twin was deleted) | | **Date** | Timestamp | You can review transfer history in the account's **Credit Transfers** tab. Filter by Digital Twin to investigate a specific Digital Twin's funding history. ## User quotas Beyond pooling and balances, you can cap **how much any single member** is allowed to consume. User quotas protect a shared pool from a runaway user and give each member a predictable budget. There are two per-user caps: > [card] Per-user lifetime > > The maximum credits a single user may consume in this Digital Twin, total. Once reached, that user is blocked until an Admin raises the cap. Leave blank (or `0`) for no cap. > [card] Per-user 24-hour > > The maximum credits a single user may consume in any rolling 24-hour window. This cap **recovers automatically** as recent usage ages out — no Admin action needed. Leave blank (or `0`) for no cap. Quotas count what a member spends from Digital Twins that pool credits (the 24-hour cap adds up their pooled use across all Digital Twins); with **Pool Credits** off, a quota never blocks anyone. ### Account vs. Digital Twin precedence Quotas can be owned at two levels, and the rule is simple — **the Account always wins**: > [accordion] Account owns the quotas > > When the parent Account has credit caps enabled, those caps apply to every Digital Twin under it. The Digital Twin shows the quotas **read-only** — you can see them but not change them. Account-level quotas also include an account-wide cumulative per-user cap that is not available at the Digital Twin level. > [accordion] The Digital Twin configures its own > > When the Account has **not** enabled caps, each Digital Twin can configure its own per-user lifetime and 24-hour quotas. This is the common case for a standalone Digital Twin that wants to budget its members. ### Who can edit and where Any admin with the `institutions.edit` entitlement can set them: * **Instance Settings → Quotas tab** — the in-product panel for a Digital Twin's own Admins. * **Admin → Configuration** (the Digital Twin editor) — the same controls in the management console. When the Account owns the quotas, both surfaces show them read-only with a note explaining that the Account is in charge. ## Per-member consumption To see how much each member of a Digital Twin has actually consumed, open **Admin → Entitlements** — the classic membership list has a **Credit Consumed** column (in the Studio UI, open a membership and look at its **Usage** tab). It counts pooled consumption only. This is the fastest way to spot heavy consumers in a pooled Digital Twin before the balance runs low. ## Related * [Billing & Subscriptions](/mdx/admin-guide/billing) — purchasing credits via Stripe * [Accounts Overview](/mdx/admin-guide/accounts/overview) — Account structure and ownership * [Credits](/mdx/user-guide/credits) — user-facing view of credit usage * [Plans & Credits](/mdx/introduction/plans-and-credits) — package pricing and the credit math # Crafting Digital Twin Instructions Source: https://docs.praxis-ai.com/mdx/admin-guide/digital-twin-instructions A methodology guide for writing effective system instructions that shape your Digital Twin's personality, expertise, and behavior. Creating effective Digital Twin instructions is the single most impactful step in shaping how your Digital Twin behaves, responds, and represents your expertise. The **Digital Twin Instructions** field is the system prompt that governs every conversation, typed or spoken. ## Where to Write Them In **Instance Settings › Personalization**, under **Personality**: * **Persona mode** — the twin always speaks as its character: help and capability questions are answered in its own voice, without platform guides or tool lists. New Digital Twins start with it on; turn it off for a neutral assistant. * **Digital Twin Instructions** — the field itself, with a character count. Select **Save Instructions** when you are done. * **Enable guardrail instructions** — optional rules added right after your instructions in every conversation, for what the twin must always or never do. Select **Save Guardrail** to keep them. * **Configure** — prefer answering questions to a blank page? It walks you through personality and behavior step by step (see [Onboarding Questions](/mdx/admin-guide/onboarding-questions)). The same fields are in the admin editor's **Personalization and AI Models** tab, under **Content & Behavior** — see [Personalization](/mdx/admin-guide/personalization). This guide provides frameworks, best practices, and templates to help you craft instructions that produce authentic, reliable, and valuable interactions. *** ## Framework-Based Approach Two complementary frameworks help structure your instructions: > [tab] CRISPE Framework > > | Letter | Element | Purpose | > | - | - | - | > | **C** | Context | Background information about your role, expertise, and environment | > | **R** | Role | Who the Digital Twin represents and their primary function | > | **I** | Instructions | Clear, specific directions on how to behave and respond | > | **S** | Specifics | Detailed preferences, communication style, and decision-making patterns | > | **P** | Parameters | Boundaries and limitations for the Digital Twin's responses | > | **E** | Examples | Sample responses or scenarios to illustrate expected behavior | > [tab] ALERT Framework > > | Letter | Element | Purpose | > | - | - | - | > | **A** | Action | What actions the Digital Twin should take | > | **L** | Limitations | Clear boundaries on what it should not do | > | **E** | Examples | Concrete examples of desired responses | > | **R** | Role | The Digital Twin's identity and expertise | > | **T** | Tone | Communication style and personality | *** ## Specificity and Clarity > [!TIP] > > The more specific you are, the better your Digital Twin will perform. Vague instructions lead to inconsistent responses. Be explicit about: * **Communication Style** — Formal vs. casual, technical vs. accessible, brief vs. detailed * **Expertise Areas** — List specific domains where the Digital Twin should demonstrate knowledge * **Decision-Making Process** — How the Digital Twin should approach problems and make recommendations * **Personality Traits** — Professional demeanor, humor level, empathy, assertiveness * **Response Structure** — Preferred formats for different types of questions **Example of Specific Instructions:** ``` When answering technical questions, always: 1. Start with a brief, direct answer 2. Provide detailed explanation with examples 3. Include relevant best practices 4. Suggest next steps or related resources 5. Use bullet points for complex information ``` *** ## Content Source Prioritization Establish a clear hierarchy for how the Digital Twin should prioritize information sources: ``` Priority Order for Information Sources: 1. User's uploaded documents and files (RAG material) 2. Specific expertise knowledge relevant to your role 3. General knowledge base 4. External research (when explicitly requested) ``` > [!NOTE] > > Always reference RAG material first when available. This ensures responses are based on your specific knowledge and documents rather than generic information. *** ## Behavioral Guidelines Define how the Digital Twin should handle different situations: * **Question Handling** — How to approach different types of inquiries * **Uncertainty Management** — What to do when information is unclear or unavailable * **Escalation Procedures** — When to suggest human intervention or additional resources * **Follow-up Actions** — How to continue conversations and build on previous interactions **Example Behavioral Instructions:** ``` When faced with ambiguous questions: - Ask clarifying questions before providing answers - Offer multiple interpretations if appropriate - Suggest the most likely intended meaning - Always confirm understanding before proceeding ``` *** ## Domain-Specific Expertise Include relevant specializations to ground the Digital Twin's identity: * **Industry Knowledge** — Specific sectors, regulations, best practices * **Technical Skills** — Software, methodologies, frameworks you're familiar with * **Soft Skills** — Leadership style, communication preferences, problem-solving approach * **Experience Context** — Years of experience, notable projects, key achievements *** ## Interaction Preferences Specify how the Digital Twin should engage with users: * **Question Types** — Preferred formats for receiving information * **Response Length** — When to be concise vs. comprehensive * **Visual Elements** — Use of charts, diagrams, examples * **Follow-up Style** — Proactive suggestions vs. reactive responses *** ## Ethical and Professional Boundaries Establish clear limits: * **Confidentiality** — What information should never be shared * **Professional Standards** — Industry-specific ethical guidelines * **Personal Boundaries** — Topics or approaches to avoid * **Accuracy Requirements** — When to verify information vs. provide general guidance *** ## Continuous Improvement Include adaptation guidelines in your instructions: ``` Learning and Adaptation: - Pay attention to user feedback and adjust responses accordingly - Note frequently asked questions and improve standard responses - Identify knowledge gaps and suggest areas for additional training - Maintain consistency while allowing for natural conversation flow ``` *** ## Starter Template Use this template as a starting point for your Digital Twin instructions. Customize each section to match your specific needs: ```markdown theme={null} ## Role Definition You are [Your Name], a [Your Title] with [X years] of experience in [Industry/Field]. ## Core Expertise - [Expertise Area 1]: [Specific skills and knowledge] - [Expertise Area 2]: [Specific skills and knowledge] - [Expertise Area 3]: [Specific skills and knowledge] ## Communication Style - Tone: [Professional/Casual/Friendly] - Detail Level: [Comprehensive/Concise/Adaptive] - Technical Language: [Industry-appropriate/Accessible/Mixed] ## Response Priorities 1. Always check user documents first (RAG material) 2. Apply [specific methodology/framework] to problem-solving 3. Provide actionable recommendations 4. Include relevant examples from your experience ## Behavioral Guidelines - When uncertain: [specific action] - For complex topics: [specific approach] - For urgent matters: [specific protocol] ``` > [!TIP] > > Test your instructions by asking yourself: "If someone else read these instructions, could they respond as I would in most situations?" *** ## Related * [Personalization](/mdx/admin-guide/personalization) — Configure the Digital Twin identity, images, and prompt * [Assistants](/mdx/admin-guide/assistants) — Create specialized assistant personas that extend the Digital Twin's capabilities * [Onboarding Questions](/mdx/admin-guide/onboarding-questions) — Use onboarding questions to help generate your Digital Twin instructions # Enrollment & Joining Policies Source: https://docs.praxis-ai.com/mdx/admin-guide/enrollment Control who can join your Digital Twin, how they sign up, and whether they can switch between Digital Twins. Every Digital Twin decides who can join it and how. This page covers the joining modes, invitation links and their approval, the no-account guest link, keeping people on one Digital Twin, and what happens when someone signs up. ## Joining policy modes The primary control is the **Allow Joining** mode on the Digital Twin. It has three values, each tuned for a different kind of audience. > [card] Disabled > > Not listed for self-service joining. People get in when an admin adds them, through an invitation link, through single sign-on or through an LMS launch. Use this for private Digital Twins. > [card] Account only > > Users who already belong to another Digital Twin under the same parent Account can join this one. Ideal for a school or organization offering several Digital Twins to its own population. > [card] Everyone (public) > > Any signed-in person can find and join this Digital Twin from their Digital Twin list. Use this for community Digital Twins and open courses. The mode shows under **Allow Joining** in the Digital Twin editor (**Configuration and Integrations → Access & Membership**; Studio UI: **People › Access & Members › Who can join**). It is set by the Praxis AI team — contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to change it. > [!NOTE] > > "Account only" is based on **membership**, not email domain: the Digital Twin is offered to users who already have a membership in another Digital Twin under the same parent Account. A brand-new user with no existing membership gets in via an admin, an invitation link, single sign-on, or an LMS launch. ## Admin-only joining toggle Independent of the joining mode, **Joining Admin Only** hides the Digital Twin from regular users' join options — only administrators can self-join it. It appears once **Allow Joining** is "Account only" or "Everyone (public)". In the Studio UI it is the **Admins approve new members** switch under **Who can join** (despite its name, no approval is involved); in the classic editor it is set by the Praxis AI team. ## Invitation links and approval An admin with `users.add` can invite people with an invitation link (**Instance Settings → Invite**, with a QR code, or **Send invitation by email**). Joins that come through someone's link are held for that person's approval: **1. User follows the invitation link** The candidate signs up or signs in, then accepts the join. Their membership is created as **Pending**. **2. The inviter gets an email** The person who shared the link receives a **Membership Request** email with an **Approve Membership Request** button (it works while they are signed in as themselves). **3. The inviter approves** The membership becomes **Active** and the new member receives a **Joining Request APPROVED** email with a link to start. An admin can also set the membership to **Active** under **Admin → Users → Membership**. ## Guest access without an account For public demos and marketing pages, give the Digital Twin a **Convo Web Access Link** (**Instance Settings → Invite → Guest Access**, or **Realtime / Convo → Convo Web Access Link** in the editor): visitors open `/twins/<slug>` and talk to the Digital Twin without signing up. See [Guest Twin Links](/mdx/integrations/web/guest-links). **Guest UI (Minimum screen)** is something else: it strips the interface down to a chat-only screen for signed-in standard members (no navigation, file management or profile menu; admins are unaffected). Find it under **Personalization and AI Models → UI & Appearance** (Instance Settings → Personalization; Studio UI: **Minimal screen for guests**). ## Preventing switching between Digital Twins By default, a user who belongs to multiple Digital Twins can switch between them from a menu in the UI. For some deployments — branded apps, focused classroom experiences, embedded assistants — you want the user pinned to a single Digital Twin. > [card] Lock users to one Digital Twin > > Enable **Prevent Switching to other Instances** (**Configuration and Integrations → Access & Membership**; Studio UI: **Keep people on this twin**). Standard members of this Digital Twin can no longer switch: their other Digital Twins show as locked, and adding or joining Digital Twins is hidden. Admins can still switch. > [!WARNING] > > This is a per-Digital-Twin setting. If a user belongs to two Digital Twins and only one has the lock enabled, the lock applies only when they are inside that Digital Twin. ## What happens when someone signs up **1. Email verification** Someone who signs up with an email and password gets a one-time activation link; until they click it the account is unactivated and cannot sign in (every sign-in attempt sends a fresh link). Sign-ups through Google, Microsoft, Apple, single sign-on or an LMS launch are active at once, and so are accounts an admin creates. **2. Joining** They join the Digital Twin as described above — by self-service, through an invitation link (held as **Pending** until approved), or because the launch or single sign-on placed them there. **3. In the Digital Twin** They land in the conversation with any welcome credits the Digital Twin awards (see [Credit Allocation](/mdx/admin-guide/credit-management#awarded-credits)). Someone who created a personal account sees a one-time welcome message first. ## Email verification and activation Email-and-password sign-ups need a verified email. The activation email is sent at sign-up and again at every sign-in attempt until the account is activated. > [!NOTE] > > If the activation email is missing, check the person's spam folder, then verify in **Admin → Users** that the email address on file is correct. To let them in without the link, set their **Status** to **active**. ## Contact email auto-promotes to Admin The Digital Twin editor carries a **Contact Emails** list. When a sign-in with one of those addresses first creates the person's membership, they join as an **Admin** with full entitlements — treat that list as the keys to the twin. Through an LMS launch or single sign-on, a new contact address must first confirm with an emailed code. > [card] Why this exists > > It lets the platform bootstrap a brand-new Digital Twin: set the contact email to whoever should own it, hand them the link, and the first time they sign in they get the Admin permissions they need. > [card] What it means in practice > > Anyone who can sign in with one of those addresses becomes an Admin when they first join. > [!WARNING] > > Update **Contact Emails** carefully. An unverified or shared address effectively grants Admin to whoever controls that mailbox. ## LMS launches bypass joining policy Users who arrive via an LMS launch — Canvas, D2L Brightspace, or any other [LMS-supported](/mdx/user-guide/lms/user-auth) tool — **bypass the joining policy entirely**. > [card] Why > > The LMS has already authenticated the user and asserted their identity. Re-asking them to sign up would break the launch flow and confuse students. > [card] Implication > > Even with **Allow Joining: Disabled**, an LMS launch from a configured course creates a membership and grants access. A launch is accepted only from a page whose address is in the Digital Twin's **Public Authorized URLs** — restrict that list and the LMS configuration to limit which courses can launch. > [!NOTE] > > LMS-launched people land directly in the Digital Twin as ordinary members (only the **Contact Emails** rule makes an admin), with no email-verification step. ## Related * [Users](/mdx/admin-guide/users) — managing memberships and roles * [Entitlements](/mdx/admin-guide/entitlements) — granular Admin permissions * [Onboarding Questions](/mdx/admin-guide/onboarding-questions) — what new joiners are asked * [Configuration](/mdx/admin-guide/configuration) — Digital Twin settings reference * [Personalization](/mdx/admin-guide/personalization) — first-run personalization prompts # Entitlements Source: https://docs.praxis-ai.com/mdx/admin-guide/entitlements Manage fine-grained, role-based permissions for admin users across your Digital Twin. > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. The Entitlements tab is your central control panel for managing role-based permissions. It allows you to customize access levels for different admin users, ensuring appropriate system access based on organizational roles and responsibilities. > [!NOTE] > > Entitlements are only available for Admin users. Regular users do not have entitlements. ![Admin Entitlements](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-entitlements.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=dfa243bd88c5edee1051b2f201027ff3) *** ## How Entitlements Work Each thing an admin can do has a name made of two parts: the area, then the action — `assistants.edit` means "change assistants". Before any admin action runs, Pria checks that this person has been given that exact permission on this Digital Twin, through their *membership* (the record that links a person to a Digital Twin). > [!NOTE] > > Entitlements apply to users with the **Admin** account type and control which admin features they can access. ### Account Types | Account Type | Scope | Entitlements | | - | - | - | | **User** | Regular user | Cannot access admin dashboard. No entitlements needed. | | **Admin** | Digital Twin admin | Actions gated by assigned entitlements. Must be a member of a Digital Twin. | > [!WARNING] > > Being marked Admin here is only half the job. The person's account itself must also be set to **Admin** under User Management, and their membership role on the Digital Twin must be Admin. If either one says User, they cannot open the admin dashboard. *** ## Permission Modules Entitlements are organized into **10 modules**, each with up to 4 actions: | Module | Description | Available Actions | | - | - | - | | **Institutions** | Digital Twin settings, branding, integrations, MCP servers, onboarding questions (*Institution* is the API name for a Digital Twin) | list, add, edit, delete | | **Users** | User management, password resets, impersonation | list, add, edit, delete | | **Sessions** | Session tracking and compliance data | list, edit, delete | | **Histories** | Conversation logs, analytics charts, weekly usage | list, add, edit, delete | | **Feedbacks** | User feedback and ratings | list, edit, delete | | **Assistants** | Shared and personal assistant management | list, add, edit, delete | | **AI Models** | Custom AI model configurations | list, add, edit, delete | | **Payments** | Credit purchase and payment records | list | | **SSO** | OAuth 2.0 Single Sign-On provider management | list, add, edit, delete | | **Files** | Digital Twin and account vault file management | list, add, edit, delete | ### Complete Permission Reference There are **35 permission verbs** in total: > [tab] Institutions > > | Permission | Allows | > | - | - | > | `institutions.list` | View the list of Digital Twins and their settings | > | `institutions.add` | Create new Digital Twins, clone existing ones | > | `institutions.edit` | Modify settings, branding, OAuth, MCP servers, manage entitlements | > | `institutions.delete` | Delete Digital Twins | > > > [!NOTE] > > > > `institutions.edit` is the gatekeeper for the Entitlements page itself. A user needs this permission to manage other users' entitlements. > [tab] Users > > | Permission | Allows | > | - | - | > | `users.list` | View user list | > | `users.add` | Create new users | > | `users.edit` | Edit user details, reset passwords, impersonate | > | `users.delete` | Delete users | > [tab] Sessions > > | Permission | Allows | > | - | - | > | `sessions.list` | View session tracking data | > | `sessions.edit` | Modify session records | > | `sessions.delete` | Delete session records | > > > [!NOTE] > > > > There is no `sessions.add` — sessions are created automatically by the system. > [tab] Histories > > | Permission | Allows | > | - | - | > | `histories.list` | View conversation history, weekly charts | > | `histories.add` | Create history records | > | `histories.edit` | Edit history records, release credits | > | `histories.delete` | Delete history records, recover user history | > [tab] Feedbacks > > | Permission | Allows | > | - | - | > | `feedbacks.list` | View user feedback | > | `feedbacks.edit` | Update feedback records | > | `feedbacks.delete` | Delete feedback records | > > > [!NOTE] > > > > There is no `feedbacks.add` — feedbacks are submitted by users, not created manually. > [tab] Assistants > > | Permission | Allows | > | - | - | > | `assistants.list` | View assistant list | > | `assistants.add` | Create new shared assistants | > | `assistants.edit` | Edit assistants, toggle enable/disable | > | `assistants.delete` | Delete assistants | > [tab] AI Models > > | Permission | Allows | > | - | - | > | `aimodels.list` | View AI model configurations | > | `aimodels.add` | Add custom AI models | > | `aimodels.edit` | Edit AI model settings, toggle enable/disable | > | `aimodels.delete` | Delete AI model configurations | > [tab] Payments > > | Permission | Allows | > | - | - | > | `payments.list` | View credit purchase and payment records | > > > [!NOTE] > > > > Payments only supports the `list` action. Payment records are created automatically by the billing system and cannot be manually added, edited, or deleted. > [tab] SSO > > | Permission | Allows | > | - | - | > | `sso.list` | View the list of SSO providers | > | `sso.add` | Create new SSO providers for a Digital Twin | > | `sso.edit` | Modify existing SSO providers, test connectivity | > | `sso.delete` | Delete SSO providers | > > > [!NOTE] > > > > Each Digital Twin can have one SSO provider. See [SSO Providers](/mdx/admin-guide/sso-providers) for configuration details. > [tab] Files > > | Permission | Allows | > | - | - | > | `files.list` | View files in the Digital Twin and account vaults | > | `files.add` | Upload files to the Digital Twin and account vaults | > | `files.edit` | Edit file properties, include/exclude from retrieval, reprocess | > | `files.delete` | Delete files from the Digital Twin and account vaults | > > > [!NOTE] > > > > Files permissions govern an admin's access to **shared** vault content (Digital Twin and account vaults). Users always manage their own personal vault files. *** ## Managing Entitlements ### Inline Editing The Entitlements page provides **inline editing** — all changes are made directly in the list view without navigating to a separate edit page. Each row represents a user's membership in a Digital Twin and displays: * **User email and name** * **Role dropdown** — Change account type (User, Admin) * **Status dropdown** — Change membership status (Active, Pending, Suspended) * **Credit Consumed** — How many credits this member has consumed, so you can spot heavy consumers in a pooled Digital Twin * **Permission checkboxes** — Toggle individual permissions on or off ### Membership Status Enforcement Membership status directly controls whether a user can interact with AI features. The platform enforces status checks on every AI request: | **Status** | **Access** | | - | - | | **Active** | Full access to all AI features — chat, streaming, realtime voice, and tool execution | | **Pending** | Blocked from all AI interactions. The user sees a message to contact their Digital Twin's administrator | | **Suspended** | Blocked from all AI interactions, same as Pending | > [!WARNING] > > Status enforcement is immediate — changing a user's membership status to Pending or Suspended blocks their AI access on the next request. No logout or session refresh is required. Personal accounts (users who belong to no Digital Twin) are not subject to membership status checks. Their access is controlled by their account-level status instead. ### Quick Actions > [accordion] Grant All Permissions > > Use the **"All" checkbox** to toggle all 35 permissions on or off at once. This is useful when granting full admin access to a trusted administrator. > [accordion] Read-Only Preset > > Click the **lock icon** to apply a Read-Only preset. Despite the name, it allows edits everywhere except Digital Twin settings and other people's permissions. It grants: > > * All `.list` permissions (view access to every module) > * All `.edit` permissions **except** `institutions.edit` > > This preset is ideal for teaching assistants or support staff who need to view data and make minor edits but should not manage Digital Twin settings or other people's permissions. > [accordion] Module Filtering > > Use the **Filter** buttons (one per module) to show only the permission columns of the areas you are working on — just Assistants, say, or just Histories. > [accordion] Removing memberships > > The trash icon on a row removes that membership — the person loses access to that Digital Twin. Tick several rows to remove them together; the confirmation shows the count. Removal cannot be undone. ### Filtering Users | Filter | Description | | - | - | | **Account** | Filter by parent Account (useful when an Account has several Digital Twins) | | **Instance** | Filter by a specific Digital Twin | | **Account Type** | Show only Users or Admins | | **User** | Search by email, first name, or last name | The list loads more rows as you scroll. **Columns** chooses what the table shows, and **Export CSV** downloads the list for your current filters. *** ## Account Manager Role The Account Manager role provides scoped access to manage several Digital Twins inside one Account. This role is configured by the Praxis AI team and is separate from the standard entitlement system. > [!NOTE] > > To request Account Manager access for your organization, contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com). *** ## Auto-Granting Entitlements Entitlements can be automatically granted to new admin users under certain conditions: **1. Grant Entitlements to New Admins** When a Digital Twin has **Grant Entitlements to New Admins** enabled, any user who joins with an Admin account type automatically receives all 35 permissions. **2. Contact Email List** Users whose email appears in the Digital Twin's **Contact Emails** list automatically receive full permissions, regardless of the **Grant Entitlements to New Admins** setting. **3. Creating a Digital Twin** When you create or clone a Digital Twin, you automatically receive full permissions for it. *** ## Enrollment The **Enroll** tab (shown on the Entitlements page when a Digital Twin is selected and you hold `users.add`) lists the people who already belong to another Digital Twin of the same account but not yet to this one. Search by name or email, tick the people (or **Select All**), choose the account type and entitlements they get, then select **Enroll Selected**. Useful for onboarding faculty or staff who need admin access. *** ## Common Configurations > [accordion] Teaching Assistant > > Grant selective read access: > > * `histories.list` — View student conversation history > * `feedbacks.list` — View student feedback > * `sessions.list` — View session data > * `assistants.list` — View available assistants > > Do **not** grant `institutions.edit`, `users.edit`, or any `.delete` permissions. > [accordion] Content Manager > > Grant assistant and content management: > > * `assistants.list`, `assistants.add`, `assistants.edit`, `assistants.delete` > * `aimodels.list` > * `histories.list` > > Do **not** grant `institutions.*` or `users.*` permissions. > [accordion] Full Administrator > > Use the **"All" checkbox** to grant all 35 permissions. This gives complete access to all admin functions within the assigned Digital Twin. *** ## Related * [User Management](/mdx/admin-guide/users) — Managing user accounts and account types * [Configuration](/mdx/admin-guide/configuration) — Digital Twin settings that affect entitlements * [Sessions](/mdx/admin-guide/sessions) — Session tracking controlled by session entitlements * [SSO Providers](/mdx/admin-guide/sso-providers) — OAuth 2.0 Single Sign-On configuration (requires SSO entitlements) # Feedback Source: https://docs.praxis-ai.com/mdx/admin-guide/feedback Read, triage, and act on user feedback to improve your Digital Twin. The **Feedbacks** page in the admin console (**Feedbacks List**) is where every user-submitted comment about your Digital Twin shows up. It is the qualitative signal layer on top of [Histories](/mdx/admin-guide/histories) — Histories tells you *what was said*, Feedback tells you *what users thought of it*. ![Admin Feedback Interface](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-feedback.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=addc0cae238ced4a3925835a44809586) ## What feedback collects The Feedbacks page collects **written comments** people submit through the feedback form (**Submit Feedback**; **Send feedback** in the Studio UI). Each feedback row is associated with the submitting user, the Digital Twin, and a timestamp, plus any response you record. > [!NOTE] > > Thumbs up / thumbs down reactions on individual AI responses are a separate, per-message signal — they are stored with the conversation and visible in [Histories](/mdx/admin-guide/histories), not on this page. ## Where to find it Open **Admin → Feedbacks** from the side menu. The page lists every comment for the Digital Twins where you hold `feedbacks.list`, newest first. Each new comment is also emailed to the Digital Twin's **Contact Emails** ("New User Feedback Received", with the sender's address and the text). ## Filtering and sorting The filter bar lets you narrow the list to exactly the feedback you need to act on: * **Instance** — restrict to a single Digital Twin instance * **Account** — when you administer several Digital Twins, scope to a whole account at once * **User search** — by email, first name, or last name * **Column filters** — filter the list in place by Digital Twin, user, or feedback text Filters persist as you scroll so you can review a large window without losing your place. ## Drilling into a feedback row Click the pencil icon on any row (needs `feedbacks.edit`) to open the detail panel. You will see: * **User** — name, email, and account type * **Instance** — the Digital Twin instance the feedback is about * **Submitted** — exact timestamp * **Feedback** — the full text the user submitted, with a one-click copy button * **Response** — a text area for your reply. The person sees it in their own feedback list as **Response from** followed by your Digital Twin's AI name (no email is sent). The **Respondent Email** field next to it is not kept. To read what the user and the Digital Twin actually said around the time of the feedback, filter [Histories](/mdx/admin-guide/histories) to the same user and window. ## Responding to feedback You have several options once you have read a piece of feedback: * **Reach out to the user** — the panel surfaces the user's email so you can reply directly. For sensitive or complex issues, a personal email beats anything automated. * **Record your response** — save your reply on the row; the person sees it the next time they open the feedback form, and your team can see which items have been handled. * **Delete** — removes the comment from the list when it is spam, abusive, or sent by mistake; it cannot be undone from the admin console. When the issue is operational rather than product-level (an outage, an upstream provider failure), escalate to the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Patterns to look for Single complaints are noise. The value of feedback is in **patterns**. Things to watch for: * **Sudden drop in ratings** — a wave of thumbs-down (visible in [Histories](/mdx/admin-guide/histories)) within a few hours usually signals a configuration drift: a new instruction, a model change, or a retrieval source that has gone stale. * **Same complaint, multiple users** — three users in a day all reporting "it forgot what we were talking about" is a memory or compaction signal, not three coincidences. * **Model regression** — if you switched the Digital Twin's model recently and negative ratings climbed afterwards, the rollback is your first move. * **Prompt drift** — when the Digital Twin starts answering off-topic, the [Instructions](/mdx/admin-guide/configuration) field is the place to look; small edits sometimes have outsized behavioural effects. * **Topic clusters** — if multiple users complain about the same subject (a specific course, policy, or feature), feed that back into your [Onboarding Questions](/mdx/admin-guide/onboarding-questions) or [Assistants](/mdx/admin-guide/assistants). ## Using feedback to refine Instructions and Assistants Feedback is most valuable when it changes behaviour. Two tight loops: 1. **Instructions tuning** — when feedback consistently shows the Digital Twin missing a constraint ("don't recommend third-party tools", "always cite the source"), add a line to the **Instructions** field in [Configuration](/mdx/admin-guide/configuration). Re-test with a fresh conversation. 2. **Assistant scope refinement** — if users keep complaining that the wrong assistant answered their question, tighten the assistant's description so Pria is more likely to pick the right one. See [Assistants](/mdx/admin-guide/assistants). Tie each change back to the feedback that prompted it (commit notes, a shared doc) so you can measure whether the next week of feedback improves. ## Privacy considerations Feedback rows always include the submitting user — there is no anonymous channel inside Pria today. Consider the following when reviewing: * **Treat comments as personal data.** FERPA / GDPR principles apply: don't paste raw feedback into public channels. * **Identified by default.** Feedback carries the sender's account; they should expect a human to read it. * **Consent for outreach.** If you plan to email a user about their feedback, it is courteous to keep the reply scoped to the issue they raised. * **Scope.** You see feedback for the Digital Twins where you hold `feedbacks.list`; the **Account** filter narrows to one account's Digital Twins. ## Bulk export for analysis For longitudinal analysis, use **CSV** (the loaded rows with the visible columns) or **Export all** (the whole filtered list, emailed to you as a download link). The export includes the comment, any recorded response, the person's name and email, the Digital Twin, and the date. Common downstream uses: * Pivot tables in a spreadsheet (positive vs negative split by week) * Sentiment classification in your analytics pipeline * Sharing a redacted slice with the product team during weekly reviews For richer analyses (linking feedback to retrieval sources, joining across several Digital Twins, slicing by model version), open conversations directly in [Histories](/mdx/admin-guide/histories) and use its export there. ## Related * [Histories](/mdx/admin-guide/histories) — the conversations around the time of a comment (a feedback row is not linked to a conversation) * [Sessions](/mdx/admin-guide/sessions) — who was active when the feedback arrived * [Configuration](/mdx/admin-guide/configuration) — where you tune the Instructions feedback most often calls out * [Assistants](/mdx/admin-guide/assistants) — refining assistant scope based on feedback patterns * [Entitlements](/mdx/admin-guide/entitlements) — the `feedbacks.list`, `feedbacks.edit`, and `feedbacks.delete` permissions that gate this page # Google Workspace Source: https://docs.praxis-ai.com/mdx/admin-guide/google-workspace Connect Google Workspace to a Digital Twin so it can work with Gmail, Drive, Calendar, Meet, Sheets, Docs, Slides, Classroom and Maps — for each person, or through one account for the whole twin. Google Workspace lets a Digital Twin reach into Gmail, Drive, Calendar and the other Google services on behalf of the people who use it. You set it up per Digital Twin in the admin editor's **Configuration and Integrations** tab (**Admin › Instances › Edit**), in the **Google** section. > [!NOTE] > > Any administrator who may edit the Digital Twin (the `institutions.edit` entitlement) can set it up — no help from the Praxis AI team needed. ## Services and permissions Tick the Google services the twin may use. Each one asks Google only for the permissions it needs: | Service | What the twin can do | Permissions asked of Google | | - | - | - | | **Gmail** | Search and read mail, send mail | Read mail; send mail | | **Google Drive** | Find and read files, import them into the IP Vault | Read files and their details | | **Google Calendar** | Read calendars; create, change and delete events | Read calendars; manage events | | **Google Meet** | Recordings and transcripts of past meetings | Read meeting spaces and Meet recordings. Needs **Google Calendar** | | **Google Sheets** | Read spreadsheets | Read spreadsheets. Needs **Google Drive** | | **Google Docs** | Read documents | Read documents. Needs **Google Drive** | | **Google Slides** | Read presentations | Read presentations. Needs **Google Drive** | | **Google Classroom** | Courses, the person's coursework and submissions, announcements — read only | Read courses; read coursework; read submissions; read announcements | | **Google Maps** | Place and address lookups | None — it uses a key set by Praxis AI, not Google sign-in | A service that needs another brings that one with it: ticking Google Sheets also asks for Google Drive, and Google Meet also asks for Google Calendar. ### What counts as connected A Google service counts as connected only when **every** permission it needs was allowed at Google. If a permission was skipped, that service's tools are not offered — a Digital Twin connected only for Google Meet, for example, gets no Google Drive tools. To add a service later, connect Google again with it ticked. If Google Classroom was connected before it asked for coursework access, connect again. ## Two ways to connect > [tab] Each person connects their own account (default) > > With **Use Digital Twin identity** off, each person connects their own Google account from their profile — see [Google Services](/mdx/user-guide/profile-settings/google-services). The twin acts on that person's data only. > [tab] One shared account for the whole Digital Twin > > Turn on **Use Digital Twin identity** and select **Connect Google Account**: everyone reaches Google through that one account, which an administrator authorizes once. Use it when the twin should work with your organization's own mailbox, drive or calendar rather than each person's — a department's shared drive or calendar, for example — or when people should not have to go through Google's consent screen themselves. **1. Open the Google section** **Admin › Instances**, select **Edit** on the Digital Twin, open **Configuration and Integrations** and scroll to **Google**. **2. Turn on Enable Access** **Enable Access** makes Google available in this Digital Twin. While it is off, members are not offered Google tools, even with their own Google account connected. **3. Choose how people connect** Leave **Use Digital Twin identity** off, or turn it on for a shared account. **4. Tick the services** Tick the services the twin should use. With a shared account, Drive, Sheets, Docs, Slides, Meet and Classroom are read-only; Gmail can also send email and Calendar can also change events, so include those two deliberately. **5. Connect (shared account only)** Select **Connect Google Account** and accept the permissions on Google's consent screen. The section then shows the connected email address and the last token refresh; tokens refresh on their own. **Disconnect** revokes the authorization and clears the saved credentials. A save keeps only the switches you changed, so two administrators editing at once do not undo each other, and after **Disconnect** the section shows the service's real state. > [!WARNING] > > A connected shared account takes precedence over any personal Google account a person connected — everyone goes through the shared account. The service list is locked while the shared account is connected: to change it, disconnect and connect again. ## Permissions to approve in Google Workspace Pria is a Google-verified app and has completed Google's Cloud Application Security Assessment (CASA) for the Google data it uses. If your Google Workspace administrator must approve Pria before people can connect, these are the permissions it asks for. Every connection asks for `openid`, `profile` and `email`, plus the scopes of the services selected (all under `https://www.googleapis.com/auth/`): | Service | Scopes | | - | - | | Gmail | `gmail.readonly`, `gmail.send` | | Google Drive | `drive.readonly`, `drive.metadata.readonly` | | Google Calendar | `calendar.readonly`, `calendar.events` | | Google Meet | `meetings.space.readonly`, `drive.meet.readonly` | | Google Sheets | `spreadsheets.readonly` | | Google Docs | `documents.readonly` | | Google Slides | `presentations.readonly` | | Google Classroom | `classroom.courses.readonly`, `classroom.coursework.me.readonly`, `classroom.student-submissions.me.readonly`, `classroom.announcements.readonly` | Google Maps asks for no Google permission. ## Troubleshooting > [accordion] People don't see Google tools > > * Check that **Enable Access** is on for the Digital Twin. > * With a shared account, check that the service was ticked when the account was connected. > * Without one, each person must connect their own Google account and allow every permission of the service — see [Google Services](/mdx/user-guide/profile-settings/google-services). > [accordion] A shared connection stops working after a while > > Google may have revoked or expired the authorization. Select **Disconnect**, then **Connect Google Account** again: the new consent gives the twin fresh access. ## Related * [Google Services (user guide)](/mdx/user-guide/profile-settings/google-services) — how people connect their own accounts * [Microsoft 365](/mdx/admin-guide/microsoft-365) — the same setup for Microsoft * [Configuration](/mdx/admin-guide/configuration) — the rest of the Digital Twin editor * [Tools](/mdx/admin-guide/tools) — the tools that act on connected services # Histories Source: https://docs.praxis-ai.com/mdx/admin-guide/histories Inspect every conversation users have had with your Digital Twin — for audit, debugging, compliance, and analytics. The **Histories** page is the complete log of every conversation users have had with your Digital Twin. It is what you reach for when answering questions like "What did the model actually say to this student?", "Why are we burning more tokens this week than last?", or "Show me every conversation that touched topic X." ![Admin Histories](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-histories.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=de338b33d5e8c3e5ebf801b8638a9812) ## Overview Every user message, every Pria response, every tool call, and every retrieval source used to ground a response is captured as a **History** record. Records are tied to the user, the Digital Twin, the [assistant](/mdx/admin-guide/assistants) (when one was used), the model that produced the response, and a timestamp. Together they form a conversation log (after 180 days a turn's tool calls, retrieved passages and reasoning are removed; the conversation itself, models, tokens and credits stay) that powers: * **Audit** — answer "who said what, when" for FERPA / GDPR access requests * **Debugging** — reproduce a bad response by reading the exact context the model received * **Analytics** — top users, most-frequent topics, model splits, error patterns * **Quality work** — combined with [Feedback](/mdx/admin-guide/feedback), histories close the loop on what to improve ## Filtering and search The filter bar at the top narrows the list. All filters compose; selections persist across pagination so you can sweep a large window without losing your place. | Filter | Description | | - | - | | **Instance Selector** | Show conversations for one Digital Twin | | **Account** | When you administer several Digital Twins, scope to a whole account at once | | **User Search** | Find conversations for a person by name or email — or paste a user, conversation or record id | | **Account Type** | Show conversations of people whose account type is **User** or **Admin** (the account-wide type, not their role in the Digital Twin) | | **Course** | Matches the conversation's name (not the LMS course shown in the **Course** column) | | **Date Range** | The period you are investigating (the last month by default) | | **Show user-deleted** | Include conversations the user has deleted from their own view | On top of the toolbar filters, most columns on the Records table have their own filter box — **Assistant**, **Course**, the **Input** / **Output** columns and more (not **Vote**, which you can sort). Column filters search only the rows loaded so far (100 at a time; scroll for more), so they narrow a list rather than find every conversation on a topic. Use the **Columns** button to show or hide columns; ticking **Details** adds **Duration**, **Credits**, **Tokens**, **Discount**, **Model**, **Tools**, **Budget** and **Claims**. **Budget** says why a tool-heavy answer stopped early (for example "Cut off after 20/20 tool calls") and **Claims** flags replies that state an action no tool performed, so you can review them; both have filter boxes of their own. Combining filters is where the page earns its keep: "all conversations on Digital Twin X over the last 7 days", sorted by **Vote**, is a quick list of regression candidates. ## Drilling into a conversation Click the green pencil button on any row (needs `histories.edit`) to open the **View History** viewer: ![Admin Histories Edit](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-histories-edit.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=27556bebd4fe79ab4d6e6ef608e1a292) The viewer shows the full message thread end-to-end: * **User turns** — exactly what the user typed (or said, in voice mode) * **AI responses** — the model's reply, including any in-line citations * **Tool calls** — when the model used a tool (web search, image generation, etc.), the call and its result are shown inline while the Digital Twin's **Display Tools Details** setting is on * **Retrieval sources** — when grounding was used, the files and the passages that scored highest are listed (while **Display RAG/KAG Search Details** is on) * **Model metadata** — which model produced each response and the token counts For voice conversations, the transcript is captured in text form so the conversation viewer remains a single, searchable surface across all modes. In a conversation several people share (a Google Chat thread, say), the admin viewer lists every message under the conversation's owner; open the **Secure Link** view to see each person's name next to their messages. ## Summarize Pria can summarize the questions people asked into key discussion points, prevalent topics and engagement patterns. Select the Digital Twin, narrow the date range, then click **Summarize** in the Records toolbar; it reads the 100 most recent matching records and opens the **AI Summary** panel, where you can ask a **Follow-up Question** or **Print**. ![Admin Histories Summarize](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-histories-summarize.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=0de0e2c05e19431d19cb60a08e3e202b) The summary surfaces: * The most-discussed topics across the selected window * Common questions that recurred across users, and outliers * Profanity or offensive content, with who sent it * Usage and engagement tables (the top users) Only the questions are summarized, never the answers. ![Admin Histories Summary](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-histories-summary.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=dcff647dcc94908a33f83af081f56c79) Use this regularly (weekly is a good cadence) to spot drift early — a topic that keeps recurring is often a sign that the [Instructions](/mdx/admin-guide/configuration) or [Files](/mdx/admin-guide/knowledge-rag-config) need an addition. ## Usage and Charts Two companion tabs give quantitative cuts on the same underlying data: * **Usage** — a consumption table per Digital Twin (credits, duration, tokens, queries), broken down further with **Show Courses** or **Show Users**, with its own column selection and CSV export; below it, a **Peak Usage Hours** heatmap and a model-distribution chart * **Charts** — a timeline of tokens, queries, credits or users per Digital Twin, combined or compared, by month, week, day or hour; plus **Subagent efficiency** for the last 31 days ![Admin Histories Metrics](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-histories-metrics.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=24241f4f63a4af484b9bc308e9c0881b) * **Filter by date range** to compare week-over-week or term-over-term * **Drill into a single user** to understand individual engagement * **Export to CSV** for sharing in slide decks or external reports ## Exporting Two flavours of export, each useful for a different purpose: * **Single conversation** — from the conversation viewer, copy the full dialogue (or a link to it) to the clipboard. Best for sharing one specific exchange with a colleague or attaching to an incident ticket. * **Bulk export** — **CSV** downloads the loaded rows with the columns you have visible; **Export all** prepares the whole filtered list on the server and emails you a download link. Best for spreadsheets and downstream analytics pipelines. For very large exports across several Digital Twins, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request a database-level dump. ## Compaction Long conversations would otherwise grow without bound and burn tokens on every turn re-sending the entire history. Pria addresses this with **compaction**: * Once a conversation grows past a threshold, an LLM summarizes the older turns into a compact representation * Subsequent turns send the compact summary plus the most recent messages, instead of the entire raw transcript * The **original messages are retained** in the Histories database — compaction is a token-saving runtime optimization, not a retention policy * The compacted summary is cached per conversation so the work isn't redone every turn; the Digital Twin's **Compact History** setting turns compaction off The conversation viewer always shows the original turns — compaction only changes what is sent to the model at runtime, so auditors and FERPA requests always see the raw conversation, never just the summary. The compaction cache itself is purged after 30 days of inactivity, so a conversation reopened months later will be re-compacted on its next active turn. The underlying messages remain intact. ## Privacy and retention Histories contain personal information by their nature — user identity, what they asked, what they were told. * **Encrypted at rest.** Database storage is encrypted; access is governed by Pria's authentication and entitlement layers. * **Admin-only access.** `histories.list` shows the list, `histories.edit` opens a conversation, and `histories.delete` deletes records. * **FERPA considerations.** When your Digital Twin operates in an educational context, treat histories as covered educational records — restrict admin entitlements accordingly, and use the export to satisfy student access requests. * **GDPR right-to-access.** Filter to the user's email, export, and deliver. The export is the lawful response. * **Right-to-erasure.** Deleting a record removes it from the admin pages and from the person's own history. For hard deletion of conversations to fulfil a confirmed erasure request, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). Retention windows vary by deployment — see your published [Privacy & Educational Consent](/mdx/introduction/privacy-edu-consent) policy. ## Using histories for audit Two common audit flows: 1. **FERPA / GDPR access request.** Filter by the user's email, widen the date range (it starts at the last month), export with **Export all**, and deliver. The export is itself the access response. 2. **Incident review.** When a user reports that the Digital Twin said something incorrect or harmful, get the timestamp from the user, filter by user + time window, and open the exact conversation. The viewer shows the model, the retrieval sources, and any tool calls — enough to reproduce and root-cause. > [!NOTE] > > For **security** incidents — misuse attempts, suspicious behaviour patterns — Pria surfaces them automatically in [Praxis Shield](/mdx/admin-guide/praxis-shield), where you can triage by severity and status. Histories remains the place to read the full surrounding conversation. Keep an internal log of audit access (date, requester, scope) so the audit trail itself is auditable. ## Common queries A few combinations you'll reach for repeatedly: * **Top users this week** — the **Usage** tab with **Show Users**, sorted by **Queries** * **Most-frequent topics** — combine the Summarize action with a tight date range * **Model split** — the model-distribution chart at the bottom of **Usage** * **Error patterns** — filter the loaded rows' **Output** column for "I don't know", "I can't help" or "I'm not sure" to find places the Digital Twin punted; correlate with the [Files](/mdx/admin-guide/knowledge-rag-config) it should have grounded against ## Linking to Feedback for the qualitative view [Histories](/mdx/admin-guide/histories) tells you *what was said*. [Feedback](/mdx/admin-guide/feedback) tells you *what the user thought of it*. A History row shows its thumbs rating in the **Vote** column; a Feedback comment is not linked to a conversation, so match them by person and time. Use them together — a thumbs-down with a comment plus the surrounding conversation gives you the full story. ## Related * [Feedback](/mdx/admin-guide/feedback) — the qualitative companion to this quantitative log * [Sessions](/mdx/admin-guide/sessions) — who was signed in when a conversation happened * [Moderation](/mdx/admin-guide/moderation) — content moderation policies that may have intercepted parts of a conversation * [Praxis Shield](/mdx/admin-guide/praxis-shield) — automatic security-incident detection and triage across conversations * [Privacy & Educational Consent](/mdx/introduction/privacy-edu-consent) — retention windows and access policies * [Configuration](/mdx/admin-guide/configuration) — the Instructions and model settings that shaped every history record * [Assistants](/mdx/admin-guide/assistants) — assistant routing visible in the conversation viewer * [Files](/mdx/admin-guide/knowledge-rag-config) — the source files that retrieval pulled from * [Entitlements](/mdx/admin-guide/entitlements) — `histories.list` / `histories.delete` permissions # Admin Guide Source: https://docs.praxis-ai.com/mdx/admin-guide/introduction Configure and manage your Digital Twins, users, AI models, tools, and organization-wide settings. > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. Welcome to the **Admin Guide**! This section covers everything an administrator needs to set up, customise, and run Digital Twins for an organisation. New to the vocabulary? The [glossary](/mdx/introduction/glossary) defines every term used here. **Your first hour, in five steps:** give your Digital Twin its name and instructions ([Configuration](/mdx/admin-guide/configuration)), choose the AI model that answers ([AI Models](/mdx/admin-guide/ai-models)), make it look like yours ([Personalization](/mdx/admin-guide/personalization)), invite your people ([Users](/mdx/admin-guide/users)), and switch on the tools it may use ([Tools](/mdx/admin-guide/tools)) — and your people can start talking to it. ## Quick Access > [!TIP] > > **Twin admins start here:** the **Instance Settings** panel — opened from **\[+] → Settings** in any conversation — holds a Digital Twin's day-to-day settings on one screen per area: General, Personalization, Conversation, Voice, Knowledge, Tools, Assistants, Subagents, Connectors, Quotas, Invite, Integration (the Integration Wizard) and Billing. See [Instance Settings](/mdx/user-guide/profile-settings/instance-settings). > [card] [Instance Settings panel](/mdx/user-guide/profile-settings/instance-settings) > > The twin admin's settings, screen by screen — including the Integration Wizard and Billing. > [card] [Account & Billing](/mdx/admin-guide/accounts/overview) > > Manage accounts, credits, billing, and organisations with several Digital Twins. > [card] [Full Digital Twin editor](/mdx/admin-guide/configuration) > > Every field of a Digital Twin in the admin console: core settings, prompts, branding, onboarding, and SSO. > [card] [AI & Models](/mdx/admin-guide/ai-models) > > Select and configure the AI models, RAG, voice, and moderation. > [card] [Assistants & Prompts](/mdx/admin-guide/assistants) > > Manage organization-wide assistants and prompt variables. > [card] [Tools & Connectors](/mdx/admin-guide/tools) > > Configure AI tools, agents, connectors, MCP servers, and cloud services. > [card] [Users & Access](/mdx/admin-guide/users) > > Manage users, entitlements, roles, and multi-factor authentication. > [card] [Analytics & Monitoring](/mdx/admin-guide/histories) > > Track conversations, sessions, feedback, and Praxis Shield incidents. > [card] [Legal & Compliance](/mdx/introduction/privacy-edu-consent) > > Review privacy, education consent, and WCAG accessibility compliance. ## Integrations Install Pria in your LMS, embed your Digital Twin in a website, or connect it to voice and AI tools. These guides live in the **Developer** tab; the shortcuts below take you straight to them. > [card] [LTI 1.3 for Canvas](/mdx/integrations/canvas/lti-1-3) > > Install Pria in Canvas from the Canvas Apps Discover page (or with Dynamic Registration or a Developer Key), then place it in courses. > [card] [D2L Brightspace](/mdx/integrations/d2l/introduction) > > Install Pria in Brightspace as an LTI Advantage tool. > [card] [Moodle](/mdx/integrations/moodle/introduction) > > Install Pria in Moodle as an LTI Advantage 1.3 tool. > [card] [Blackboard Learn](/mdx/integrations/blackboard/introduction) > > Install Pria in Blackboard Learn as an LTI Advantage 1.3 tool. > [card] [JavaScript SDK](/mdx/sdk/javascript) > > Talk to your Digital Twin from any web application. > [card] [Web & Chat Integrations](/mdx/integrations/web/introduction) > > Embed your Digital Twin in any website, with guest links and the avatar widget. > [card] [Chat Completions API](/mdx/integrations/chat-completions/introduction) > > Connect to any Digital Twin with the OpenAI SDK. > [card] [Voice & Avatars](/mdx/integrations/voice-providers/overview) > > Compare the realtime voice and avatar providers Pria supports. > [card] [MCP Server](/mdx/integrations/mcp/introduction) > > Use Pria as an MCP server for your AI tools, or connect Pria to other MCP servers. Building your own integration? Start with the [Developer overview](/mdx/integrations/overview); the REST API reference and authentication follow it in the **Developer** tab. *** ## Administration Sections Every page in the Admin Guide, grouped exactly as it appears in the sidebar. > [accordion] Account & Billing > > Accounts with several Digital Twins, credits, and payment: > > * [Accounts](/mdx/admin-guide/accounts/overview) - Account concepts, list view, and how credits flow > * [Managing Accounts](/mdx/admin-guide/accounts/managing-accounts) - Settings, shared integrations, Digital Twins, and credit transfers > * [Billing & Subscriptions](/mdx/admin-guide/billing) - Purchase credits, manage subscriptions, retrieve receipts > * [Credit Allocation & Transfers](/mdx/admin-guide/credit-management) - How credits move between your organisation's Account, each Digital Twin, and individual people — pooling, transfers, auto top-up > [accordion] Instance Settings > > Configure a Digital Twin: > > * [Configuration and Integrations](/mdx/admin-guide/configuration) - A map of the whole Digital Twin editor, tab by tab > * [Personalization](/mdx/admin-guide/personalization) - Identity, appearance, behavior, and model assignments > * [Crafting Digital Twin Instructions](/mdx/admin-guide/digital-twin-instructions) - How to write system instructions that shape the twin's personality and expertise > * [Onboarding Questions](/mdx/admin-guide/onboarding-questions) - The guided first-run interview that personalizes each twin > * [UI Customization](/mdx/admin-guide/ui-customization) - Customize the interface with CSS classes > * [Branding & Public URLs](/mdx/admin-guide/branding-and-domains) - Your organization's look, and the authorized launch URLs > * [Enrollment & Joining Policies](/mdx/admin-guide/enrollment) - Who can join, how they sign up, whether they can switch to other Digital Twins > * [SSO Providers](/mdx/admin-guide/sso-providers) - OAuth 2.0 single sign-on and automatic enrollment > [accordion] AI & Models > > What powers the twin's answers: > > * [AI Models](/mdx/admin-guide/ai-models) - The models Pria provides, how to plug in a model you host yourself, and how hard the model thinks before answering > * [Platform Models & Providers](/mdx/admin-guide/platform-models) - The full catalog across Bedrock, OpenAI, Anthropic, Google, xAI, and more > * [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config) - How files are cut up and searched, the knowledge graph, and who may upload > * [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice) - Convo Mode — voice providers, voices, avatars, and who may talk > * [Content Moderation](/mdx/admin-guide/moderation) - Filter unsafe content from conversations > * [Memory Parameters & Act As](/mdx/admin-guide/memory-and-impersonation) - What Pria remembers about each person, and how to see the product as one of your users when helping them > [accordion] Assistants & Prompts > > Specialized behavior on top of the twin: > > * [Assistants](/mdx/admin-guide/assistants) - Create, manage, and share assistants with their own knowledge and skills > * [Variables](/mdx/admin-guide/variables) - Externalize sensitive values and reuse assistant configurations > [accordion] Tools & Connectors > > Extend what the twin can actually do: > > * [Tools Reference](/mdx/admin-guide/tools) - Every tool available to your Digital Twin > * [Agents](/mdx/admin-guide/agents) - Give the twin its own workspace for long-running work, scheduled tasks, and approvals > * [Meeting Agent](/mdx/admin-guide/meeting-agent) - Send the twin into a Zoom, Meet, or Teams call as a participant > * [Connector MCP](/mdx/admin-guide/connectors) - Connect to remote MCP servers > * [MCP Servers](/mdx/admin-guide/mcp-servers) - External MCP tools and data sources, inbound and outbound > * [Google](/mdx/admin-guide/google-workspace) - Connect the twin to Gmail, Drive, Calendar, Meet, Classroom and the other Google Workspace services > * [Microsoft](/mdx/admin-guide/microsoft-365) - Connect the twin to OneDrive, SharePoint, Outlook and Office files > [accordion] Users & Access > > Who can reach your Digital Twin, and with what rights: > > * [Users](/mdx/admin-guide/users) - Search, edit, bulk import, and review memberships and credits > * [Entitlements](/mdx/admin-guide/entitlements) - Fine-grained, role-based permissions for admins > * [Multi-Factor Authentication](/mdx/admin-guide/mfa) - Email codes, authenticator apps, and backup codes > [accordion] Analytics & Monitoring > > Usage, safety, and what people are telling you: > > * [Histories](/mdx/admin-guide/histories) - Every conversation, for audit, debugging, compliance, and analytics > * [Sessions](/mdx/admin-guide/sessions) - Who is signed in, from where, and on what device > * [Praxis Shield](/mdx/admin-guide/praxis-shield) - Detect and triage security incidents in AI conversations > * [Feedback](/mdx/admin-guide/feedback) - Read, triage, and act on user feedback *** ## Common Admin Tasks **1. Set up your Digital Twin** Start with [Configuration](/mdx/admin-guide/configuration) to set up the name, instructions, and basic behaviours. **2. Select AI Models** Choose which [AI Models](/mdx/admin-guide/ai-models) power your Digital Twin based on your use case. **3. Customize Branding** Apply your organization's look and feel via [Personalization](/mdx/admin-guide/personalization). **4. Add Users** Invite team members and set permissions in [User Management](/mdx/admin-guide/users). **5. Set Up Tools** Enable advanced capabilities with [Tools](/mdx/admin-guide/tools) and MCP servers. *** ## Need Help? > [card] [FAQ](/mdx/introduction/faq) > > Find answers to common administrative questions. > [card] [Contact Support](/mdx/contact-support) > > Get help from our team for complex configurations. # Knowledge & RAG Configuration Source: https://docs.praxis-ai.com/mdx/admin-guide/knowledge-rag-config Tune how your Digital Twin searches uploaded files — retrieval modes, the knowledge graph (KAG), chunking, search depth and upload rules. Every Digital Twin has a knowledge layer: the files people upload, indexed so the right passages can be found and handed to the AI when it answers. This page explains each setting that shapes it. You find these settings in two places: * **Instance Settings › Knowledge** — sections **Personal Files and Memory**, **Ingestion** and **Retrieval**. **Display RAG/KAG Search Details** is under **Instance Settings › Conversation › Display Details**. * The admin editor's **RAG and Files** tab (**Admin › Instances › Edit**), which also holds **Chunk Overlap (%)** and the upload rules. For what people see in chat, see [Knowledge Modes](/mdx/user-guide/interface/knowledge-modes). ## How Pria searches files Each person chooses how Pria uses files when they ask a question. There is no Digital Twin-wide default mode: the choice belongs to the person. > [accordion] RAG + KAG Fusion (the default where a knowledge graph exists) > > Runs the ordinary search **and** a search over the knowledge graph, then merges the two result lists. It finds connections the ordinary search alone misses ("Who reports to whom?", "Which course covers which topic?"). When the vault in use has a knowledge graph, every question uses it unless the person chose **RAG**. > [accordion] RAG > > Each question searches the files in scope by meaning, and the best-matching passages go to the AI with the question. This is the only search mode where no knowledge graph is available. > [accordion] Search Only > > A switch that works with either mode above. Pria returns the matching passages as they are, with citations, and no AI-written answer. > [accordion] Disabled > > No file search. The AI answers from its training and the conversation alone. People change their mode in the chat's **Knowledge → File Vault** menu, in **Your Profile › Knowledge**, or in **Settings › Knowledge** in the Studio UI. Wherever a knowledge graph is available, all three choices are offered: **Disabled**, **RAG** and **RAG + KAG Fusion**. Pria keeps a person's choice: turning **Search Only** on or off, or turning retrieval off and on again, does not change it. An administrator can set a person's mode in **Admin › Users › Edit › Knowledge** under **Retrieval Mode** (**Disabled**, **RAG Only** or **RAG + KAG Fusion**). Saving that form changes only the settings you edited. ## KAG Fusion **KAG** (the knowledge graph) picks out the people, places, things and ideas each file mentions, and how they relate, and stores that map (a *knowledge graph*) beside the ordinary index. A question then searches the graph and the ordinary index together and merges the results. > [!NOTE] > > KAG never runs alone. The ordinary search always runs; KAG adds a second search whose results are merged in. There is no "KAG only" mode. ### Turn it on | Vault | Where | Who | | - | - | - | | A person's own files | **Enable KAG Fusion for my files** — the first setting under **Sources** in **Your Profile › Knowledge** (Studio UI: **Settings › Knowledge**), or **Enable KAG for Personal Vault** in the chat's **Knowledge → File Vault** menu | The person. New accounts start with it on. Turning it on also switches the person to **RAG + KAG Fusion**. | | A person's own files, set by an admin | **Admin › Users › Edit › Knowledge › Enable KAG Mode for personal vault** | Admins who may edit the user | | The Digital Twin's files | **Instance Settings › Knowledge › Ingestion › Enable KAG Fusion for your Digital Twin** | Any admin who may edit the Digital Twin | The Digital Twin switch also depends on the twin's account. The note under the switch tells you which case applies: | Note under the switch | What it means | | - | - | | "Enabled for all Digital Twins by your account — this can't be turned off here." | The account turns KAG on for every Digital Twin. This is the setting for new accounts. | | "Your account lets each Digital Twin choose its own KAG Fusion setting." | You decide for this Digital Twin. | | "Your account manages KAG Fusion centrally and hasn't enabled per-Digital-Twin control, so it can't be changed here." | KAG stays off for this Digital Twin. | To change the account's setting, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ### Add the files you already have New uploads join the graph automatically. Files uploaded before KAG was on do not. While KAG is on, a panel under the switch says how many files are not in the graph yet, with an estimate of the segments and tokens to process. Select **Add existing files** to process them; a progress bar shows the work, and **Stop** cancels it. Building the graph is an extra processing pass over every file, so it uses more credits than plain indexing. In return it answers questions that thread through several documents better. The AI model that builds the graph is chosen by Praxis AI; it is not a Digital Twin setting. ### Entity match strictness In the admin editor's **RAG and Files** tab, **Entity match strictness (%)** (40–75%, default 45%) sets how closely a question must match a topic's name before the knowledge graph adds that topic's related facts. Higher is stricter and more precise; lower is broader. Leave it at the default to follow the platform setting. ## Chunk handling When a file is uploaded, Pria cuts it into overlapping passages (*chunks*) before indexing. These settings apply to files uploaded after you save; existing files keep their chunks until they are processed again. | Setting | Default | What it does | | - | - | - | | **Chunk Size (Search & Knowledge Graph)** | Precise (2000 characters) | Presets: **Granular** (1000), **Precise** (2000), **Balanced** (4000), **Broad** (6000). Smaller chunks give precise, fact-level matches and a denser knowledge graph; larger chunks keep more context. | | **Chunk Overlap (%)** | 20% (5–30%) | How much each chunk overlaps its neighbour, so a sentence cut in two can still be found. Too much overlap repeats content and hurts search. Admin editor only. | | **Chunk keyword enrichment** | On | Tags each chunk with keywords that place it in its document. Helps when a question does not use the document's own words. Off = faster processing, slightly weaker search. | | **Sanitize chunks** | On | A small AI pass cleans each chunk (boilerplate, broken line breaks, scanning errors). Turn off only for clean text when you want the fastest processing. | ## Retrieval These settings apply to every conversation as soon as you save. | Setting | Default | What it does | | - | - | - | | **Number of Relevant Articles** (admin editor: **Max. Number of relevant articles**) | 2 (1–15) | How many passages go to the AI with each question. More passages give the AI more of your material, but cost more tokens and can bring in loosely related text. Raise it for research twins; keep it low for quick, chatty ones. In a person's own space, their own **Number of Relevant Articles** in **Your Profile › Knowledge** applies instead (also 2). | | **Document Search Affinity (%)** | 45% | The minimum match score. Passages that match the question less well are dropped. Raise it (55% or more) for fewer, more on-topic passages; lower it (around 30%) when the file set is small and you want every related passage considered. If the twin refuses fair questions, lower it; if it wanders off-topic, raise it. | | **Files searched per question** (admin editor: **Max. Files In Vault**) | 300 | The most files one answer can draw on. Files are taken newest first, so when more files are included in search than this number, the oldest are never searched. This is a search limit, not a storage limit. Instance Settings offers 10 to 2000; the admin editor 100 to 1000. | ## Showing sources **Display RAG/KAG Search Details** (on by default) shows the file passages each answer used — file name, relevance and a preview — above the answer. Turn it off to keep the conversation minimal, for example when file names are themselves sensitive. Confidential passages stay hidden either way. ## Uploads and the twin's vault | Setting | Where | What it does | | - | - | - | | **Disable file upload for users** | Instance Settings › Personalization; admin editor **RAG and Files** | Standard members cannot add files (attach button, drag-and-drop, paste) or Audio Notes. Admins keep full upload access. | | **Allowed Emails or Domains** | Admin editor **RAG and Files**, shown while uploads are disabled | People whose email contains one of these entries can still upload. Use a domain (`school.edu`), a full address (`alice@school.edu`) or a prefix (`alice@`); matching ignores case. | | **File longevity** | **Instance Settings › Knowledge › Ingestion**; admin editor **RAG and Files** | New files in the Digital Twin's vault move to the Trash after this long without use: **7**, **14**, **30** or **90 days**, or **Forever** (the default). Each use starts the period again. | | **Ignore user personal vault** | **Instance Settings › Knowledge › Personal Files and Memory**; admin editor **RAG and Files** | The twin uses only its own vault and its account's shared files — not members' personal files or personal memory — in search, the knowledge graph, tools and voice. Members keep their personal files for other twins. | ## Embedding model The **Embeddings Generation** model (admin editor, **Personalization and AI Models › System**) turns each passage into the numeric fingerprint used for search. The only model offered is `text-embedding-3-small`, so you can leave this field alone. Different embedding models cannot be compared, so any change would mean processing every file again. ## Vault scopes Three vaults feed every search: * **Personal vault** — files a person uploaded for themselves. Only they see them, in every Digital Twin they use, unless **Ignore user personal vault** is on for that twin. * **Digital Twin vault** — files uploaded inside the twin. Every member sees them. * **Account-shared files** — files another Digital Twin of the same account shares across the account. Every twin in the account can search them. In Files, the twin's vault and the account's files have their own tabs. ## Related * [Knowledge Modes](/mdx/user-guide/interface/knowledge-modes) — what people choose in chat * [AI Models](/mdx/admin-guide/ai-models) — conversation, embedding and analysis models * [Configuration](/mdx/admin-guide/configuration) — the rest of the Digital Twin settings * [Managing Files](/mdx/user-guide/files-documents/managing-files) — uploading, organizing and sharing files * [File Processing Status](/mdx/user-guide/files-documents/file-processing) — what people see while a file is processed # MCP Servers Source: https://docs.praxis-ai.com/mdx/admin-guide/mcp-servers Connect external Model Context Protocol servers to give your Digital Twin new tools and data sources. ## What is MCP? The **Model Context Protocol (MCP)** is an open standard that lets large language models call external tools and read external data through a uniform interface — think of it as a universal "USB-C port" for AI. Once an MCP server is connected to your Digital Twin, every tool that server exposes becomes available to Pria during a conversation, without any custom code. > [!NOTE] > > MCP support in Pria is in **Beta**. Behaviour and field names may evolve as the standard matures. ## Two MCP roles Pria participates in MCP in two ways. This page covers the first. > [card] [Pria consumes MCP servers](/mdx/admin-guide/mcp-servers) > > Your Digital Twin connects to **remote MCP servers** to use their tools. Configure these on this page. > [card] [Pria exposes an MCP server](/mdx/integrations/mcp/introduction) > > Other MCP clients (Claude Desktop, Cursor, custom agents) can connect to your Digital Twin and use Pria's own tools. Configured on the **MCP integration** page. ## Adding an MCP server **1. Open your Digital Twin** Go to **Admin → Instances** and edit the Digital Twin you want to add the MCP server to. **2. Open the MCP tab** Switch to the **Connector MCP and Tools** tab. **3. Click Add a Connector MCP** The **Edit Connector MCP** form opens (in the Studio UI: **MCP Server Configuration**). It starts empty; the examples in the fields are placeholders. **4. Fill in the fields** Provide **Name (Label)**, **Server URL**, an optional **Authorization Header**, and a clear **Description**. The description is sent to the AI as context — write it like you would write a tool description. **5. Test connection** Select **Test connection**. Pria asks the server for its tool list with the values in the form and shows the tools as a checklist, so you can pick the ones to allow and the ones that run without approval. **6. Save and enable** Save the server with its **Status** on active. Only active servers are visible to Pria during conversations. > [!TIP] > > For a fast start, click **Add Praxis Documentation** in the MCP tab. It registers the public Praxis docs MCP server so your Digital Twin can answer questions about Pria itself. ## Required and optional fields **name** `string` *required* **Name (Label)** — the display name, unique within the Digital Twin. **server\_url** `string` *required* **Server URL** — the HTTPS URL of the remote MCP endpoint (for example `https://docs.praxis-ai.com/mcp`). Use the server's **final** URL — Pria refuses to follow a redirect from this address, so a URL that bounces to another host will fail discovery. Register the destination address instead if your provider's URL redirects. **description** `string` **Description** — a plain-language description of what the server is for. Sent to the AI as tool-selection context — be specific about *when* the model should reach for it. **authorization\_header** `string` **Authorization Header** — an optional `Authorization` header value (for example `Bearer xyz123…`). Stored server-side and never echoed to the browser. All Pria users share this single credential. **status** `enum` **Status** — active or inactive. Inactive servers are kept for later but skipped during conversations. For tool-level filters, approval prompts, and richer behaviour, see [Connectors](/mdx/admin-guide/connectors). ## Testing the connection In the form, **Test connection** asks the server for its tool list with the values you entered — the quickest way to see that the URL and the authorization header work. Once a server is active, the next test is to open a new conversation and ask Pria to use one of the server's tools by name. If the server is reachable and the connector is Active, you will see the tool invoked in the message trace (any conversation model with tool support can use it). If nothing happens: > [accordion] Tool never appears in the conversation > > Every conversation model with tool support uses connectors, including realtime voice on xAI and Gemini Live. If the tool never appears, check the connector's **Status** is active; if it is held back by *Require approval*, it appears as an approval card instead of running straight away — in text chat, and in voice conversations as a card in the transcript or over the conversation. > [accordion] Authentication failures > > A `401`/`403` from the remote MCP server usually means the `Authorization` header is missing, expired, or scoped wrong. Update the header and save. Rotate tokens before they expire. > [accordion] Tool discovery fails > > The server URL must answer as an MCP server (it speaks the MCP protocol, usually over server-sent events). A plain REST endpoint is not an MCP server. Confirm the URL with the server's documentation, and make sure the server accepts requests from Pria's servers (ask [humans@praxis-ai.com](mailto:humans@praxis-ai.com) for the addresses if it keeps an allow-list). If the URL redirects to another address, discovery fails by design — register the final destination URL instead (see *Server URL* above). > [accordion] Latency or timeouts > > Slow MCP servers slow down every conversation that uses them. Host the server close to your Pria deployment region, and disable tools you do not need on the connector to keep the tool list short. ## Permission scope — who sees the server Once an MCP server is active on a Digital Twin, every assistant and every conversation in that Digital Twin can call its tools. To restrict access to a specific assistant, attach the relevant tools to that assistant only via the **Assistants** editor, and leave them off by default elsewhere. There is no per-user MCP allow-list. ## Sharing across Digital Twins MCP servers belong to a **single Digital Twin**. If you run several (for example one per department), add the same MCP server to each one that needs it. There is no shared catalog visible to every Digital Twin — this keeps credentials separate. ## Cost considerations Each MCP tool the model decides to call counts as an extra LLM round-trip — the model sends the call, waits for the result, then incorporates it into the answer. Two practical levers: * **Trim the tool list** on the connector. If a server exposes 200 tools and you only use 5, enable filtering on the connector and keep the rest off. Fewer tools means less prompt overhead and faster responses. * **Avoid pointless approvals**. Approval prompts add a manual round-trip; reserve them for destructive or sensitive tools. ## Verified learner identity on tool calls Every call your Digital Twin makes to a connector automatically includes who the signed-in user is — their email (when they have one), user id, the Digital Twin's id, the connector's name, a timestamp, a nonce and a key id — plus a signature over all of them that the receiving server can check against your Digital Twin's **MCP Signing Secret**. Why this matters: without it, the only identity a tool server sees is whatever the AI wrote into the request, which a crafted prompt could fake. The signed identity comes from the login session instead, so a partner can safely expose per-learner tools — a student's own progress, quiz-result debriefs, tutor observations — and trust that the request really is about that student. **MCP Signing Secret** `string` Found in the Digital Twin's settings next to the **MCP Server Secret**, with copy and regenerate controls. Share it with your integration partner through a secure channel (not email). Regenerating is an immediate cutover: partners verifying signatures will reject calls until they switch to the new value, so coordinate first. Partners who want to verify the identity on their side can follow [Verified identity](/mdx/integrations/mcp/verified-identity): the header list, the signing rule, Node and Python verifiers, and a worked example to test against. Connectors that don't verify signatures are unaffected — the extra information is simply ignored. ## Troubleshooting checklist > [!NOTE] > > If a connector seems to be ignored, walk this list in order: (1) its status is active, (2) the conversation model supports tools, (3) **Test connection** succeeds, (4) the authorization header is current, (5) the tool name you expect the model to call actually exists on the server. ## Related * [Connectors](/mdx/admin-guide/connectors) — detailed connector configuration reference * [Tools](/mdx/admin-guide/tools) — built-in tool catalog * [Pria as an MCP server](/mdx/integrations/mcp/introduction) — exposing Pria's tools to external MCP clients # Meeting Agent Source: https://docs.praxis-ai.com/mdx/admin-guide/meeting-agent Send your Digital Twin into a Zoom, Google Meet, Microsoft Teams or Webex call as a participant — with your memory, your files, and your vault travelling with it. The Meeting Agent lets someone send their Digital Twin into a live video call. It joins as a visible participant with a face and a voice, follows the conversation, and answers when someone addresses it. > [!NOTE] > > **The avatar in the meeting is that person's own twin.** Their memory, their files, and their > vault travel with it. It is not a shared service account, and two people sending their twins into > the same call each get their own. ## Before you begin The Meeting Agent needs two things: 1. The Digital Twin talks through an **Anam avatar** in Convo Mode — the meeting agent uses the avatar's face and voice. See [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice). 2. **Enable Anam Meeting Bot** is on for the Digital Twin. > [!NOTE] > > **The meeting settings are set by Praxis AI, not by a Digital Twin's own administrators.** > Sending a twin into a live call spends on outside services — the avatar, the meeting bot and > live transcription — so the whole **Anam Meeting Bot** section is reserved to the Praxis AI team > and does not appear in the twin editor for anyone else. This page describes what to ask for, and > what to expect once it is on. Contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to have > it set up for a Digital Twin. ## Sending the twin to a meeting Once enabled, users ask their twin in conversation: ``` Pria, join https://zoom.us/j/123456789 ``` The twin sends its avatar into that call and reports back. Asking it to leave ends the session. Both abilities switch on and off with **Enable Anam Meeting Bot** — you do not manage them separately. | Platform | Joins and speaks | Meeting chat | Direct messages to the twin | | - | - | - | - | | **Zoom** | Yes | Yes | Yes | | **Google Meet** | Yes | Yes | No | | **Microsoft Teams** | Yes | Yes | No | | **Webex** | Yes | No | No | The twin checks the link before it tries to join. It refuses **Slack Huddles** and **GoTo Meeting** links and says why: it cannot take part there as a speaking avatar. You can include a purpose and file references in the same typed or spoken invitation: ``` Join https://zoom.us/j/123456789 and review file1.md and file2.md. ``` The twin keeps the invitation as background for the whole meeting, including later spoken answers and meeting chat. It is not an instruction to speak as soon as it joins. Keep it short: up to 6,000 characters are kept. > [!NOTE] > > Named files must already be reachable through the twin's normal file tools. Mentioning a file on > your computer does not upload it, and an invitation does not grant access to files you cannot > otherwise use. Upload or share the files first. The twin tells you when a referenced file cannot > be found. > [!WARNING] > > **Consent is your responsibility, not the platform's.** An avatar joining a call is a visible > participant, and many jurisdictions and institutional policies treat an AI participant that > listens to a meeting the same way they treat recording it. Tell participants, and follow your > own policy on notice and consent, before rolling this out. ## How the twin behaves in the call Every meeting twin behaves the same way: it listens all the time, and it speaks when someone addresses it by name (or by one of its aliases, below) or pokes it. It does not interrupt a person who is speaking. A message it posts in meeting chat follows a direct request. ## Identity and voice How the avatar appears and sounds in the call. Praxis AI sets these for you. > [accordion] Anam Persona ID (avatar face + voice) > > The saved Anam persona the avatar wears — its **face and voice**. Leave it empty to use the > Digital Twin's own avatar and voice. > > > [!NOTE] > > > > Only the persona's appearance and voice are used. Its behaviour is always your Digital Twin's. > [accordion] Meeting Bot Display Name > > The participant name shown in the call — for example `RAI` or `Touchdown Timmy`. Empty defaults > to `Pria`. > [accordion] Wake-word aliases > > Extra names the avatar answers to when spoken aloud, comma-separated. Speech recognition often > mishears a stylized name — `RAI` is commonly heard as *Ray* — so listing the variants makes it > respond reliably. > > > [!WARNING] > > > > **Setting a display name or any alias drops the universal `Pria` wake word.** From then on the > > avatar answers only to its configured name and the aliases you list. If you rename it, add > > every variant people will actually say. > [accordion] Pronunciations > > Comma-separated `written=spoken` pairs that fix how a stylized name is **pronounced** — for > example `RAI=Ray, R-A-I=Ray`. List each written variant explicitly. > > This affects spoken output only. Text the avatar posts into meeting chat is never altered. ## Behaviour settings > [accordion] Maximum spoken answer length (seconds) > > A target ceiling on how long one spoken answer runs. `0` uses the platform default of 45 > seconds; other values apply as 10–180 seconds. Typed chat replies are never timed. > > > [!TIP] > > > > Meetings punish long answers far more than chat does. A 20–30 second ceiling keeps the avatar conversational rather than lecturing. > [accordion] Meeting Bot Assistant ID > > An assistant the avatar loads on top of the Digital Twin's usual behaviour — useful when > meetings need a consistent specialism. > > The meeting avatar does **not** inherit whichever assistant the person happens to have active in > their own chat window, so if you want a particular one in meetings, ask for it here. Empty is a > perfectly good default: the twin's own behaviour answers. Assistant IDs come from the > [Assistants](/mdx/admin-guide/assistants) list. > > The assistant follows the normal assistant permissions; it does not need to be in the > one-to-one Convo picker. If it is missing, disabled or unavailable to the person who invited the > twin, the twin carries on without it instead of losing its voice connection. > [accordion] Region > > Which region the meeting bot runs from. The region is fixed when the avatar joins, so a change > never moves an avatar that is already in a call — it applies to the next one. ## Asking the twin to speak: Poke and Hold Sometimes the twin should say something and nobody has addressed it by name. Type these in the meeting chat (or, on Zoom, send them to the bot as a direct message). | Type | What happens | | - | - | | `poke` | The twin gives one ordinary spoken answer — no wake word needed. | | `poke <name>` | The same, and tells the twin **who is speaking to it** (for example `poke Sam Rivera`). The name sticks until you poke another one; a bare `poke` leaves it as it was. | | `hold` | Keeps the twin quiet and cancels a Poke that hasn't been answered yet. The next `poke` releases the hold. | A few things worth knowing: * **Poke waits its turn.** If the twin is already speaking, or a participant is mid-sentence, the request waits for the normal turn boundary rather than talking over anyone. It is a request for one answer, not an interruption. * **The word has to be the whole message.** `poke` on its own counts; "let me poke at this" is ordinary chat and the twin ignores it. * **Names are taken at face value.** Meeting platforms often show two people under one profile, so the twin uses exactly the name you typed rather than guessing from the participant list. > [!TIP] > > `poke <name>` is the fix for a call where several people share one screen or one account: tell the > twin who it is talking to and its answers stop being addressed to the wrong person. ## After the meeting When the call ends, the twin posts a short recap in the meeting chat, unless Praxis AI has turned the recap off for that Digital Twin. Each recap is a summary and uses credits. What it learned can be saved to the person's memory and vault, so it is available in later conversations. Because the avatar was that person's own twin, the recap and anything remembered belong to **them** — not to a shared pool, and not to other attendees who sent their own twins to the same call. See [Twin Memory](/mdx/user-guide/memory/twin-memory). ## Costs Meeting sessions use credits differently from a chat turn. For every minute the meeting bot is in the call, Pria meters the avatar's time, the meeting bot's own time and live transcription — on top of the normal per-turn rule for whatever the twin says when it speaks. * The per-minute charges are what the avatar, meeting-bot and transcription providers charge, times one and a half, rounded up to a whole credit once at the end of the meeting. * Billing starts when the bot joins the call, not when the meeting was scheduled. Every way of ending — including asking Pria to leave — is billed the same. * If the Digital Twin pools credits, the pool pays; otherwise the individual's balance does. What drives the bill is mostly **time in the call**: for a quiet hour where the twin barely speaks, the per-minute charges are the bulk of it. See [Credits](/mdx/user-guide/credits) for the full rules. > [!NOTE] > > **If your organization supplies its own Anam credentials**, Anam bills that account directly for > the avatar's time, so that charge does not appear in your Pria credits. The meeting bot and > transcription are always run by Praxis AI, so their per-minute charges still bill in credits. > [!TIP] > > Before rolling this out widely, set per-user limits under **User Quotas** (Instance Settings › > **Quotas**) so one enthusiastic pilot user cannot drain a shared pool. See > [Credit Management](/mdx/admin-guide/credit-management). ## Related * [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice) — avatar face, voice, and provider setup * [Assistants](/mdx/admin-guide/assistants) — creating the assistant the avatar can preload * [Twin Memory](/mdx/user-guide/memory/twin-memory) — what the twin keeps afterwards * [Credit Management](/mdx/admin-guide/credit-management) — pooled credits and per-user quotas # Memory Parameters & Act As Source: https://docs.praxis-ai.com/mdx/admin-guide/memory-and-impersonation Review and correct what Pria remembers for the people in your Digital Twin, and see Pria as one of them for support. This page covers two related admin capabilities that touch user state: > [card] Memory Parameters > > Inspect, edit, share and delete the named values Pria remembers for the people in your Digital Twin. > [card] Act As > > Temporarily see Pria as one of your people to reproduce a support issue. ## Memory Parameters Memory parameters are named pieces of context Pria carries between conversations — preferences, project notes, recent decisions, "things to remember" the user (or Pria) decided are worth keeping. Each row has a **name**, a **value**, an optional **description**, an optional **namespace**, and a **scope**. ### Scopes — personal vs shared There are three logical scopes: | Scope | What it means | Who can read it | | - | - | - | | **Personal** | The user's own memory. Not tied to any Digital Twin. | Only the user | | **This Digital Twin, private to the user** | Tied to a Digital Twin, but not shared. | The user, in that twin | | **This Digital Twin, shared** | Tied to a Digital Twin and marked **shared**. | Every member of the twin | Shared rows let your team agree on common context — a glossary, brand voice notes, the names of key clients — without each user having to re-enter it. > [!NOTE] > > **Memory parameters are the hand-managed store.** A Digital Twin can also build **Long-term Memory** on its own — memories it decides to keep from conversations, each shown to the user with a receipt. It is additional to memory parameters, private to each user (you see counts only, never content), and configured per twin under **Instance Settings → Knowledge → Long-term Memory**: who gets it (everyone, or administrators only), the default mode for new conversations, and whether recalled memories are listed under answers (**Display Memory Details**). Turning the feature on for a twin (and sharing memories across an Account) is done by the Praxis AI team — contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request it; the other controls are available to the twin's own administrators in that panel. See [Twin Memory](/mdx/user-guide/memory/twin-memory). ### Where to find it > [tab] One user at a time > > **Admin → Users → edit a user → Memory tab.** Rows are grouped by Digital Twin, with personal entries in their own group. You see the entries on the Digital Twins where you hold `users.edit`. Their **personal** entries appear only once the person has joined your Digital Twin themselves (an active membership of their own — an address you imported counts once they have used your Digital Twin). > [tab] One Digital Twin at a time > > **Admin → Instances → edit a Digital Twin → Twin Memory tab → Shared Memory.** You see only the **shared** rows for that twin, with each row's author linked to their Memory tab. The panel is the same in both places: a search box, a namespace filter, a scope filter (**All scopes**, **Private (non-shared)**, **Shared only**), a Digital Twin filter when there are several, and **Group by namespace**. **Export CSV** downloads the rows you are looking at. ### Adding, editing, and deleting rows **1. Filter to the right scope** Use the search box and the filters to narrow the list. **2. Edit a row** Click the pencil icon. You can change **Value** and **Description**, and for an entry that belongs to a Digital Twin, tick or clear **Shared with this instance** — only administrators can share an entry with every member. You cannot rename an entry: its name and namespace identify it, so delete it and have it saved again under the new name. **3. Delete one or many** The trash icon removes a single row after showing its name and value. **Delete filtered (N)** removes every row matching your filters — the confirmation lists each one first. > [!WARNING] > > Deletes are permanent. A deleted memory row is gone — Pria will not remember it on the next conversation. There is no soft-delete. ### How memory shows up in conversations When a person talks to Pria, the relevant memory rows are added to the conversation automatically. Personal rows are included for the person who owns them; shared rows for every member of the Digital Twin. The panel's footer counts the rows, characters and approximate tokens you are looking at, so you can see how much room memory takes. > [!TIP] > > **Keep entries short and stable.** Memory works best for values that change slowly — preferences, names, facts. For fast-moving notes, use a conversation or an Assistant. ## Act As (impersonation) "Act As" lets an admin sign in *as* one of their people for up to an hour to reproduce an issue, debug a flow, or confirm a fix. Each session is logged with the admin's identity, the person's identity and the reason given. ### When to use it * A user reports an error and you cannot reproduce it from your own account. * You need to confirm an entitlements change actually applied to a specific user. * You are walking a user through their own conversation history on a call. ### Authorization To start an Act As session you must hold `users.edit` on a Digital Twin where the person has an **active membership of their own** (an address you imported counts once they have used your Digital Twin). You cannot: * Impersonate yourself. * Start a new Act As session while another one is already active (no nested impersonation). * Impersonate without supplying a written **reason** (required, max 500 characters). > [!NOTE] > > If you do not hold `users.edit` on a Digital Twin you support, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request access. ### Starting and stopping a session **1. Find the user** Go to **Admin → Users**, open the person's record and select **Act As…** in its footer. **2. Provide a reason** Enter a short reason (for example, "Reproducing thumbnail upload error reported in ticket #4821"), then select **Confirm — Act as user**. The reason is stored in the audit log. **3. Confirm** Pria reloads as the person. A pill labelled **Acting as \<email>** stays in the top bar throughout the session, and everything you do is recorded as theirs. **4. Stop** Click **Stop** on the pill at any time to return to your admin identity. The session also ends automatically after one hour or when your own session would have expired — whichever comes first. > [!WARNING] > > While impersonating, admin endpoints are blocked. You see what the user sees and can act on their data, but you cannot use admin pages until you stop the session. ### Audit trail Every impersonation session is logged with: the **admin's** identity, the **target user's** identity, the **reason** you typed, the **start time**, the **end time** (or expiry), the **session id**, and the **IP / user agent** the session was started from. The log is append-only — sessions cannot be edited or deleted. If an admin closes their browser without clicking **Stop**, the session still expires on the server when its time-to-live is reached; the audit row records the expiry rather than an explicit stop. ### Privacy and limits * Impersonation does not unlock data the target could not access. If the user does not have access to a conversation or a file, neither do you while impersonating them. * Sensitive credentials are not surfaced. You see what the user sees in the UI; you do not see their password or stored secrets. * A session has a **1-hour hard cap** and cannot be extended; start a new session if you need more time. ## Related * [Users](/mdx/admin-guide/users) — managing accounts in your Digital Twin * [Entitlements](/mdx/admin-guide/entitlements) — `users.edit` and other role permissions * [User Memory](/mdx/user-guide/memory/user-memory) — the same memory panel from the user's perspective * [Shared Memory](/mdx/user-guide/memory/shared-memory) — how shared rows show up to users * [Twin Memory](/mdx/user-guide/memory/twin-memory) — Long-term Memory from the user's perspective, and how it is enabled per twin # Multi-Factor Authentication (MFA) Source: https://docs.praxis-ai.com/mdx/admin-guide/mfa Two-step verification with email codes, authenticator apps and backup codes — who is asked to turn it on, how trusted browsers work, and how to help a locked-out person. Two-step verification adds a 6-digit code between signing in (password, Google, Microsoft and the like) and getting into Pria. People choose their second step in their profile's **Two-step verification** section: **email codes**, an **authenticator app** (Google Authenticator, 1Password and similar apps, whose codes change every 30 seconds), or both. Setting up an authenticator app also gives a set of one-time **backup codes**. It is turned on person by person. > [!NOTE] > > MFA is enabled at the platform level. If the two-step verification options described here don't appear in your deployment, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). *** ## Who is asked to turn it on People without two-step verification may see **Strengthen your account security** after they sign in: | Who | What the screen offers | | - | - | | An admin (an account whose **Account Type** is admin) who signed in to Pria directly | "Two-step verification is required — turn it on to continue." Only **Enable MFA**; it cannot be postponed — even if they postponed it from a course page earlier. | | An admin who opened Pria from a Canvas course page | A recommendation, with **Remind me in 7 days** (Pria opens as usual and asks again after 7 days). **Enable MFA** there first asks them to **Confirm it's you** with an emailed code. | | Other users | Not asked at sign-in. They can turn it on themselves in their profile. | The screen never appears while you use **Act As**. You can also turn it on for someone yourself — see [Managing MFA per person](#managing-mfa-per-person). For admins in Canvas, see [More security for LMS login](/mdx/user-guide/lms/canvas-login-security). *** ## How signing in works with MFA ``` Sign-in (password, Google, Microsoft, course launch…) │ ▼ Identity checked │ ▼ Trusted browser, same network? │ ├── yes → straight into Pria │ └── no → ask for a 6-digit code │ ├── correct → browser trusted, into Pria ├── wrong → up to 5 tries, then a new code └── 10 failed codes in an hour (20 in a day) → that way of signing in waits ``` * **Email codes** are valid for 5 minutes. Inside Canvas, the code is emailed when the person selects **Send me a code**. * People with an **authenticator app** type its current code instead; from the code screen they can switch to a backup code, or to an email code when that is also on. * **Trusted browsers.** After a correct code, the browser is trusted for **7 days** — as long as it comes from the same network (the same public address block; a phone that moves between networks is asked again). Inside Canvas, a verified browser is remembered for **24 hours**, for that Digital Twin and network. People can sign out their own trusted browsers from their profile (Studio UI: **Security › Trusted devices › Sign out trusted devices**); changing their password does it too. * **Backup codes** work once each, for when the app is not available. *** ## Managing MFA per person Open **Admin → Users**, select the person, then the **Security** tab. Under **Two-step verification**: * **Require email MFA for this user** — turns two-step verification on (email codes; the person can add an authenticator app in their profile) or off; save to apply. Turning it off also resets their authenticator app and backup codes and signs out their trusted browsers, so a person who lost everything can set it up again cleanly. * **Enabled `<date>`** — shown when an admin turned it on here. * **Revoke trusted devices** — every browser they verified must enter a code again at the next sign-in. > [!WARNING] > > **Turning MFA off does not sign the person out.** Their current sign-in stays valid until it ends (about six hours after they stop using Pria); their *next* sign-in goes through without a code. To sign them out now, set a new password for them — that signs them out everywhere and signs out their trusted browsers. ### When to turn a person's MFA off * They are locked out: lost access to their email, or lost their authenticator app **and** their backup codes. * A security incident requires reducing friction so they can recover their account. * A standard user turned it on and changed their mind. ### When to revoke trusted devices * They reported a device lost or stolen. * They used a shared or public computer. * After a suspected password leak (together with a password reset). *** ## Protection against guessing 1. **Per code: 5 tries.** After 5 wrong entries the code stops working and the person asks for a new one (**Resend**, at most once every 30 seconds). 2. **Per way of signing in: 10 failed codes in an hour, or 20 in a day.** Past that, that way of signing in — from a Canvas course, with email and password, or any other — waits until the hour or day is over, and Pria says how long. The other ways stay open, so someone who keeps failing codes from a course launch cannot lock the person out of their own password sign-in. A correct code resets the count. 3. **Codes sent from a course launch:** at most 5 an hour from one network and 15 an hour per person. To let a waiting person in at once, select **Revoke trusted devices** — it clears the count. *** ## Sign-ins that skip the code * **Launches from Canvas** when the Digital Twin uses **Require LMS sign-in on launch (Canvas or Blackboard)** — the Canvas sign-in counts as the second step. Without it, a launch goes through the same check as any other sign-in for someone with MFA on; see [More security for LMS login](/mdx/user-guide/lms/canvas-login-security). * **API-key sign-ins** — the key itself is a strong credential, meant for server-to-server use. Sign-ins with a password, Google, Microsoft, GitHub, Facebook, Apple or your organisation's single sign-on all ask for a code when the person has MFA on. *** ## Audit trail MFA events — turning it on or off, codes sent and checked, lockouts, trusted browsers added or revoked — are recorded. There is no screen for them; for an extract for a security review, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). *** ## Frequently asked questions > [accordion] Can I require MFA for everyone in my Digital Twin? > > Not for everyone at once — it is turned on person by person. Admins are asked to turn it on themselves (see [Who is asked to turn it on](#who-is-asked-to-turn-it-on)), and you can turn it on for anyone under **Admin → Users → Security**. > [accordion] What happens to a person's sign-in when I turn their MFA off? > > Their current sign-in stays valid until it ends (about six hours after they stop using Pria) and their trusted browsers are signed out. They keep working, then sign in again without a code. To sign them out at once, set a new password for them. > [accordion] Does MFA work on mobile? > > Yes. On an iPhone, Safari offers the 6-digit code from the Mail app above the keyboard — one tap fills it in. Android browsers offer similar suggestions. > [accordion] Backup codes? > > Setting up an authenticator app creates one-time backup codes, shown once with a download option. Each works exactly once in place of the app. If someone has used up the app and every backup code, turn their MFA off under **Security** (this resets the app) and have them set it up again. If no other admin is available, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [accordion] Which authenticator apps work? > > Any standard app — Google Authenticator, 1Password, Authy and the like. People set it up in their profile's **Two-step verification** section by scanning a QR code or typing the setup key, then confirming with a live code (in the Studio UI, under **Settings › Security › Secure your account**, with the setup key and an **Open in authenticator app** link). Once set up, the app is the first choice at sign-in. Passkeys are not supported yet. ## Related * [More security for LMS login](/mdx/user-guide/lms/canvas-login-security) — what admins see when Pria opens inside Canvas, Blackboard or another LMS * [Users](/mdx/admin-guide/users) — managing people * [Sessions](/mdx/admin-guide/sessions) — where and on what device people signed in # Microsoft 365 Source: https://docs.praxis-ai.com/mdx/admin-guide/microsoft-365 Connect Microsoft 365 to a Digital Twin so it can work with OneDrive, SharePoint, Outlook mail and calendar, and Office files — for each person, or through one account for the whole twin. Microsoft 365 lets a Digital Twin reach into OneDrive, SharePoint, Outlook and your Office files on behalf of the people who use it. You set it up per Digital Twin in the admin editor's **Configuration and Integrations** tab (**Admin › Instances › Edit**), in the **Microsoft** section. > [!NOTE] > > Any administrator who may edit the Digital Twin (the `institutions.edit` entitlement) can set it up — no help from the Praxis AI team needed. ## Services and permissions Tick the Microsoft services the twin may use. Each one asks Microsoft only for the permissions it needs: | Service | What the twin can do | Permissions asked of Microsoft | | - | - | - | | **OneDrive** | List, search and import files | Read all files (`Files.Read.All`) | | **SharePoint** | Find sites, browse libraries, search and import files | Read sites (`Sites.Read.All`). Needs **OneDrive** | | **Outlook Mail** | Search, read and send mail | Read mail; send mail (`Mail.Read`, `Mail.Send`) | | **Outlook Calendar** | View, create, change and delete events | Read and manage calendars (`Calendars.Read`, `Calendars.ReadWrite`) | | **Excel**, **Word**, **PowerPoint** | Read the content of Office files | The OneDrive permission. Need **OneDrive** | A service that needs another brings that one with it: ticking SharePoint, Excel, Word or PowerPoint also asks for OneDrive. Every Microsoft connection also asks for sign-in details and offline access, so the twin can refresh its access without asking again. ## Two ways to connect > [tab] Each person connects their own account (default) > > With **Use Digital Twin identity** off, each person connects their own Microsoft account from their profile — see [Microsoft Services](/mdx/user-guide/profile-settings/microsoft-services). The twin acts on that person's data only. > [tab] One shared account for the whole Digital Twin > > Turn on **Use Digital Twin identity** and select **Connect Microsoft Account**: everyone reaches Microsoft through that one account, which an administrator authorizes once. Use it when the twin should work with your organization's own mailbox, OneDrive, SharePoint sites or calendar rather than each person's. **1. Open the Microsoft section** **Admin › Instances**, select **Edit** on the Digital Twin, open **Configuration and Integrations** and scroll to **Microsoft**. **2. Turn on Enable Access** **Enable Access** makes Microsoft available in this Digital Twin. While it is off, members are not offered Microsoft tools, even with their own Microsoft account connected. **3. Choose how people connect** Leave **Use Digital Twin identity** off, or turn it on for a shared account. **4. Restrict sign-in to your organization (optional)** Set **Microsoft tenant** (below) when only accounts of one Microsoft organization should connect. **5. Tick the services** Tick the services the twin should use. Outlook Mail can also send email and Outlook Calendar can also change events, so include those two deliberately on a shared account. **6. Connect (shared account only)** Select **Connect Microsoft Account** and accept the permissions on Microsoft's consent screen. **Disconnect** revokes the authorization and clears the saved credentials. **Microsoft tenant (optional)** `string` Restricts sign-in to one Microsoft organization — the tenant domain (for example `contoso.onmicrosoft.com`) or directory ID. Leave it blank to allow any organization. It applies to the twin's shared account and to every member who connects their own account in this Digital Twin. Set it when the connecting account is a guest in the organization that holds the content, or when that organization only allows sign-in to its own tenant. The tenant is locked while a connection exists; disconnect first to change it. > [!WARNING] > > A connected shared account takes precedence over any personal Microsoft account a person connected — everyone goes through the shared account. To change the services of a shared account, disconnect and connect again. ## Approving Pria in your organization Some Microsoft 365 organizations require an administrator to approve an app before people can allow its permissions. If people see a request for administrator approval on Microsoft's consent screen, your Microsoft 365 administrator approves Pria for the permissions listed above. ## Troubleshooting > [accordion] People don't see Microsoft tools > > * Check that **Enable Access** is on for the Digital Twin. > * With a shared account, check that the service was ticked when the account was connected. > * Without one, each person must connect their own Microsoft account and allow every permission of the service — see [Microsoft Services](/mdx/user-guide/profile-settings/microsoft-services). > [accordion] People can't connect their account > > If **Microsoft tenant** is set, only accounts of that organization can connect. Check the value, or clear it while no connection exists. > [accordion] A shared connection stops working after a while > > Microsoft may have revoked or expired the authorization. Select **Disconnect**, then **Connect Microsoft Account** again: the new consent gives the twin fresh access. ## Related * [Microsoft Services (user guide)](/mdx/user-guide/profile-settings/microsoft-services) — how people connect their own accounts * [Google Workspace](/mdx/admin-guide/google-workspace) — the same setup for Google * [Configuration](/mdx/admin-guide/configuration) — the rest of the Digital Twin editor * [Tools](/mdx/admin-guide/tools) — the tools that act on connected services # Content Moderation Source: https://docs.praxis-ai.com/mdx/admin-guide/moderation Filter unsafe content from conversations using AI moderation models. Content moderation screens the messages people type to Pria (chat and meetings) before they reach the AI model. When a message is flagged as unsafe, Pria returns a polite refusal instead of forwarding the prompt to the model — protecting your learners, your brand, and the underlying providers from policy violations. This page is the Admin-side reference for the Moderation feature. End users do not configure anything; they only see the refusal copy when their message trips the filter. ## What Moderation Does When enabled on a Digital Twin, every user message is sent to a dedicated moderation model **before** any other processing. The moderation model returns a classification across several unsafe categories: * Hate or harassment * Violence or graphic content * Self-harm * Sexual content * Illicit or illegal acts If any category exceeds the provider's threshold, the message is rejected with a safe response and never reaches the conversation model, the assistant's prompt, your tools, or RAG. Each blocked chat message is emailed to the Digital Twin's **Contact Emails** ("Unsafe Content with User Request": the person's address, the blocked text and the flagged categories), so you know who tripped the filter and why. > [!NOTE] > > Moderation runs against user **inputs**. Provider-side safety filters also catch unsafe **outputs** for the providers that support them (for example Google's Gemini safety filters). ## Enabling Moderation Moderation is enabled per Digital Twin: 1. Go to **Admin → Instances** and edit the Digital Twin. 2. On the **Configuration and Integrations** tab, find the **Enable Moderation** toggle under **AI Behavior** (on for new Digital Twins). 3. Save. Keep the toggle on — and double-check it after creating a new Digital Twin. Disabling it sends every prompt straight to the conversation model; only do this for narrowly scoped internal Digital Twins where users are fully trusted. ## Selecting a Moderation Model The **Moderation** field (**Personalization and AI Models** tab, **System** section) selects which model performs the safety check. Different providers offer different moderation surfaces: > [accordion] OpenAI Moderation > > OpenAI's hosted moderation model (`omni-moderation-latest`). Multilingual and fast. Categories: hate, harassment, self-harm, sexual content, violence, illicit. > [accordion] Mistral Moderation > > Mistral's hosted moderation models (`mistral-moderation-2603` and `mistral-moderation-2411`) offer an alternative classifier with strong multilingual coverage. Useful when you prefer a European provider or already run Mistral models elsewhere in your Digital Twin. When you leave the field empty, Pria uses the platform default. ## What Happens When Content Is Flagged When the moderation model returns "unsafe": 1. The user sees a refusal in the chat — *"Unsafe content, please try different language. Unsafe content:"* followed by the flagged categories (the classic interface adds that the attempt may be audited). The original prompt is **not** forwarded to the model, so no credits are spent on the rejected turn. 2. The blocked turn never becomes part of the conversation, so it does not appear in **Histories**. > [!WARNING] > > **A blocked chat message is not written to Histories.** The alert email to the Digital Twin's **Contact Emails** is the only record of it, so keep that list current and treat those emails as part of your safeguarding process. In a live meeting, a flagged utterance (or a failed check) suppresses the reply and sends the same alert. > > If the safety check itself is briefly unavailable, the person sees "Our safety check is temporarily unavailable. Please try again in a moment." and the message is not sent; no alert is emailed for that. ## Customizing Thresholds The moderation endpoints expose a single per-category yes/no decision; there is no admin-tunable threshold in the Pria UI. If a category of legitimate language for your domain (clinical, legal, harm-reduction, historical) keeps tripping the filter, try the alternative moderation model — different classifiers draw the line in different places — or contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Moderation vs. Praxis Shield Moderation and Praxis Shield are complementary safety layers: * **Moderation** (this page) blocks individual unsafe messages **in the moment**, before they reach the AI model. * **[Praxis Shield](/mdx/admin-guide/praxis-shield)** monitors conversations **after the fact** and raises security incidents — with severity, status, and category — in a dedicated triage panel where admins review them, add notes, take action, and mark false positives. If you are looking for the dashboard where flagged activity is reviewed and triaged, that's [Praxis Shield](/mdx/admin-guide/praxis-shield). This page covers the per-message blocking configuration only. ## Acting on Violations A flagged prompt is a signal — not always a punishment. The alert email tells you who sent it and what was blocked. From there: * Open the user's conversations in the **Histories** view to see the context around the blocked attempt. The blocked message itself will not be there; the turns either side of it will. * Determine whether the user was testing the filter, asking a legitimate question that was misclassified, or genuinely attempting misuse. * Contact the user via the email associated with their account if intervention is needed. * Adjust your Digital Twin's onboarding or assistant prompt if a category of legitimate question keeps tripping the filter. For a Digital Twin that serves an organization, consider pairing moderation with a clear acceptable-use statement during user onboarding — this reduces accidental violations and gives you a clean basis for enforcement. ## Limitations No moderation model is perfect. A few honest caveats: * **False positives** happen — clinical, legal, harm-reduction, and historical contexts can trip safety filters even when the underlying intent is educational. The moderation models cannot be tuned; switching between them is the main lever. * **False negatives** also happen — a determined adversary can phrase requests to slip past any moderator. Moderation is a **layer**, not a fortress. * **Output moderation** is provider-dependent. The moderation model scores user inputs; some conversation providers (notably Google's Gemini family) additionally apply safety filters to model outputs. For the providers that don't, lean on the assistant's prompt to constrain behaviour. The most resilient setup combines: (1) Moderation on inputs, (2) an Assistant prompt that explicitly refuses out-of-scope or unsafe requests, (3) clear onboarding guidance to users about what the Digital Twin will and won't do. ## Compliance Considerations If your deployment is subject to a regulatory regime, moderation interacts with it as follows: * **FERPA** — the alert email includes the student's flagged input. Treat those emails with the same access controls as the rest of the conversation log, and keep **Contact Emails** tight. * **GDPR** — under "right to be forgotten" requests, a user's conversation data must be deleted. Pria's standard user-deletion flow covers this; blocked prompts are not stored in the conversation history (they do travel in the alert email). * **COPPA** — for products serving children under 13, keep moderation **on** and configure your assistant to refuse personal-data prompts. The conversation log in Histories supports the operator's record-keeping obligations. If you operate under an explicit Data Processing Agreement, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) for region-specific guidance. ## Related * [Praxis Shield](/mdx/admin-guide/praxis-shield) — review and triage security incidents detected across conversations. * [AI Models](/mdx/admin-guide/ai-models) — pick the conversation, moderation, and supporting models for your Digital Twin. * [Feedback](/mdx/admin-guide/feedback) — review user-reported issues alongside automatic moderation flags. * [Histories](/mdx/admin-guide/histories) — inspect the conversations that produced a moderation event. * [Privacy & Educational Consent](/mdx/introduction/privacy-edu-consent) — the policy framing for student data and flagged content. # Onboarding Questions Source: https://docs.praxis-ai.com/mdx/admin-guide/onboarding-questions Personalize each Digital Twin from the very first conversation with the Persona Builder — a short, guided interview whose answers become the twin's long-lived personalization context. **Onboarding Questions** — the **Persona Builder** — are the short guided interview completed the first time a Digital Twin is personalized, either by an admin on the Digital Twin's **Onboarding Questions** tab or by a user in the create-a-twin wizard. The answers are saved with the Digital Twin and, through **Generate Prompt**, become its Digital Twin Instructions, so the twin knows who it is and who it serves from turn one. ![Praxis AI Onboarding Questions](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/onboard-questions.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=404fa437ba9b007eb054abdc24742653) ## The Persona Builder bank Every Digital Twin is personalized through **one shared interview**: a fixed set of **15 questions** grouped into five sections. This replaces the older "build your own question set per Digital Twin" model — the curated bank is tuned to produce a strong twin persona with no authoring effort, and it is identical across the admin onboarding tab and the user wizard. The five sections: 1. **Basic Identity** — who the twin is and what it's called 2. **Role and Primary Use Case** — what the twin represents and helps with 3. **Audience** — who interacts with the twin and what they ask 4. **Communication Style** — tone, energy, and personality 5. **Advice Style and Guardrails** — how the twin advises and what it avoids ### The 15 questions | # | Section | Question | Required | Answer type | | - | - | - | - | - | | 1 | Basic Identity | Your full name | Yes | Text | | 2 | Basic Identity | Email | Yes | Text (prefilled from your account) | | 3 | Basic Identity | Organization or affiliation | No | Text | | 4 | Basic Identity | What should your digital twin be called? | No | Text (syncs with the twin name) | | 5 | Role and Primary Use Case | What role should this twin represent, and what are you known for? | Yes | Text | | 6 | Role and Primary Use Case | What should your twin help people with most often? | Yes | Text | | 7 | Role and Primary Use Case | If your twin could do one thing starting tomorrow, what would it be? | No | Text | | 8 | Role and Primary Use Case | What do you believe about your work that should shape how your twin helps? | No | Text | | 9 | Audience | Who will interact with your digital twin most often? | Yes | Text | | 10 | Audience | What questions will this audience ask most often? | No | Text | | 11 | Communication Style | Click one square on each scale (personality sliders) | No | Slider group | | 12 | Communication Style | What are 2 to 3 phrases your twin should naturally say? | No | Text | | 13 | Advice Style and Guardrails | When giving advice, your twin should mostly be… | Yes | Single choice | | 14 | Advice Style and Guardrails | What should your twin avoid doing, and where should it send people instead? | No | Text | | 15 | Advice Style and Guardrails | Are there any topics your twin should never answer? | No | Text | **Six questions are required** (1, 2, 5, 6, 9, 13). The remaining nine are optional but improve persona quality. Required questions must be answered before the wizard advances; on the admin tab, **Generate Prompt** is available as soon as one question is answered. ## Question types The Persona Builder uses richer answer controls than plain text boxes: * **Text** — a free-text answer (most questions). Email (Q2) prefills from your signed-in account; the twin-name question (Q4) prefills from, and writes back to, the Digital Twin's name. Editing the email answer never changes your login email. * **Single choice** (Q13, "When giving advice…") — a set of selectable **tiles**; pick one. The chosen label is what feeds the prompt (e.g. *Direct — say it straight*, *Encouraging — supportive and positive*, *Analytical — thorough and reasoned*, *Balanced — adapt to the situation*). * **Slider group** (Q11, personality) — one row per trait, each a **1-to-7 scale** of seven squares with a descriptor at each end. Click one square per scale. The seven traits are **tone, energy, detail, feedback, humor, thinking, and warmth** (e.g. tone runs from *Very direct and practical* to *Highly expressive and animated*). A square near an end carries that end's descriptor into the prompt; the middle stays neutral. Selected tiles and squares are highlighted with the Praxis brand gradient so the current choice is always obvious. ![Generated Prompt](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/onboard-questions-gen-prompt.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=e50ae92861bc3409f8c35d9093f70493) ## How answers are used When the interview is completed, the answers are: 1. **Turned into prompt text** — every answer (including slider and choice selections) is written out for the generator. For example, a slider answer becomes *"Tone: 6/7 (Highly expressive and animated)"*, and a single-choice answer becomes its label. 2. **Used to draft the Digital Twin Instructions** — the **Generate Prompt** action reads the questions and answers and drafts an instruction summary for the Digital Twin. Click **Use Prompt** to copy the draft into the **Instructions** field on the **Personalization and AI Models** tab (under Personalization → Content & Behavior), then save the Digital Twin. 3. **Editable later** — answers can be revisited and changed; run **Generate Prompt** and **Use Prompt** again and save for the change to reach conversations. The answers themselves are not read during conversations. ![Use Prompt](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/onboard-questions-use-prompt.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=2cba40edacd288c15d966b1bc74a276d) Answers are not public. They are visible to the Digital Twin's admins and used only to shape that twin's behaviour. ## The first-time personalization popup The first time an admin who can edit a Digital Twin opens one that is not yet personalized, Pria offers to run the Persona Builder. **This prompt is now skipped automatically for twins that are already personalized** — if it already has Digital Twin Instructions, the popup does not appear, so established twins are never nagged to re-run onboarding. (The popup is also suppressed once it has been shown and dismissed, and it always yields to the Canvas authentication prompt where that applies.) ## Where to edit * **Admin → Instances → edit a Digital Twin → Onboarding Questions tab** — complete or revise the Persona Builder for an existing Digital Twin (**Start Questions**, **Previous** / **Next**, **I'm Done**), then **Generate Prompt** and **Use Prompt** to refine the Instructions; **Analyze** reviews a draft against the same checklist. * **Create-a-twin wizard** — new twins walk through the same 15-question interview as part of setup. The interview is the same bank in both places; there is no per-Digital-Twin bank picker. ## The question library The Praxis AI team maintains the questions, and a change applies to every Digital Twin that uses them. To suggest a new question or a change, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Related * [Personalization](/mdx/admin-guide/personalization) — where onboarding answers feed Digital Twin Instructions * [Histories](/mdx/admin-guide/histories) — see how onboarding context shapes early conversations * [User Memory](/mdx/user-guide/memory/memory-systems) — the user-facing view of personalization context * [Configuration](/mdx/admin-guide/configuration) — the Instructions field that onboarding answers help refine * [Glossary: Digital Twin](/mdx/introduction/glossary) # Personalization Source: https://docs.praxis-ai.com/mdx/admin-guide/personalization Give your Digital Twin its name, picture, instructions and look, and choose the AI model for each job, in the Personalization and AI Models tab. The **Personalization and AI Models** tab of the admin editor is where you give your Digital Twin its identity — name, picture, backgrounds, About text and instructions — and choose which AI model does each of its jobs. ![Opening the Personalization and AI Models tab from Admin, Instances, Edit](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-personalization-main.gif?s=3a43bc1843c4c383d8cc7040b21d7222) **1. Open Admin** Open the **Admin** section. **2. Open Instances** Select **Instances** in the admin menu. **3. Edit your Digital Twin** Select **Edit** on the Digital Twin you want to change. **4. Open Personalization and AI Models** Select the **Personalization and AI Models** tab. Save when you are done. Most of these settings are also in **Instance Settings** (the chat's **+** menu, **Settings**, then your Digital Twin's name), where each change saves at once. See [Instance Settings](/mdx/user-guide/profile-settings/instance-settings). *** ## Personalization (Digital Twin) ![The Personalization section of the admin editor](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-personalizations-main-ui.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=af7e10c47223bc444554674c2cdd8474) ### Name & Avatar > [accordion] Digital Twin Name (default Pria) > > The name people see in conversations, the gallery and across the interface. Left blank, it is **Pria**. Pick a name that reflects the twin's persona or expertise ("Professor Adams", "Campus Guide"). > [accordion] Picture URL > > The twin's avatar. Click the picture itself to upload a new one — there is no separate "Upload" button. Hover the picture for the camera overlay; the small **×** that appears on hover removes it. The picker crops a square image to a circle, so start from a square image at least 256 × 256 px with the subject centred. Left blank, the Pria logo is used. > [accordion] Animated Picture URL (GIF) > > An animated avatar shown during conversations. Left blank, the static picture is used. > [accordion] Background URL (Large Picture) > > The image behind the conversation area in light mode. Click the preview thumbnail to upload a new one (from a file or your webcam). The picker crops to widescreen `16:9`, so start from a landscape image at least `1920 px` wide. > [accordion] Dark Mode Background URL (Large Picture) > > The same, for dark mode, so both themes look intentional. Left blank, the default dark background is used. ### Content & Behavior > [accordion] About this Digital Twin > > A description of the twin's purpose, expertise and abilities, shown in the gallery. The label shows its length in characters. > > Select **Generate** to have Pria write it from the twin's instructions and its active assistants. Update those first, then generate, for the most accurate result. > [accordion] Use About for Welcome Screen > > Shows the About text and the twin's picture on the welcome screen instead of the default welcome content. > [accordion] Persona mode > > The twin always speaks as its character: questions about what it can do are answered in its own voice, without platform guides or tool lists. A twin given instructions for the first time starts with Persona mode on. > [accordion] Digital Twin Instructions > > The instructions that shape the twin's personality, expertise and behaviour — the most important setting for how it talks to people. The label shows their length in characters. > > The [Onboarding Questions](/mdx/admin-guide/onboarding-questions) interview can write a first version for you. For methods and templates, see [Crafting Digital Twin Instructions](/mdx/admin-guide/digital-twin-instructions). > [accordion] Enable guardrail instructions > > Adds a separate block of rules, **Guardrail Instructions**, right after the instructions in every conversation, typed or spoken — for what the twin must always or never do. **Load default template** gives you a starting point when the box is empty. ### UI & Appearance > [accordion] Guest UI (Minimum screen) > > A minimal, chat-only interface without the profile menu, sidebar or Digital Twin switching. Use it for public twins embedded in a website. > [accordion] Disable Clipboard for Users > > Removes the copy and paste actions on answers for standard users — useful when the twin handles confidential content. Admins keep them. > [accordion] Disable Audio Notes for Users > > Hides the microphone that lets standard users record spoken notes into their personal IP Vault. Admins keep it. Audio Notes is also hidden whenever **Guest UI** or **Disable File Upload for Users** is on. See [Audio Notes](/mdx/user-guide/files-documents/audio-notes). > > > [!NOTE] > > > > If your Digital Twin existed before Audio Notes was introduced, this box was ticked for it so the new microphone wouldn't appear without warning. Untick it to offer Audio Notes. Newer Digital Twins have it on already. > [accordion] UI CSS > > Custom CSS for your Digital Twin's interface — fonts, colours, layout. The **View template...** link next to the label opens a starter template with every available class. For example: > > ```css theme={null} > :root { > font-size: 14px; > } > body { > font-size: 1rem; > } > ``` > > See [UI Customization](/mdx/admin-guide/ui-customization) for the full template reference. > [accordion] UI Theme > > **-- User Directed --** (each person picks), **Dark Mode** or **Light Mode** for everyone. A branding key, which applies custom branding to the Digital Twin, is set by the Praxis AI team: contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com). *** ## AI Models Each dropdown lists the models of the platform catalog suited to that job. **-- Default --** follows the platform default. See [AI Models](/mdx/admin-guide/ai-models) for which model answers when several are set, deprecated models and reasoning effort. ### Custom Models Lists the Digital Twin's active custom AI models. You add them in **Admin › AI Models** (see [Bring Your Own AI Model](/mdx/admin-guide/ai-models#bring-your-own-ai-model-byom)). While a custom model is active for a job, that job's dropdown below is hidden. ### Conversation & Reasoning | Setting | What it does | | - | - | | **Conversation** | The main model: it writes the answers, uses the tools and drives the twin. | | **Fallback conversation model** | Answers when the conversation model fails before any reply started. Unset = the platform default. See [Fallback conversation model](/mdx/admin-guide/ai-models#fallback-conversation-model). | | **Conversation Completion Max Tokens** | The most tokens one answer may use, thinking included. **Unspecified (LLM Default)** lets the provider decide (often a low cap that turns thinking off); **Auto** lets Pria pick the model's own maximum; or choose a number. | | **Reasoning Effort** | How much the model thinks before answering: **None (Disable thinking)**, **Low**, **Medium**, **High**, **Max**. Models that cannot think ignore it. See [AI Models](/mdx/admin-guide/ai-models). | | **Documents Summarization** | Summarizes uploaded documents and, when **Compact History** is on, older parts of long conversations. | | **Extended Context (1M tokens)** | Turns on the 1 million token context window for the Claude models that offer it (Claude Sonnet 5 and Sonnet 4.6). The standard window is 200K tokens. | > [!WARNING] > > **Conversation Completion Max Tokens:** Claude models need 4,000 or more to think before they answer. Models reached through Amazon Bedrock reserve about five times this number against a shared usage limit, so a very high setting can make requests fail with "Too many tokens" when many people chat at once. If that happens, lower it or set it to **Unspecified**. > [!WARNING] > > **Extended Context** costs more per token from Anthropic. Turn it on only when the twin must read very large documents or keep very long conversations. ### Convo (Live Voice & Avatar Calls) Shown when **Enable Convo** is on (see [Configuration](/mdx/admin-guide/configuration)). The full provider guide is [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice). **Speech-to-Speech Model** decides the call experience. Anam models show a video avatar; the others are voice only: | Provider | Models | | - | - | | **OpenAI GPT-Realtime** | `gpt-realtime-2.1 (Reasoning)` (platform default), `gpt-realtime-2.1-mini`, `gpt-realtime-2 (Reasoning)`, `gpt-realtime-1.5`, `gpt-realtime`, `gpt-realtime-mini` | | **OpenAI GPT-Live** | `GPT-Live-1 (full-duplex)` (listens and speaks at the same time) | | **Google Gemini Live** | `Gemini 3.8 Live`, `Gemini 3.1 Flash Live`, `Gemini 2.5 Flash Native Audio` | | **xAI** | `grok-3-fast (voice)` | | **ElevenLabs** | ElevenLabs Conversational AI — needs an Agent ID and API Key (a warning appears while they are missing; set them in the **Configuration and Integrations** tab, with the **ElevenLabs Connection Method**) | | **Anam** | Anam Avatar | | **Cartesia** | Cartesia Voice | The fields below the model depend on the provider: | Setting | Shown for | Default and choices | | - | - | - | | **Anam Response Model** | Anam | The model that writes the avatar's spoken answers. Empty = the conversation model. | | **Voice Response Model** | Cartesia, GPT-Live | The same, for these providers. | | **Voice Reasoning Effort** | All | **Default (None — thinking off for voice)**. Thinking time is silence in a call, so raise it with care. | | **Voice** | OpenAI GPT-Realtime | **-- User's Choice --** (each person picks) or one of 10 voices: Cedar, Marin, Alloy, Ash, Ballad, Coral, Echo, Sage, Shimmer, Verse. | | **Gemini Voice** | Gemini Live | **-- User's Choice --** or one of 30 voices, each labelled with its character (Puck — Upbeat, Kore — Firm…). | | **xAI Voice** | xAI | **-- User's Choice --**, Eve, Ara, Rex, Sal or Leo. | | **GPT-Live Voice** | GPT-Live | **-- User's Choice --** or a GPT-Live voice. | | **Voice Activity Detection Eagerness** | OpenAI GPT-Realtime | How fast a pause ends the person's turn: **Low** (waits longer — good for people who pause mid-thought), **Medium (Default)**, **High** (fast back-and-forth). | | **Noise Reduction** | OpenAI GPT-Realtime | **Off (Default)**, **Near Field** (headset or phone), **Far Field** (laptop or room microphone). | | **Transcription Language (ISO 639-1)** | OpenAI GPT-Realtime | A two-letter code such as `en` or `es`. Blank = detect automatically. | | **Interruption Sensitivity** | Gemini Live | **Low (Default)** ignores background noise but is harder to talk over — right for laptops in busy rooms. **High** stops the moment someone speaks — right for one-to-one headset use. It does not change how long Pria waits before deciding someone has finished. | | **Speech Recognition Language (Deepgram Flux)** | Anam, Cartesia (also meeting bots and the public avatar embed) | **English only** (default) or **Multilingual** (de, en, es, fr, hi, it, ja, nl, pt, ru); multilingual also answers in the language the person spoke. | Avatar look and greeting settings for Anam (placeholder image, introductory message and more) are in the **Configuration and Integrations** tab; see [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice). ### Subagents Pins the model, and the effort, for each subagent role. Leave them on the platform default unless you have a reason to change one. The switch that makes subagents available, and their budgets, are in the **Configuration and Integrations** tab. See [Configuration](/mdx/admin-guide/configuration#subagent-role-models). ### Media | Setting | What it does | | - | - | | **Image Analysis** | Reads images people upload: describes them and answers questions about screenshots, diagrams and photos. | | **Image Generation** | Creates images from a description (for example GPT Image 2.5, a Gemini image model or Stability). | | **Audio Generation** | Creates audio from a description. | | **Video Generation** | Creates short videos (for example Amazon Nova Reel 1.1 or OpenAI Sora 2). | | **Audio Transcription** | Turns speech in uploaded audio and video files into searchable text. | | **Video Analysis** | Describes what a video shows on screen (Gemini models only). See [Video Analysis Model](/mdx/admin-guide/ai-models#video-analysis-model). | | **Text-to-Speech** | Reads answers aloud. | ### System | Setting | What it does | | - | - | | **Embeddings Generation** | Turns file passages into the fingerprints used for search. Only `text-embedding-3-small` is offered. See [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config#embedding-model). | | **Moderation** | Checks messages when **Enable Moderation** is on. See [Content Moderation](/mdx/admin-guide/moderation). | *** ## Related * [Crafting Digital Twin Instructions](/mdx/admin-guide/digital-twin-instructions) — methods and templates for the instructions * [AI Models](/mdx/admin-guide/ai-models) — model choice, reasoning effort, custom models * [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice) — voice providers and avatar setup * [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config) — file search and the knowledge graph * [UI Customization](/mdx/admin-guide/ui-customization) — the CSS template reference * [Onboarding Questions](/mdx/admin-guide/onboarding-questions) — the interview that drafts the instructions * [Configuration](/mdx/admin-guide/configuration) — the other Digital Twin settings # Platform Models & Providers Source: https://docs.praxis-ai.com/mdx/admin-guide/platform-models The full Praxis AI platform model catalog — provider types (Bedrock, OpenAI, Anthropic, Google, xAI, and more), model identifiers, token limits, capabilities, and Thinking support. The full platform model catalog for the [AI & Models](/mdx/admin-guide/ai-models) guide. Every Digital Twin has access to the same providers and models listed here; which model is selected for each Model Use is configured per Digital Twin under [Personalization](/mdx/admin-guide/personalization). ## Platform Models Praxis AI middleware offers access to a broad catalog of state-of-the-art AI models. You can select the model that best fits your needs based on performance, cost, and capabilities. **-- Default --** in a model picker follows the platform default, which Praxis AI keeps on a current, capable model. Keep it unless you need a specific provider, cost or speed. In the pickers, the platform default for a job is marked **— Default**, and deprecated models are hidden unless you tick **Show Deprecated**. ### Provider-Based Models Praxis AI exposes conversation and related capabilities (vision, audio, embeddings, moderation, realtime) through multiple provider types: * **Amazon Bedrock** * **OpenAI-Compatible Clients** (OpenAI, Cohere, Kimi, OpenRouter) * **Anthropic Direct API** * **Google Gemini Native SDK** (Google AI Studio, or Google AI Platform) * **Mistral AI Native SDK** * **xAI Native API** * **Stability AI Native API** Each provider contains **groups** and individual models with specific capabilities and uses. The **Typical Uses** column names the jobs a model can be picked for. Some are background jobs whose model Praxis AI chooses: **KAG** (building the knowledge graph from your files), **Praxis Shield** (spotting misuse in conversations), **Meeting roles** (helper steps for meeting bots) and **Web roles** (helper steps around a chat answer). Most conversation models can also run the [subagent roles](/mdx/admin-guide/configuration#subagent-role-models); each role's picker offers only the models suited to it. On Amazon Bedrock, Claude Opus 5 and Opus 5.5 can be picked for every agent role, the conductor included. The embedding models are listed for reference: the **Embeddings Generation** picker offers only `text-embedding-3-small`. > [accordion] Amazon Bedrock > > > [tab] Anthropic > > > > Anthropic models via Bedrock are platform models of choice, mainly for Conversation and Image Analysis. Claude Sonnet 5 and Claude Sonnet 4.6 support the optional 1M token context window (see [Inference Settings](/mdx/admin-guide/personalization#inference-settings)). In the Thinking column, **Adaptive** means the model decides how much to think for each request. > > > > > **Claude Fable 5 / 5.1 on Bedrock — data-sharing opt-in required.** These two models refuse to run on Bedrock until your AWS account opts in to Anthropic's 30-day data retention — and there is no console setting for it yet. Anthropic requires 30-day data retention for Fable/Mythos-class traffic on Bedrock. Your AWS account must set its Bedrock data-retention mode to `provider_data_sharing` (via the Bedrock Data Retention API — no console UI at launch) before `global.anthropic.claude-fable-5` or `global.anthropic.claude-fable-5-1` can be invoked; otherwise requests fail with *"data retention mode 'default' is not available for this model."* Each Fable version also needs its own Bedrock model-access agreement accepted (Bedrock console → Model access). If that data-sharing posture isn't acceptable for your deployment, use `claude-fable-5-1` / `claude-fable-5` on the Anthropic Direct API instead, which does not require the Bedrock opt-in. > > > > | Model Name | Status | Capabilities | Input (tokens) | Output (tokens) | Thinking | Typical Uses | > > | - | - | - | -: | -: | - | - | > > | `global.anthropic.claude-opus-5-5` | New | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive, always on) | Conversation, Image Analysis, Summary | > > | `global.anthropic.claude-fable-5-1` | New | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive, always on) | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-fable-5-1` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive, always on) | Conversation, Image Analysis, Summary | > > | `global.anthropic.claude-fable-5` | Current | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `global.anthropic.claude-sonnet-5-5` | New — Platform Default (Conversation) | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive) | Conversation, Image Analysis, Summary, Meeting + Web roles | > > | `global.anthropic.claude-sonnet-5` | Current | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive) | Conversation, Image Analysis, Summary, Meeting + Web roles | > > | `us.anthropic.claude-sonnet-5` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive) | Conversation, Image Analysis, Summary, Meeting roles | > > | `global.anthropic.claude-sonnet-4-6` | Current | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-sonnet-4-6` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary, Meeting roles | > > | `global.anthropic.claude-sonnet-4-5-20250929-v1:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-sonnet-4-5-20250929-v1:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-sonnet-4-20250514-v1:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-3-7-sonnet-20250219-v1:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-3-5-sonnet-20241022-v2:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 8,192 | — | Conversation, Image Analysis | > > | `global.anthropic.claude-opus-5` | Current | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive) | Conversation, Image Analysis, Summary | > > | `global.anthropic.claude-opus-4-8` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive) | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-opus-4-8` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive) | Conversation, Image Analysis, Summary | > > | `global.anthropic.claude-opus-4-7` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-opus-4-7` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `global.anthropic.claude-opus-4-6` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-opus-4-6-v1` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `global.anthropic.claude-opus-4-5-20251101-v1:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-opus-4-5-20251101-v1:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-opus-4-1-20250805-v1:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 32,000 | Yes | Conversation, Image Analysis | > > | `us.anthropic.claude-opus-4-20250514-v1:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 32,000 | Yes | Conversation, Image Analysis | > > | `global.anthropic.claude-haiku-5-5` | Current | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary, Praxis Shield, subagent roles | > > | `global.anthropic.claude-haiku-4-5-20251001-v1:0` | Current | Tools, Streaming, Vision | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-haiku-4-5-20251001-v1:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `us.anthropic.claude-3-5-haiku-20241022-v1:0` | Deprecated | Tools, Streaming, Vision | 200,000 | 8,192 | — | Conversation, Image Analysis | > > > > > [!NOTE] > > > > > > Deprecated models are on their way out. A Digital Twin still set to one is moved to a current model automatically — normally the platform default. Assistants keep the model they name until you change it, so move them to a newer model. > > > [tab] Amazon > > > > Amazon models hosted on Bedrock, used for Audio Transcription, Image Generation and Video Generation. The Amazon Nova conversation models were retired in October 2026; a Digital Twin that was set to one now uses Claude Haiku 5.5 on Bedrock. > > > > #### Retired conversation models, audio, image and video > > > > | Model Name | Status | Capabilities | Input (tokens) | Output (tokens) | Typical Uses | > > | - | - | - | -: | -: | - | > > | `us.amazon.nova-2-lite-v1:0` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 64,000 | Retired October 2026 — a Digital Twin set to it now uses Claude Haiku 5.5 on Bedrock | > > | `us.amazon.nova-premier-v1:0` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 10,000 | Retired October 2026 — a Digital Twin set to it now uses Claude Haiku 5.5 on Bedrock | > > | `us.amazon.nova-pro-v1:0` | Deprecated | Tools, Streaming, Vision | 300,000 | 5,000 | Retired October 2026 — a Digital Twin set to it now uses Claude Haiku 5.5 on Bedrock | > > | `us.amazon.nova-lite-v1:0` | Deprecated | Tools, Streaming, Vision | 300,000 | 10,000 | Retired October 2026 — a Digital Twin set to it now uses Claude Haiku 5.5 on Bedrock | > > | `us.amazon.nova-micro-v1:0` | Deprecated | Tools, Streaming | 128,000 | 5,000 | Retired October 2026 — a Digital Twin set to it now uses Claude Haiku 5.5 on Bedrock | > > | `transcribe` | Current | Audio Analysis | — | — | Audio transcription / translation | > > | `amazon.nova-canvas-v1:0` | Deprecated | Vision | — | — | Image Generation | > > | `amazon.titan-image-generator-v2:0` | Deprecated | Vision | — | — | Image Generation | > > | `amazon.nova-reel-v1:1` | Deprecated | Text or Image to Video | — | — | Retired by Amazon — videos are made by Veo 3.1 Fast (Google AI Platform) | > > > > For image generation, Nova Canvas can produce sizes up to 2048×2048 and Titan up to its supported size set (around 1536 on the longest side) when a larger or differently-shaped image is requested; otherwise both default to 1024×1024. Requests beyond a model's limit are automatically reduced to the closest supported size. > > > > #### Embeddings > > > > | Model Name | Status | Input (tokens) | Vector Dimensions | Typical Uses | > > | - | - | -: | -: | - | > > | `amazon.titan-embed-text-v2:0` | Current | 8,192 | 1,024 | Embeddings | > > | `amazon.titan-embed-text-v1` | Deprecated | 8,192 | 1,536 | Embeddings | > > > > > [!NOTE] > > > > > > More information on Amazon Bedrock models: > > > [https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html) > > > [tab] OpenAI (Open Source) > > > > Open-source GPT models exposed via Bedrock-compatible infrastructure (us-east-1). Cost-effective and well-suited to background classification/extraction work, so they are also offered for Knowledge Graph (KAG) analysis, summarization, Praxis Shield, and Web roles such as the web summarizer and safety gate. > > > > | Model Name | Capabilities | Input (tokens) | Output (tokens) | Typical Uses | > > | - | - | -: | -: | - | > > | `openai.gpt-oss-120b-1:0` | Tools, Streaming, Structured Output, Reasoning | 128,000 | 16,000 | Conversation, KAG, Summary, Praxis Shield, Meeting + Web roles | > > | `openai.gpt-oss-20b-1:0` | Tools, Streaming, Structured Output, Reasoning | 128,000 | 16,000 | Conversation, KAG, Summary, Praxis Shield, Web roles | > > | `openai.gpt-oss-safeguard-120b` | Streaming, Structured Output, Reasoning | 128,000 | 16,000 | KAG, Summary, Praxis Shield | > > | `openai.gpt-oss-safeguard-20b` | Streaming, Structured Output, Reasoning | 128,000 | 16,000 | KAG, Summary, Praxis Shield | > > > > > [!NOTE] > > > > > > More information: > > > [https://platform.openai.com/docs/models/gpt-oss-120b](https://platform.openai.com/docs/models/gpt-oss-120b) > > > [tab] Meta > > > > Meta (Llama) models via Bedrock group, used mainly for Summary and Image Analysis; Llama 3.3 70B is also selectable for Conversation. > > > > | Model Name | Notes | Capabilities | Input (tokens) | Typical Uses | > > | - | - | - | -: | - | > > | `us.meta.llama3-3-70b-instruct-v1:0` | Text-only | Tools, Streaming | 128,000 | Conversation, Summary | > > | `us.meta.llama3-2-11b-instruct-v1:0` | No tools+streaming together | Streaming, Vision | 128,000 | Summary, Image Analysis | > > | `us.meta.llama4-maverick-17b-instruct-v1:0` | No tools+streaming together | Streaming, Vision | 1,000,000 | Summary, Image Analysis | > > | `us.meta.llama4-scout-17b-instruct-v1:0` | Tools and streaming supported | Tools, Streaming, Vision | 1,000,000 | Summary, Image Analysis | > > > > > [!NOTE] > > > > > > More information: > > > [https://www.llama.com/docs/get-started/](https://www.llama.com/docs/get-started/) > > > [tab] Cohere > > > > Cohere models via Bedrock, used for Conversation and Summary. > > > > | Model Name | Status | Capabilities | Input (tokens) | Output (tokens) | Typical Uses | > > | - | - | - | -: | -: | - | > > | `cohere.command-r-plus-v1:0` | Deprecated | Tools, Streaming | 128,000 | 4,000 | Conversation, Summary | > > | `cohere.command-r-v1:0` | Current | Tools, Streaming | 128,000 | 4,000 | Conversation, Summary | > > > > > [!NOTE] > > > > > > More information: > > > [https://docs.cohere.com/docs/models](https://docs.cohere.com/docs/models) > > > [tab] Mistral > > > > Mistral models in the Bedrock provider, used for Conversation, Summary, and Image Analysis. > > > > | Model Name | Capabilities | Input (tokens) | Typical Uses | > > | - | - | -: | - | > > | `mistral.devstral-2-123b` | Tools, Streaming | 128,000 | Conversation (Coding) | > > | `mistral.mistral-large-3-675b-instruct` | Tools, Streaming, Vision | 128,000 | Summary, Conversation, Image Analysis | > > | `mistral.magistral-small-2509` | Tools, Streaming, Reasoning | 128,000 | Conversation, Summary | > > | `us.mistral.pixtral-large-2502-v1:0` | Tools, Streaming, Vision | 128,000 | Summary, Image Analysis | > > > > > [!NOTE] > > > > > > More information: > > > [https://docs.mistral.ai/getting-started/models/models\_overview](https://docs.mistral.ai/getting-started/models/models_overview) > > > [!NOTE] > > > > Stability AI models are no longer available through Bedrock. They are now served via the Stability AI Native API — see the dedicated accordion below. > [accordion] OpenAI-Compatible Clients > > > [tab] OpenAI > > > > These models are configured against the OpenAI API and used across Conversation, Image Analysis, Summary, Audio, TTS, Moderation, and Realtime. > > > > #### Conversation / Vision / Summary > > > > | Model Name | Status | Capabilities | Input (tokens) | Output (tokens) | Thinking | Typical Uses | > > | - | - | - | -: | -: | - | - | > > | `gpt-6-astra` (GPT-6 Astra) | New | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes (low and above) | Conversation, Image Analysis, Summary | > > | `gpt-6-sol` (GPT-6 Sol) | New | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-6.1-sol` (GPT-6.1 Sol) | New | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes (low and above) | Conversation, Image Analysis, Summary | > > | `gpt-6.1-terra` (GPT-6.1 Terra) | New | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-6-luna` (GPT-6 Luna) | New | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5.6` (GPT-5.6 Sol) | Current | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5.6-terra` (GPT-5.6 Terra) | Current | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5.6-luna` (GPT-5.6 Luna) | Current | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5.5-2026-04-23` | Current | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5.4` | Current | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5.4-pro` | Current | Tools, Streaming, Vision, MCP | 1,050,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5.4-mini` | Current | Tools, Streaming, Vision, MCP | 400,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5.4-nano` | Current | Tools, Streaming, Vision, MCP | 400,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5.2` | Current | Tools, Streaming, Vision, MCP | 400,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5.1` | Current | Tools, Streaming, Vision, MCP | 400,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5-2025-08-07` | Deprecated | Tools, Streaming, Vision, MCP | 272,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5-mini` | Current | Tools, Streaming, Vision, MCP | 400,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5-nano-2025-08-07` | Current | Tools, Streaming, Vision, MCP | 400,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-5` | Deprecated | Tools, Streaming, Vision, MCP | 272,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `gpt-4.1` | Deprecated | Tools, Streaming, Vision, MCP | 1,048,576 | 32,768 | — | Conversation, Image Analysis, Summary | > > | `gpt-4.1-mini` | Deprecated | Tools, Streaming, Vision, MCP | 1,048,576 | 32,768 | — | Conversation, Image Analysis, Summary | > > | `gpt-4.1-nano` | Deprecated | Tools, Streaming, Vision, MCP | 1,048,576 | 32,768 | — | Conversation, Image Analysis, Summary | > > | `gpt-4o` | Deprecated | Tools, Streaming, Vision | 128,000 | 16,384 | — | Conversation, Image Analysis, Summary | > > | `gpt-4o-mini` | Deprecated | Tools, Streaming, Vision | 128,000 | 16,384 | — | Conversation, Image Analysis, Summary | > > | `o4-mini-deep-research` | Specialized | Streaming, Vision, MCP | 200,000 | 100,000 | Yes | Deep research, Image Analysis | > > | `o4-mini` | Current | Tools, Streaming, Vision, MCP | 200,000 | 100,000 | Yes | Conversation, Image Analysis | > > | `o3-deep-research` | Specialized | Streaming, Vision, MCP | 200,000 | 100,000 | Yes | Deep research, Image Analysis | > > | `o3-pro` | Deprecated | Tools, Streaming, Vision, MCP | 200,000 | 100,000 | Yes | Conversation, Image Analysis | > > | `o3` | Deprecated | Tools, Streaming, Vision, MCP | 200,000 | 100,000 | Yes | Conversation, Image Analysis | > > | `o3-mini` | Deprecated | Tools, Streaming, Vision | 200,000 | 100,000 | Yes | Conversation, Image Analysis | > > | `o1` | Deprecated | Tools, Streaming, Vision | 200,000 | 100,000 | Yes | Conversation, Image Analysis | > > > > #### Image Generation > > > > | Model Name | Status | Capabilities | Typical Uses | > > | - | - | - | - | > > | `gpt-image-2.5-flare` | New — Platform Default | Vision | Image Generation — fast everyday images | > > | `gpt-image-2.5-sunburst` | New | Vision | Image Generation — strongest at precise edits | > > | `gpt-image-2` | Current | Vision | Image Generation | > > | `gpt-image-1.5` | Deprecated | Vision | Image Generation | > > | `gpt-image-1` | Deprecated | Vision | Image Generation | > > | `gpt-image-1-mini` | Deprecated | Vision | Image Generation | > > | `dall-e-3` | Deprecated | Vision | Image Generation | > > | `dall-e-2` | Deprecated | Vision | Image Generation | > > > > OpenAI no longer serves DALL·E and GPT Image 1: a request that still names one (for example from an assistant) is answered by GPT Image 2.5 Flare. GPT Image 1.5 and GPT Image 1 mini are deprecated and will follow. Choose GPT Image 2.5 Flare (fast everyday images) or GPT Image 2.5 Sunburst (precise edits) instead. > > > > When asked, Pria can produce these images in shapes beyond the default square: square (1024×1024), landscape (1536×1024) and portrait (1024×1536). If a requested size isn't supported by the chosen model, Pria automatically uses the closest available size. > > > > #### Video Generation > > > > | Model Name | Status | Capabilities | Typical Uses | > > | - | - | - | - | > > | `sora-2` | Deprecated | Text to Video | Retired by OpenAI — videos are made by Veo 3.1 Fast (Google AI Platform) | > > | `sora-2-pro` | Deprecated | Text to Video | Retired by OpenAI — videos are made by Veo 3.1 Fast (Google AI Platform) | > > > > #### Embeddings > > > > | Model Name | Input (tokens) | Vector Dimensions | Typical Uses | > > | - | -: | -: | - | > > | `text-embedding-3-small` | 8,191 | 1,536 | Embeddings | > > | `text-embedding-3-large` | 8,191 | 3,072 | Embeddings | > > > > #### Audio Transcription and Translation > > > > | Model Name | Input (Hz) | Output (tokens) | Typical Uses | > > | - | -: | -: | - | > > | `whisper-1` | — | — | Audio Analysis | > > | `gpt-4o-mini-transcribe` | 16,000 | 2,000 | Audio Analysis | > > | `gpt-4o-transcribe` | 16,000 | 2,000 | Audio Analysis (Platform Default) | > > | `gpt-4o-transcribe-diarize` | 16,000 | 2,000 | Audio Analysis (Speaker ID) | > > > > #### Text-to-Speech (TTS) > > > > | Model Name | Typical Uses | > > | - | - | > > | `tts-1` | TTS | > > | `tts-1-hd` | TTS | > > | `gpt-4o-mini-tts` | TTS | > > > > #### Moderation > > > > | Model Name | Typical Uses | > > | - | - | > > | `omni-moderation-latest` | Moderation | > > > > #### Real-Time Speech-to-Speech (RT / STS) > > > > | Model Name | Status | Input Tokens | Output Tokens | Reasoning | Typical Uses | > > | - | - | -: | -: | - | - | > > | `gpt-realtime-2.1` | New — Platform Default | 128,000 | 32,000 | Yes (Voice Reasoning Effort) | Realtime voice agent | > > | `gpt-realtime-2.1-mini` | New | 128,000 | 32,000 | Yes (Voice Reasoning Effort) | Realtime voice agent — about a third of the cost | > > | `gpt-realtime-2` | Current | 128,000 | 32,000 | Yes (Voice Reasoning Effort) | Realtime voice agent | > > | `gpt-realtime-1.5` | Current | 32,000 | 4,096 | — | Realtime voice agent | > > | `gpt-realtime` | Current | 32,000 | 4,096 | — | Realtime voice agent | > > | `gpt-realtime-mini` | Current | 32,000 | 4,096 | — | Realtime voice agent | > > | `gpt-4o-realtime-preview` | Deprecated | 32,000 | 4,096 | — | Realtime voice agent | > > | `gpt-4o-mini-realtime-preview` | Deprecated | 16,000 | 4,096 | — | Realtime voice agent | > > > > #### Full-Duplex Voice (GPT-Live) > > > > Picked from the **OpenAI GPT-Live** provider. GPT-Live listens and speaks at the same time; your Digital Twin's own conversation model, files and tools supply the answers. See [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice). > > > > | Model Name | Status | Input Tokens | Typical Uses | > > | - | - | -: | - | > > | `gpt-live-1` | Current | 128,000 | Realtime voice agent (full-duplex) | > > > > **OpenAI Voices (Convo, speech-to-speech):** Cedar (New), Marin (New), Alloy, Ash, Ballad, Coral, Echo, Sage, Shimmer, Verse > > > > **OpenAI Voices (Read-aloud):** the voices a Text-to-Speech model can speak depend on the model. `tts-1` (the platform default) and `tts-1-hd` accept Alloy, Ash, Coral, Echo, Fable, Nova, Onyx, Sage and Shimmer; `gpt-4o-mini-tts` also accepts Ballad and Verse. Cedar and Marin are Convo-only. The Read-aloud voice picker only offers the voices your speech model supports; if a twin was saved with a voice its model cannot speak, read-aloud plays Alloy and the picker says so until you choose another voice. > > > > > [!NOTE] > > > > > > More information: > > > [https://platform.openai.com/docs/models](https://platform.openai.com/docs/models) > > > [tab] ElevenLabs > > > > ElevenLabs Conversational AI can be used as an alternative real-time speech-to-speech provider. When selected, Pria's Convo Mode connects to your configured ElevenLabs agent instead of OpenAI GPT-Realtime. > > > > | Model Name | Typical Uses | > > | - | - | > > | `elevenlabs` | Realtime voice agent (Convo Mode) | > > > > > [!NOTE] > > > > > > Requires an ElevenLabs Agent ID and API Key configured in [Integrations](/mdx/admin-guide/configuration#elevenlabs-voice-cloning). See [ElevenLabs Voice Agent](/mdx/integrations/elevenlabs/introduction) for setup instructions. > > > [tab] Google Gemini > > > > Gemini models are accessed through the Google GenAI native SDK and are used for Conversation, Image Analysis, Summary, and Image Generation. Requires an API key. > > > > #### Conversation / Vision / Summary > > > > | Model Name | Label | Capabilities | Input (tokens) | Output (tokens) | Thinking | Typical Uses | > > | - | - | - | -: | -: | - | - | > > | `gemini-3.8-flash` | Fast | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary, Video Analysis, Meeting + Web roles | > > | `gemini-3.7-flash` | Fast | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary, Video Analysis, Meeting + Web roles | > > | `gemini-3.6-flash` | Fast | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary, Video Analysis, Meeting + Web roles | > > | `gemini-3.5-flash` | Fast | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary, Video Analysis, Meeting + Web roles | > > | `gemini-4-argon` | Advanced Reasoning | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary | > > | `gemini-3.1-pro-preview` | Advanced Reasoning | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary | > > | `gemini-3.5-flash-lite` | Ultra Fast | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary | > > | `gemini-3.1-flash-lite` | Ultra Fast | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary | > > | `gemini-3.1-flash-lite-preview` | Deprecated | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary | > > | `gemini-3-flash-preview` | — | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary | > > | `gemini-3-pro-preview` | Deprecated | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary | > > | `gemini-2.5-flash` | Fast | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary, Video Analysis | > > | `gemini-2.5-flash-lite` | Ultra Fast | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary | > > | `gemini-2.5-pro` | Production | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary, Video Analysis | > > > > #### Google AI Platform > > > > The same Gemini model served from Google Cloud's Vertex AI, for organizations whose Google key is a Google Cloud key. Pick it from the **Google AI Platform** provider; the key goes under **Google AI Platform API Key** in the Digital Twin's configuration. > > > > | Model Name | Capabilities | Input (tokens) | Output (tokens) | Thinking | Typical Uses | > > | - | - | -: | -: | - | - | > > | `publishers/google/models/gemini-3.8-flash` | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary | > > > > ##### Video Generation (Veo) > > > > | Model Name | Label | Status | Capabilities | Typical Uses | > > | - | - | - | - | - | > > | `publishers/google/models/veo-3.1-fast-generate-001` | Veo 3.1 Fast (Google AI Platform) | Platform Default | Text or Image to Video, with sound | Video Generation (4, 6 or 8 s; 16:9 or 9:16) | > > | `publishers/google/models/veo-3.1-generate-001` | Veo 3.1 (Google AI Platform) | Current | Text or Image to Video, with sound | Video Generation (higher fidelity, used when high quality is asked for) | > > > > Google's Veo models make the videos: Veo 3.1 Fast by default, Veo 3.1 when high quality is asked for. Clips of 4, 6 or 8 seconds with sound, landscape (16:9) or portrait (9:16), from a description or from a PNG, JPEG or WebP picture. Videos are made through Praxis AI's Google Cloud account (a Digital Twin's own Google AI Platform key is not used for video) and use credits according to their length — about 2 credits per second with Veo 3.1 Fast and about 5.5 with Veo 3.1 at standard pricing. > > > > #### Image Generation > > > > | Model Name | Label | Capabilities | Typical Uses | > > | - | - | - | - | > > | `gemini-2.5-flash-image` | Native Image Gen | Vision | Image Generation | > > | `gemini-3-pro-image` | New — HQ Image Gen | Vision | Image Generation (up to 4K) | > > | `gemini-nano-banana-2.1` | New — Fast Image Gen | Vision | Image Generation (1K) | > > | `gemini-3.1-flash-image` | Fast Image Gen | Vision | Image Generation | > > | `gemini-3.1-flash-lite-image` | New — Fastest Image Gen | Vision | Image Generation (1K) | > > | `gemini-3-pro-image-preview` | Deprecated | Vision | Image Generation — a Digital Twin set to it now uses `gemini-3-pro-image` | > > > > The flash image models generate at the standard 1024×1024. `gemini-3-pro-image` can produce higher resolutions (up to 4K) and different aspect ratios when a larger or differently-shaped image is requested; otherwise it defaults to a standard square. > > > > #### Embeddings > > > > | Model Name | Input (tokens) | Vector Dimensions | Typical Uses | > > | - | -: | -: | - | > > | `gemini-embedding-2-preview` | 8,192 | 3,072 | Embeddings (multimodal) | > > | `gemini-embedding-001` | 2,048 | 3,072 | Embeddings | > > > > #### Text-to-Speech (TTS) > > > > | Model Name | Typical Uses | > > | - | - | > > | `gemini-2.5-flash-preview-tts` | TTS | > > | `gemini-2.5-pro-preview-tts` | TTS | > > > > #### Real-Time Speech-to-Speech (Gemini Live) > > > > | Model Name | Status | Typical Uses | > > | - | - | - | > > | `gemini-3.8-live` | New | Realtime voice agent — same price as 3.1 Flash Live | > > | `gemini-3.1-flash-live-preview` | Current | Realtime voice agent | > > | `gemini-2.5-flash-native-audio-preview-12-2025` | Alternative | Realtime voice agent | > > > > **Gemini Voices:** Puck (Upbeat), Charon (Informative), Kore (Firm), Fenrir (Excitable), Aoede (Breezy), Zephyr (Bright), Leda (Youthful), Orus (Firm) > > > > > [!NOTE] > > > > > > [Preview Gemini voices on Google AI Studio](https://aistudio.google.com) > > > > > [!NOTE] > > > > > > More information: > > > [https://ai.google.dev/gemini-api/docs/models](https://ai.google.dev/gemini-api/docs/models) > > > [tab] Anthropic (Direct API) > > > > Anthropic models via direct API, used for Conversation, Image Analysis, and Summary. Requires an API key. Claude Sonnet 5 and Claude Sonnet 4.6 support the optional 1M token context window (see [Inference Settings](/mdx/admin-guide/personalization#inference-settings)). > > > > | Model Name | Status | Capabilities | Input (tokens) | Output (tokens) | Thinking | Typical Uses | > > | - | - | - | -: | -: | - | - | > > | `claude-opus-5-5` | New | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive, always on) | Conversation, Image Analysis, Summary | > > | `claude-fable-5-1` | New | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive, always on) | Conversation, Image Analysis, Summary | > > | `claude-fable-5` | Current | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `claude-sonnet-5-5` | New | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive) | Conversation, Image Analysis, Summary, Meeting roles | > > | `claude-sonnet-5` | Current | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive) | Conversation, Image Analysis, Summary, Meeting roles | > > | `claude-sonnet-4-6` | Current | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `claude-sonnet-4-5-20250929` | Deprecated | Tools, Streaming, Vision | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `claude-haiku-5-5` | Current | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `claude-haiku-4-5-20251001` | Current | Tools, Streaming | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `claude-opus-5` | Current | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive) | Conversation, Image Analysis, Summary | > > | `claude-opus-4-8` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes (Adaptive) | Conversation, Image Analysis, Summary | > > | `claude-opus-4-7` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `claude-opus-4-6` | Deprecated | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `claude-opus-4-5-20251101` | Deprecated | Tools, Streaming | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `claude-opus-4-1-20250805` | Deprecated | Tools, Streaming, Vision | 200,000 | 32,000 | Yes | Conversation, Image Analysis, Summary | > > | `claude-sonnet-4-20250514` | Deprecated | Tools, Streaming, Vision | 200,000 | 64,000 | Yes | Conversation, Image Analysis, Summary | > > | `claude-opus-4-20250514` | Deprecated | Tools, Streaming, Vision | 200,000 | 32,000 | Yes | Conversation, Image Analysis, Summary | > > > > > [!NOTE] > > > > > > More information: > > > [https://docs.anthropic.com/en/docs/about-claude/models/overview](https://docs.anthropic.com/en/docs/about-claude/models/overview) > > > [tab] Cohere (Direct API) > > > > Cohere model via OpenAI-compatible endpoint, used for Conversation, Image Analysis, and Summary. Requires an API key. > > > > | Model Name | Capabilities | Input (tokens) | Output (tokens) | Typical Uses | > > | - | - | -: | -: | - | > > | `command-a-03-2025` | Tools, Streaming, Vision | 128,000 | 4,000 | Conversation, Image Analysis, Summary | > > > > > [!NOTE] > > > > > > More information: > > > [https://docs.cohere.com/docs/models](https://docs.cohere.com/docs/models) > > > [tab] Kimi (Moonshot AI) > > > > Moonshot AI's Kimi models served through Moonshot's OpenAI-compatible API, used for Conversation, Image Analysis, and Summary — including agentic multi-turn tool orchestration (native tool calling). Reasoning is always on for `kimi-k3`. Stable prompt prefixes are cached automatically by the provider, which sharply discounts repeated input. Requires a Kimi API key (platform-wide or per Digital Twin). > > > > | Model Name | Capabilities | Input (tokens) | Output (tokens) | Thinking | Typical Uses | > > | - | - | -: | -: | - | - | > > | `kimi-k3` | Tools, Streaming, Vision | 1,048,576 | 131,072 | Yes | Conversation, Image Analysis, Summary | > > | `kimi-k2.7-code` | Tools, Streaming, Vision | 262,144 | — | Yes | Conversation (agentic coding), Image Analysis, Summary | > > | `kimi-k2.7-code-highspeed` | Tools, Streaming, Vision | 262,144 | — | Yes | Conversation (agentic coding, faster), Image Analysis | > > | `kimi-k2.6` | Tools, Streaming, Vision | 262,144 | — | Yes | Conversation, Image Analysis, Summary | > > > > > [!NOTE] > > > > > > More information: > > > [https://platform.kimi.ai/docs](https://platform.kimi.ai/docs) > > > [tab] OpenRouter > > > > Models reached through OpenRouter, a gateway to many AI providers. The Claude, Gemini and Grok models behave like their native versions (tools, images, thinking levels) and use only OpenRouter's zero-data-retention endpoints. The open-weight models (Gemma, DeepSeek, GLM, Kimi, MiniMax, Qwen and others) are low-cost options, used mostly for background jobs such as KAG, Praxis Shield and subagent roles. To use your own OpenRouter account, add its key under **API Keys** in the Digital Twin's configuration. > > > > | Model Name | Label | Capabilities | Input (tokens) | Output (tokens) | Thinking | Typical Uses | > > | - | - | - | -: | -: | - | - | > > | `anthropic/claude-opus-5.5` | Claude Opus 5.5 | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary | > > | `anthropic/claude-sonnet-5.5` | Claude Sonnet 5.5 | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary, Meeting + Web roles | > > | `anthropic/claude-sonnet-5` | Claude Sonnet 5 | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary, Meeting + Web roles | > > | `anthropic/claude-sonnet-4.6` | Claude Sonnet 4.6 | Tools, Streaming, Vision | 1,000,000 | 128,000 | Yes | Conversation, Image Analysis, Summary, Meeting + Web roles | > > | `google/gemini-3.8-flash` | Gemini 3.8 Flash | Tools, Streaming, Vision | 1,048,576 | 65,536 | Yes | Conversation, Image Analysis, Summary | > > | `x-ai/grok-4.7` | Grok 4.7 | Tools, Streaming, Vision | 500,000 | — | Yes | Conversation, Image Analysis, Summary | > > | `x-ai/grok-4.3` | Grok 4.3 | Tools, Streaming, Vision | 1,000,000 | — | Yes | Conversation, Image Analysis, Summary | > > | `google/gemma-4-31b-it` | Gemma 4 31B Instruct | Tools, Streaming, Vision | 262,144 | 16,384 | Yes | Conversation, Image Analysis, Summary, KAG, Praxis Shield | > > | `deepseek/deepseek-v4.1-flash` | DeepSeek V4.1 Flash | Tools, Vision | 131,072 | 16,384 | Yes | Conversation, KAG, Praxis Shield, Web roles | > > | `deepseek/deepseek-v4-pro` | DeepSeek V4 Pro | Tools, Streaming | 131,072 | 16,384 | Yes | Conversation, Praxis Shield, Web roles | > > | `deepseek/deepseek-v4-flash` | DeepSeek V4 Flash | Tools | 131,072 | 32,768 | Yes | Conversation, KAG | > > | `deepseek/deepseek-v4-flash-0731` | DeepSeek V4 Flash 0731 | Tools | 131,072 | 16,384 | Yes | Subagent roles | > > | `z-ai/glm-5.3` | GLM 5.3 | Tools, Streaming | 131,072 | 16,384 | Yes | Conversation, Summary | > > | `z-ai/glm-5.3-flash` | GLM 5.3 Flash | Tools, Streaming, Vision | 131,072 | 16,384 | Yes | Conversation, Summary | > > | `z-ai/glm-5.2` | GLM 5.2 | Tools, Streaming | 131,072 | 16,384 | Yes | Conversation, Summary | > > | `z-ai/glm-5.1` | GLM 5.1 | Tools, Streaming | 131,072 | 16,384 | Yes | Conversation, Summary, Praxis Shield, Meeting + Web roles | > > | `z-ai/glm-4.7-flash` | GLM 4.7 Flash | Tools | 131,072 | 16,384 | Yes | Conversation, KAG, Praxis Shield | > > | `moonshotai/kimi-k3.1-pro` | Kimi K3.1 Pro | Tools, Streaming, Vision | 1,048,576 | 943,718 | Yes | Conversation, Image Analysis, Summary | > > | `moonshotai/kimi-k2.7-code` | Kimi K2.7 Code | Tools, Streaming | 131,072 | 16,384 | Yes | Conversation (agentic coding), Summary | > > | `moonshotai/kimi-k2.6` | Kimi K2.6 | Tools, Streaming, Vision | 262,144 | 16,384 | Yes | Conversation, Image Analysis, Summary | > > | `minimax/minimax-m3` | MiniMax M3 | Tools, Streaming, Vision | 131,072 | 16,384 | Yes | Conversation, Summary | > > | `minimax/minimax-m2.7` | MiniMax M2.7 | Tools, Streaming | 131,072 | 16,384 | Yes | Conversation, Summary | > > | `xiaomi/mimo-v2.6-flash` | MiMo V2.6 Flash | Tools, Streaming, Vision | 131,072 | 16,384 | Yes | Conversation, Summary | > > | `xiaomi/mimo-v2.5-pro` | MiMo V2.5 Pro | Tools, Streaming | 131,072 | 16,384 | Yes | Conversation, Summary | > > | `inclusionai/ring-2.6-1t` | Ring 2.6 1T | Tools, Streaming | 131,072 | 16,384 | Yes | Conversation, Summary | > > | `inclusionai/ling-2.6-flash` | Ling 2.6 Flash | Tools | 262,144 | 32,768 | — | Conversation, Summary, Praxis Shield | > > | `openai/gpt-oss-120b` | GPT-OSS 120B | Tools | 131,072 | 32,768 | Yes | Conversation, KAG, Praxis Shield, Web roles | > > | `openai/gpt-oss-20b` | GPT-OSS 20B | Tools | 131,072 | 32,768 | Yes | Conversation, KAG, Praxis Shield, Web roles | > > | `qwen/qwen3.6-35b-a3b` | Qwen3.6 35B A3B | Tools, Streaming, Vision | 131,072 | 32,768 | Yes | Conversation, Summary | > > | `qwen/qwen3.5-flash-02-23` | Qwen3.5 Flash | Tools | 131,072 | 32,768 | Yes | Conversation, KAG, Praxis Shield, Meeting + Web roles | > > | `qwen/qwen3-30b-a3b-instruct-2507` | Qwen3 30B A3B Instruct | Tools | 131,072 | 32,000 | — | Conversation, KAG, Praxis Shield | > > | `qwen/qwen3-coder-30b-a3b-instruct` | Qwen3 Coder 30B A3B | Tools, Streaming | 131,072 | 32,768 | — | Conversation (coding) | > > | `nvidia/nemotron-3.5-lightning` | NVIDIA Nemotron 3.5 Lightning | Tools | 131,072 | 16,384 | Yes | Subagent roles | > > | `stepfun/step-3.7-flash` | StepFun Step 3.7 Flash | Tools | 131,072 | 32,768 | Yes | KAG | > > | `tencent/hy3-preview` | Hunyuan hy3-preview | Tools, Streaming | 131,072 | 16,384 | Yes | Conversation, Summary | > > > > > [!NOTE] > > > > > > More information: > > > [https://openrouter.ai/models](https://openrouter.ai/models) > [accordion] Mistral AI (Native SDK) > > Mistral AI models are accessed through Mistral's own API and are used for Conversation, Image Analysis, Summary, Audio, TTS, Embeddings, and Moderation. Requires an API key. > > #### Conversation / Vision / Summary > > | Model Name | Label | Capabilities | Input (tokens) | Output (tokens) | Typical Uses | > | - | - | - | -: | -: | - | > | `mistral-large-latest` | Large (latest) | Tools, Streaming, Vision | 128,000 | 8,192 | Conversation, Image Analysis, Summary | > | `mistral-large-2512` | Large 3 | Tools, Streaming, Vision | 256,000 | 8,192 | Summary, KAG | > | `mistral-medium-2604` | Medium 3.5 | Tools, Streaming, Vision | 256,000 | 8,192 | Conversation, Image Analysis | > | `mistral-small-2603` | Small 4 | Tools, Streaming, Vision, Reasoning | 256,000 | 8,192 | Conversation, Image Analysis, Summary | > | `codestral-2508` | Code | Tools, Streaming, Vision | 256,000 | 8,192 | Conversation, Summary | > > #### Retired by Mistral > > Mistral has switched these models off. Any Digital Twin, assistant or platform default that used one is moved automatically to its current equivalent — **Mistral Medium 3.5** (`mistral-medium-2604`) for most, **Mistral Small 4** (`mistral-small-2603`) for the small ones. Where the new model isn't offered for that particular job, the next current model that is takes its place: **Mistral Large 3** (`mistral-large-2512`) for a summary setting, and Medium 3.5 for an agent-role seat. Custom AI Model definitions are never changed automatically. > > | Model Name | Moved to | > | - | - | > | `mistral-medium-2508` | Mistral Medium 3.5 | > | `mistral-large-2411` | Mistral Medium 3.5 | > | `magistral-medium-2509` | Mistral Medium 3.5 | > | `devstral-2512` | Mistral Medium 3.5 | > | `devstral-medium-2507` | Mistral Medium 3.5 | > | `pixtral-large-2411` / `pixtral-large-latest` | Mistral Medium 3.5 | > | `mistral-small-2506` | Mistral Small 4 | > | `magistral-small-2509` | Mistral Small 4 | > | `mistral-saba-latest` | Mistral Small 4 | > > #### Audio Transcription (STT) > > | Model Name | Typical Uses | > | - | - | > | `voxtral-mini-2602` | Audio Analysis (Speech to Text 2) | > | `voxtral-mini-transcribe` | Audio Analysis (Speech to Text) | > | `voxtral-mini-latest` | Audio Analysis (Speech to Text) | > | `voxtral-mini-2507` | Audio Analysis | > > #### Text-to-Speech (TTS) > > | Model Name | Typical Uses | > | - | - | > | `voxtral-mini-tts-2603` | TTS | > > #### Embeddings > > | Model Name | Input (tokens) | Typical Uses | > | - | -: | - | > | `mistral-embed` | 8,192 | Embeddings | > | `codestral-embed` | 8,192 | Embeddings | > > #### Moderation > > | Model Name | Typical Uses | > | - | - | > | `mistral-moderation-2603` | Moderation (Moderation 2) | > | `mistral-moderation-2411` | Moderation | > > > [!NOTE] > > > > More information: > > [https://docs.mistral.ai/getting-started/models/models\_overview](https://docs.mistral.ai/getting-started/models/models_overview) > [accordion] xAI (Native API) > > xAI models are accessed through xAI's native API and are used for Conversation, Image Analysis, Summary, Code, Image Generation, Embeddings, TTS, and Real-Time Voice. Requires an API key. > > #### Conversation / Vision / Summary > > | Model Name | Status | Capabilities | Input (tokens) | Thinking | Typical Uses | > | - | - | - | -: | - | - | > | `grok-4.7` | New | Tools, Streaming, Vision | 500,000 | Yes (adjustable, up to `xhigh`) | Conversation, Image Analysis, Summary | > | `grok-4.3` | New | Tools, Streaming, Vision | 1,000,000 | Yes (adjustable, can be turned off) | Conversation, Image Analysis, Summary | > | `grok-4.6` | Current | Tools, Streaming, Vision | 500,000 | Yes (adjustable, up to `xhigh`) | Conversation, Image Analysis, Summary | > | `grok-4.5` | Current | Tools, Streaming, Vision | 500,000 | Yes (adjustable) | Conversation, Image Analysis, Summary | > | `grok-4.20-0309-reasoning` | Current | Tools, Streaming, Vision | 2,000,000 | Yes | Conversation, Image Analysis, Summary | > | `grok-4.20-0309-non-reasoning` | Current | Tools, Streaming, Vision | 2,000,000 | — | Conversation, Image Analysis, Summary | > | `grok-4-1-fast-reasoning` | Current | Tools, Streaming, Vision | 2,000,000 | Yes | Conversation, Image Analysis, Summary | > | `grok-4-1-fast-non-reasoning` | Current | Tools, Streaming, Vision | 2,000,000 | — | Conversation, Image Analysis, Summary | > | `grok-4` | Deprecated | Tools, Streaming, Vision | 2,000,000 | Yes | Conversation, Image Analysis, Summary | > | `grok-build-0.1` | Current | Tools, Streaming, Vision | 256,000 | Yes | Agentic coding Conversation, Image Analysis | > | `grok-code-fast-1` | Current | Tools, Streaming | 256,000 | — | Code-focused Conversation | > > #### Image Generation > > | Model Name | Status | Capabilities | Typical Uses | > | - | - | - | - | > | `grok-imagine-image-pro` | Current | Vision | Image Generation | > | `grok-imagine-image-2.0` | New — Recommended | Vision | Image Generation | > | `grok-imagine-image-quality` | New | Vision | Image Generation (higher quality) | > | `grok-imagine-image` | Current | Vision | Image Generation | > > These models are shaped by aspect ratio rather than exact pixel size — Pria can request a square, landscape, or portrait shape (e.g. 1:1, 16:9, 9:16, 3:2) and defaults to a square. An unsupported shape is mapped to the closest available aspect. > > #### Embeddings > > | Model Name | Input (tokens) | Vector Dimensions | Typical Uses | > | - | -: | -: | - | > | `grok-embedding-small` | 8,000 | 1,024 | Embeddings | > > #### Text-to-Speech (TTS) > > | Model Name | Typical Uses | > | - | - | > | `grok-tts` | TTS | > > **xAI Voices:** Eve, Ara, Rex, Sal, Leo > > #### Real-Time Speech-to-Speech (xAI Voice Agent) > > | Model Name | Status | Typical Uses | > | - | - | - | > | `grok-3-fast` | Current | Realtime voice agent | > > **xAI RT Voices:** Eve (Default), Ara, Rex, Sal, Leo > > > [!NOTE] > > > > Audio transcription (STT) for xAI delegates to the configured OpenAI transcription model (e.g., `gpt-4o-mini-transcribe`). > > > [!NOTE] > > > > More information: > > [https://docs.x.ai/docs/models](https://docs.x.ai/docs/models) > [accordion] Stability AI (Native API) > > Stability AI models are accessed through Stability's own API and are dedicated to media generation: Image and Audio (its video model is retired, see below). Praxis AI provides access by default; to use your own Stability account, add its key under **Stability AI API Key** in the Digital Twin's configuration. > > #### Image Generation > > | Model Name | Label | Capabilities | Typical Uses | > | - | - | - | - | > | `stability.stable-image-ultra` | Stable Image Ultra | Vision | Image Generation | > | `stability.stable-image-core` | Stable Image Core | Vision | Image Generation | > | `stability.sd3.5-large` | SD 3.5 Large | Vision | Image Generation | > > These models are shaped by aspect ratio rather than exact pixel size — Pria can request shapes such as 1:1, 16:9, 9:16, 21:9, 3:2, or 4:5 and defaults to a square. An unsupported shape is mapped to the closest available aspect. > > #### Audio Generation > > | Model Name | Label | Typical Uses | > | - | - | - | > | `stability.stable-audio-2` | Stable Audio 2 (text to audio, up to 190s) | Audio Generation | > > #### Video Generation > > | Model Name | Label | Status | Typical Uses | > | - | - | - | - | > | `stability.image-to-video` | Stable Video (DEPRECATED — provider shut down 2025-07-24) | Deprecated | Video Generation | > > > [!WARNING] > > > > Stability AI retired its video generation API on **2025-07-24**. The model is kept in the dropdown for backward compatibility but calls return a deprecation message. Videos are made by **Veo 3.1 Fast** (Google AI Platform, the default) or **Veo 3.1**. > > > [!NOTE] > > > > Stability AI remains a dedicated media-generation provider for Image and Audio — it does not expose Conversation, Embeddings, STT, or RT Voice. Conversation models from OpenAI, Anthropic, Gemini, Mistral, xAI, or Bedrock hand image and audio requests to Stability when a Stability model is selected for **Image Generation** or **Audio Generation**. Videos are made by the model selected for **Video Generation** (Veo 3.1 Fast by default). Stability models create a new image from the description; they do not edit an existing image. > > > [!NOTE] > > > > More information: > > [https://platform.stability.ai/docs/api-reference](https://platform.stability.ai/docs/api-reference) ## Related * [AI & Models](/mdx/admin-guide/ai-models) — model uses, selection, reasoning effort, moderation, and BYOM * [Personalization](/mdx/admin-guide/personalization) — where each Digital Twin selects its per-capability models # Praxis Shield — Threat & Abuse Monitoring Source: https://docs.praxis-ai.com/mdx/admin-guide/praxis-shield Review and triage security incidents detected in your Digital Twins' AI conversations — with AI-assisted analysis, human review, and a full audit trail. **Praxis Shield** is the platform's background safety layer. It reviews conversations across your Digital Twins in the background for signs of misuse: people trying to trick the twin into ignoring its instructions (*prompt injection*), trying to make it break its own rules (*jailbreaking*), fishing for passwords or details of how the system works, sending abusive email through it, or hammering it with automated traffic. Suspicious activity is assessed by an AI reviewer and surfaced to you as **incidents** for human review. > [!NOTE] > > **Detection never acts on its own.** Praxis Shield does not block messages, interrupt conversations, or suspend anyone automatically. It flags, you decide. Every action taken on an incident is a deliberate reviewer decision, and every decision is recorded in the incident's audit trail. Pria does not email you about new incidents — check the panel. Praxis Shield complements [Content Moderation](/mdx/admin-guide/moderation): moderation screens individual messages as they are sent, while Praxis Shield reviews conversations afterwards for security and abuse patterns that only emerge in context. ## Where to find it Open **Admin → Instances** and switch the view at the top of the page to **Threats Detection (Praxis Shield)** (Studio UI: the **Security threats** tab of **Instances**, with a count of open incidents). The panel shows incidents from every Digital Twin you manage in one list, so you don't have to check each one separately. > [!NOTE] > > **Privacy by scope.** You only ever see incidents belonging to Digital Twins where you hold admin rights — enforced on every request. Other Digital Twins' incidents are invisible to you, and yours are invisible to their admins. End users see nothing at all: scanning is silent and changes nothing about their experience. ## The incident list Each row is one incident — a user whose recent activity triggered detection — showing its **status**, **severity**, the **user** (name and email), the **Digital Twin(s)** involved, **category** badges, when the activity was **last seen**, and when it **occurred** and was **first seen**. By default the list is ordered by first occurrence, newest first; untick **Order by first occurrence** to sort by severity, then most recent. Scroll to load more, and use the refresh button to pick up new incidents. ### Filters | Filter | What it does | | - | - | | **Account** | Narrow to the Digital Twins under one account | | **Instance** | Narrow to a single Digital Twin (the picker lists only twins that have incidents) | | **Status** | Defaults to **Active** — open, reviewing, and escalated incidents. Pick a specific status, or **All** to include resolved and false-positive incidents | | **Min severity** | Hide everything below a chosen severity level | ### Severity levels | Level | Label | Meaning | | - | - | - | | 0 | None | Informational; no real risk identified | | 1 | Low | Minor or ambiguous signals | | 2 | Medium | Clear misuse signals worth review | | 3 | High | Serious abuse attempt | | 4 | Critical | Severe threat — review immediately | ### Status lifecycle Incidents move through a simple workflow: * **open** — newly detected, not yet reviewed * **reviewing** — a reviewer is investigating * **escalated** — needs attention from another reviewer or your security team * **resolved** — reviewed and closed * **false\_positive** — reviewed and judged benign Resolved and false-positive incidents drop off the default Active view and stay available (set the status filter to **All**) for 90 days from detection; then they are removed, notes included. Open, reviewing and escalated incidents are kept. ### Categories Category badges tell you at a glance what kind of behaviour was detected — for example prompt injection, jailbreak attempts, credential-exfiltration attempts, probing of internal systems or authentication, email abuse, misuse of tool chains, unusual automation volume, or coordinated activity across accounts. One incident can carry several categories. ## The incident report Click the report icon on any row to open the full incident report with its management controls. **Evidence tabs:** * **Summary** — what happened, in plain language, with the assessed impact * **Signals** — the specific detection signals that fired * **Evidence** — the relevant conversation transcripts (inputs, outputs, and tool activity) * **LLM Adjudication** — the AI reviewer's assessment of the evidence * **Cost** — usage of the flagged conversations, and what the review itself cost * **Cluster** — shown when the incident is part of coordinated activity across accounts **Workflow tabs:** * **Workflow** — change the incident's status and severity * **Reviewer Notes** — add timestamped notes for yourself and other reviewers * **Action History** — every status and severity change, recorded action and suspension, with who did it and when (notes stay under Reviewer Notes) Use the previous/next arrows to move through the incident list without leaving the report. > [!WARNING] > > Evidence transcripts are written by the very users being investigated, so the report renders all of it as **inert plain text** — no formatting is interpreted and URLs are never clickable. This protects reviewers: a malicious link planted in a flagged conversation cannot be opened by accident. Don't copy URLs out of evidence and visit them. ## Triaging an incident **1. Open the report** Start from the highest-severity open incidents. Read the Summary, then check the Evidence tab to see the actual conversation. **2. Mark it as reviewing** Set the status to **reviewing**, and adjust the severity up or down if your reading of the evidence differs from the initial assessment. **3. Record what you find** Add a reviewer note summarizing your conclusion. Notes are visible to other admins of the Digital Twin and stay with the incident (resolved and false-positive incidents are removed after 90 days). **4. Close it out** Set the status to **resolved** (real issue, handled), **false\_positive** (benign — e.g. a security class legitimately discussing injection techniques), or **escalated** if someone else needs to take over. ### Suspending a user If the evidence warrants it, **Suspend user** in the report's footer (**Suspend in this Digital Twin**) sets the person's membership in the affected Digital Twin(s) you manage to **inactive** — they immediately lose AI access there (they are not signed out), while their memberships in other Digital Twins are untouched. The suspension is recorded in the incident's action history, and you can reinstate the user at any time from [Users](/mdx/admin-guide/users). You cannot suspend yourself from an incident. ### Marking false positives Set the incident's status to **false\_positive** in the Workflow tab. The incident leaves the active queue and stays available under **All** until it is removed 90 days after detection. ## Sharing an incident report Every report has a **Copy report link** button that puts a shareable URL on your clipboard. Send it to a colleague to put them in front of the exact same report. The link is safe to share because it is **login-gated**: the recipient must sign in, and the server only serves the report to admins of the incident's Digital Twin(s). Anyone else gets "Access denied". The shared view is read-only. ## Researching further An incident is often the starting point, not the whole story: * **View flagged history** (the eye icon on a row) shows the exact conversation records that triggered the incident — inputs, responses, and tool activity — rendered as plain text (rows from Digital Twins where you lack `histories.list` are withheld). * **[Histories](/mdx/admin-guide/histories)** lets you search the user's wider conversation activity in the Digital Twins you manage. * **[Sessions](/mdx/admin-guide/sessions)** shows where and on what devices the user has been signing in — useful for judging whether an account is shared or compromised. ## Required permissions | Action | Required entitlement | | - | - | | View incidents and reports | `institutions.list` | | View flagged conversations | `institutions.list`, plus `histories.list` on that Digital Twin | | Change status/severity/categories, add notes and actions | `institutions.edit` | | Suspend a user from a Digital Twin | `institutions.edit` | See [Entitlements](/mdx/admin-guide/entitlements) for how to grant these. ## Related * [Content Moderation](/mdx/admin-guide/moderation) — real-time screening of individual messages as they are sent * [Histories](/mdx/admin-guide/histories) — search and review conversations across your Digital Twins * [Sessions](/mdx/admin-guide/sessions) — who signed in, from where, on what device * [Users](/mdx/admin-guide/users) — membership status, suspension, and reinstatement * [Entitlements](/mdx/admin-guide/entitlements) — the `institutions.*` permissions behind this panel # Realtime Voice & Avatars Source: https://docs.praxis-ai.com/mdx/admin-guide/realtime-voice Configure Convo Mode — choose a voice provider, pick voices, enable an avatar, and control who can talk. Convo Mode is Pria's live two-way voice conversation. Your words are transcribed as you say them, the AI model works out a reply, and the reply is spoken back — with an optional video avatar on top. This page covers the admin setup. Most settings are in **Instance Settings › Voice**; a few live only in the admin editor (**Admin › Digital Twins**, edit the twin). For the member experience see [Convo Mode](/mdx/user-guide/interface/convo-speech). ## What Convo Mode Is Once enabled, members with access see a **Convo** button in the toolbar. A session: * Captures microphone audio and transcribes it. * Shows a running transcript (optional). * Runs the Digital Twin's instructions, files and tools — or the assistant's, when one is running — on every turn. * Speaks the reply in the provider's voice, optionally with a video avatar. > [!NOTE] > > Your members' audio does not pass through Pria's servers during the call. Pria hands the browser a short-lived pass at the start, then the browser talks directly to the voice and speech-recognition providers. Your permanent API keys never reach the browser. ## Who Can Use Convo Mode These switches are in **Instance Settings › Voice**, under **Convo (Speech-to-Speech)**. All but the first appear once Convo is on. > [accordion] Enable Convo (Speech-to-Speech) > > Master switch for the Digital Twin. When off, no one sees the Convo button. Default: **off**. > [accordion] Convo admin only > > Only admins can start Convo Mode. Use it while you test a provider, tune voices or set up an avatar. Default: **on** — turn it off when you are ready for everyone. > [accordion] Restrict use of assistants > > Off by default: every assistant of the Digital Twin can be used in Convo Mode, and a conversation that runs an assistant keeps it when the member starts talking. Turn it on to limit Convo Mode to the assistants you check in the list that appears; members can then switch between them during a call. With the switch on and nothing checked, every assistant stays allowed. > [accordion] Enable text input alongside speech > > Members can type during a call as well as speak — useful in quiet rooms or for accessibility. > [accordion] Show fullscreen transcript > > Shows the live transcript in full-screen Convo Mode. > [accordion] Avatar Fullscreen > > Opens Convo directly in a full-screen avatar view instead of the smaller panel. > [accordion] Lock full-screen conversation > > Once a session reaches the full-screen avatar view, people stay there for the whole conversation — the collapse button and the Escape key are turned off, and ending the call is the only way out. Use this for kiosk screens and embedded experiences. Default: **off**. > [accordion] Start Immersive Mode by Default > > New visitors land in the immersive voice conversation (with a tap-to-start step) every time they sign in, instead of the chat. Default: **off**. > [accordion] Immersive Side Drawer > > Slides a panel of your own content (text, images, links) in beside the full-screen avatar. Choose **Drawer Side** and build the panel with **Open Drawer Builder**. > [accordion] Share voice transcripts with the embedding page / Let the embedding page guide live conversations > > For a Digital Twin embedded on another website through the Pria SDK. The first lets that page receive the live transcript; the second lets it send instructions that steer what the twin says next (those turns are billed like any other). Both are off by default — turn them on only for a website you trust. **Speech Recognition Language (Deepgram Flux)** sets what the twin can hear: **English only (default)** or **Multilingual** (German, English, Spanish, French, Hindi, Italian, Japanese, Dutch, Portuguese and Russian). It applies to avatar conversations, embeds and meeting bots. A public link that opens straight into Convo without signing in is the **Convo Web Access Link**, under **Instance Settings › Invite › Guest Access** — see [Guest Twin Links](/mdx/integrations/web/guest-links). ## Choosing a Provider Pick the provider with **Speech-to-Speech Model** in **Instance Settings › Voice**. The model you choose decides the provider and which voice options appear below it. > [card] OpenAI Realtime > > Low latency, built-in OpenAI voices. `gpt-realtime-2.1` is the platform default; `gpt-realtime-2.1-mini` costs about a third as much. > [card] OpenAI GPT-Live > > Listens and speaks at the same time, so conversation flows naturally and interruptions feel smooth. Your Digital Twin's own model, files and tools supply every answer. > [card] Gemini Live > > Google's live voice, with 30 voices. `gemini-3.8-live` is the newest, at the same price as Gemini 3.1 Flash Live. > [card] xAI Realtime > > Grok voice (`grok-3-fast`) with five voices: Eve, Ara, Rex, Sal and Leo. > [card] Anam Avatar > > A lifelike video avatar. Anam renders the face and voice; Pria writes every answer, so your instructions, files and tools still apply. > [card] Cartesia Voice > > Fast, expressive voices from a large library (including your own cloned voices). Pria transcribes, answers and runs the tools; Cartesia speaks. > [card] ElevenLabs > > Voices from an ElevenLabs agent you configure in the ElevenLabs dashboard. ## Per-Provider Configuration > [accordion] OpenAI Realtime > > | Setting | Purpose | > | - | - | > | **Voice** | **User's Choice** (each member picks), or one of Cedar, Marin, Alloy, Ash, Ballad, Coral, Echo, Sage, Shimmer, Verse. An unknown voice falls back to Marin. | > | **Voice Activity Detection Eagerness** | **Low** / **Medium (Default)** / **High** — how quickly the model decides the person has finished speaking. | > | **Noise Reduction** | **Off (Default)**, **Near Field** (phone or headset) or **Far Field** (laptop in a room). | > | **Transcription Language (ISO 639-1)** | Optional hint such as `fr` — improves transcription when members speak one non-English language. | > > On `gpt-realtime-2` and newer, [Voice Reasoning Effort](#voice-reasoning-effort) also applies. The twin's **OpenAI API Key** is used when set; otherwise Praxis provides access. > [accordion] OpenAI GPT-Live > > Choose `gpt-live-1`. GPT-Live greets, acknowledges and keeps the conversation going on its own, and hands every question that needs facts, files, memory or an action to your Digital Twin, then speaks the answer. While a longer lookup runs, it keeps the person company instead of going silent. > > | Setting | What it does | > | - | - | > | **Voice** (under **GPT-Live Voice**) | The voice members hear, or **User's Choice** so each member picks their own before starting Convo Mode (members who don't choose hear Quartz). | > | **Voice Response Model** | Optional. The model that answers spoken turns. Empty = the Digital Twin's conversation model. | > | **Voice Reasoning Effort** | How much the answering model thinks before it replies (see below). | > > Pictures can't be shown to GPT-Live during a call. If many GPT-Live conversations run at the same moment, a new one may be refused with "Convo Mode is busy right now — try again in a minute." > [accordion] Gemini Live > > | Setting | Purpose | > | - | - | > | **Gemini Voice** | One of 30 voices, each labelled with its character (Puck — Upbeat, Kore — Firm, …), or **User's Choice**. | > | **Interruption Sensitivity** | **Low (Default)** ignores background noise and is harder to talk over; **High** lets a member interrupt with a quiet word but may react to room noise. | > > The twin's **Gemini API Key** (admin editor, **API Keys**) is used when set. Google closes a Gemini voice connection after a while; Pria reconnects and carries the conversation on, so a long call keeps going. > [accordion] xAI Realtime > > | Setting | Purpose | > | - | - | > | **xAI Voice** | **User's Choice**, or Eve — Energetic, Ara — Warm, Rex — Professional, Sal — Balanced, Leo — Authoritative. | > > The twin's **xAI API Key** (admin editor, **API Keys**) is used when set. > [accordion] Anam Avatar > > Praxis sets up the Anam account behind the avatar. In **Instance Settings › Voice**: > > | Setting | Purpose | > | - | - | > | **Anam Response Model** | The model that writes the avatar's answers. Leave on the default to use the Digital Twin's conversation model; an assistant's own model still wins. | > | **Anam Avatar ID** / **Anam Voice ID** | The avatar's face and voice. Leave blank for the built-in defaults. | > | **Placeholder Image URL** | Still image shown before the avatar video connects. | > | **Introductory Message** | Optional greeting the avatar speaks when the call connects. | > | **Greeting delay (ms)** | How long the avatar waits, once its video, audio and the member's microphone are ready, before the greeting. 0–10000; default 1000. | > > **Apply the avatar standard.** Right under **Anam Response Model**, this button sets the twin to the configuration we recommend for avatar twins. It says how many settings differ, and lists every change for you to confirm before anything is saved; when the twin already matches, it is greyed out. The standard also opens Convo to every member (**Convo admin only** off), starts in the full-screen immersive view, and turns **Enable Moderation** and **Enable Subagents** off — read the list before you confirm. Everything can still be changed by hand afterwards. > > In the Studio UI's admin editor, the **Video avatar** card also offers **Expressive voice and face** (emotion-aware delivery, off by default) and, under **Show advanced**, **Fill the box in immersive view** (the video fills its box edge to edge, cropping instead of showing a blurred border; off by default), **Portrait avatar on the web**, **Portrait avatar on phones** and **Avatar sound (EQ & compressor)**. > [accordion] Cartesia Voice > > Set in the admin editor's **Cartesia Voice** section: > > | Setting | Purpose | > | - | - | > | **Choose voice…** | Opens the Cartesia voice library — search by gender and language, preview, and select. Voices cloned in your Cartesia account appear too; a professional clone shows a **Pro Voice Clone** badge. The speech model is pinned automatically to the newest one that suits the voice. | > | **Enable emotion** / **Emotion** | The emotional colour of the voice (Neutral, Calm, …). How audible it is depends on the voice. | > | **Speed** | How fast the voice speaks. | > | **Pronunciation dictionary ID** | A Cartesia dictionary that fixes how names, product terms and acronyms are said. Leave blank unless you maintain one. | > | **Speech recognition** | **Deepgram (default)**, or **Cartesia ink-2 (English only)**. | > | **Voice audio EQ & compressor** | Fine tuning of tone and evenness of volume. Off by default. | > > **Voice Response Model** (Instance Settings › Voice) picks the model that answers spoken turns; empty = the Digital Twin's conversation model. Praxis sets up the Cartesia account. > [accordion] ElevenLabs > > Set in the admin editor, **Configuration and Integrations** tab: > > | Setting | Purpose | > | - | - | > | **ElevenLabs Agent ID (for Digital Twin Voice)** | The agent from your ElevenLabs dashboard. The agent defines the voice and listening behaviour. | > | **ElevenLabs API Key** | Your ElevenLabs key. | > | **ElevenLabs Connection Method** | **WebSocket (default)** or **WebRTC**. | > > ElevenLabs also needs the Chat Completion endpoint turned on, so the agent can call your Digital Twin for its answers — see [Chat Completions Integration](/mdx/integrations/chat-completions/introduction). ## Voice Reasoning Effort A spoken turn can use a different amount of thinking from a typed one, and usually should. **Voice Reasoning Effort** (in the admin editor next to **Speech-to-Speech Model**) sets how long the model works before it starts speaking, on the same scale as [Reasoning Effort](/mdx/user-guide/interface/reasoning-and-thinking) — None, Low, Medium, High, Max. The default is None. It applies to Anam, ElevenLabs, Cartesia and GPT-Live, and to OpenAI voice on GPT-Realtime-2 and newer. Older OpenAI voice models ignore it. An assistant can set its own with **STS / Voice Reasoning Effort**. Keep it low. In a spoken conversation thinking time is silence, and silence reads as the twin having failed to hear you. > [!TIP] > > **Low** is the measured starting point for avatar twins (it is part of the avatar standard). Raise it only for a twin whose spoken questions genuinely need working through, and listen to the pause before you keep it. ## Tools During Voice Sessions A voice conversation offers the AI the tools made for voice, plus any tools an assistant was limited to. The twin waits at most a few seconds for a tool: a longer job, such as saving a file, keeps running in the background while the conversation continues, and the twin gives the result on the next turn (Gemini Live waits as before). When a connector tool needs approval, most providers show the approval card during the call; on ElevenLabs the twin asks the member to try again from the chat. ## Testing Your Setup **1. Keep Convo Mode admin-only while testing** Leave **Convo admin only** on while you tune voices, listening and the avatar. Only admins see the Convo button. **2. Open Convo Mode** Sign in as an admin, open a conversation, and start Convo Mode. **3. Verify the basics** Check that the avatar (if any) appears, your voice is transcribed, the answer comes in the chosen voice, and the twin's tools still work. **4. Tune listening if needed** On OpenAI Realtime, if the twin interrupts people mid-thought, set **Voice Activity Detection Eagerness** to **Low**; if replies feel slow, try **High**. On Gemini Live, use **Interruption Sensitivity**. **5. Open it to everyone** When you are satisfied, turn **Convo admin only** off. ## Cost Considerations Convo Mode is billed per minute by every provider. Costs vary widely: * **OpenAI Realtime** and **Gemini Live** are billed on input/output audio tokens per minute by the provider. * **ElevenLabs** charges per character of speech plus session minutes. * **xAI Realtime** is billed on audio minutes. * **Cartesia** charges for speech output on top of the answering model. * **Anam** charges per minute of active avatar time on top of the answering model. * **OpenAI GPT-Live** charges per second of conversation (about \$0.05 a minute) on top of the model that answers. If you bring your own provider API keys, the provider bills your account for those minutes; Pria still meters the session in credits (BYOK customers buy credits at a discount through our sales team). ### What your members are charged What comes off a Digital Twin's credit balance is simpler: a one-to-one Convo Mode session — avatar or voice-only — is metered on the tokens of the conversation, totalled across the session and charged in credits when the session ends. **There is no separate per-minute avatar charge in Convo Mode**, so an avatar session and a voice-only session of the same length cost about the same in credits. The one exception is **OpenAI GPT-Live**: its conversation time is added to the credits as well, at OpenAI's per-minute price plus the platform margin, on top of the tokens of the model that answers. A ten-minute GPT-Live conversation adds roughly 7 credits for the voice time. In practice people stay in conversation with a face on screen far longer than in a chat box, so avatar twins use up a pool faster. Watch the pool, not the per-minute rate. See [Credits](/mdx/user-guide/credits) for the metering rules and [Credit Management](/mdx/admin-guide/credit-management) for per-user caps. > [!NOTE] > > This page covers one-to-one Convo Mode. When a Digital Twin is sent into a meeting, billing works differently — see [Meeting Agent](/mdx/admin-guide/meeting-agent). > [!TIP] > > Anam costs the most per minute of provider time. If you don't need a visible persona, OpenAI Realtime or Gemini Live with a good voice costs a fraction as much. ## Related * [Voice & Realtime Providers (integration overview)](/mdx/integrations/voice-providers/overview) — compare every provider and how each connects * [Convo Mode (User Guide)](/mdx/user-guide/interface/convo-speech) * [Assistants](/mdx/admin-guide/assistants) — assistants in Convo Mode * [Configuration](/mdx/admin-guide/configuration) * [AI Models](/mdx/admin-guide/ai-models) * [Personalization](/mdx/admin-guide/personalization) # Sessions Source: https://docs.praxis-ai.com/mdx/admin-guide/sessions Track who is signed in, from where, and on what device — for FERPA compliance, security review, and incident response. The **Sessions** page (**Sessions List**, tabs **Records** and **Charts**) shows sign-ins to your Digital Twin: one row per person, browser and Digital Twin, for the selected date range. It is the record of "who signed in, from where, when" — for audits, security reviews and incident response. ![Admin Sessions Interface](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-sessions.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=1a4a1c70ddd0390031d7bd7923cf6a07) > [tab] Records > > ## Overview > > A **session** record is created when a person signs in to a Digital Twin from a browser or device; its **Last Active** moves forward each time a conversation turn is saved from it (at most once a minute). One person typically has several: laptop, phone, tablet, second browser. > > The list is sorted by **Last Active** (most recent first) and defaults to the last 30 days. > > ### Reading Last Active > > **Last Active** is the last time a conversation turn was saved from that browser — signing in, opening pages or uploading files do not move it. A session active minutes ago is someone talking to the Digital Twin now; one idle for more than 30 days is removed automatically. > > ### Data tracked per session > > The list shows **Instance**, **User**, **Ago**, **Alive**, **IP**, **Browser**, **Engine** and **OS** (with versions); **Columns** adds **First**, **Last**, **AI Name**, **Created** and **Last Keep-Alive**. The record holds: > > | Field | Description | > | - | - | > | **User** | Email and name of the signed-in user | > | **IP Address** | The IP address the user connected from. Pria already looks past its own load balancers, so this is the user's real address. | > | **Browser** | Browser name and version (e.g. Chrome 131, Safari 18) | > | **OS** | Operating system and version | > | **Device** | Device type and model when the browser reports them (in the details panel) | > | **Instance** | Which Digital Twin the session is attached to | > | **Created** | When the session was first established (initial sign-in) | > | **Last Active** | Most recent authenticated request from this session | > | **Status** | `active`, or `deleted` once an admin deleted the record (in the details panel) | > > ## Filtering and search > > The filter bar narrows the list: > > * **Account** — span all Digital Twins in an account > * **Instance** — sessions for one Digital Twin > * **User search** — by email, first name, or last name > * **Date range** — by `Last Active`; up to roughly the last month (older sessions are removed automatically — see retention below) > > Filters persist as you scroll so you can sweep a large window without losing context. > > ## Reading a session row > > Each row shows the Digital Twin, the user, how long ago the session was active (**Ago**), the date and time of that last activity (**Alive**), the IP address, and the browser/engine/OS breakdown. Click the pencil (needs `sessions.edit`) to open the read-only **Session Details** panel: > > * User and Digital Twin cards (who, and which Digital Twin the session is attached to — a person with access to several Digital Twins has separate sessions per Digital Twin) > * Session ID, source IP, created and last-updated timestamps, and current status > * Device details when the browser reports them: type, vendor, model, and CPU architecture > * The full raw user-agent string (useful when the device columns abbreviate) > > ## Deleting a session record > > The trash icon (**Delete Session**) marks a record `deleted`; tick several rows to delete them together. The row can still show in the list, marked in its details, until the 30-day cleanup. **It does not sign anyone out** — the list is a record of sign-ins, not a control over them. To end someone's access now: > > * **Set a new password** for them under **Users → Security**. That signs them out everywhere and signs out their trusted browsers (see [MFA](/mdx/admin-guide/mfa)). > * **Make them inactive** (**Users → Status**) to block them at once while keeping their account. > * **Lowering someone's account type signs them out automatically**; they sign back in with their new rights. > > Export the filtered list to CSV before you delete a row you may need for an incident file. > > ## Detecting suspicious activity > > Things to scan for during a security review: > > * **Two far-apart networks for the same user in the same hour.** Pria shows the IP address, not a place — look it up if you need one. A session from one network and another from a very different one minutes later is almost certainly account sharing or a stolen credential. > * **Unfamiliar user-agent.** A non-browser UA string on an account that has only ever used standard browsers warrants attention. > * **Long gap between Created and first Last Active update.** Suggests the credential was captured and used later from a different environment. > * **Burst of new sessions for one user across many IPs.** Classic credential-stuffing signature. > > These are manual review patterns for the Sessions list itself. Note that [Praxis Shield](/mdx/admin-guide/praxis-shield) automatically monitors *conversation* activity for abuse — including unusual automation volume and coordinated activity across accounts — and raises incidents for review; pair a suspicious session with the user's Shield incidents and [Histories](/mdx/admin-guide/histories) before acting. > > ## Coordinating with the user > > When you spot a suspicious session, the standard playbook is: > > 1. **Set a new password** for the person under **Users → Security** (or make them inactive) — that ends the suspicious access at once. > 2. **Email the user** at the address on the session row, asking them to confirm whether it was them. Use the email field in the detail panel. > 3. **Have them choose their own password** through **Forgot password** on the sign-in page. If the account uses [API Keys](/mdx/user-guide/profile-settings/api-keys), rotate them too. > 4. **Require [MFA](/mdx/admin-guide/mfa)** going forward if the user did not already have it enabled. > 5. **Review their [Histories](/mdx/admin-guide/histories)** for the same window — sometimes the suspicious session shows in conversation patterns even when the IP looked routine. > > Document the action in your incident log. > > ## Session retention > > Sessions are a rolling window, not a permanent archive: **records idle for more than 30 days are removed automatically** (the page says "Sessions older than 30 days are automatically removed." next to the date-range filter). A session stays in the window as long as conversation turns keep coming from it. > > If your compliance process needs session evidence beyond 30 days, make the **CSV export** part of your routine — for example, a monthly export filed with your audit records. For your deployment's broader data-retention commitments, see [Privacy & Educational Consent](/mdx/introduction/privacy-edu-consent). > > ## Cross-link: MFA and API Keys > > Sessions interact with two other security surfaces: > > * **[MFA](/mdx/admin-guide/mfa)** — if a suspicious session prompts a credential reset, check whether the user has two-step verification enabled, and require it going forward. A user's MFA state and trusted devices are managed from [Users](/mdx/admin-guide/users) → Edit → Security. > * **[Personal API Keys](/mdx/user-guide/profile-settings/api-keys)** — programmatic access via API key exchange creates short-lived tokens; those calls do not show in the Sessions list. Admins concerned about a specific user's key activity should ask the user to rotate their key from **Settings → Developer**. > > ### Export > > **CSV** downloads the loaded rows with the columns you have visible. **Export all** (the caret next to it) prepares the whole filtered list on the server and emails you a download link, with fixed columns (names, email, Digital Twin, IP, browser, engine, OS, created, last updated). Neither includes the raw user-agent string or the device details — those are in the details panel. > > > [!NOTE] > > > > Session tracking supports **FERPA compliance** by maintaining a verifiable record of who accessed educational data, when, and from where. > [tab] Charts > > ## Session analytics > > The **Charts** tab turns the same filtered session data into visual breakdowns: > > * **OS distribution** — which operating systems your users sign in from > * **Browser distribution** — browser share across sessions > * **Device type distribution** — desktop vs mobile vs tablet > * **Activity over time** — session activity plotted across the selected date range > * **Peak Usage Hours** — a heatmap by day of the week and hour > > The distribution charts offer **Pie**, **Donut**, **Radial Bar** and **Polar Area** styles, and all charts follow the Account, Instance and date-range filters (not the user search); with no date range picked they cover the last 7 days. The Studio UI shows summary tiles and tables instead. So you can answer questions like "what do students in this twin actually use?" before planning a rollout or troubleshooting a browser-specific issue. *** ## Required permissions | Action | Required entitlement | | - | - | | View sessions | `sessions.list` | | Open a session's details | `sessions.edit` | | Delete session records | `sessions.delete` | You also need the **Admin** account type. See [Entitlements](/mdx/admin-guide/entitlements) for how to grant these. *** ## Related * [Users](/mdx/admin-guide/users) — manage the user accounts behind each session * [MFA](/mdx/admin-guide/mfa) — multi-factor authentication requirements * [Personal API Keys](/mdx/user-guide/profile-settings/api-keys) — programmatic access for Admin users * [Entitlements](/mdx/admin-guide/entitlements) — `sessions.*` permissions * [Histories](/mdx/admin-guide/histories) — what each session was used to do * [Praxis Shield](/mdx/admin-guide/praxis-shield) — automatic threat and abuse monitoring of conversations * [Configuration](/mdx/admin-guide/configuration) — Digital Twin security settings # SSO Providers Source: https://docs.praxis-ai.com/mdx/admin-guide/sso-providers Configure OAuth 2.0 Single Sign-On providers for automatic user authentication and enrollment. SSO Providers let your organisation's people sign in to Pria with the account they already have — through an external identity provider such as QuickLaunch, Okta or Azure AD, using the OAuth 2.0 Authorization Code flow. Once configured, users visit a dedicated URL (`/sso/{slug}`) and are logged into Pria automatically. Pria's SSO uses OAuth 2.0 / OpenID Connect; SAML 2.0 is an enterprise arrangement — contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > [!NOTE] > > SSO Providers require the **SSO** admin entitlements (`sso.list`, `sso.add`, `sso.edit`, `sso.delete`). See [Entitlements](/mdx/admin-guide/entitlements) for details. *** ## How SSO Works When a user visits the SSO login URL, Pria redirects them to the identity provider for authentication. After the user authenticates, the identity provider sends an authorization code back to Pria, which exchanges it for user information server-side. ```mermaid theme={null} sequenceDiagram participant User as User Browser participant Frontend as Pria Frontend participant Backend as Pria Backend participant IdP as Identity Provider User->>Frontend: Visit /sso/{slug} Frontend->>Backend: Redirect to /api/auth/sso/{slug} Backend->>IdP: 302 Redirect to authorize endpoint IdP->>User: Show login page User->>IdP: Enter credentials IdP->>Frontend: 302 Redirect with authorization code Frontend->>Backend: POST /api/auth/sso_callback (code + state) Backend->>IdP: Exchange code for access token (server-to-server) IdP-->>Backend: Access token Backend->>IdP: GET /userinfo with access token IdP-->>Backend: User profile (email, name) Backend-->>Frontend: JWT + user profile Frontend->>User: Logged in, redirect to home ``` > [!NOTE] > > The authorization code is **one-time use** and can only be exchanged for a token using the **client secret**, which only the backend has. The client secret never reaches the browser. *** ## Managing SSO Providers Open **Admin → SSO** (the **SSO Providers List**) to manage your Digital Twin's SSO configuration. You need an admin account type as well as the SSO entitlements. ### Creating a Provider **1. Open SSO Providers** Open **Admin → SSO** and select **Add**; the **New SSO Provider** dialog opens. **2. Select the Digital Twin** Choose it in **Instance** and give the provider a **Label**. Each Digital Twin can have one SSO provider, and it needs at least one **Public Authorized URL** (SSO sign-ins land on the first one). **3. Choose a short name for the web address (the Slug)** Use lowercase letters, numbers and hyphens only — for example `my-university`. Your people will sign in at `https://your-domain.com/sso/my-university`. **4. Configure OAuth Endpoints** Enter the identity provider's OAuth 2.0 endpoints (**Client ID**, **Client Secret**, **Token Host** and **User Info URL** are required): | Field | Description | Example | | - | - | - | | **Client ID** | OAuth application client ID | `ilHYXUujI_z1BfNKHpSQ84kDffwa` | | **Client Secret** | OAuth application client secret | Masked after saving | | **Token Host** | Base URL for OAuth endpoints | `https://id.quicklaunch.io:443` | | **Token Path** | Path for token exchange | `/oauth2/token` (default) | | **Authorize Path** | Path for authorization | `/oauth2/authorize` (default) | | **User Info URL** | Full URL for user info endpoint | `https://id.quicklaunch.io:443/oauth2/userinfo` | | **Scope** | OAuth scope | `openid` (default) | **5. Configure Field Mapping** Map identity provider user fields to Pria user fields. These defaults match most OpenID Connect providers: | Pria Field | Default IdP Field | Description | | - | - | - | | Email | `email` | User's email address | | First Name | `given_name` | User's first name | | Last Name | `family_name` | User's last name | > [!WARNING] > > If your identity provider uses different field names (e.g., `mail` instead of `email`), update the mapping accordingly. Incorrect mapping will prevent user accounts from being created. **6. Enable and Save** Toggle **Enabled** to activate the provider, then save. The SSO login URL is immediately active. ### Testing Connectivity After saving, use **Test Connection** (**Connection Test** in the Studio UI) to check that Pria can reach the identity provider's token endpoint. The **SSO Login URL** shown on the provider is the address to give your people. ### Callback URL Registration You must register the callback URL with your identity provider. The callback URL follows this pattern: ``` https://your-domain.com/sso/{slug} ``` For example, if your domain is `pria.praxislxp.com` and the slug is `my-university`: ``` https://pria.praxislxp.com/sso/my-university ``` > [!WARNING] > > The callback URL must match **exactly** what is registered with the identity provider. A mismatch will cause an `invalid_callback` error. *** ## User Experience ### SSO Login Flow When a user visits `/sso/{slug}`: 1. If the provider is **enabled**, the user is redirected to the identity provider's login page 2. After authenticating, a new address gets a Pria account and a membership of the Digital Twin. Someone who already has a Pria account must already be a member of that Digital Twin (having joined it themselves); otherwise they are asked to sign in with their email and password instead. Admin accounts are asked for an emailed code 3. If the user already has an active session, they see options to **Logout** or **Continue** ### Error Handling | Scenario | User Sees | | - | - | | Provider is disabled | Red error banner: "SSO provider '' is currently disabled" | | Provider not found | Red error banner: "SSO provider '' not found" | | Missing slug (`/sso/`) | "Invalid URL. You have reached this page in error. Please contact your administrator." with a **Go to Login** button | | Identity provider error | Error message from the identity provider | *** ## Required Entitlements SSO Provider management requires the following admin entitlements: | Entitlement | Allows | | - | - | | `sso.list` | View the list of SSO providers | | `sso.add` | Create new SSO providers | | `sso.edit` | Modify existing SSO providers | | `sso.delete` | Delete SSO providers | > [!NOTE] > > These entitlements are managed on the [Entitlements](/mdx/admin-guide/entitlements) page. An admin must have the appropriate SSO entitlements assigned on their Digital Twin membership. *** ## Security * **Client secrets** are stored in the database and masked in API responses and the admin UI * The **authorization code** exchange happens server-to-server; the client secret never reaches the browser * New SSO users are enrolled in the Digital Twin associated with the provider; existing accounts must already be members * Changes to **Enabled**, the scope and the field mapping apply at the next sign-in; a changed client ID, secret or host can take a short while to apply everywhere # Tools Reference Source: https://docs.praxis-ai.com/mdx/admin-guide/tools Complete reference for AI tools available in your Digital Twin. Your Digital Twin uses tools for specific jobs — searching files, browsing the web, making images, reading a calendar, and more. This page lists every built-in tool and where to switch each one on or off. **Where to manage tools.** In the admin editor's **Connector MCP and Tools** tab (**Admin › Instances › Edit**), the **Tools of this Digital Twin** list has a switch per tool, a **Search tools** box, category filters and **Show only enabled tools**. Tools whose feature is off for this Digital Twin are not listed; a line names those features. The same list is in **Instance Settings › Tools**, where each change saves at once. The tab's other settings — **File navigation tools**, **Builder tools**, **Tools Guidance**, **Result Size (Max Chars Count)** and **Tool calls per answer (cap)** — are described in [Configuration](/mdx/admin-guide/configuration#tab-connector-mcp-and-tools). **By default, most applicable tools are enabled.** The exceptions are `send_email`, `present_media` and the meeting tools, which start switched off on a new Digital Twin as an abuse precaution; switch them on deliberately when your use case calls for them. ![MCP Servers and Tools](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/mcp-and-agents.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=fd002fdf7e90eb71220b50673ce6157e) > [card] [Tool categories](#tool-categories) > > How the category filters organize the list. > [card] [Browse all tools](#tools-reference) > > The complete built-in tool reference, grouped by family with each tool in an accordion. > [card] [Tool availability](#tool-availability) > > Which tools require extra configuration and when they appear. > [card] [Real-time voice support](#real-time-voice-support) > > Which tools can be invoked during speech-to-speech voice sessions. ### Ready-made sets Rather than switching tools one at a time, pick one of five sets and adjust from there. Each contains the one before it, so moving up only ever adds: | Set | What it gives the twin | | - | - | | **None** | No tools. The Digital Twin only converses. | | **Minimal** *(recommended)* | Questions about this twin's files and the web, and saving what it makes to a file. | | **Media** | Adds creating and reading images, video and audio, and transcription. | | **Builder** | Adds editing files, PDFs, checking web pages, memory and assistants. | | **All** | Every tool this Digital Twin can offer. | Choosing a set asks you to confirm, then switches the rest off **for everyone in the Digital Twin**; you can still switch single tools back on afterwards, which shows the selection as **Custom**. Fewer tools make every answer lighter and faster, because the AI considers a shorter list before it replies — whether or not it uses any of them. > [!NOTE] > > **A connection you configured is never switched off by a preset.** Canvas while its credentials are in place, and Google or Microsoft while they are enabled for members, stay on — an administrator set those up deliberately. Members choosing tools for their own personal account use the same five sets; see [Choosing Your Tools](/mdx/user-guide/interface/tools). ### Per-Assistant Tool Control In addition to Digital-Twin-level tool management, you can configure tool access **per assistant**. Each assistant can be set to use all tools (default) or a curated whitelist of specific tools. See [Assistants — Per-Assistant Tool Configuration](/mdx/admin-guide/assistants#per-assistant-tool-configuration) for details. *** ## Tools Reference This is the reference for the built-in tools a Digital Twin can use. The AI automatically selects which tool(s) to use based on the conversation context. > [!NOTE] > > A few tool families are deliberately left out of this list because they belong to capabilities Praxis AI switches on for a specific Digital Twin, and they never appear in an ordinary twin's tool list — the plan-scoring tools and the task-board tools. A handful of internal tools the AI uses to consult its own working guidance are also omitted; they never produce user-facing output. > [!NOTE] > > Some tools require additional configuration (e.g., `call_canvas` requires Canvas LMS integration, `search_kaltura` requires Kaltura credentials). A tool whose required configuration is missing is automatically disabled. ### Tool Categories Each tool has one category, shown on its row and offered as a filter in the tools list: | Category | What is in it | | - | - | | **Knowledge** | Your files: searching, listing, reading and navigating the vault | | **Research** | The web and the databases: web search, scholarly articles, patents, clinical trials, Wolfram Alpha, YouTube search, BLAST and gene lookups | | **Documents** | Making things: saving and editing files, PDFs, charts, and checking built pages | | **Creative** | Images, audio and video: generation, analysis, image and sound search, transcription | | **Memory** | What the twin remembers about a person or shares with everyone | | **Assistants** | Listing and switching assistants | | **Connections** | Google, Microsoft, HubSpot, Procore, Smartsheet, task boards, REST calls and location lookups | | **Learning** | Canvas, Blackboard, Kaltura and Google Classroom | | **Communication** | Email, Gmail, Outlook and Google Meet | | **Meetings** | Sending the twin into a meeting and what it does there | ### Web & Research Tools > [accordion] get\_browser > > **Searches trusted sites with Serp APIs** > > Use for up-to-date information on broad topics when the exact URL is unknown: > > * Current events, weather, stock tickers, sports scores > * General web research not covered by specialized tools > * Information you're unfamiliar with > > **Examples:** > > * "Search for the latest news on climate change." > > * "What's the current weather in Tokyo?" > > * "Find the most popular tourist attractions in Paris." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] read\_url > > **Read content at URLs on the internet** > > Access, retrieve, summarize, or save content from a known web page URL. Provides download links in Markdown format for public files. > > **Examples:** > > * "Read the content from the Wikipedia page on the Roman Empire." > > * "Summarize the main points from [https://example.com/article](https://example.com/article)" > > * "Save the content from this GitHub README to my files." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] get\_scholar > > **Searches Google Scholar** > > Search for scholarly articles and publications from peer-reviewed sources including NIH, NIM, PubMed, DOI, and more. > > **Examples:** > > * "Find scholarly articles on artificial intelligence in healthcare." > * "Search for recent studies on the effects of social media on mental health." > * "What does the research say about intermittent fasting?" > [accordion] get\_patent > > **Searches Google Patents** > > Search for information about patents and inventions worldwide. > > **Examples:** > > * "Who owns the patent for the smartphone?" > * "Find patents related to virtual reality technology filed in the last five years." > * "Search for patent ID US10123456." > [accordion] get\_clinicaltrial > > **Searches ClinicalTrials.gov** > > Search clinical research studies worldwide from the US National Library of Medicine, including purpose, recruitment status, eligibility criteria, and locations. > > **Examples:** > > * "Search for clinical trials related to diabetes treatment." > * "Find clinical studies on mindfulness meditation for stress reduction." > * "What's the status of trial NCT06310070?" > [accordion] get\_wolframalpha > > **Searches WolframAlpha for computations and visualizations** > > Factual lookups, quantitative analysis, symbolic/numeric computation (integrals, sequences, financial math), and visualizations across science, math, geography, economics, weather, population, music, and space. Also supports bio/chem/finance tasks (e.g., DNA→amino acids translation, Taylor series, compound interest calculations). > > **Response Styles:** > > * `short` — Terse answer only (minimal prose) > * `image` — Return response as an image (best for complex graphs) > * `full` — Detailed steps/derivations with richer context (default) > * `spoken` — Phrasing suitable for voice narration > > **Examples:** > > * "What's the nutritional content of an apple?" > > * "Calculate the integral of sin(x) from 0 to π." > > * "Weather in NYC on July 4, 1776." > > * "California population from 1900 to 2020." > > * "Future value of \$1,000 at 5% for 10 years." > > * "Translate this DNA sequence to amino acids." > > > [!NOTE] > > > > Supports real-time voice conversations. ### Media & Content Tools > [accordion] get\_video > > **Searches Google YouTube** > > Search for video content on specific topics from YouTube and other sources. > > **Examples:** > > * "Find an educational video about the solar system." > > * "Show me a tutorial on how to bake sourdough bread." > > * "Search for analysis videos on current economic events." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] transcribe\_youtube > > **Transcribe a video from YouTube** > > Transcribe video content when the full YouTube URL is known. Does not work for non-YouTube videos or audio files. > > **Parameters:** > > * **URL:** The YouTube video URL (e.g., `https://www.youtube.com/watch?v=...` or `https://youtu.be/...`) > * **Save Result:** Set to `true` to save/download the transcript to your files > > **Examples:** > > * "Transcribe the video at [https://www.youtube.com/watch?v=Z8T149nP5cg](https://www.youtube.com/watch?v=Z8T149nP5cg)" > * "Summarize the YouTube video at [https://youtu.be/8nBFqZppIF0](https://youtu.be/8nBFqZppIF0)" > * "Download the transcript from this YouTube video." > [accordion] transcribe\_audio > > **Transcribe an audio file from a URL** > > Transcribe audio files from a URL. Does not work for YouTube videos. The AI checks if transcripts are available in your files before using this tool. > > **Supported Formats:** mp3, mp4, mpeg, mpga, m4a, wav, webm > > **Examples:** > > * "Transcribe the audio file at [https://example.com/recording.mp3](https://example.com/recording.mp3)" > * "Convert this podcast episode to text." > * "Transcribe the audio at [https://upload.wikimedia.org/wikipedia/en/4/48/Bernard\_Lord\_at\_Ecole\_Odyssee\_inauguration.ogg](https://upload.wikimedia.org/wikipedia/en/4/48/Bernard_Lord_at_Ecole_Odyssee_inauguration.ogg)" > [accordion] search\_kaltura > > **Search Kaltura for instructional videos** > > Search or list instructional videos on the Kaltura video streaming platform. Supports filtering by author and extracting transcripts. > > > [!WARNING] > > > > Requires Kaltura integration to be configured. > > **Parameters:** > > * **Topic:** The topic to search (leave empty for all videos) > * **Author:** Filter by author's user ID, name, or email (comma-separated) > * **Extract Transcripts:** Set to `true` to include video transcripts > * **Save Results:** Set to `true` to download search results > > **Examples:** > > * "Find an Algebra video on Kaltura." > > * "What are my videos on Kaltura?" > > * "Download the transcripts of a video about genome sequencing from Kaltura." > > * "Find videos from [hugo@praxis-ai.com](mailto:hugo@praxis-ai.com) on Kaltura." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] search\_image > > **Search for images using Unsplash.org** > > Search for free images in the Unsplash database. Returns images with courtesy notices for attribution. > > **Parameters:** > > * **Description:** A short description of the image to search > * **Orientation:** `landscape`, `squarish`, or `portrait` (default) > * **Count:** Number of images to return (default: 1) > > **Examples:** > > * "Find a sunset over the mountains." > > * "Search for 3 landscape photos of the ocean." > > * "Find a portrait-oriented image of a forest." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] search\_sound > > **Search for sounds using Freesound.org** > > Search for free sounds in the Freesound database. For sound effects only, not music. > > **Parameters:** > > * **Search Terms:** Space-separated terms, or phrase in double quotes. Use `+` for mandatory and `-` for prohibited terms (e.g., `"thunder -rain"`) > * **Count:** Number of sounds to return (default: 1) > > **Examples:** > > * "Find a sound of whales talking to each other." > > * "Search for thunder and rain sounds." > > * "Find 5 different bird call sounds." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] get\_location\_for\_gps\_coordinates > > **Get address from GPS coordinates** > > Obtain the address of a place based on latitude and longitude coordinates. > > **Examples:** > > * "What's the address at coordinates 40.7128, -74.0060?" > > * "What city is at latitude -21.2863697 and longitude 55.4108081?" > > > [!NOTE] > > > > Supports real-time voice conversations. ### Image, Audio & Video Tools > [accordion] generate\_image > > **Generate or edit images using AI** > > Create new images or edit existing ones using the configured Image Generation Model (e.g., GPT Image 2.5, a Gemini image model, or Stability). Editing an existing image needs a GPT Image model (GPT Image 2.5 Sunburst is the most precise) or one of the deprecated Amazon Titan / Nova Canvas models; Gemini, Stability and xAI image models create a new image from the description instead. Prompts are automatically translated to English. Supports generating multiple variations from the same prompt. > > **Parameters:** > > * **Prompt:** Detailed description of the image to create > * **Source URLs:** Optional space-delimited list of image URLs to edit/extend (JPEG, PNG, WebP only) > * **Count:** Number of image variations to generate (default: 1) > > **Rules:** > > * No politicians or public figures > * No copyrighted characters (original descriptions only) > * Supports editing JPEG, PNG, and WebP files > > **Examples:** > > * "Generate an image of a serene lake at sunset with mountains." > > * "Create a 3D picture of DNA proteins with bright colors." > > * "Edit this image to add a rainbow in the sky." > > * "Generate 3 variations of a futuristic cityscape." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] analyze\_image > > **Analyze and describe content in images** > > Identify, describe, extract text, count elements, determine emotions, historical context, cultural significance, and accessibility options in images. > > **Examples:** > > * "Analyze this image of the Eiffel Tower for historical context." > > * "Extract the text contained in this screenshot." > > * "Describe the species of birds in this photo." > > * "Count the number of people in this image." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] generate\_audio > > **Generate music, ambient audio, or sound effects from a text description** > > Create an audio clip from a descriptive prompt (style, mood, instruments, tempo, genre) using the configured Audio Generation model. The result is saved automatically to the user's IP Vault. > > **Parameters:** > > * **Prompt:** Detailed description of the audio to generate (in English) > * **Duration:** Length in seconds (default 30, up to 190) > * **Format:** `mp3` (default) or `wav` > > **Examples:** > > * "Generate 60 seconds of calm ambient piano music." > > * "Create a thunderstorm sound effect." > > * "Make an upbeat jazz intro for my podcast." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] generate\_video > > **Generate a short video from a text prompt (optionally animating a source image)** > > Create short videos with the configured Video Generation model. A source image is optional — provide one to animate a specific picture, or generate from text alone. The result is saved automatically to the user's IP Vault. > > **Parameters:** > > * **Prompt:** Description of the scene and motion > * **Source Image URL:** Optional image to animate > * **Quality:** `low`, `medium` (default), or `high` (premium model for the selected provider) > * **Length:** Requested seconds (default 8; the model snaps to its supported lengths) > * **Aspect Ratio:** `16:9` (default), `9:16`, or `1:1` > > **Examples:** > > * "Generate a video of waves rolling onto a beach at sunset." > > * "Animate this photo of our mascot waving." > > * "Make a vertical 8-second clip for social media." > > > [!NOTE] > > > > Supports real-time voice conversations. ### Document & File Tools > [accordion] call\_rag > > **Retrieve content from user files via semantic search** > > Search the user's uploaded documents for passages relevant to the conversation — matching by meaning, not just keywords. Results are ordered by relevance score. > > **Examples:** > > * "Search my documents for information about project budgets." > > * "Find content in my files related to marketing strategies." > > * "What do my uploaded documents say about compliance requirements?" > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] get\_user\_files > > **List and search metadata for the user's uploaded files** > > Access the user's document library with metadata including summaries, types, dates, dimensions, and authors. Filter by file type or keyword search. **Returns metadata only** — to read or quote a file's content, use `read_from_file` with the URL from this listing. > > **Parameters:** > > * **Type Filter:** Filter by `image`, `audio`, `video`, or `document` (for all other files) > * **Keyword:** Search within file names and document summaries (exact match) > > **Examples:** > > * "List all my uploaded documents." > > * "Show me my image files." > > * "Find files with 'report' in the name." > > * "What audio files do I have?" > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] read\_from\_file > > **Read content from a single user vault file by URL** > > Retrieve content from a single file in the user's vault, identified by its full vault URL (typically returned by `get_user_files`). **Reading** (`embeddings`, the default) gives the AI the text of the file, cleaned up, and works for any file type — use this when you want to read or quote what a file says. **Source** (`source`) gives the AI the file exactly as stored, including markup, and only works for text-based files (HTML, JSON, CSS, JS, MD, CSV, TSV, XML, YAML, SVG, PY, TEX, TXT) — use this when the AI needs to preserve formatting or structure before making targeted edits and writing back via `save_to_file`. > > **Parameters:** > > * **Mode:** `embeddings` (default) — sanitized, parsed text; works for all file types. `source` — raw bytes; only for text-based files (returns an error otherwise). > * **Source URL:** Required. The full vault URL of the file (the `file_url` returned by `get_user_files` or `save_to_file`). > > **Category:** Knowledge > > **Examples:** > > * "Open my `proposal.html` and apply these five edits while preserving the layout." > > * "Quote the introduction paragraph from my `research_notes.md` file." > > * "Read my `config.json` file and tell me what's in it." > > * "Show me the source of my `styles.css` so we can refactor it." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] save\_to\_file > > **Save text content to user's document collection (text formats and PDF)** > > Save or append text content to a file. The path is a single argument including the extension (e.g. `report.md`, `data.json`, `letter.pdf`). When the path ends in `.pdf`, the content is treated as Markdown and rendered to a formatted PDF in one call. > > **Parameters:** > > * **Content:** The text content to save (required). Treated as Markdown when the path ends in `.pdf`. > * **Path:** Required. Filename WITH extension (e.g. `meeting_notes.md`, `report.pdf`). Lowercase, alphanumeric + underscore + dot only. Allowed extensions: `txt`, `md`, `csv`, `tsv`, `json`, `tex`, `html`, `js`, `css`, `xml`, `yaml`, `pdf`. When omitted by the user, the LLM auto-generates names using `{subject}_{YYYY_MM_DD_HH_MM}.<ext>`. > * **Replace:** Boolean. `true` = overwrite existing file with the same name. `false` (default) = append to existing file or create new if absent. > > **Category:** Documents > > **Examples:** > > * "Save this conversation summary to a file called `meeting_notes.md`." > > * "Create a markdown file with these research notes." > > * "Append these notes to my existing `research.txt` file." > > * "Write this letter and save it directly as `letter.pdf`." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] generate\_pdf > > **Generate a PDF from an existing vault file (no content re-read)** > > Convert an existing markdown or plain-text file in the user's vault to a PDF. The source is identified by its vault URL — the LLM does not need to re-read or re-paste the file content. The PDF is written to the user's vault home and registered as a new file. > > **Parameters:** > > * **Source URL:** Required. The full vault URL of the source file (the `file_url` returned by `save_to_file` or `get_user_files`). > * **Output Path:** Optional. Output filename including `.pdf` extension (e.g. `meeting_notes.pdf`). If omitted, derived from the source: `foo.md` → `foo.pdf`. > * **Replace:** Optional boolean. `true` = overwrite an existing PDF with the same name. `false` (default) = auto-suffix on collision (e.g. `foo (1).pdf`). > > **Category:** Documents > > **Source format:** v1 supports `.md` and `.txt` only. HTML, LaTeX, and other formats are rejected with a clear error. > > **Examples:** > > * "Generate a PDF of my `meeting_notes.md` file." > > * "Convert that markdown letter to a PDF I can email." > > * "Make a PDF version of `report.md` named `report-final.pdf`." > > > [!NOTE] > > > > Supports real-time voice conversations. ### File Navigation Tools Switched on together by **File navigation tools** in the twin's Tools settings (on by default). They let the AI work across many files instead of one at a time, and they are read-only except for `edit_file`. Subagents need this family. > [accordion] find > > **Find files by name** > > Finds files by name pattern, recursively, within the twin's own vault. Read-only. > [accordion] grep > > **Search inside files by exact text** > > Searches file *contents* by exact pattern within the twin's own vault — the complement to the meaning-based search of `call_rag`. Read-only. > [accordion] ls > > **List a folder** > > Lists the files and folders in a directory of the twin's own vault. Read-only. > [accordion] read\_lines > > **Read a file with line numbers** > > Reads a file's contents with line numbers, a page at a time — how the AI navigates a large file before editing it. > [accordion] edit\_file > > **Edit a file in place** > > Makes a surgical edit to a vault file by replacing an exact passage, rather than rewriting and re-uploading the whole file. ### Builder Tools Switched on together by **Builder tools** in the twin's Tools settings (on by default). They let the AI check the web pages and activities it builds before handing them over. Turn them on for a twin that builds pages or interactive activities; subagents need them. > [accordion] run\_dom\_checks > > **Run checks against a built page** > > Runs acceptance checks against a saved page in a sandbox — real verification that the page works, rather than the AI re-reading its own code. > [accordion] run\_page\_screenshot > > **Screenshot a built page** > > Renders a saved page in a real headless browser and captures an image — actual pixels, for visual evidence. > [accordion] see\_screenshot > > **Look at a screenshot** > > Views a build screenshot or an image in the vault with the twin's vision model and returns a short critique — broken, misaligned, empty, overlapping or unreadable layout. > [accordion] vendor\_library > > **Use an approved code library** > > Returns the platform's own address and integrity snippet for an approved library, so a built page loads libraries from a known source rather than fetching them from the open web. ### CRM Tools (HubSpot) Available when HubSpot is connected for the Digital Twin (see [Connectors](/mdx/admin-guide/connectors)). Reading is direct; **every write is a proposal that a person approves** — nothing reaches HubSpot on the AI's say-so. > [accordion] hubspot\_search > > **Search the CRM** — finds contacts, companies or deals by free text. Read-only. > [accordion] hubspot\_get > > **Fetch one record** — retrieves a single contact, company or deal by its id. Read-only. > [accordion] hubspot\_read > > **Answer a CRM question** — answers a question in plain language with complete, bounded results. Read-only. > [accordion] hubspot\_propose > > **Propose a change in plain language** — stages a proposal for approval. Nothing is written. > [accordion] hubspot\_propose\_contact / \_company / \_deal > > **Propose one new record** — stages a new contact, company or deal for approval. Nothing is written. > [accordion] hubspot\_propose\_contacts\_batch > > **Propose several contacts** — stages up to ten new contacts at once. Nothing is written until they are accepted. ### Procore and Smartsheet Tools Available once a Digital Twin administrator has connected the service on the **Connections** page (see [The Agent Workspace](/mdx/admin-guide/agent-workspace#connectors)). Reading is direct; a Smartsheet change is a proposal a person approves. Visitors of a public twin page never get these tools. > [accordion] procore\_read > > **Answer questions about Procore projects** — submittals, specs, closeout, RFIs, inspections, punch lists, meetings, the directory and documents. Read-only. Staff email addresses and phone numbers in a project's directory are shown to Digital Twin administrators only. > [accordion] smartsheet\_read > > **Answer questions about the connected Smartsheet sheets** — who owns what, status mix, what is due or overdue, values, one row's details and comments. Read-only. > [accordion] smartsheet\_propose > > **Propose a Smartsheet change** — updating cells, adding a row or a comment. It stages a preview for a person to approve; nothing is written until then. ### Voice Session Tools Used inside a live voice conversation, and only when the person asks. > [accordion] switch\_voice\_assistant > > **Switch assistant mid-conversation** — changes the active assistant when the person explicitly asks for one of the assistants available to them in voice. > [accordion] clear\_voice\_assistant > > **Go back to the twin** — stops using the current assistant. Applies from the next turn. > [accordion] present\_media > > **Show something on screen in a meeting** — presents one of the person's own vault files (image, video or slideshow) on screen in a live meeting the avatar has joined, or an external page or video link where the organization allows it. Starts switched off on a new Digital Twin. ### Memory Tools > [!NOTE] > > On Digital Twins with **Long-term Memory** enabled, the twin also gets `remember`, > `recall_memories`, `update_memory` and `forget_memory` — the tools it uses to keep and retrieve > what it learns on its own. They work **alongside** the key-value tools below, which stay > available to every twin. See [Twin Memory](/mdx/user-guide/memory/twin-memory). > [accordion] set\_in\_memory > > **Save parameters to user or shared memory** > > Store or clear parameters in memory. Each parameter includes a namespace (for categorization), name, value, and description. Use namespaces to organize parameters and avoid key name conflicts. Shared memory is accessible by all users of the Digital Twin. > > **Parameters:** > > * **Parameters Array:** JSON array with `key_name`, `key_value`, `key_description`, and `key_namespace` properties > * **Shared Memory:** Set to `true` to save in shared memory (accessible by all users) > * **Clear Memory:** Set to `true` to remove all parameters from memory > > **Examples:** > > * "Remember that my birthday is December 30th, 1972." > > * "Remember I prefer short and concise responses." > > * "Save this copyright notice in shared memory: © 2025, Praxis-AI, Inc" > > * "Clear all my stored preferences from memory." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] get\_from\_memory > > **Retrieve parameters from memory** > > Retrieve a list of parameters from user or shared memory. Returns CSV-formatted data including namespaces, names, values, descriptions, and creation dates. Search is case-insensitive and token-based. > > **Parameters:** > > * **Search Term:** Search by key name, description, or namespace (leave empty for all parameters) > * **Shared Memory:** Set to `true` to search in shared memory instead of user memory > > **Examples:** > > * "What's my morning routine according to memory?" > > * "What preferences have I stored?" > > * "Show me all parameters in shared memory." > > * "What do you remember about my personal data?" > > > [!NOTE] > > > > Supports real-time voice conversations. ### Visualization Tools > [accordion] create\_chart\_2d > > **Create 2D charts for data visualization** > > Generate charts for visualizing single or multiple data series with categories on the x-axis. Each data series should include values corresponding to the specified categories. > > **Parameters:** > > * **Title:** Descriptive title for the chart > * **Categories:** JSON array of x-axis category names (e.g., `['January', 'February', 'March']`) > * **Data Series:** JSON array of data series objects with `name` and `data` properties (e.g., `[{name: 'Sales', data: [10, 8, 11]}]`) > > **Examples:** > > * "Create a chart showing sales data from January to April." > * "Generate a chart comparing monthly rainfall to temperature." > * "Visualize this quarterly revenue data as a bar chart." ### Google Workspace Tools > [!NOTE] > > Each Google tool is offered only while its Google service is connected for the Digital Twin with every permission it needs allowed. See [Google Workspace](/mdx/admin-guide/google-workspace) for the services, their permissions and the connect steps. > [accordion] call\_google\_gmail > > **Access Gmail to read, search, send, and manage emails** > > Interact with the user's Gmail account — search inbox, read messages, send emails, manage labels, work with threads and drafts. > > **Key Capabilities:** > > * Search with Gmail syntax: `from:`, `to:`, `subject:`, `is:unread`, `has:attachment`, `newer_than:7d` > * Send emails with HTML formatting, CC/BCC, and attachments > * Manage labels, trash messages, work with drafts > > **Examples:** > > * "Show me my unread emails from this week." > > * "Search my inbox for messages from [boss@company.com](mailto:boss@company.com) about invoices." > > * "Send an email to [john@example.com](mailto:john@example.com) about the meeting tomorrow." > > * "Find emails with PDF attachments from the last 30 days." > > * "Move that email to trash." > > > [!WARNING] > > > > The AI always confirms with the user before sending emails. > [accordion] call\_google\_drive > > **Search, browse, and download files from Google Drive** > > Search and list files in the user's Google Drive, get file metadata, and download files to the user's IP Vault for RAG indexing. > > **Key Capabilities:** > > * Search by name, type, date, or full-text content > * Download files to IP Vault (triggers RAG indexing) > * Export Google Workspace files (Docs, Sheets, Slides) to PDF/DOCX/XLSX/PPTX > * View file permissions and comments > > **Examples:** > > * "Search my Google Drive for the Q4 report." > > * "Download the project proposal to my files." > > * "Find all presentations modified in the last week." > > * "Show me my Drive storage usage." > > > [!NOTE] > > > > Supports real-time voice conversations. To read file content directly, use the dedicated Docs, Sheets, or Slides tools instead of downloading. > [accordion] call\_google\_calendar > > **List, create, update, and delete calendar events** > > Full read/write access to the user's Google Calendar with timezone-aware event management, recurring events, and availability checks. > > **Key Capabilities:** > > * List events for any date range > * Create events with attendees, location, and recurrence > * Check free/busy availability > * Update or delete existing events > > **Examples:** > > * "What's on my calendar for tomorrow?" > > * "Schedule a team meeting next Tuesday at 2 PM for 1 hour." > > * "Create a recurring standup every weekday at 9 AM." > > * "Am I free this Friday afternoon?" > > * "Cancel my 3 PM meeting." > > > [!WARNING] > > > > The AI confirms with the user before creating, modifying, or deleting events. > [accordion] call\_google\_sheets > > **Read and analyze spreadsheet data directly** > > Read Google Sheets content directly from Google's API — no download needed. Supports A1 notation for cell ranges, formulas, and structured table data. > > **Key Capabilities:** > > * Read specific cell ranges using A1 notation (e.g., `Sheet1!A1:D10`) > * View formatted values, raw values, or formulas > * Get spreadsheet metadata and sheet names > > **Examples:** > > * "Read the data from my Budget spreadsheet." > > * "Show me cells A1 through D20 from Sheet1." > > * "What formulas are used in the Revenue column?" > > * "Summarize the data in my Sales Tracker spreadsheet." > > > [!NOTE] > > > > Requires Google Drive to be enabled (dependency). > [accordion] call\_google\_docs > > **Read and analyze document content directly** > > Read Google Docs content directly from Google's API — no download needed. Extracts plain text with table support for summarization and analysis. > > **Examples:** > > * "Summarize my Google Doc about marketing strategy." > > * "Read the content of my project proposal document." > > * "What does my meeting notes document say about action items?" > > > [!NOTE] > > > > Requires Google Drive to be enabled (dependency). > [accordion] call\_google\_slides > > **Read and analyze presentation content directly** > > Read Google Slides content directly from Google's API — no download needed. Extracts text from all slides with slide-by-slide structure. > > **Examples:** > > * "What's in my Google Slides presentation about onboarding?" > > * "Summarize the key points from my quarterly review slides." > > * "Read slide 3 of my training presentation." > > > [!NOTE] > > > > Requires Google Drive to be enabled (dependency). > [accordion] call\_google\_meet > > **Access recordings and transcripts from past Google Meet meetings** > > Retrieve conference history, recordings (with Drive file links), and full transcripts with speaker attribution from past Google Meet sessions. > > **Examples:** > > * "List my recent Google Meet recordings." > > * "Get the transcript from yesterday's team meeting." > > * "Find the recording from last week's project review." > > > [!NOTE] > > > > For scheduling meetings with video links, use `call_google_calendar` instead. This tool is for past meeting data only. Requires Google Calendar to be enabled (dependency). > [accordion] call\_google\_classroom > > **View courses, assignments, grades, and announcements from Google Classroom** > > Read-only access to the user's Google Classroom — list courses, view assignments and submissions, read announcements. > > **Examples:** > > * "List my Google Classroom courses." > * "What assignments are due this week in Biology 101?" > * "Show me the latest announcements from my course." > * "What's my grade on the midterm submission?" > [accordion] call\_google\_maps > > **Find places, get location details, and convert between addresses and coordinates** > > Search for places, get business details and reviews, perform geocoding and reverse geocoding using Google Maps. > > **Key Actions:** > > * `text_search` — Find places by query (e.g., "coffee shops in Seattle") > * `nearby_search` — Find places near GPS coordinates by type > * `place_details` — Get hours, phone, reviews for a specific place > * `geocode` / `reverse_geocode` — Convert between addresses and coordinates > * `get_user_location` — Get the user's current location (browser permission required) > > **Examples:** > > * "Find Italian restaurants near downtown Seattle." > > * "What's the address at coordinates 40.7128, -74.0060?" > > * "Show me coffee shops within 2 km of my location." > > * "Get reviews for this restaurant." > > > [!NOTE] > > > > Supports real-time voice conversations. Uses server-side API key — no user OAuth required. ### Microsoft 365 Tools > [!NOTE] > > Microsoft 365 tools need a connected Microsoft account. Each tool appears only when Microsoft is enabled for your Digital Twin and its service is connected — see [Microsoft 365](/mdx/admin-guide/microsoft-365). > [accordion] call\_microsoft\_onedrive > > **List, search, and import files from OneDrive** > > Browse and search the user's OneDrive, get file details, and import files (one at a time or a whole folder) into the user's IP Vault where they become searchable. Imported videos and audio are transcribed so their content is searchable too. > > **Examples:** > > * "Search my OneDrive for the budget spreadsheet." > * "Import everything in my Reports folder into my files." > [accordion] call\_microsoft\_sharepoint > > **Find sites, browse document libraries, and search files across SharePoint and OneDrive** > > Open a site by name, list its document libraries and files, run full-text search, and import files or entire libraries into the user's IP Vault. > > **Examples:** > > * "What's in the Policies library on our HR site?" > * "Search SharePoint for the onboarding checklist." > [accordion] call\_microsoft\_outlook > > **List, search, read, and send Outlook email** > > Work with the user's Outlook mailbox — including sending emails with attachments pulled from OneDrive, SharePoint, or the user's Pria files. > > **Examples:** > > * "Find the latest email from finance about invoices." > > * "Send the report to the team with report.pdf attached." > > > [!WARNING] > > > > The AI always confirms with the user before sending. > [accordion] call\_microsoft\_calendar > > **View, create, update, and delete Outlook calendar events** > > Timezone-aware event management, including optional Teams meeting links when the user asks for a video meeting. > > **Examples:** > > * "What's on my calendar this week?" > > * "Set up a Teams meeting with Dana on Thursday at 10." > > > [!WARNING] > > > > The AI confirms details with the user before creating, changing, or deleting events. > [accordion] call\_microsoft\_excel > > **Read Excel workbook data** > > List worksheets and read cell values from Excel files stored in OneDrive or SharePoint — no download needed. > [accordion] call\_microsoft\_word > > **Read the text of a Word document** > > Extract a Word (.docx) document's text for summarization and analysis — no download needed. > [accordion] call\_microsoft\_powerpoint > > **Read the text of a PowerPoint presentation** > > Extract a PowerPoint (.pptx) presentation's slide text for summarization and analysis — no download needed. ### LMS Integration Tools > [accordion] call\_canvas > > **Interact with Canvas LMS** > > Access course material (syllabus, pages, office hours), enrolled users, assignments, submissions, grades, announcements, and discussion topics from Canvas LMS via the Canvas API. > > > [!WARNING] > > > > Requires Canvas LMS integration to be configured. > > **Parameters:** > > * **Method:** HTTP request method (GET, POST, PUT, DELETE) > * **Endpoint:** Canvas API endpoint URL (without domain) > * **Body:** Request body for POST/PUT requests (form-urlencoded or JSON) > * **Faculty Context:** Set to `true` for faculty/admin actions (grading, curating content) > > **Supported Operations:** > > * List and retrieve course content, syllabus, and pages > * View and submit assignments > * Read and post discussion entries > * Access grades and submission feedback > * Smart search via `/api/v1/courses/:course_id/smartsearch` > > **Examples:** > > * "What are my assignments due this week?" > > * "Show me the course syllabus." > > * "List discussion topics in my course." > > * "What's my grade on the midterm exam?" > > * "Post a comment on my assignment submission." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] call\_blackboard > > **Read a learner's Blackboard Learn course** > > Reads the course contents, announcements, the learner's own grades and the calendar from Blackboard Learn, using the learner's own read-only sign-in. It cannot change anything in Blackboard. > > > [!WARNING] > > > > Requires a Blackboard Learn site connected for the Digital Twin, and a Digital Twin opened from Blackboard. Ask the Praxis AI team to connect your site. > > **Examples:** > > * "Any new announcements in my course?" > * "What's in the Week 3 folder?" > * "What are my grades so far?" > > The first time, the twin answers with a Blackboard sign-in link; after signing in, the learner asks again. See [Blackboard Pria Tools](/mdx/integrations/blackboard/pria-tools). > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] search\_canvas > > **Search Canvas for course material** > > Fallback search tool when `call_canvas` is not available. Searches course material including syllabus, pages, content, assignments, grades, office hours, and announcements. > > > [!WARNING] > > > > Requires Canvas LMS integration to be configured. > > **Examples:** > > * "When is my homework due this week for Intro to Marketing?" > * "Search for office hours in my course." > * "Find content about Chapter 5 in my course." ### Bioinformatics Tools > [accordion] search\_blast > > **BLAST sequence similarity search** > > Find regions of similarity between biological sequences using NCBI BLAST (nucleotide/protein comparison with statistical significance). Note: Queries may take several minutes. > > **Parameters:** > > * **Program:** megablast, blastn, blastp, rpsblast, blastx, tblastn, or tblastx (required) > * **Database:** Target database for comparison (required) > * **Sequence:** Nucleotide or protein sequence to search (required) > * **Save Results:** Set to `true` to download results > > **Common Databases:** > > * **All programs:** core\_nt, refseq\_select\_rna, refseq\_rna, nt, Whole\_Genome\_Shotgun\_contigs, est, sra, patnt, pdbnt > * **Protein (blastp, blastx):** nr, refseq\_select\_prot, refseq\_protein, swissprot, pataa, pdb > * **Nucleotide (blastn):** rRNA\_typestrains/16S\_ribosomal\_RNA, nt\_euk, nt\_prok, nt\_viruses > > **Examples:** > > * "Search blastp for this protein sequence: MKVKVLSLLVP..." > * "Run a megablast search against the nt database." > * "Compare this DNA sequence to RefSeq genomes." > [accordion] get\_genome > > **Look up human genes** > > Identifies human gene names, symbols and IDs, and the proteins they are associated with, from the EBI gene reference. > > **Examples:** > > * "Find the official gene symbol for BRCA1." ### Communication Tools > [accordion] send\_email > > **Send an email** > > Send emails with specified recipients, subject line, and HTML-formatted message body. Supports multiple recipients and responsive HTML formatting. > > > [!NOTE] > > > > The AI will request confirmation before sending unless instructed otherwise in your Digital Twin's instructions. This tool starts **switched off** on a new Digital Twin — switch it on in the tools list when your use case calls for it. > > **Parameters:** > > * **Recipients:** Email address(es), comma-separated for multiple recipients (required) > * **Subject:** Email subject line (required) > * **Body:** HTML-formatted message with inline CSS and responsive tags like `<p>`, `<br>`, `<strong>` (required) > > **Examples:** > > * "Send an email to [john@example.com](mailto:john@example.com) about the meeting tomorrow." > > * "Email the team a summary of today's discussion." > > * "Send this report to [user1@example.com](mailto:user1@example.com) and [user2@example.com](mailto:user2@example.com)." > > > [!NOTE] > > > > Supports real-time voice conversations. ### Meeting Agent Tools > [!NOTE] > > When the **Meeting Agent** is set up for a Digital Twin, an additional tool family becomes available: `join_meeting` and `leave_meeting` send the avatar into (or remove it from) a Zoom, Google Meet, or Microsoft Teams meeting, and companion tools handle in-meeting chat, presenting media, posting summaries, and searching meeting memory. See the Meeting Agent documentation for the full experience. ### Assistant Tools > [accordion] get\_assistants > > **List available assistants** > > Retrieve a filtered or complete list of conversational assistants accessible to the current user. Returns assistant IDs and names. > > **Examples:** > > * "What assistants are available?" > > * "Find assistants with 'math' in the name." > > * "List all my assistants." > > > [!NOTE] > > > > Supports real-time voice conversations. > [accordion] start\_assistant > > **Activate an assistant** > > Initialize and activate a specific conversational assistant, loading its specialized instructions into the current session. > > **Examples:** > > * "Start the Math Tutor assistant." > > * "Switch to the Writing Coach." > > * "Activate the Code Review assistant." > > > [!NOTE] > > > > Available in real-time voice mode only. ### API Integration Tools > [accordion] call\_rest > > **Execute REST API calls** > > Execute authenticated REST API calls to specific service endpoints. Use only when: (1) explicitly instructed by name, (2) the endpoint requires authentication other tools can't provide, or (3) the service is internal/proprietary. > > > [!WARNING] > > > > This tool is for internal/proprietary services requiring authentication. Use `read_url` or `get_browser` for public web content. > > **Parameters:** > > * **Bearer Token:** Authorization token (leave empty if no auth required) > * **URL:** Complete REST endpoint URL with all variables substituted > * **Method:** HTTP method (GET, POST, PUT, DELETE) > * **Body:** Request body in JSON format for POST/PUT/DELETE > * **Query Params:** URL-encoded query string for GET/DELETE (RFC 3986) > * **Content Type:** Header value (default: `application/json`) > > **Common Responses:** 401 (auth required), 400 (invalid params), 404 (endpoint not found), 500 (service unavailable) > > **Examples:** > > * "Call the attendance API endpoint with my bearer token." > > * "POST this data to the internal reporting service." > > * "Fetch data from our custom REST endpoint." > > > [!NOTE] > > > > Supports real-time voice conversations. *** ## Tool Availability Tools are automatically enabled or disabled based on your Digital Twin's configuration: | Tool | Requires | | - | - | | `call_canvas`, `search_canvas` | Canvas LMS integration | | `call_blackboard` | A Blackboard Learn site connected for the Digital Twin (ask the Praxis AI team) | | `search_kaltura` | Kaltura credentials | | `search_blast` | Using a Digital Twin (not a personal account) | | `call_google_gmail` | Google enabled for the Digital Twin, with **Gmail** connected | | `call_google_drive` | Google enabled, with **Google Drive** connected | | `call_google_calendar` | Google enabled, with **Google Calendar** connected | | `call_google_sheets`, `call_google_docs`, `call_google_slides` | Google enabled, with **Google Sheets** / **Google Docs** / **Google Slides** connected (each needs Drive) | | `call_google_meet` | Google enabled, with **Google Meet** connected (needs Calendar) | | `call_google_classroom` | Google enabled, with **Google Classroom** connected | | `call_google_maps` | A Google Maps key set by Praxis AI — no Google sign-in needed | | `call_microsoft_*` | Microsoft enabled for the Digital Twin, with a connected Microsoft account | | `hubspot_*`, `procore_read`, `smartsheet_*` | The service connected for the Digital Twin | | `join_meeting`, `leave_meeting`, `present_media` and the other meeting tools | Meeting Agent set up for the Digital Twin | A Google service counts as connected only when every permission it needs was allowed — see [What counts as connected](/mdx/admin-guide/google-workspace#what-counts-as-connected). > [!TIP] > > To switch a tool off for your Digital Twin, use the list in **Instance Settings › Tools** or the admin editor's **Connector MCP and Tools** tab. A tool switched off is never offered to the AI. > [!NOTE] > > Tools can also be controlled at the **assistant level**. When an assistant is set to "Selected Tools Only" mode, only the whitelisted tools are available during conversations with that assistant — even if the tool is enabled at the Digital Twin level. See [Assistants](/mdx/admin-guide/assistants#per-assistant-tool-configuration) for details. *** ## Real-Time Voice Support Tools marked with \[!NOTE] Supports real-time voice conversations. can be used during speech-to-speech sessions. The AI can invoke these tools while maintaining a natural voice conversation. Tools marked with \[!NOTE] Available in real-time voice mode only. are exclusively available during real-time voice sessions (e.g., switching assistants mid-conversation). ## Related * [Assistants](/mdx/admin-guide/assistants#per-assistant-tool-configuration) — restrict tools to a curated whitelist per assistant * [MCP Servers](/mdx/admin-guide/mcp-servers) — extend your Digital Twin with external tools * [AI & Models](/mdx/admin-guide/ai-models) — the models that decide when to call each tool # UI Customization Source: https://docs.praxis-ai.com/mdx/admin-guide/ui-customization Restyle the classic interface of your Digital Twin with your own CSS. You can restyle the classic interface of your Digital Twin with your own CSS: backgrounds, colors, sizes and layouts. In the admin editor's **Personalization and AI Models** tab, paste your CSS into the **UI CSS** field (in the Studio UI's admin editor: **Custom CSS**, under **Show advanced**), then click **Update** to save. ![Custom CSS Input](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/css-custom-input.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=848705d2a3391e83193920bd038a449d) The **View template...** link next to the field opens the starter template, also available at: [https://pria.praxislxp.com/pria-ui-template.css](https://pria.praxislxp.com/pria-ui-template.css) Copy its content into the field and change what you need. > [!NOTE] > > The class names on this page belong to the classic interface. The Studio UI has its own design, and most of these classes do not exist there. The template also defines a few classes that no screen uses any more (for example `.pria-ui-zoomin` and `.pria-ui-feedback`); styling them has no effect, so they are left out of the tables below. ## Responsive Breakpoints When writing custom CSS, use the following media queries for responsive layouts: ```css theme={null} max-sm @media not all and (min-width: 640px) { ... } max-md @media not all and (min-width: 768px) { ... } max-lg @media not all and (min-width: 1024px) { ... } max-xl @media not all and (min-width: 1280px) { ... } max-2xl @media not all and (min-width: 1536px) { ... } ``` ## CSS Class Reference Every customizable CSS class available in the Pria UI, organized by section. ### Global | Class | Used In | Purpose | | - | - | - | | `.pria-ui-background` | Main layout | Root background container for the entire application | ### Top Navigation Bar | Class | Used In | Purpose | | - | - | - | | `.pria-ui-topbar` | Top bar | Main navigation bar across the top of the screen | | `.pria-ui-top-btn` | Top bar | Individual navigation buttons (Home, Admin, the Digital Twin tray and its tiles, etc.) | | `.pria-ui-twin-tray` | Top bar | The Digital Twin tray that opens under the top bar: the Gallery and a card about your current Digital Twin (or the favorite you point at) on top, your favorite Digital Twins below | | `.pria-ui-twin-tray-current` | Top bar | The picture of the Digital Twin the tray's card describes (wide screens) | | `.pria-ui-twin-tray-note` | Top bar | Small text in the tray (the card's About text, numbers of files and assistants and credits, the Your Favorites label, the hint) and the credits warning next to the tray's arrow | | `.pria-top-navigation-menu` | Top bar | Profile dropdown menu that appears when clicking the user avatar | ### Sidebar / Conversation List | Class | Used In | Purpose | | - | - | - | | `.pria-ui-sidebar` | Sidebar | Left sidebar panel listing conversations | | `.pria-ui-conversation-current` | Sidebar | Highlight style on the currently active conversation | | `.pria-ui-course-name` | Message headers | Inline display showing the conversation/course name with bookmark icon | ### Main Content Area | Class | Used In | Purpose | | - | - | - | | `.pria-ui-main` | Main panel | Primary content area to the right of the sidebar | | `.pria-ui-messages` | Messages | Scrollable container holding all conversation messages | ### Messages | Class | Used In | Purpose | | - | - | - | | `.pria-ui-message` | Messages | Wrapper for an individual message (input + output pair) | | `.pria-message-in` | Messages | User's input message text block | | `.pria-message-out` | Messages | AI's output message text block | | `.pria-ui-input-icon` | Messages | Container for the user avatar icon beside input messages | | `.pria-ui-output-icon` | Messages | Container for the AI/assistant avatar icon beside output messages | | `.pria-ui-assistant-name` | Message headers | Inline display of assistant name with sparkles icon | | `.pria-ui-dialogue-created` | Message headers | Expandable timestamp showing when the dialog was created | | `.pria-ui-dialogue-favorite` | Message headers | Star button to toggle a dialog as favorite | | `.pria-usage-infocard` | Messages | Hover card showing dialog metadata (tokens, credits, duration) | ### Message Toolbar | Class | Used In | Purpose | | - | - | - | | `.pria-message-tools` | Message toolbar | Outer container for the per-message action bar | | `.pria-ui-tools-btn` | Message toolbar | Base class on every tool button (share, view, delete, copy) | | `.pria-ui-tools-tooltip` | Message toolbar | Tooltip label that appears on hover above each button | | `.pria-ui-tools-check` | Message toolbar | Checkmark icon shown briefly after a successful copy | | `.pria-ui-tools-share-btn` | Message toolbar | Share Link button wrapper | | `.pria-ui-tools-share` | Message toolbar | Share Link icon | | `.pria-ui-tools-view-btn` | Message toolbar | View Details button wrapper | | `.pria-ui-tools-view` | Message toolbar | View Details icon | | `.pria-ui-tools-delete-btn` | Message toolbar | Delete Dialog button wrapper | | `.pria-ui-tools-delete` | Message toolbar | Delete / Recover icon | | `.pria-ui-tools-copyinput-btn` | Message toolbar | Copy Input button wrapper | | `.pria-ui-tools-copyinput` | Message toolbar | Copy Input icon | | `.pria-ui-tools-copyoutput-btn` | Message toolbar | Copy Output button wrapper | | `.pria-ui-tools-copyoutput` | Message toolbar | Copy Output icon | | `.pria-ui-tools-confirm` | Message toolbar | Delete confirmation bar (are you sure?) | | `.pria-ui-tools-confirm-yes` | Message toolbar | Confirm delete button | | `.pria-ui-tools-confirm-cancel` | Message toolbar | Cancel delete button | ### Text-to-Speech | Class | Used In | Purpose | | - | - | - | | `.pria-ui-tools-tts` | Message toolbar | Wrapper for all TTS controls | | `.pria-ui-tools-speak` | Message toolbar | Speak button (starts text-to-speech) | | `.pria-ui-tools-speak-icon` | Message toolbar | Speaker icon inside the Speak button | | `.pria-ui-tools-stop` | Message toolbar | Stop button (stops playback) | | `.pria-ui-tools-stop-icon` | Message toolbar | Stop icon inside the Stop button | | `.pria-ui-tools-voice` | Message toolbar | Voice selector button | | `.pria-ui-tools-voice-icon` | Message toolbar | Music note icon inside the Voice button | | `.pria-ui-tools-voice-name` | Message toolbar | Voice name label (hidden on small screens) | ### Input Area | Class | Used In | Purpose | | - | - | - | | `.pria-ui-input` | Input area | Main input section at the bottom of the conversation | | `.pria-ui-entrysearch` | Input area | The text input/search field where users type messages | | `.pria-ui-embed-uploads` | Input area | Drag-and-drop upload area showing dropped files/URLs | ### Streaming / Live Response | Class | Used In | Purpose | | - | - | - | | `.pria-ui-stream-message` | Streaming | Wrapper for the entire streaming message display | | `.pria-ui-stream-controls` | Streaming | Container for streaming control buttons (abort, pause) | | `.pria-ui-rtstream` | Streaming | Real-time audio stream container for live conversation | | `.pria-ui-rtstream-icon` | Streaming | Pulsing status indicator icon during active RT audio stream | ### Welcome Screen | Class | Used In | Purpose | | - | - | - | | `.pria-ui-welcome` | Welcome | Welcome screen displayed when no conversation is active | ### Assistants | Class | Used In | Purpose | | - | - | - | | `.pria-ui-assistants` | Assistants panel | Outer container for the assistants section | | `.pria-ui-assistants-list` | Assistants panel | Responsive grid container for displaying assistant cards | | `.pria-ui-assistant` | Assistants panel | Individual assistant card | | `.pria-ui-assistant.active` | Assistants panel | Active (published) assistant card | | `.pria-ui-assistant.unpublished` | Assistants panel | Unpublished (draft) assistant card | | `.pria-ui-assistant-name` | Message headers | Assistant name display with sparkles icon in message headers | | `.pria-ui-assistant-badges` | Assistants panel | Container for scope, status, and permission badges on assistant cards | | `.pria-ui-assistant-actions` | Assistants panel | Container for start/edit/delete action buttons on assistant cards | | `.pria-ui-assistant-model` | Assistants panel | Modal container for adding/editing assistant settings | ### Voices / Language Selection | Class | Used In | Purpose | | - | - | - | | `.pria-ui-voices` | Voices panel | Container for voice selection options | ### Files / Uploads | Class | Used In | Purpose | | - | - | - | | `.pria-ui-files` | Files panel | Outer container for the files section | | `.pria-ui-files-sort` | Files toolbar | Sort buttons (by name or date) in the files toolbar | | `.pria-ui-file` | Files panel | Individual file card | | `.pria-ui-file.selected` | Files panel | Currently selected file card | | `.pria-ui-file.active` | Files panel | Active (included in context) file card | | `.pria-ui-file.inactive` | Files panel | Inactive (excluded from context) file card | | `.pria-ui-file.error` | Files panel | File card in error state (failed processing) | | `.pria-ui-collection` | Files panel | Collection (folder) card in the files view | | `.pria-ui-uploads` | Files panel | Container for file upload area | | `.pria-ui-vault-health-summary` | Files panel | Stats chips showing total, included, and unused file counts | ### Gallery (Digital Twins) | Class | Used In | Purpose | | - | - | - | | `.pria-ui-gallery` | Gallery | Outer container for the digital twins gallery | | `.pria-ui-gallery-header` | Gallery | Header section of the gallery | | `.pria-ui-gallery-carousel` | Gallery | Scrollable carousel of digital twin cards | | `.pria-ui-gallery-card` | Gallery | Individual digital twin card | | `.pria-ui-gallery-card.selected` | Gallery | Currently selected digital twin card | ### Realtime / Conversation Mode | Class | Used In | Purpose | | - | - | - | | `.pria-ui-rt-window` | RT Audio | Draggable floating window for real-time audio conversation | | `.pria-ui-convo-container` | RT Audio | Inner circular container holding the animated avatar with status colors. Contains also contracted/expanded class | | `.pria-ui-convo-tools` | RT Audio | Tools + transcript column. In transcript mode it sits below the avatar on portrait phones and to its right on tablets, desktops and landscape phones; the root carries `pria-ui-convo-split` in that layout. Contains also contracted/expanded class | | `.pria-ui-convo-avatar-image` | RT Audio | The avatar image element inside the RT audio window | | `.pria-ui-convo-tools-panel` | RT Audio | Tools panel (Start/End, Mute, Contract, message box) — pinned at the bottom of the column in transcript mode | | `.pria-ui-rt-idle` | RT Audio | State class: no active audio (default) | | `.pria-ui-rt-input-active` | RT Audio | State class: user is speaking (mic input detected) | | `.pria-ui-rt-output-active` | RT Audio | State class: AI is speaking (audio output active) | | `.pria-ui-rt-muted` | RT Audio | State class: microphone is muted | ### Pricing Page | Class | Used In | Purpose | | - | - | - | | `.pria-ui-pricing-header` | Pricing | Header section of the pricing page | | `.pria-ui-pricing-container` | Pricing | Main container for pricing plans | | `.pria-ui-pricing-loading` | Pricing | Loading state placeholder | | `.pria-ui-pricing-tabs` | Pricing | Tab bar for switching between pricing views | | `.pria-ui-pricing-actions` | Pricing | Action buttons (subscribe, buy credits, etc.) | | `.pria-ui-pricing-about-header` | Pricing | Header for the "about" section | | `.pria-ui-pricing-about` | Pricing | About/description section on the pricing page | | `.pria-ui-pricing-badges` | Pricing | Badge display area on the pricing page | ### Charts / Visualization | Class | Used In | Purpose | | - | - | - | | `.pria-ui-chartcontainer` | Charts | Container for chart/visualization components | ### Admin Section | Class | Used In | Purpose | | - | - | - | | `.pria-ui-wrapper` | Admin | Outer wrapper for admin page content | | `.pria-ui-tabpane` | Admin | Content pane for admin tab sections | | `.pria-ui-button-bar` | Admin / Tabs | Horizontal tab bar or button group container | ### Profile Section | Class | Used In | Purpose | | - | - | - | | `.pria-ui-profile-header` | Profile | Header section of the user profile page | ### Output | Class | Used In | Purpose | | - | - | - | | `.pria-ui-output` | Output | Generic output display container | ### Error Display | Class | Used In | Purpose | | - | - | - | | `.pria-ui-error` | Error banner | Outer wrapper for error notification banners | | `.pria-ui-error-inner` | Error banner | Inner container with gradient background and border styling | | `.pria-ui-error-icon` | Error banner | Container for the error exclamation icon | | `.pria-ui-error-message` | Error banner | Text content area of the error message | | `.pria-ui-error-dismiss` | Error banner | Dismiss/close button to hide the error | ### Collapsible Sections | Class | Used In | Purpose | | - | - | - | | `.pria-ui-details` | Collapsible | `<details>` element wrapper for expandable sections | | `.pria-ui-summary` | Collapsible | `<summary>` element (clickable header) for collapsible sections | ### View-Specific Sections | Class | Used In | Purpose | | - | - | - | | `.pria-ui-view-upload` | Upload view | Container for the file upload management page | | `.pria-ui-view-upload-inner` | Upload view | Inner content area of the upload view | | `.pria-ui-upload-top` | Upload view | Top toolbar of the upload view | | `.pria-ui-view-history` | History view | Container for the conversation history page | | `.pria-ui-view-history-inner` | History view | Inner content area of the history view | | `.pria-ui-view-history-inner-dialogues` | History view | List of dialogues within a history conversation | ### Authentication Buttons | Class | Used In | Purpose | | - | - | - | | `.pria-login-btn` | Login page | Primary login button | | `.pria-signup-btn` | Login page | Sign-up / register button | | `.pria-request-tojoin-cancel-btn` | Login page | Cancel button on the "request to join" form | | `.pria-request-tojoin-join-btn` | Login page | Submit button on the "request to join" form | ## Example: Halve the RT Audio Avatar To resize the animated avatar in the real-time conversation window to half its default size, add this CSS to your Digital Twin's custom CSS: ```css theme={null} /* Shrink the RT conversation avatar to half size */ .pria-ui-convo-avatar-image { min-width: 10.25rem !important; min-height: 10.25rem !important; } .pria-ui-convo-container { width: 10.75rem !important; min-height: 10.75rem !important; } ``` Or use `transform` for a proportional scale that keeps everything aligned: ```css theme={null} .pria-ui-convo-container { transform: scale(0.5); transform-origin: top right; } ``` ## Example: Custom Background Apply a radial gradient background across all major UI sections: ```css theme={null} .pria-ui-topbar, .pria-ui-sidebar, .pria-ui-background, .pria-ui-messages, .pria-ui-input, .pria-ui-profile-header, .pria-ui-entrysearch, .pria-ui-wrapper, .pria-ui-tabpane, .pria-ui-files, .pria-ui-assistants, .pria-ui-uploads, .pria-ui-voices, .pria-ui-chartcontainer, .pria-ui-output, .pria-ui-gallery, .pria-ui-pricing-container { background: radial-gradient(circle, #FFFFE0, #fff7e6, #FFA500); background-size: cover; background-attachment: fixed; } ``` ## Example: Custom Gallery Card Selection ```css theme={null} .pria-ui-gallery-card.selected { border-color: #3b82f6 !important; box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3) !important; } ``` ## Example: Custom File Card States ```css theme={null} .pria-ui-file.selected { background-color: rgba(255, 255, 255, 0.75) !important; } .pria-ui-file.active { background-color: rgba(255, 255, 255, 0.5) !important; } .pria-ui-file.inactive { background-color: rgba(0, 255, 0, 0.1) !important; } .pria-ui-file.error { background-color: rgba(255, 0, 0, 0.1) !important; } ``` > [!NOTE] > > We are actively working on creating a library of color templates to facilitate the selection. For any help modifying the CSS template, just ask Pria! # Users Source: https://docs.praxis-ai.com/mdx/admin-guide/users Find, add, import and edit the people in your Digital Twins — status, memberships, security, memory and usage. > [!NOTE] > > **Integration Note**: When your Digital Twin is integrated through Canvas or the SDK, users are automatically signed in and registered. ## Who you can manage What you can do to a person depends on your [entitlements](/mdx/admin-guide/entitlements) on the Digital Twin they are using right now: | You want to… | You need | | - | - | | See them in the list | `users.list` | | Add or import people | `users.add` | | Edit them, reset their password, turn their two-step verification on or off, use **Act As** | `users.edit` | | Delete them | `users.delete` | > [!NOTE] > > **People using their personal Pria.** Someone who is not inside any Digital Twin right now opens for you only if they hold an **active membership of their own** on your Digital Twin. An address you imported does not count until that person has signed in and used your Digital Twin. Otherwise Pria shows "This account has not joined your Digital Twin." — and their trusted devices, memberships and personal memories stay closed to you. *** ## The Users list ![Admin Users Main Ui Gi](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-users-main-ui.gif?s=01c677e9291f3971547306fc50f7a634) Four selectors at the top apply to every tab: | Selector | What it does | | - | - | | **Account** | Narrows to one customer account | | **Instance** | Narrows to one Digital Twin | | **Account Type** | Admin or User | | **User** | Searches by name or email | Below them are three tabs — **Users**, **Statistics** and **Credit Cap**. ### The Users tab * **All · Active · Inactive** — filters by the person's status. The Studio UI adds **All · Has activity**, which keeps only people who have used Pria at least once. * **Import** — creates accounts from a list of email addresses (see [Import people](#import-people)). * **Columns** — chooses the columns; the export follows the same choice. * **Export CSV** — downloads the list for your current selectors. The list says **Showing X of Y users** and loads more as you scroll. Each row has **Edit** and, where you hold `users.delete` for that Digital Twin, **Delete**. **How recently someone used Pria.** The **Last Activity** column counts every way of using Pria — chat, voice, meetings, uploads, Slack and more; signing in or opening a page does not count. Its dot is green up to 30 days, yellow from 31 days to 6 months, and red after 6 months; someone who never used Pria reads "Never used". Under an active person's status, a quiet spell of more than 30 days shows as "35 days ago"; after 6 months it becomes a warning reading "idle 6+ months". > [!TIP] > > **Tick the checkboxes to act on several people at once.** A bar appears with **Set active**, **Set inactive** and **Delete**. You can only tick people you're allowed to act on, and each action confirms with the exact number before it runs. ### The Statistics tab Usage over a date range you choose, summarised **Daily**, **Weekly** or **Monthly**, with its own column chooser and CSV export. With no range set it shows a recent default window and says so. Very large queries are capped at 5,000 rows, or may time out — narrow the date range, the Digital Twin or the search when that happens. ### The Credit Cap tab How credit caps are landing across the Digital Twins you can see: how many are capped, how many members they hold, how many have **reached** their cap, and charts of the same over time. Use it to tell whether a cap is doing its job or quietly blocking people. *** ## Editing a person Click a person to open their record. The tabs mirror the person's own profile: > [tab] General > > * The **picture** — click it to upload a new one, or paste an address in **Picture URL (override)**. > * **Allow new UI access** — lets the person switch to the Studio UI. > * **Show the welcome message at the next visit** — shows the personal Pria welcome again the next time they open their personal Pria, if they have no Digital Twin. > * **Email**, **First Name**, **Last Name**, **Account Type** (*user* or *admin*) and **Status** (*active* or *inactive*). > * **Personal Credits** and **Plan** are shown read-only. For a credit grant, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > > ![Admin User Management General](https://mintcdn.com/praxisai/qxT5Q0PyDIL4kbpG/images/admin-guide/admin-user-management-general.webp?fit=max\&auto=format\&n=qxT5Q0PyDIL4kbpG\&q=85\&s=971e05c003ad9941bb0f67b7b25f058f) > [tab] Personalization > > **Remember History** (how much of the conversation Pria rereads — 0 is none; at 6 or more older history is compacted into summaries), **Dark Mode**, **Use Location** and **Enable STT**. Voice choices the person made are shown read-only. > [tab] Knowledge > > * **Retrieval Mode** shows how this person's questions search files — **Disabled**, **RAG Only** or **RAG + KAG Fusion**. Wherever the knowledge graph is on for the files their questions use, they get **RAG + KAG Fusion** unless they chose **RAG**. > * **Search Only** — returns matching passages without a written answer. > * **Number of Relevant Articles** — how many passages Pria reads when the person works in their personal space. > * **Enable KAG Mode for personal vault** — builds a knowledge graph from their personal files. > [tab] Membership > > One row per Digital Twin the person belongs to: **Type** (their role) and entitlements, **Status** (**Active**, **Pending** or **Suspended**), **Last Active**, **Last Login** and **Credit Consumed** — the credits they have drawn from that Digital Twin's shared balance (blank when it doesn't pool credits). You can edit entitlements, change the status, revoke a Canvas token or delete a membership from here. > > ![Admin User Management Membership](https://mintcdn.com/praxisai/qxT5Q0PyDIL4kbpG/images/admin-guide/admin-user-management-membership.webp?fit=max\&auto=format\&n=qxT5Q0PyDIL4kbpG\&q=85\&s=f7484228d7fbdfc82dd252d4a7e65320) > [tab] Security > > * **Password** settings: set a new password, **Must change password at next sign-in**, **Skip the password change on SSO sign-ins** and **Reset password on SSO Login**. > * **Two-step verification**: **Require email MFA for this user** and **Revoke trusted devices** — see [MFA](/mdx/admin-guide/mfa). > * **OAuth Tokens** — **Revoke Google Token** and **Revoke GitHub Token**, plus a read-only line per Digital Twin where Canvas is connected (revoke that from the **Membership** tab) — and the person's **API Key** with its revoke button. > > ![Admin User Management Credentials](https://mintcdn.com/praxisai/qxT5Q0PyDIL4kbpG/images/admin-guide/admin-user-management-credentials.webp?fit=max\&auto=format\&n=qxT5Q0PyDIL4kbpG\&q=85\&s=aac7fc80602b4a87287bdf9d11f51609) > [tab] Memory > > The memory entries Pria keeps for this person, grouped by Digital Twin — see [Memory Parameters](/mdx/admin-guide/memory-and-impersonation#memory-parameters). > [tab] Usage > > Three gauges — **Account-wide**, **This instance** and **Last 24 hours** — show what the person has used against each cap, turning red once they are over it. A gauge with no cap shows the figure alone. Below them, a chart of their usage over time. If the account has no caps, the tab says so and still draws the chart. > [!NOTE] > > **Saving changes only what you edited.** If the person changed a setting after you opened their record — turned on two-step verification, picked **RAG**, bought credits — your save keeps their change. Knowledge, Security, Memory and Usage appear once the account exists; while you create someone you see **General**, **Personalization**, **Membership** and a **Password & MFA** section. *** ## Actions on one person > [accordion] Make someone inactive > > Set **Status** to **inactive**. They are blocked from chat, voice and tools at once, and everything they have is kept. To block someone on one Digital Twin only, change their membership status instead — see [Membership Status Enforcement](/mdx/admin-guide/entitlements#membership-status-enforcement). > [accordion] Delete a person > > Deleting closes the account and **erases the person's private files** first. If that fails, nothing else changes and you can try again. The account then disappears from the list and its email address is freed, so the person can be invited again later as a new account. > > > [!WARNING] > > > > **There is no undo and no export step.** The list's **Export CSV** covers account details, not files — take what you need before you delete. To park someone temporarily, make them inactive instead. > > The confirmation shows exactly who you are deleting — name, email, Digital Twin, account type and creation date. Deleting several at once shows the count and asks again. > [accordion] Merge two accounts > > When the same person has two accounts — a personal sign-up and a later invitation, say — **Merge…** folds one into the other. > > **1. Open the account to remove** > > Merge always runs from the account that will disappear. > > **2. Find the account to keep** > > Search by email or name and pick it. > > **3. Read the preview** > > Pria lists what would move, item by item — nothing has moved yet. It flags memberships both accounts share (they become one) and the case where both have their own billing record, which a merge does **not** reconcile. > > **4. Type the email to confirm** > > **Merge & delete source** stays disabled until you type the email of the account being removed. > > The removed account is gone for good. > [accordion] Act As (see Pria as this person) > > **Act As…** in the record's footer switches your session to the person for up to one hour, after you type a reason. You see exactly what they see; admin pages are closed until you select **Stop** on the **Acting as** pill. Every session is audit-logged. Rules and details: [Act As](/mdx/admin-guide/memory-and-impersonation#act-as-impersonation). *** ## Adding people ![Admin User Management Create User](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-user-management-create-user.gif?s=48e30f0c4069f6d9f26674beab414ecc) ### Add one person **1. Open the form** In **Users**, select **Add** (**Add User** in the Studio UI). **2. Fill it in** * **Profile Picture** — click the picture to upload one, or use **Picture URL (override)**. * **Email**, **First Name**, **Last Name**, **Account Type** (*user* or *admin*) and **Status** (*active* to let them sign in now). * **Instance** — the Digital Twin they join. It starts on the Digital Twin you are working in. * **Password & MFA** — type a **Password** or select **Generate**; **Must change password at next sign-in**; **Skip the password change on SSO sign-ins**; **Reset password with SSO**; **Require email MFA for this user**. **3. Create, then tell them** Select **Create**, then let the person know their account is ready and how to sign in. New accounts start with 50 personal credits — or, on a Digital Twin that doesn't pool credits, the amount it awards new members. > [!TIP] > > **Adding someone who already has an account?** Nothing is overwritten. They keep their name, settings and access; they gain a membership of your Digital Twin, and their account type can only be **raised**. An account you deleted earlier is reactivated. ### Import people **Import** creates accounts from **a list of email addresses**. Account type, status and password are set once for the whole batch. > [!NOTE] > > **You paste emails, not a spreadsheet.** There is no header row and no name column. Names come from each address — `john.doe@example.com` becomes *John Doe* — or write one out as `"John Doe" <john.doe@example.com>`. **1. Open Import** Select **Import** above the users table. **2. Give the addresses** Type or paste them into **Emails (comma separated)**, or load a `.txt` or `.csv` file with the upload button. **Example Emails** lists every accepted form. ``` john.smith@company.com, jane.doe@company.com, "Sam Patel" <spatel@company.com> ``` **3. Choose what everyone gets** * **Account Type** — `user` or `admin` * **Status** — `active` or `inactive` * **Instance** — the Digital Twin they join (starts on yours) * **Password** — one starting password; **Generate** makes a strong one * **Must change password at next sign-in** (on by default) — they choose their own password the first time they sign in with email and password * **Skip the password change on SSO sign-ins** (on by default) — people who sign in with Google, Microsoft, Facebook, Apple or a learning platform are not asked **4. Run it** A progress bar tracks the batch. Addresses that failed are listed at the end so you can fix and re-run just those. > [!TIP] > > **Re-importing is safe.** An existing account is not overwritten or downgraded — the person simply gains a membership of your Digital Twin. *** ## Account types > [tab] Admin > > **Can open the admin console** for the Digital Twins they belong to. What they can do there comes from their [entitlements](/mdx/admin-guide/entitlements) on each Digital Twin — managing people, editing settings, reading histories, billing — each granted separately. That is why two admins can see different things. > [tab] User > > Uses Pria and the Digital Twins they belong to, and manages their own profile. No admin console. Grant [entitlements](/mdx/admin-guide/entitlements) rather than handing out extra admin accounts. > [!WARNING] > > **Lowering someone's account type takes their admin access away everywhere.** Changing an admin to *user* turns **every** membership into an ordinary one and clears the entitlements on each — not just on the Digital Twin you are looking at — and signs them out. To remove someone's rights on one Digital Twin only, take away their entitlements there and leave the account type alone. > [!NOTE] > > **Accounts that created their own Digital Twin.** A person who registered on their own can upgrade once their personal Pria has answered 5 questions; their account becomes **admin** and can create up to 3 Digital Twins (see [Create a Digital Twin](/mdx/user-guide/create-digital-twin)). The admins such an account adds or promotes can manage its Digital Twins but cannot create Digital Twins of their own. *** ## Related * [Entitlements](/mdx/admin-guide/entitlements) — per-Digital-Twin permissions and membership status * [MFA](/mdx/admin-guide/mfa) — two-step verification and recovery * [Sessions](/mdx/admin-guide/sessions) — a person's signed-in devices * [Praxis Shield](/mdx/admin-guide/praxis-shield) — security incidents and suspending from there * [Memory & Act As](/mdx/admin-guide/memory-and-impersonation) — memory inspection and impersonation in detail # Variables Source: https://docs.praxis-ai.com/mdx/admin-guide/variables Use substitution variables to keep shared values out of your prompts and reuse them across assistants. > [!NOTE] > > Variables are an advanced feature for people building assistants. They let you put a value into prompts without copying it into every assistant. Variables exist only inside a Digital Twin; personal accounts cannot create them. ## What are Substitution Variables **Dynamic prompt placeholders.** A variable is a named token like `${slack_webhook_url}` that Pria replaces with a value every time an assistant runs. Think of it as mail‑merge for prompts: the assistant's instructions stay clean and reusable, and the value lives in one place that you can change independently. Here is an example assistant instruction using the variable `${praxis-ai-slack-url}`: ```markdown wrap icon="comment" expandable lines theme={null} You are the 'Post To Slack' assistant. Your role is to compose a message based on the user's request, then post it to Praxis‑AI's Slack channel using the call_rest tool: POST ${praxis-ai-slack-url} Body: { "text": "The user or assistant message!" } ``` **How they work.** Just before a request is sent to the model, Pria replaces every `${...}` placeholder with the matching variable's value. The replacement happens on Pria's servers. **Distinction from User Parameters.** Shared variables belong to the **Digital Twin** and are the same for everyone using it. A person's own remembered details (**user parameters**) belong to that person and differ for each of them. Use variables for shared things like URLs, IDs and instructions; use parameters for personal context. ## Syntax Variables use the form `${key}` in any prompt or instruction text. ```text theme={null} Hello ${user_display_name}, your team channel is ${slack_team_url}. ``` Keep keys to letters, digits, underscores and dashes, with no spaces (for example `course_title` or `quiz-id-v1`). If no variable with that key is available to the person, the literal `${key}` is left in the prompt — useful for spotting typos quickly. > [!NOTE] > > There are **no built‑in variables** in Pria. Every variable you reference must be created first. Personal details like the user's name, course context and the Digital Twin's name are already given to the model by Pria — you do not need to template them in. ## Benefits * **Single source maintenance** — when a Canvas quiz ID changes from 123 to 789, update one `${quiz_id}` variable and every dependent assistant picks up the new value automatically. * **Cross‑assistant instruction reuse** — store a shared instruction block as a variable and reference it from several assistants for consistency. * **Cleaner prompts** — long URLs and IDs live in the variable store, not inside the instruction text. * **Composable workflows** — when one assistant calls another (e.g. a teaching bot that calls a grading bot), each can reference the same values. ## Where Variables Resolve Variables are replaced in: * **Typed conversations** — in everything Pria sends to the model: the instructions, the retrieved passages, the conversation so far and the person's own message. * **Convo Mode (voice) sessions** — the spoken conversation runs on the same replaced instructions. * **The Chat Completions API** — requests through the OpenAI-compatible endpoint are replaced too. Replacement only happens while the person works inside the Digital Twin where the variable was created, and only with the variables available to that person (see [Scoping Rules](#scoping-rules)). ## Variables in Assistants Variables are created in the assistant editor: open an assistant's **Instructions** tab and use the **Variables** panel beside the instructions (administrators see **Add Variable** there). Click a variable to insert it at the cursor. ![Assistant featuring a substitution variable](https://mintcdn.com/praxisai/RQ_2cJOeV_FmtYkN/images/user-guide/assistants-personalization/assistants-with-variables.png?fit=max\&auto=format\&n=RQ_2cJOeV_FmtYkN\&q=85\&s=b75944881aaff58ab178a80b7935b35f) Assistant with Variable ### Create or Edit a Variable ![Create assistant Variable](https://mintcdn.com/praxisai/KVnf3SADULys-4n6/images/user-guide/assistants-personalization/assistant-variable-create.png?fit=max\&auto=format\&n=KVnf3SADULys-4n6\&q=85\&s=17a57f1f10dad0a7cabbfabbb9e30784) Create a variable When adding a variable, define: **Key** — letters, digits, underscores and dashes; no spaces (`slack_webhook_url`, `quiz-id-fall-2026`). A key is unique within the Digital Twin. **Default Value** — any text. It is inserted into the prompt exactly as written, so treat it with the same care as the prompt itself. Plain text or a URL is best. **Shared with Instance** — off keeps the variable personal: it resolves only for you. On lets everyone in the Digital Twin reference it. **Admin Only** — for a shared variable: marks it as one for administrators. **Editable by others** — for a shared variable: other admins can change it. By default only its creator can. > [!WARNING] > > The variable still resolves for everyone it is shared with, and people in the Digital Twin can see shared variables and their values in the **Variables** panel of the assistant editor. ## Scoping Rules At runtime, two kinds of variables resolve for a conversation: 1. **Your own variables** — resolve only for the person who created them. 2. **Shared variables** — variables with **Shared with Instance** on resolve for everyone in that Digital Twin. A key is **unique** within a Digital Twin — one variable per key, whether it is personal or shared. To hand a personal variable to everyone, turn on **Shared with Instance** rather than creating a second one. ## Naming Conventions * **lowercase\_underscore** or **lowercase-dash** for keys (`course_id`, `welcome-message`). Pick one style and stick with it. * **Prefix by purpose** when the list grows — `slack_*`, `canvas_*`, `prompt_*` make related variables easy to find. * **Prefer specific names** (`student_full_name`, `course_canvas_id`) over generic words you might also write in prompt text (`name`, `id`, `value`). * **Document the variable** in its value, or in a sibling variable, when its meaning isn't obvious from the key. ## Security Considerations Variables put content directly into what the model reads. Treat them with the same care as any prompt: * **Do not put secrets** (long‑lived API keys, passwords) in variables. A user can sometimes coax the model into repeating its instructions, and a person who types `${key}` in a message gets that variable's value put into their own question. Use Pria's connectors and integrations for credentials that must stay hidden. * **Webhook URLs and quiz IDs** are typically fine — they are already shared with third‑party systems and have their own access controls. * **Values are used verbatim** — a careless or hostile value can change the model's behaviour. Only turn on **Editable by others** if you trust the other admins. * **Review before sharing** — once a variable is shared, everyone in the Digital Twin can reference it and see its value. ## Testing Variable Resolution The fastest way to confirm a variable resolves is to write a tiny test assistant whose instruction is: ```text theme={null} The current value of my variable is: ${my_variable_key} ``` Run any prompt against this assistant; the response will echo the value. If the literal `${my_variable_key}` comes back, the key is misspelled or the variable is not available to you. ## Common Patterns > [accordion] Greeting personalization > > Define a shared variable like `${welcome_subject}` ("Biology 101" / "Onboarding") and use it in the assistant's opening line so the same assistant feels course‑specific. > [accordion] Centralized endpoint > > Store a Slack webhook, a Canvas quiz endpoint, or a custom API URL in a single variable. Several assistants reference it. Changing the URL is a one‑field edit. > [accordion] Reusable instruction block > > Write a long, refined refusal policy or formatting guideline once as a variable, then reference it from every assistant that needs the same behaviour. Editing the variable updates them all. > [accordion] Per‑twin configuration > > Two Digital Twins built from the same assistants can each define their own `${org_short_name}`, `${primary_color}` or `${escalation_email}` without touching the assistant instructions. ## Related * [Digital Twin Instructions](/mdx/admin-guide/digital-twin-instructions) — Writing the base instructions * [Assistants](/mdx/admin-guide/assistants) — Where variables are most often used * [Configuration](/mdx/admin-guide/configuration) — Digital Twin settings * [Memory & Act As](/mdx/admin-guide/memory-and-impersonation) — Per‑user memory and parameters, the personal counterpart to variables # Introduction Source: https://docs.praxis-ai.com/mdx/api-reference/introduction Welcome to the Praxis AI API reference documentation. This section provides detailed information about the Praxis AI API endpoints, request formats, and response structures to help you integrate Praxis AI's capabilities directly into your applications. > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. > [!NOTE] > > This page provides a quick, actionable path to authenticate, call REST endpoints, and capture streaming events from the middleware. ## API Structure The Praxis AI API is organized into three functional areas: > [card] [Authenticate](/api-reference/authentication/user-authentication-and-sign-in) > > Sign in or authenticate to retrieve an access token. > [card] [Runtime](/api-reference/conversation/send-a-message-to-the-ai-assistant) > > Endpoints for selecting a Digital Twin, creating conversations, developing assistants, and dialoguing with AI models. > [card] [Administration](/api-reference/institutions/create-a-new-institution-digital-twin-for-a-specific-context-url) > > Configure Digital Twins, set up permissions and entitlements, audit user history, and monitor activity. *** ## Getting Started **1. Obtain an authorization token** All API requests require an authorization token issued after successful authentication. See the [Authentication API](/api-reference/authentication/user-authentication-and-sign-in) for how to sign in and use the token in requests. > [!TIP] > > **For automation, Admins can use a persistent API key.** Interactive sign-in returns a short-lived session token that expires after a few hours — fine for a user session, awkward for a script. Instead, an Admin can create a long-lived **API key** (format `pria_…`) from their profile's **API Key** settings, store it as a secret, and exchange it for a fresh session token whenever needed: > > ```bash theme={null} > # Exchange a persistent API key for a fresh session token > curl -s -X POST https://pria.praxislxp.com/api/auth/api-key-signin \ > -H "x-api-key: pria_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" > # → { "token": "<session-token>", "profile": { ... } } > ``` > > Use the returned `token` as the `x-access-token` header on subsequent requests. The API key itself never expires (rotate or revoke it from the same settings panel), so automation can re-mint a session token on demand without storing user credentials. > > > [!NOTE] > > > > API keys are available to **Admin** accounts and are scoped to that admin's permissions — the key stops working if the account is deactivated or loses admin access. **2. Know your Base URLs** * REST API base: `https://pria.praxislxp.com/api` * Socket.IO middleware (stream events): `https://pria.praxislxp.com/socket.io` \[!TIP] Keep these values in environment variables for dev/prod parity. **3. Make a test request** Use your token and send a simple request to verify connectivity and headers. This endpoint returns the authenticated user's profile: ```bash theme={null} # Replace your_api_access_token with the token from authentication curl -X POST https://pria.praxislxp.com/api/user/refresh/profile \ -H "x-access-token: your_api_access_token" ``` *** ## Using the API The Praxis API follows standard RESTful conventions: * JSON for all requests and responses * HTTP status codes communicate success/failure * Error responses return a consistent JSON shape with details * Rate limits protect service stability > [!NOTE] > > If you’re building a browser client, ensure you include the correct auth header on every request. Session tokens are short-lived (they expire after a few hours), so be prepared to re-authenticate — or exchange an API key for a fresh token — when a request returns 401. *** ## Automating with the Live API Definition Both APIs publish a **live OpenAPI 3 (Swagger) definition** that always reflects the currently deployed endpoints, schemas, parameters, and auth schemes. These are the exact specs that power this API Reference — fetching them programmatically gives you a machine-readable contract you can hand to code generators, AI coding agents, and orchestration platforms. | API | Live OpenAPI definition | | - | - | | **Runtime API** | `https://pria.praxislxp.com/api/rt-docs.json` | | **Administrator API** | `https://pria.praxislxp.com/api/admin-docs.json` | > [!NOTE] > > Because these URLs serve the **live** definition, anything you generate from them stays aligned with the deployed API — re-fetch after a Praxis AI release to pick up new endpoints and fields automatically. ### Why use the live definition * **Always current** — no hand-maintained endpoint lists to drift out of date. * **Machine-readable** — standard OpenAPI 3 JSON that virtually every tool and agent understands. * **Self-describing** — request/response schemas, required parameters, and auth schemes are all encoded, so tools can scaffold correct calls without guesswork. ### Use it with AI coding agents (Claude, Claude Code) AI coding assistants such as **Claude** and **Claude Code** can consume the OpenAPI definition directly to scaffold typed clients, write request code, or build an [MCP server](/mdx/integrations/mcp/introduction) that exposes Pria endpoints as tools. **1. Fetch the definition** Download the spec so the agent can read it locally: ```bash theme={null} curl -s https://pria.praxislxp.com/api/rt-docs.json -o pria-runtime-openapi.json curl -s https://pria.praxislxp.com/api/admin-docs.json -o pria-admin-openapi.json ``` **2. Point the agent at it** Give the agent the file (or the live URL) and describe what you want. For example: > *"Using `pria-runtime-openapi.json`, generate a typed TypeScript client for the Q\&A and conversation endpoints, with `x-access-token` auth wired in."* > *"From this OpenAPI spec, build an MCP server that exposes the Runtime API as tools so I can call Pria from my agent."* **3. Wire in authentication** The spec describes the auth scheme, but the agent still needs a valid token. Supply one from the [Authentication API](/api-reference/authentication/user-authentication-and-sign-in) and have the agent attach it as the `x-access-token` header. > [!TIP] > > For Claude **tool use / function calling**, transform each OpenAPI operation into a tool definition so the model can invoke Pria endpoints directly. Most agent frameworks (and Claude Code) can do this automatically from an OpenAPI file or URL. ### Import into orchestration platforms Low-code/iPaaS tools, API clients, and agent frameworks accept an OpenAPI URL or file to auto-generate connectors — no manual endpoint mapping required: | Tool / platform | How to import | | - | - | | **Postman / Insomnia** | *Import → Link* and paste the definition URL to generate a ready-to-run request collection. | | **n8n / Make / Zapier** | Use their HTTP/OpenAPI or custom-connector import to register Pria operations. | | **LangChain / LlamaIndex** | Load the spec with an OpenAPI toolkit to expose endpoints as agent tools. | | **openapi-generator / swagger-codegen** | Generate typed client libraries in 50+ languages. | ```bash theme={null} # Generate a typed client from the live Runtime API definition npx @openapitools/openapi-generator-cli generate \ -i https://pria.praxislxp.com/api/rt-docs.json \ -g typescript-fetch \ -o ./pria-runtime-client ``` > [!WARNING] > > The OpenAPI definition describes **every** endpoint, but access is still governed by your token's permissions and entitlements. Administrator API operations require admin credentials — generating a client does not grant access you don't already hold. *** ## Streaming responses Praxis AI can stream model output token-by-token. Two mechanisms are available: **HTTP Server-Sent Events (SSE)** — the recommended, stateless approach for most integrations — and **Socket.IO** for persistent, bidirectional real-time connections. Start with SSE unless you specifically need a live socket. > [card] [Streaming Responses (SSE & Socket.IO)](/mdx/api-reference/streaming) > > Full streaming guide — SSE endpoint, headers, request/response formats, Node.js and Fetch examples, cancellation, and the Socket.IO client flow. *** ## API vs SDK While the API provides direct access to all capabilities, the TypeScript/JavaScript SDK simplifies most tasks. > [card] API Benefits > > • Direct access to all Praxis features\\ > > • Language-agnostic integration\\ > > • Fine-grained request/response control\\ > > • Ideal for custom platforms or gateways, mobile applications > [card] SDK Benefits > > • Higher-level abstractions\\ > > • Seamless SSO authentication\\ > > • Ready-to-use UI\\ > > • Supports LMS platforms such as Canvas, Moodle, and D2L via LTI\\ For most use cases, we recommend using our [SDKs](/mdx/integrations/overview), while the API remains available for mobile applications, low-level or platform-neutral integrations. *** ## Error Handling The API uses standard HTTP status codes: * 2xx: Success * 4xx: Client error (invalid request, missing parameters, unauthorized) * 5xx: Server error When an error occurs, the JSON body includes details to help diagnose and resolve issues. *** ## Next Steps Explore endpoint-specific docs: > [card] [Authentication](/api-reference/authentication/user-authentication-and-sign-in) > > How to authenticate requests and attach tokens. > [card] [AI Q\&A](/api-reference/conversation/send-a-message-to-the-ai-assistant) > > Send conversation requests and receive streaming responses. > [card] [SSE Streaming](/api-reference/conversation/send-a-message-with-http-sse-streaming-response) > > Stream AI responses over HTTP using Server-Sent Events. # Streaming Responses (SSE & Socket.IO) Source: https://docs.praxis-ai.com/mdx/api-reference/streaming Stream Praxis AI model output token-by-token — HTTP Server-Sent Events (SSE) for most integrations, and Socket.IO for persistent, bidirectional real-time connections. Praxis AI can stream model output token-by-token so your UI can render responses as they are generated. There are two mechanisms: **HTTP Server-Sent Events (SSE)** — the recommended, stateless approach for most integrations — and **Socket.IO** for persistent, bidirectional real-time connections (typically browser clients). Start with SSE unless you specifically need a live socket. ## HTTP Streaming with Server-Sent Events (SSE) > [!TIP] > > **Start here.** SSE is the recommended way to stream responses for most integrations. It's a pure HTTP, stateless endpoint with nothing to manage beyond a standard request — ideal for automation, SDKs, and server-side code. Reach for [Socket.IO](#streaming-with-socketio) only when you specifically need a persistent, bidirectional real-time connection (typically a browser app). Praxis AI offers a pure HTTP streaming endpoint using **Server-Sent Events (SSE)**. This approach is ideal for: * Server-side applications (Node.js, Python, Go, etc.) * Automation, agents, and orchestration tools * Environments where WebSockets are restricted * Simpler integrations without persistent socket connections * SDK and CLI tool development > [!NOTE] > > The SSE streaming endpoint uses the same JWT authentication as other REST endpoints. No Socket.IO connection is required. ### Endpoint ``` POST /api/ai/personal-stream/qanda-stream ``` ### Request Headers | Header | Required | Description | | - | - | - | | `x-access-token` | Yes | Your JWT authentication token | | `Content-Type` | Yes | `application/json` | ### Request Body ```json theme={null} { "inputs": ["Your prompt or question here"], "requestArgs": { "institutionPublicId": "f831501f-b645-481a-9cbb-331509aaf8c1", "assistantId": "6856fa89cbafcff8d98680f5", "selectedCourse": { "course_id": 1750532703472, "course_name": "AI Fundamentals" }, "ragOnly": false, "userTimezone": "America/New_York" } } ``` | Field | Type | Required | Description | | - | - | - | - | | `inputs` | string\[] | Yes | User messages to send to the AI | | `requestArgs.institutionPublicId` | string (UUID) | No | Specifies the digital twin (institution) to send the command to. Validates user membership and switches the user's active institution for the request. | | `requestArgs.assistantId` | string (ObjectId) | No | Assistant to use. Takes priority over `selectedCourse.assistant._id` (legacy). Falls back to history record resolution. | | `requestArgs.selectedCourse` | object | No | Conversation context with `course_id` and `course_name` | | `requestArgs.ragOnly` | boolean | No | When true, returns only RAG search results without AI generation | | `requestArgs.userTimezone` | string | No | User's IANA timezone identifier | ### cURL Example ```bash theme={null} curl -s -N -X POST "https://pria.praxislxp.com/api/ai/personal-stream/qanda-stream" \ -H "Content-Type: application/json" \ -H "x-access-token: your_api_access_token" \ -d '{ "inputs": ["What is the capital of Germany?"], "requestArgs": { "institutionPublicId": "e455529a-4f51-479e-94fc-bbebb41d19a1", "assistantId": "6970576f40219f56e41ec00a", "selectedCourse": { "course_id": 1769040847660, "course_name": "free Wednesday, Jan 21, 2026" }, "ragOnly": false } }' ``` > [!TIP] > > Use `-s` to suppress progress output and `-N` to disable buffering, so SSE chunks appear in real time. ### Response Headers ``` Content-Type: text/event-stream; charset=utf-8 Cache-Control: no-cache, no-transform Connection: keep-alive Content-Encoding: none Transfer-Encoding: chunked X-Accel-Buffering: no ``` ### Response Format The endpoint returns `text/event-stream; charset=utf-8` content type with SSE-formatted JSON chunks. Each line is prefixed with `data: ` followed by a JSON object and two newlines. | Event Type | Description | Key Fields | | - | - | - | | `connected` | Stream established | `message` | | `stream` | AI-generated text chunk | `prompt` (cumulative), `delta` (incremental) | | `thinking` | Model reasoning / chain-of-thought (where the provider exposes it) | `id` (`round-N`), `round`, `delta` (new chars) on intermediate frames; `text`, `done: true`, optional `signature` on round close | | `tool_call` | Tool invocation started (RAG, web search, etc.) | `call_id`, `name`, `arguments`, `displayInfo` | | `tool_result` | Tool execution completed with results | `call_id`, `name`, `response`, `success`, `responseDurationMs` | | `complete` | Final response with usage metrics | `success`, `usage`, `outputs`, `model`, `cached`, `completion` | | `error` | Processing error | `error.message`, `error.status` | | `done` | Stream terminated — no more events will follow | *(none)* | **Example SSE Response:** ``` data: {"type":"connected","message":"Stream connected"} data: {"type":"thinking","id":"round-0","round":0,"delta":"The user is asking about France."} data: {"type":"thinking","id":"round-0","round":0,"delta":" Paris is the capital."} data: {"type":"thinking","id":"round-0","round":0,"text":"The user is asking about France. Paris is the capital.","signature":"abc123","done":true} data: {"type":"stream","prompt":"The capital","delta":"The capital"} data: {"type":"stream","prompt":"The capital of France","delta":" of France"} data: {"type":"stream","prompt":"The capital of France is Paris.","delta":" is Paris."} data: {"type":"tool_call","call_id":"tooluse_abc123","name":"search_uploads","arguments":null,"displayInfo":{"icon":"search","label":"Searching documents"}} data: {"type":"tool_result","call_id":"tooluse_abc123","name":"search_uploads","arguments":{"query":"France capital"},"response":"...","responseLength":512,"responseDurationMs":150,"success":true} data: {"type":"complete","success":true,"usage":1234,"outputs":["The capital of France is Paris."],"model":"global.anthropic.claude-sonnet-5-5","cached":0,"completion":42} data: {"type":"done"} ``` > [!NOTE] > > The `prompt` field on `stream` events is cumulative (full response up to this point); the `delta` field contains only the new characters since the last event. Use `delta` for incremental UI rendering and `prompt` for the current full text. > [!NOTE] > > `thinking` events are gated by an institution-level **Display Thinking Details** toggle (default on). When disabled, no `thinking` events fire and the underlying History record stores no thinking text. Personal users (no institution) always receive thinking events. Models that do not produce reasoning output simply emit no `thinking` events. OpenAI emits **summary-only** thinking — OpenAI hides raw chain-of-thought by policy. > [!WARNING] > > **Bedrock Opus 4.6/4.7 reasoning is opaque.** These models use Anthropic's *adaptive thinking* mode, which emits an encrypted reasoning signature only — no plaintext. No `thinking` events fire and no lightbulb appears in the UI even when the toggle is on. To see plaintext reasoning on Bedrock, use **Claude Sonnet 3.7+** or **Opus 4.0/4.5** (standard thinking with `budget_tokens`). Plaintext reasoning is also available on **Anthropic Direct API**, **Google Gemini 2.5+**, **xAI Grok 3-mini / 4.x**, **Mistral Magistral** reasoning models, and **OpenAI Responses API** (summary-only). > [!NOTE] > > Thinking is collected per **tool round** — each round of model output before/after a tool call gets its own entry, keyed by `id` (`round-0`, `round-1`, …). Intermediate frames within a round are append-only `delta`s; the round closes with a single `done: true` frame carrying the authoritative full `text` and (for Anthropic / Bedrock) a `signature` used for provider-side multi-step continuation. ### Node.js Client Example ```javascript theme={null} // sseClient.js - Complete Node.js SSE streaming client const https = require('https'); /** * Stream a chat request using HTTP SSE * @param {string} token - JWT authentication token * @param {string} prompt - User's question or prompt * @param {object} options - Optional configuration * @param {string} [options.institutionPublicId] - Digital twin UUID * @param {string} [options.assistantId] - Assistant ObjectId * @param {object} [options.selectedCourse] - Conversation context * @param {boolean} [options.ragOnly] - RAG-only mode * @returns {Promise<object>} - Final response data */ async function streamChat(token, prompt, options = {}) { const baseUrl = 'https://pria.praxislxp.com'; const requestBody = JSON.stringify({ inputs: [prompt], requestArgs: { institutionPublicId: options.institutionPublicId, assistantId: options.assistantId, selectedCourse: options.selectedCourse || {}, ragOnly: options.ragOnly || false, } }); return new Promise((resolve, reject) => { const req = https.request( `${baseUrl}/api/ai/personal-stream/qanda-stream`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-access-token': token } }, (res) => { if (res.statusCode !== 200) { reject(new Error(`HTTP ${res.statusCode}: ${res.statusMessage}`)); return; } let buffer = ''; let finalResponse = null; res.on('data', (chunk) => { buffer += chunk.toString(); // Process complete SSE messages const lines = buffer.split('\n\n'); buffer = lines.pop(); // Keep incomplete message in buffer for (const line of lines) { if (line.startsWith('data: ')) { try { const data = JSON.parse(line.slice(6)); switch (data.type) { case 'connected': console.log('Stream connected'); break; case 'stream': // Use delta for incremental rendering process.stdout.write(data.delta || ''); break; case 'thinking': // Model reasoning — keyed by `id` (round-0, round-1, ...). // Render in a collapsible UI block separate from the answer. if (data.done) { console.log(`\n[Thinking ${data.id} complete: ${(data.text || '').length} chars]`); } else if (data.delta) { // Incremental thinking — accumulate per `data.id` // process.stdout.write(`💡${data.delta}`); } break; case 'tool_call': console.log(`\n[Tool: ${data.name}]`); break; case 'tool_result': console.log(`[Tool ${data.name} completed in ${data.responseDurationMs}ms]`); break; case 'complete': console.log(`\n\nComplete - Tokens: ${data.usage}, Model: ${data.model}`); finalResponse = data; break; case 'error': console.error('\nError:', data.error); reject(new Error(data.error?.message || 'Stream error')); return; case 'done': resolve(finalResponse); return; } } catch (e) { // Skip malformed JSON } } } }); res.on('end', () => { resolve(finalResponse); }); res.on('error', reject); } ); req.on('error', reject); req.write(requestBody); req.end(); }); } // Example usage (async () => { const token = 'your_jwt_token_here'; try { const result = await streamChat(token, 'What is machine learning?', { institutionPublicId: 'f831501f-b645-481a-9cbb-331509aaf8c1', assistantId: '6856fa89cbafcff8d98680f5', selectedCourse: { course_id: 1750532703472, course_name: 'AI Fundamentals' } }); console.log('\nFinal result:', result); } catch (error) { console.error('Error:', error.message); } })(); ``` ### Using Fetch API (Browser/Node.js 18+) ```javascript theme={null} // Modern fetch-based SSE client async function streamChatFetch(token, prompt, onChunk, requestArgs = {}) { const response = await fetch('https://pria.praxislxp.com/api/ai/personal-stream/qanda-stream', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-access-token': token }, body: JSON.stringify({ inputs: [prompt], requestArgs }) }); if (!response.ok) { throw new Error(`HTTP ${response.status}: ${response.statusText}`); } const reader = response.body.getReader(); const decoder = new TextDecoder(); let buffer = ''; while (true) { const { done, value } = await reader.read(); if (done) break; buffer += decoder.decode(value, { stream: true }); const lines = buffer.split('\n\n'); buffer = lines.pop(); for (const line of lines) { if (line.startsWith('data: ')) { const data = JSON.parse(line.slice(6)); // Call the chunk handler if (onChunk) onChunk(data); if (data.type === 'complete') { return data; // Return final response } } } } } // Usage with callback — use delta for incremental rendering await streamChatFetch( token, 'Explain quantum computing', (chunk) => { if (chunk.type === 'stream') { document.getElementById('output').textContent += chunk.delta; } else if (chunk.type === 'tool_call') { console.log(`Tool invoked: ${chunk.name}`); } else if (chunk.type === 'tool_result') { console.log(`Tool ${chunk.name} completed in ${chunk.responseDurationMs}ms`); } }, { institutionPublicId: 'f831501f-b645-481a-9cbb-331509aaf8c1', assistantId: '6856fa89cbafcff8d98680f5', selectedCourse: { course_id: 1750532703472, course_name: 'AI Fundamentals' } } ); ``` ### Cancelling an HTTP Stream To cancel an in-flight HTTP stream request, you can abort the fetch request: ```javascript theme={null} const controller = new AbortController(); // Start the request with abort signal const response = await fetch('https://pria.praxislxp.com/api/ai/personal-stream/qanda-stream', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-access-token': token }, body: JSON.stringify({ inputs: ['Your prompt here'], requestArgs: { assistantId: '...' } }), signal: controller.signal // Pass the abort signal }); // Later, to cancel: controller.abort(); ``` > [!TIP] > > The HTTP SSE endpoint is stateless - each request is independent. This makes it ideal for serverless functions, CLI tools, and microservices where maintaining WebSocket connections is impractical. ### Comparing Socket.IO vs HTTP SSE | Feature | Socket.IO | HTTP SSE | | - | - | - | | Connection type | Persistent WebSocket | Per-request HTTP | | Setup complexity | Higher (connection management) | Lower (standard HTTP) | | Bidirectional | Yes | No (server → client only) | | Cancel mid-stream | `cancel_request` event | Abort controller | | Best for | Real-time apps, browsers | APIs, CLIs, serverless | | Proxy compatibility | May require configuration | Works everywhere | *** ## Streaming with Socket.IO > [!NOTE] > > Socket.IO is an **alternative** to the [HTTP SSE method above](#http-streaming-with-server-sent-events-sse). Prefer it when you need a persistent, bidirectional real-time connection — for example, an interactive browser client. For automation, SDKs, CLIs, and most server-side integrations, use SSE instead. You can connect to Praxis AI middleware to receive streaming events while REST requests are in-flight. The server emits stream chunks to your socket; you must include the current socket ID in Q\&A requests to link streams to your session. ### 1 Install the Socket.IO Client ```bash theme={null} npm i socket.io-client ``` ### 2 Connect and register your user ```javascript theme={null} // socket.ts (client) import { io } from 'socket.io-client'; const URL = 'https://pria.praxislxp.com/socket.io'; // Middleware streaming endpoint localStorage.debug = '*'; // Optional: enable Socket.IO debug logs // Keep a simple local state holder const state = {}; state.socket = io(URL, { autoConnect: false }); // Your session values: the `token` and `profile` returned by sign-in, or by // POST /api/auth/api-key-signin when you use an API key const user = { accessToken: token, // Required: the same token you send as x-access-token email: profile?.email, // Required: the email of the person the token belongs to }; // Open the connection and register your user (again on every reconnect) state.socket.on('connect', () => { state.socket.emit('REGISTER', user, (ack) => { if (!ack?.success) console.warn('REGISTER refused', ack?.code, ack?.error); }); }); // Log disconnects — the server cleans up your registration automatically state.socket.on('disconnect', (e) => { console.log('SocketContext', 'Disconnect', e); }); // Optional: initiate connection if autoConnect is false state.socket.connect(); ``` > [!NOTE] > > `REGISTER` links the socket to the person your session token belongs to. It is refused when `accessToken` is missing, invalid or expired, or when `email` is not that person's email: the acknowledgement answers `success: false` with a `code`, `REGISTER_AUTH_REQUIRED` (sign in again, or exchange your API key for a new token, then register again), `REGISTER_AUTH_UNAVAILABLE` (the token could not be checked; retry after a short wait) or `REGISTER_INVALID`. Session tokens expire after a few hours, so register with a current token after every reconnect. ### 3 Listen for streaming and diagnostic events ```javascript theme={null} // Stream chunks arrive while REST Q&A requests are processed state.socket.on('RECEIVE_STREAM', (payload) => { console.log('SocketContext', 'RECEIVE_STREAM', payload); }); // Error & connectivity diagnostics state.socket.on('error', (e) => console.log('SocketContext', 'Error', e)); state.socket.on('connect_error', (e) => console.log('SocketContext', 'Connect Error', e)); ``` These are typical events `payload` received from the stream ```json wrap theme={null} { "prompt": " I'm doing great, thank you for asking! 😊 I'm here, energized, and ready to help you with whatever you need today.Since we last spoke just a minute ago when you checked if I was here, I'm curious—what's on your mind? Are you: - Looking to learn something new? - Working on a project or assignment? - Curious about a specific topic? - Just wanting to chat? I'm all ears and ready to assist! What would you like to explore", "delta": " What would you like to explore", "type": "STREAM" } ``` **prompt**: Contains the full response from the beginning of the interaction. **delta** Contains only the last text segment reported **type**: "STREAM" for messages streamed by the LLM > [!NOTE] > > Note that the final response may differ from the `prompt` returned while streaming. #### Event types All `RECEIVE_STREAM` payloads carry a `type` field. Branch on it to handle each kind: | `type` | When fired | Key fields | | - | - | - | | `STREAM` | Incremental assistant text | `prompt` (cumulative), `delta` (new chars) | | `THINKING` | Model reasoning / chain-of-thought (where the provider exposes it) | `id` (`round-N`), `round`, `delta` (new chars) on intermediate frames; `text`, `done: true`, optional `signature` on round close | | `TOOL_CALL` | Tool invocation started (RAG, web search, MCP, etc.) | `call_id`, `name`, `arguments`, `displayInfo` | | `TOOL_PROGRESS` | Long-running tool emits a status update | `call_id`, `displayInfo`, optional `progress` (0–1) | | `TOOL_RESULT` | Tool execution completed | `call_id`, `name`, `response`, `success`, `responseDurationMs` | | `TURN_COMPLETE` | Turn finalized and saved — fires even if the HTTP response already timed out at the gateway | `id` (turn id), `success`, `dialogId`, optional `error` | ##### `turn_id` — which turn a frame belongs to `STREAM`, `THINKING`, `TOOL_CALL` and `TOOL_RESULT` frames also carry `turn_id`: the id of the turn that produced them (the same value `TURN_COMPLETE` reports as `id`). When a client keeps a subagent turn running in the background and sends another question, frames from both turns arrive on the same socket — branch on `turn_id` to route each frame to the right view. Subagent frames (`SUBAGENT_*`) carry `turn_id` too, alongside their `subagent_id`. Frames without `turn_id` (`TOOL_PROGRESS`, and paths that predate the field) belong to the most recent turn. ##### `THINKING` — model reasoning stream `THINKING` events surface the model's internal reasoning text (a.k.a. chain-of-thought / "thinking" mode) for the providers that expose it: Anthropic, AWS Bedrock, Google Gemini, OpenAI (summary only — OpenAI hides raw chain-of-thought by policy), xAI, and Mistral (Magistral reasoning models). Models that do not produce reasoning output emit no `THINKING` events. Thinking is collected per **tool round** — each round of model output before/after a tool call gets its own entry, keyed by `id` of the form `round-0`, `round-1`, etc. Frames within a round are append-only `delta`s; the round closes with a single `done: true` frame carrying the authoritative full `text` and (for Anthropic / Bedrock) a `signature` for provider-side continuation. ```json theme={null} // Intermediate frame — accumulate delta { "type": "THINKING", "id": "round-0", "round": 0, "delta": " Let me consider..." } // Round close — overwrite with authoritative full text { "type": "THINKING", "id": "round-0", "round": 0, "text": "Let me consider the user's question carefully...", "signature": "abc123…", "done": true } ``` > [!NOTE] > > The `THINKING` stream is gated by an institution-level **Display Thinking Details** toggle (default on). When the institution disables the toggle, no `THINKING` events fire and the underlying History record stores no thinking text. Personal users (no institution) always receive thinking events. > [!TIP] > > Render thinking deltas in a collapsible UI block separate from the main answer — users tend to find the chain-of-thought interesting *as context*, not as the answer itself. The Praxis UI shows thinking under a 💡 lightbulb toggle. ### 4 Include socketId in your Q\&A API requests The server requires the active Socket.IO session ID to stream chunks to your client. Include `socketId` in `requestArgs`. ```javascript theme={null} // Example: POST Q&A request linking REST call to Socket.IO session const payload = { inputs: [userMessage], requestArgs: { socketId: state.socket.id, // CRITICAL: links the streaming session assistantId: currentAssistantId, selectedCourse: { course_id: currentCourseId, course_name: currentCourseName, }, }, }; const response = await fetch('https://pria.praxislxp.com/api/ai/personal/qanda', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-access-token': token // Required — same JWT as other REST endpoints }, body: JSON.stringify(payload), }); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } const data = await response.json(); ``` > [!TIP] > > If you wrap Q\&A calls, pass `socketId` from your Socket.IO context into the wrapper and expose a stream callback to consume `RECEIVE_STREAM` chunks. ```javascript theme={null} // Example wrapper usage const { sessionId } = useSocketIO(); await priaApi.qanda( { inputs: [userMessage], requestArgs: { socketId: sessionId, // CRITICAL: Link to Socket.IO session assistantId: currentAssistantId, selectedCourse: { course_id: currentCourseId, course_name: currentCourseName, }, }, }, onStreamCallback // handle incremental chunks ); ``` ### 5 Manage reconnections When the QANDA request response includes `"streamingFailed": true`, it indicates that the middleware has lost the backend Socket ID mapping (user email to client socket ID), preventing it from communicating response chunks back to the client. This typically occurs when multiple browser windows or tabs are open for the same user email, causing them to compete for the same backend session and overwriting each other's socket registrations. To resolve this issue, you can re-establish the socket connection to re-register the most current client handle and restore proper communication between the middleware and the active client session. ```javascript theme={null} if (response?.streamingFailed){ // reconnecting if (state.socket.connected){ await state.socket.disconnect() } await state.socket.connect() } ``` ### 6 Abort requests To abort a request while executing, emit a `cancel_request` event: ```javascript theme={null} state.socket.emit('cancel_request', user); ``` > [!NOTE] > > The `cancel_request` message signals the controller API to interrupt the ongoing communication and attempt a graceful termination of the conversation. While the controller works to terminate resources cleanly, there may be a slight delay before the process completes. You will only be charged for any partial response generated up to the point of cancellation. ### 7 Stop streaming the current request To stop streaming the current response without aborting the request itself, emit a `cancel_streaming` event: ```javascript theme={null} state.socket.emit('cancel_streaming', user); ``` > [!NOTE] > > `cancel_streaming` applies only to the current response stream and is cleared automatically before the next interaction. ## Related * [API Reference Introduction](/mdx/api-reference/introduction) — API structure, authentication, and getting started * [JavaScript SDK](/mdx/sdk/javascript) — a higher-level client that handles streaming for you # What's new? Source: https://docs.praxis-ai.com/mdx/changelog Product updates and announcements **November 2026** **Praxis AI on your phone**: Pria now has a mobile app, **Praxis AI**. On Android, install it from the Google Play Store; on iPhone and iPad, it is in testing and you get it through Apple's free TestFlight app. Sign in with the same account you use on the web to chat, add photos and files, run assistants, talk in Convo Mode, buy credits and contact support; Digital Twin admins can also manage their twin's name, model, credits and users. See [Install the Mobile App](/mdx/user-guide/mobile/install) and [Getting Around the Mobile App](/mdx/user-guide/mobile/overview). **Install Pria from the Canvas Apps Discover page**: Pria is now listed on the **Discover** tab of Canvas Apps as **Praxis AI Human-First Digital Twins**. A Canvas administrator searches for Praxis, clicks **Install**, follows the wizard and makes the app available, with no Developer Key to create. This is now the recommended way to add Pria to Canvas courses; installs made with a Developer Key or Dynamic Registration keep working. **Fix — connecting Canvas from a course**: After you approved the Canvas connection, Pria's return page could stay on "Connection Successful… Refresh your browser to complete the secure connection" and never sign you in. The connection completes now. **Canvas connections follow your Canvas account**: When you connect Canvas from a course, Pria keeps that connection for the Canvas account you used. If a course opens Pria as a different Canvas account, Pria asks you to connect again rather than using someone else's connection. Opening the course from Canvas itself lets you use your connection from any browser; other launches use it only in the browser where you connected, or ask you to connect once more. **Administrators: Reset Canvas connection**: In a member's editor, a Canvas connection that no longer works can be reset with **Reset Canvas connection**, and a working one removed with **Revoke Canvas token**. Under Settings → Security, trusted devices from course pages now read "Course page" or "Course page (LMS sign-in)". **Canvas: switching Digital Twins**: When you open Pria from a Canvas course, you stay in that course's Digital Twin. Administrators of other Digital Twins can still switch to them from the Pria panel; learners no longer see a switcher there and open each Digital Twin from its own course instead. **Faster Performance and Progress pages (LXP)**: The Performance and My Progress pages now open at once and load each tab's statistics in the background, so a learner or mentor with many classes no longer waits for the whole page to be computed; the learning-usage timeline draws reliably. **October 2026** **Faster Gradebook (LXP)**: The cohort Gradebook and its CSV export now load in a fraction of the time for large cohorts — the largest classes, which took more than a minute, open in about a second. The page, its filters and the exported file are unchanged. **Blackboard course tools**: A Digital Twin opened from a Blackboard Learn course can now read that learner's course for them: the course contents, announcements, their own grades and the calendar. It works in text, voice and realtime conversations, and it is read-only, so nothing in Blackboard is ever changed. The first time, the twin gives the learner a Blackboard sign-in link (it works once, for 10 minutes); after signing in, they ask again. Ask the Praxis AI team to connect your Blackboard Learn site. **Fix — making videos**: Asking your Digital Twin for a video failed every time. Videos work again, now made with Google Veo 3.1: clips of 4, 6 or 8 seconds with sound, landscape or portrait, from a description or from a picture you share. Each video uses credits according to its length. Admins see **Veo 3.1 Fast (Google AI Platform)** as the default under **Video Generation**; Amazon Nova Reel and Sora 2 are marked deprecated. **Your current product, and My Content / GitLab only where they work (LXP)**: My Classes now marks the class of the product the left menu applies to with a "Current" badge. My Content and GitLab appear in the menu only for products where they are available, and a link opened for a product without them now says which product (and organization) it is not available for, with a shortcut to switch to a profile where it is. **Sign in with Blackboard**: A Digital Twin that requires LMS sign-in now asks people who open it from Blackboard Learn to confirm their Blackboard identity, the same step Canvas learners already have. After the first time, opening Pria again in the same browser session doesn't ask again. The setting is now called **Require LMS sign-in on launch (Canvas or Blackboard)**. See [Pria in Blackboard Learn](/mdx/integrations/blackboard/introduction). **Pria and the LXP in Blackboard Learn**: Blackboard Learn administrators can add Pria and the LXP to their site by pasting a Client ID, and instructors add them to a course from **Content Market**. Students open them inside the course, already signed in. See [Pria in Blackboard Learn](/mdx/integrations/blackboard/introduction) and [the LXP in Blackboard Learn](/mdx/lxp/admin/lti-blackboard). **Notification emails cleaned up (LXP)**: Emails sent by the LXP no longer ask you to add an old toolwire.com address to your safe senders, no longer show a dated copyright line, and no longer call the platform "TILE". Their footer now reads "This is an automated message. Please do not reply to this e-mail." and "© Praxis AI. All rights reserved." **Export the gradebook (LXP)**: The cohort Gradebook has an **Export CSV** button. The file holds the same table as the page, with the filters you chose. It is prepared in the background and emailed to you as an attachment, and the download link also appears in your messages. **Fix — Putting a lesson back into a class (LXP)**: When a class's only lesson was unticked in the class management grid and then ticked again, it came back without the class's members, who had to be added to the class again. Ticking a lesson now puts it back for the class's members, and ticking a lesson again no longer extends their subscription. Removing a lesson from a class still keeps each learner's progress in it. **Lab session emails end with the login address (LXP)**: The "Session Info" email sent when an instructor-led lab session is scheduled no longer ends with the retired connection test, troubleshooting guide and support address. It now ends with the address learners use to sign in to the lab. **Instructor-led lab sessions can be named after the cohort (LXP)**: a lab session's name and workgroup may now start with a digit, so a class can be scheduled under its cohort code (for example 2026-RTT-66-AWS). The scheduling page checks the name as you type and explains what is allowed: letters, digits, hyphens, underscores and periods; no spaces; no period at the end. **Interactive labs open right away (LXP)**: Opening an interactive lab while another one is still open used to stop on "You already have an existing session" and ask you to log out first. The new lab now simply opens: the one that was still open closes, keeping everything it saved. Virtual labs with a desktop are unchanged. **Fix — Markdown, CSV and macro-enabled Office uploads**: Some `.md`, `.csv`, `.docm`, `.xlsm` and `.pptm` files were refused as "Not supported", depending on the browser or device that uploaded them. They now process like any other file of their kind. A file that was refused before needs to be uploaded again. **Fix — A shared computer opened the previous learner's lab (LXP)**: When two learners used the same browser one after the other — on a shared or classroom computer, or an administrator acting as one learner and then another — launching the same virtual lab could open the lab the first learner was still running, with their files. Each launch now checks whose lab it is: the second learner gets their own lab, and the first learner's lab is left as it was. **Amazon Nova models retired**: the Amazon Nova conversation models (Nova 2 Lite, Nova Premier, Nova Pro, Nova Lite, Nova Micro) are no longer offered. A Digital Twin or assistant that was set to one now uses Claude Haiku 5.5 on Amazon Bedrock. Video generation with Amazon Nova Reel is unchanged. **Usage limit emails**: when a learner reaches the daily usage limit, the Digital Twin's contact and the account manager get an email naming the learner and when they can use it again. **Cloud Lab desktops reopen reliably (LXP)**: Reopening a Cloud Lab, reloading the page or pressing Reconnect now always opens the lab's desktop. Before, a second launch in the same browser could stop on a "Recent Connections" page or show no desktop at all. **Standard notification emails on every portal (LXP)**: Every LXP portal now has a complete set of standard notification emails — account activation, password reset and password change, new messages, grading, enrollments, certificates and report exports. Portals that were missing some of them now send them (for example, a password reset there now emails the new password), and the standard emails have a plain, consistent look. Emails a program has customized for its own learners are unchanged. On Arabic-language portals the emails are in English and Arabic. **Calendars are read as events**: Paste the link of a published calendar in a chat, for example the address Outlook gives you when you publish a calendar, and your Digital Twin now reads it as a list of events with their dates, times and places. Repeating meetings appear on each date they happen. A calendar file (`.ics`) added to your files is read the same way. From a link, Pria lists the events of the last 30 days and the coming year. **Confirm it's you before an approval from Canvas**: When Pria opens inside Canvas for an administrator, approving or denying a connector tool that asks for approval now first shows **Confirm it's you** and emails you a code. Enter the code, then choose **Approve** or **Deny** again. People without admin rights on the Digital Twin or its account decide as before. See [More security for Canvas login](/mdx/user-guide/lms/canvas-login-security). **Google sign-in asks for per-file Drive access**: When you connect Google from your settings, Google now also asks whether Pria may use the Drive files you open or create with it. This is Google's narrowest Drive permission: Pria cannot see the rest of your Drive. If you connected Google before, nothing changes for you. **The voice meter follows your Digital Twin's voice (Cartesia)**: In a voice conversation with a Digital Twin that uses a Cartesia voice, the live voice meter — on the voice screen and in the sidebar — now moves while the twin speaks, not only while you do. When the twin's voice EQ/compressor is on, loud syllables also come through cleaner. **Joining a Digital Twin takes an open twin or an invitation**: You can join a Digital Twin when it is open for joining, or when you have an invitation — an invite link, or its invite code. An invitation stops working when the person who sent it can no longer add members to the Digital Twin, and so does the approval of a request made through it. When that happens Pria says why in a message. **Invite is offered to the people who can add members**: **Invite** — on a Digital Twin's card, in the gallery and in its settings — is shown to the people who are allowed to add members to that Digital Twin. **Only administrators can join**: In the Studio UI, the switch under **Joining** is now called **Only administrators can join**. It hides the Digital Twin from the Join list for everyone else, and invitations still work. Its old name, **Admins approve new members**, described something it never did. **Credit notices by email**: When a Digital Twin's shared credits run low, or run out, Pria now emails the Digital Twin's **Contact Emails** and its account's **Account Contact/Notification Emails**, with a link to add credits. Each notice is sent at most once a day. **Fix — Require email MFA for this user**: Turning **Require email MFA for this user** on for someone whose two-step verification had been turned off earlier did not ask them for a code. Now their next sign-in asks for the code sent to their email. **Fix — Respondent Email on a feedback**: The **Respondent Email** entered when editing a feedback was not kept. It is saved now. **Group cohorts by customer (LXP)**: On **My Cohorts**, people whose cohorts come from more than two customers can select **Group by customer** to see them under one heading per customer, in alphabetical order; each heading can be collapsed. The page remembers the choice in that browser. Reordering cohorts by dragging is paused while they are grouped. **Easier-to-read cohort cards (LXP)**: On **My Cohorts**, the description and dates on each cohort card now sit on a softly blurred panel — darker on light themes, lighter on dark themes — so they stay readable over any cover image. Cohorts without a description no longer show "null". **New roles start in My Cohorts (LXP)**: When an admin creates a role, **Learner Experience starts in** now defaults to **My Cohorts** and **Portal Features** to **My Journey (Cohorts)**. Both can still be changed before saving; existing roles are unchanged. **Create your own Digital Twin**: Once your personal Pria has answered 5 of your questions, you can create a Digital Twin of your own. Open the **Gallery** (in the Studio UI: **Settings › Billing & Credits**): a **Create your own Digital Twin** card shows how many you have asked, and after the fifth select **Upgrade and create a Digital Twin**. You'll be asked to turn on two-step sign-in, then the creation wizard opens. Your account can create up to 3 Digital Twins. If you use Pria through your school or organization, ask its administrator to create one for you. See [Create a Digital Twin](/mdx/user-guide/create-digital-twin). **RAG + KAG by default**: When your files have a knowledge graph, Pria now uses **RAG + KAG Fusion** when you ask in chat, unless you choose **RAG**. Every place where you pick how Pria searches your files now offers **RAG** next to **RAG + KAG Fusion**, and Pria keeps your choice: turning **Search Only** on or off, turning retrieval off and on again, or an administrator editing your account no longer changes it. In your personal space, turning on **Enable KAG Fusion for my files** also switches you to **RAG + KAG Fusion**. If you picked **RAG** before this update, pick it again — from now on Pria remembers it. See [Knowledge](/mdx/user-guide/interface/knowledge-modes). **Tools Guidance**: Your personal Pria now sends shorter instructions about its tools with each question, so each question uses fewer credits. To get the detailed instructions back — useful for research — turn on **Tools Guidance** under your tools in **Tools** (in the Studio UI: **Settings › Tools**). **Admins — saving a person changes only what you edited**: Saving a person in **Users** could undo changes made since you opened them: it could turn off two-step sign-in they had just turned on, or switch their file search back to **RAG**. Saving now changes only the settings you edited. **Fix — bullet lists in answers**: Bulleted lists in Pria's answers showed numbers instead of bullets, and a list inside a numbered list lost its own numbering (i, ii, iii or a, b, c). Lists look right again. **Fix — Studio UI Settings respond to a click**: In the Studio UI's **Settings**, the switches in **Tools**, the **Revoke** button in **Security** and the **Personal file longevity (days)** box in **Knowledge** didn't respond to a click or tap. They do now. **Welcome to your personal Pria**: When you create your own account, a short welcome shows what you can do with your personal Pria — ask questions, upload files, manage tools and create assistants — and that it stays private: your files stay in your own IP Vault, and the AI models keep none of your data. Select **OK, Let's go!** to start; it does not show again. **Subagent plans finish on their own**: An approved plan could stop partway. Your Digital Twin answered while its research workers were still running, and the remaining steps waited until you selected **Resume**. Plans now run each step as soon as the steps it depends on are done, through to the end. Research plans (investor or market research, reports, memos) now run this way too, like build plans. The final summary no longer asks again about choices you already made when setting up the plan, and it no longer says work was interrupted while it is still running. **Word documents from your Digital Twin**: Ask for a Word memo or report and your Digital Twin can now save it as a Word document (.docx), with headings, lists, tables and links, in chat or as a step of a plan. It can also read the Word and PDF files it creates, so a plan's review step can check them. **Lessons with a virtual lab register their lab again (LXP)**: When an admin creates or saves a lesson that requires a virtual lab, the lab is now registered in the lab engine automatically, with its image and settings. The message "Course created successfully, but lab registration failed" no longer appears for that reason, and the lab does not have to be created by hand. **Two-step verification per user**: In **Admin → Users**, a user's **Security** tab now has **Require email MFA for this user** and **Revoke trusted devices** — the same controls the new-user form already offered. Turning it off resets the person's authenticator app and backup codes and signs out their trusted devices; their next sign-in goes straight through. **Admins can postpone two-step verification from a course page**: When an admin opens Pria from a Canvas course page, **Strengthen your account security** shows **Remind me in 7 days** again — Pria opens as usual and asks again after 7 days. Signing in to Pria directly still asks admins to select **Enable MFA**. See [More security for Canvas login](/mdx/user-guide/lms/canvas-login-security). **File uploads**: When the AI service is briefly unavailable while reading a file, Pria now tries again a few times on its own instead of marking the file as failed. **Fix — "Enable MFA" works when Pria opens inside Canvas**: An admin account without two-step verification that opened Pria from a Canvas course saw **Strengthen your account security**, but neither button worked there and no code email was sent. Now **Enable MFA** shows **Confirm it's you**: select **Send me a code**, type the code from the email, and Pria turns on two-step verification and opens as usual. See [More security for Canvas login](/mdx/user-guide/lms/canvas-login-security). **Admin accounts that sign in directly can no longer postpone two-step verification**: When an admin account signs in to Pria directly, the **Remind me in 7 days** button is gone. They select **Enable MFA** to continue. Other users who are shown the reminder can still postpone it for 7 days. See [Multi-Factor Authentication](/mdx/admin-guide/mfa). **Wide conversation**: The new **Wide conversation** button at the top right of a conversation lets it use the full width of the conversation area; select it again for the usual centred view. Your choice is remembered, in the Studio UI too. **The Assistants window opens where your assistants are**: It opens on the tab that has assistants for you — your Digital Twin's tab first, then **Personal**, then **System** (in your personal space, **Personal**, else **System**) — and remembers your last tab for each Digital Twin. **New assistants go to the tab you are on**: **Add** creates the assistant in the tab you have open. Assistants for everyone in a Digital Twin are added by its administrators; anyone else's new assistant is saved to **Personal**, and the Assistants window says so. A new assistant now starts blank instead of copying the last one you opened. **Disable Create Assistants for Users applies everywhere**: When a Digital Twin admin turns on **Disable Create Assistants for Users** (in the Studio UI: **Stop people creating assistants**), only the people who manage its assistants can add new ones to it, whichever app they use. **Digital Twin tray**: Your favorite Digital Twins and your credit balance moved from the top bar into a tray under it. Select the arrow next to your current Digital Twin to open it: on top, the Gallery and a card about your current Digital Twin — the start of its About text, how many files and assistants it has, and your credits; point at a favorite and the card shows it instead. Select a favorite to switch to it, or select Gallery to see all your Digital Twins. The Accounts button left the profile menu. **Your Digital Twins are easier to tell apart**: A Digital Twin whose AI name was never set now shows its own name in the galleries and the tray, instead of "Pria". On small screens the mouse wheel scrolls the twin gallery sideways, and on the **Pricing** page the Digital Twin card opens at full size; the button at its top right switches between full size and the normal view. **Memory settings have their own tab**: **Your Profile** has a **Memory** tab with the User Memory switch and **Manage Memory…**; the Memory item left the profile menu. **KAG Fusion for your files comes first**: In **Your Profile › Knowledge**, **Enable KAG Fusion for my files** is now the first setting under **Sources**, with a short suggestion when it is off. New accounts start with it on. **Fix — KAG Fusion for your files stays on**: Once you turn on **Enable KAG Fusion for my files**, it stays on; before, it could switch itself off again. **About Pria**: The About Pria window stays readable when you maximize it, and its picture now spans the full width. **More security for Canvas login**: When Pria opens inside Canvas for an admin account, it first shows **Confirm it's you** and asks for a 6-digit code sent to the email address on the account (or from an authenticator app). Students are not asked. A verified device is remembered for 24 hours inside Canvas, and a Digital Twin that uses **Authenticate with Canvas** does not show the extra step. The screen links to [More security for Canvas login](/mdx/user-guide/lms/canvas-login-security), which explains who is asked and what to do if you get stuck. **Fix — Google Classroom**: Connecting Google Classroom now asks Google for the permission your Digital Twin needs to read your coursework. If Classroom did not work for you, connect Google again. **Google services show what you allowed**: A Google service now counts as connected only when you allowed every permission it needs. A Digital Twin connected only to Google Meet, for example, no longer offers Google Drive tools. **Claude Sonnet 5.5 is the recommended model**: In the model pickers, the **Default** badge on the Amazon Bedrock list now sits on Claude Sonnet 5.5 instead of Claude Sonnet 5, and a Digital Twin that follows the platform default now answers with Claude Sonnet 5.5. A Digital Twin that picked its own model keeps it. **GPT-6.1 Sol**: OpenAI's GPT-6.1 Sol can be chosen as a Digital Twin's model, for reading images and for summaries, and for every agent role. Its lowest **Reasoning Effort** is **Low**. **Claude Opus 5 and Opus 5.5 for every agent role**: Both can now be chosen for any agent role a Digital Twin admin sets, the conductor included. Claude Opus 4.5 is now marked deprecated: a Digital Twin using it keeps working, and the pickers hide it unless you show deprecated models. **Claude Sonnet 5.5**: Claude Sonnet 5.5, Anthropic's newest Sonnet, can be chosen as the model of your Digital Twin, from Anthropic directly, through Amazon Bedrock or through OpenRouter. It answers faster than Claude Sonnet 5 and reads images. With **Reasoning Effort** set to **None**, it may write a short line such as "Let me look that up" before it uses a tool. **Claude Sonnet 5 price**: Anthropic kept Claude Sonnet 5 at $2 per million input tokens and $10 per million output tokens instead of raising it on September 1. Credits for conducted turns and image analysis on Claude Sonnet 5 now follow that price, on Amazon Bedrock, OpenRouter and the Anthropic API alike. **Retired OpenAI image models**: OpenAI no longer serves DALL·E 2, DALL·E 3 or GPT Image 1, so the model pickers mark them as deprecated. A Digital Twin or assistant that used one of them now makes images with a current model instead of failing. **Answer a Digital Twin's question in your own words**: In a shared Google Chat space or Slack channel, a Digital Twin asks "Is it OK if I share that here?" before sharing something sensitive. Answer the way you would to a person — "yes", "yes thanks", or "yes, 2025" when it also asked which year — instead of typing a fixed phrase. If your answer is not a clear yes, it asks again instead of sharing. **Tap to answer in Google Chat**: Under that question, tap **Share here**, **Send only to me** or **Don't share** — no need to mention the Digital Twin again. Only the person who asked can choose. **Send only to me**: The answer arrives in the same thread as a private message that only you can see. **Fix — "yes, but send it to me" never shares in the space**: If your answer asks for the details privately, the Digital Twin no longer posts them in the shared space. In Slack, a "sure" you say to someone else in the thread no longer counts as permission. **Attach files to a task on your Projects boards**: Open a task and use **Add file…** in its **Files** section to link files from your vault. The card shows them as small chips; click one to open the file. If you attach files to a chat and ask your Digital Twin to create or change a task, it links those files to the task and tells you it did. **Move a card to another board, and switch a board's layout**: Drag a card onto another board's tab to move it there. The switch button on a board's tab turns a kanban board into a weekly planner or back, after you confirm; cards keep their dates and whether they are done. **Two-step verification at sign-in**: When two-step verification is on for your account, signing in now asks for the code from your email or your authenticator app before you get in. Turn it on from your profile under **Two-step verification**; a browser you have verified on is trusted for 7 days, so you are not asked again there. **Stop ends a running agent cleanly**: Pressing Stop while an agent is still working on a request now shows the task as stopped, not failed. **Last Activity is shown by default on the Digital Twins and Users lists**: The **Last Activity** column now appears without adding it from the column picker, as it already did on the Accounts list. **A file's expiry countdown restarts each time it is used**: A file kept for a period (for example 90 days) now expires that many days after its last use, not after its upload. Pria answering with the file, a download, a shared link or the file appearing in a conversation all start the period again; opening the preview in Files does not. Only **Forever** keeps a file for good. The file card and the preview show the countdown, the date and the period selector, and a file with no countdown says why (Forever, starts when included in search, or no end date). **Connected-service switches save one by one**: In the Digital Twin editor, saving after changing a Google, Microsoft or Smartsheet switch keeps only the switches you changed. A Digital Twin admin is no longer refused a save over staff-only switches they did not touch, and after disconnecting a service the editor shows the real state of that service. **Zip downloads finish cleanly or say why not**: A cancelled bulk, collection or workspace download stops at once instead of saving a broken archive, and a download that fails part-way is cut rather than kept. A workspace export is now complete or refused with a reason (up to 20,000 entries and 32 folder levels) instead of stopping quietly at 2,000. A personal collection downloads only for its owner, and in a Digital Twin collection other people's confidential files are left out of the zip and the listing. **Test an MCP connector before you save it**: Both connector editors (**Edit Connector MCP** and **MCP Server Configuration**) gain a **Test connection** button that asks the server for its tool list with the values in the form, then offers that list as a checklist for **Tools Choice** and **Ignore Approval**. A new connector starts empty; the examples are placeholders, not saved values. **The Digital Twin editor saves only what changed**: A save keeps the settings you changed since the last save, and **Discard** returns to the last saved state. The **Credits** dialog changes one number and the balance is never part of a save. Long-term memory, Read aloud, Twin workflows and Agent mode are reachable again, voice engine cards follow the platform-default engine, and a Digital Twin admin can name a new Digital Twin and choose its billing account on the create form. **Admin lists: the same status pills and a plain activity note**: The Accounts, Digital Twins and Users lists share the pills **All · Active · Inactive** (by status) and **All · Has activity** (has ever been used); the classic Assistants list filters by **All · Personal · Instance · Account · System**. An active row quiet for more than 30 days now reads "35 days ago" under its status instead of a warning; the warning and "idle 6+ months" appear only after six months, and the Last Activity dot follows the same rule. **Your agent's email approval list is yours alone**: The list of people your agent may email is seen and changed only by you, and saving it names the Digital Twin it belongs to. **Sign-in and invitation safety**: A sign-in link can no longer change or create an account by mistake, and a request to join a Digital Twin is approved only by the person who sent the invitation. **Your Google Chat conversations now appear in your conversation history**: When you talk to your Digital Twin in Google Chat, each Chat thread now shows up as its own conversation in your conversation list on the Pria website, titled after your first message. Open it to read the whole exchange or to carry on the conversation on the website — your Digital Twin remembers what was said in Chat. If you rename the conversation on the website, the new name stays even as the Chat thread continues. Only your own messages and your Digital Twin's answers to you are shown, even in a shared space. Earlier Chat conversations are added as well. Slack conversations are not shown yet. **Your Digital Twin remembers important things you tell it in Google Chat**: When memory is turned on for your Digital Twin, it can store what matters from your Google Chat conversations, just as it does on the website. Memories from Chat show on the conversation when you open it on the website. In a shared space, nothing is stored unless you confirmed sharing for that message. **Fix — website memory now considers your Digital Twin's answers**: When your Digital Twin decides what to remember from a website conversation, it now looks at its own answer as well as your message. **Fix — Google Chat and Slack respect your Memory setting**: In Google Chat and Slack, your Digital Twin now respects your Memory setting (turned off means it neither reads nor saves your personal memory) and keeps your personal memory out of shared spaces unless you confirm. Files it saves from Google Chat or Slack are kept forever, unless you chose a "Keep if unused" period in your settings. **Single sign-on users are no longer asked to change their password**: When an admin sets **Must change password at next sign-in** on a user (for example after a bulk import with a temporary password), the request now applies only to sign-ins with an email and password. Someone who signs in with Google, Microsoft, Facebook, Apple or through their learning platform is not interrupted, and the requirement waits for their next email + password sign-in. A new per-user switch, **Skip the password change on SSO sign-ins** (on by default), restores the old behaviour when turned off. **Import Users explains its password switches**: Both Import Users wizards now show **Must change password at next sign-in** (on by default) and **Skip the password change on SSO sign-ins** (on by default), each with a one-line explanation of what the imported users will see. **Fixed: a newly created assistant seemed not to appear**: In the Assistants gallery, a new assistant is **Personal** unless you tick the sharing option when you create it, and the gallery was reopening on the Digital Twin's tab, which lists only assistants shared with the twin, while the "created successfully" message was cleared at once. The gallery now opens on the tab the new assistant belongs to, refreshes the assistant pickers immediately, and keeps the confirmation visible. **Fixed: a Digital Twin describing its own searches to the user**: During long tool-based answers (for example several Google Drive lookups), a twin could tell the user things like "Let me search Drive" or mention a "search budget". The instruction the twin receives at that moment now tells it to present only what it found and what remains open, never the tools, counts or search steps. **Fixed: creating a Digital Twin in your own account**: An admin who was not listed as a manager of their account saw "Only a manager or an admin of the target account can create an instance in it." when creating a new Digital Twin, even inside the account they already administer. An admin whose Digital Twin cannot be joined without an invitation (**Allow Joining** set to Disabled) can again create a Digital Twin in that account, and move one into it. A Digital Twin still cannot be attached to an account its creator has no standing in. **Agents: the two agent pages now point to each other**: The **Agents** page's sidebar has a new **Synaps sessions** link to your Digital Twin's Synaps agent page, and that page's left rail has a new **Pria agents** section listing your running and recent Agents sessions — click one to open it on the Agents page. The two pages keep their own sessions; this makes it easy to move between them. **Fixed: the Synaps agent page lost its top bar after a refresh**: Reloading the browser on the Synaps agent page showed a top bar without **Admin**, **Agent**, the Digital Twin switcher or your credits. It is now complete, as on the Agents page. **Fixed: sharing a file that belongs to another Digital Twin in your account**: In Files, a file shared across your account from another Digital Twin offered **Rename** and **Delete** but not **Make Public** or **Include in AI Search**. Both are now offered to the same people who can rename it. **Fixed: downloading files as a zip**: Downloading a collection, downloading several selected files at once, and the zip from **Export my data** all failed with an error message instead of a file since the July update. All three work again. **Shared conversations show who said what**: In a conversation where several people talk with the same Digital Twin — such as a group thread brought over from Google Chat — each person's messages now appear in their own bubble with their name and photo (or their initials), instead of all looking as if you had written them. Your own messages stay on the right; everyone else's appear on the left, grouped by person, with any files they shared shown under their message. The twin also knows who said what when it answers, and searching your history matches people's names too. Anyone who opens a shared conversation link without signing in sees the other people as "Participant", with no photos. This works in both the classic and the new interface. **September 2026** **Clearer messages when an approval or invite link fails**: When you open an approval link for a request that no longer exists, Pria now says so — "This request no longer exists" — and tells you what to do: ask the person to request access again, or have an administrator of the Digital Twin add them. An invite link that no longer matches a Digital Twin, and a lost connection, each get their own plain message too. **Integration Wizard: code that starts where you paste it**: The wizard now shows, beside the generated code, which sites this Digital Twin accepts, and warns you when none is listed yet. The web page, React, Flask and Canvas code starts only on a site listed in **Public Authorized URLs**; the file says so at the top. **Fixed**: The Flask page from the Integration Wizard now opens the twin; before, the widget could fail to appear. The Claude instructions now say where to find the **MCP Server Secret** and how to send it. **Headless (no UI)** now warns that it cannot be used when people must accept a privacy policy. **Canvas: a course connected to a disabled Digital Twin**: Students cannot use Pria in the course. Teachers who open Pria from a Canvas LTI 1.3 placement see which Digital Twin is disabled and can disconnect it from the course — then reload and connect the course to another one — or hide Pria in the course. **Canvas: show Pria again with one click**: In a course where Pria was hidden, teachers now show it again from Pria itself. **Changed**: Picking a Digital Twin no longer takes a course away from a disabled one; the disabled Digital Twin is disconnected first. Only teachers and administrators of a Digital Twin can disconnect its course. In courses that use the Canvas theme integration, Pria does not open while the course's Digital Twin is disabled; an administrator disconnects the course in the Digital Twin's settings (Integrations › LTI Contexts). **Canvas: a course connected to a disabled Digital Twin no longer blocks teachers**: When the Digital Twin connected to a Canvas course is disabled (or its account is), teachers and administrators now see the "Let's get you connected" chooser with a note naming that twin, and can pick another twin or create a new one — the course is connected to the twin they choose. Students see a message naming the twin and asking them to contact their teacher. **A Canvas course connects to one Digital Twin only**: Connecting a course that another active twin already uses is refused — from a Canvas launch with "This course is already connected to another Digital Twin", and in the Digital Twin editor (classic or new) with a message naming that twin. Connecting a course that only disabled twins still list moves it to the twin you choose. **Fixed: "Public Authorized URLs" and "LTI Contexts" with several entries in the new admin's Digital Twin settings**: Saving more than one entry in either list from the new admin's Digital Twin settings (Configuration › Integrations) stored them as a single combined entry, which could block every Canvas launch of that twin. Both lists now save each entry separately, as the classic editor does. **Procore connector**: Staff email addresses and phone numbers in a project's directory are now shown to Digital Twin administrators only. Other members still see names, companies, titles and roles, and every company's business phone and email. **Last Activity counts every way a Digital Twin is used**: The "Last Activity" date of Digital Twins, accounts and users now includes meetings, avatar embeds, Slack, voice calls, uploads, scheduled workflows, MCP searches and agent computers — not only chat. Signing in or opening a page does not count. Digital Twins, accounts and users that were never used now read "Never used", and once they are older than the inactivity threshold they are flagged, counted from the day they were created. **Feature**: Disabling or deleting an account now stops its agent computers; they can be started again after the account is re-enabled. **Procore connector for Digital Twins**: On the **Connections** page, a Digital Twin administrator can connect Procore with a client ID and client secret. When the twin's Procore tool is switched on, members chatting with the twin can ask about the company's Procore projects, submittals and documents. Procore is read-only, and visitors of a public twin page never get it. **Faster LMS launches (LXP)**: Opening LXP content from Canvas or Moodle is quick again. The LXP's own part of a launch now takes about ten milliseconds, down from several seconds — it had slowed over the summer as grading records built up. Grades still reach the LMS gradebook exactly as before. **Moving a Digital Twin into another account now needs rights on that account**: Only a manager of the target account can create a twin in that account or move a twin into it — being an admin of one of its Digital Twins is not enough. **Security: Digital Twins created from an LMS launch stay in your own account**: A twin created through the SDK onboarding or the in-app wizard is attached to an account only when the person creating it is a manager of that account, and the launch domain must match a registered domain exactly. Other twins start unattached until an account manager attaches them. **Account secrets are never sent back to the browser**: The account AWS secret key, Canvas client secret and Canvas faculty token are write-only. The account editor shows "Secret is set — leave blank to keep it"; a new value replaces it, and a **Remove** control deletes it on save. Clearing the AWS Access Key Id stops the account's keys being used. **Account AWS credentials reach every Digital Twin**: The AWS key pair set on an account now signs the Bedrock model calls (conversation, embeddings, image analysis and generation) of every Digital Twin in the account that has no AWS keys of its own, so that usage bills to your own AWS account without setting keys twin by twin. A Digital Twin's own keys still win. Video generation and transcription keep running on Pria's own AWS account. **Browse RunPod**: On **AI Models → Custom AI Models**, a new **Browse RunPod** button opens the Connect RunPod card, where you connect a RunPod account and pick a hosted model. It is shown to admins who can add AI models. **iPhone photos upload as pictures**: HEIF, HEIC and AVIF photos (the iPhone default) are now handled as images and described like any other picture, instead of failing as if they were videos. **A fallback conversation model**: When a Digital Twin's conversation model fails before it has said anything — over its usage limit, briefly unavailable, unreachable, or rejecting its key — Pria now answers with a fallback model instead of showing an error. Each Digital Twin can pick its own **Fallback conversation model** right under its conversation model (in the twin editor and in Instance Settings → Conversation). It is unset until you choose one. A twin on its own custom model falls back the same way. **The usage card says which model answered**: A turn answered by the fallback shows a note naming the model that could not answer and why. The conversation record keeps the model that actually answered, and billing follows it. **Steadier retries**: Every provider now judges a failed request the same way, waits as long as the provider asks before trying again, and stops retrying sooner when a fallback is ready. A reply that was cut off after it started is kept and marked, instead of being retried and repeated. **A privacy policy now applies everywhere you meet your Digital Twin**: When an organization sets a privacy policy for its account, everyone who uses one of its Digital Twins is asked to read and accept it before chatting or talking — in the classic interface, the new interface, Canvas, a public Convo guest link, and the avatar widget on a website. If the policy is ever changed, everyone is asked again. Voice conversations don't start until the policy is accepted. **Easier to read**: The consent screen has been redesigned for clear, readable text and buttons in both light and dark mode. **Read it again anytime**: You can always go back and re-read the policy — in the classic interface from the menu under **Privacy Policy**, and in the new interface from **Settings → Security**. **Guests stay on the guest page**: Reloading a public Convo guest link page now keeps a guest on that guest page instead of dropping them into the full app. **Fixed a blank page**: Classic users on an organization with a privacy policy could see a blank page instead of the consent screen. This is fixed. **Canvas course buttons land in the right conversation**: A course button in Canvas that sends a question to your Digital Twin now opens that course's own conversation first, so the reply shows up there instead of in whichever conversation happened to be open before. **Clicking a course button while Pria is still loading now works**: Before, a click that arrived before Pria had finished signing you in could fail. Pria now waits until it's ready and sends the question then, instead of failing. **Double-clicking a course button sends one question, not two**: Clicking the same course button twice in a row now sends the question only once. **Clicking two different course buttons sends both, one after the other**: Clicking two different course buttons quickly now sends both questions, one after the other, and each answer stays with its own course instead of getting mixed up. **A clear prompt when Pria has just been updated**: If Pria was updated on the server while a student still had a page open, they now see a plain "Pria was updated — Reload" message with a Reload button, instead of an error screen. **Deleting a collection moves its files to the Trash**: Deleting a collection, together with any collections inside it, now moves their files to the Trash, where you can restore them, instead of removing them for good. The confirmation shows exactly how many files and collections are affected. **Trash actions do what they say**: In the new interface, **Delete forever** on selected files in the Trash now deletes them (it used to do nothing), after a confirmation that shows how many. **Empty Trash** in both interfaces now shows the exact number of files it will delete, and deletes exactly those. Files you aren't allowed to delete, or that belong to someone else and are confidential, are left alone and no longer counted. **Classic keeps your conversation going**: In the classic interface, choosing an assistant from a page that embeds Pria, starting a conversation from the Canvas integration, or picking an assistant in Convo Mode now continues the conversation you have selected instead of opening a new one. The new interface still starts fresh by default. **Rename or delete a conversation from another Digital Twin**: Renaming or deleting a conversation listed under another of your Digital Twins in the sidebar or History now changes that conversation. Before, it could miss it, or change a conversation with the same number in your current Twin. Renaming a conversation you don't have open no longer makes it the one Pria reopens next time. **Retry keeps your attachments**: When a message fails and you press **Retry**, Pria now sends it again with its attached files and the assistant you picked. **Sharing a memory with everyone needs an administrator**: Only administrators can share a memory entry with every member of a Digital Twin. Members still keep their own memories private and can stop sharing an entry at any time. **End-of-meeting recap is on by default**: When your Digital Twin attends a meeting, it posts a short recap when the meeting ends, unless Praxis has turned the recap off for that Twin. A setting change earlier this year had quietly stopped the recap for every Twin. Each recap is a summary and uses credits. **Stop works on every Slack reply**: Pressing Stop on a reply your Digital Twin is writing in Slack now always stops it, even when the reply is being written by a different server. **Canvas students no longer see an Admin entry**: Inside Canvas, the settings menu shows **Admin** to teachers only. **An assistant's own tools follow it into Convo Mode**: When an assistant is limited to a chosen set of tools, those tools are now always available while you talk to it in Convo Mode — even ones that are otherwise switched off for voice conversations. **Assistants that call an API now work in Convo Mode**: The API-call tool is available during voice conversations by default, so an assistant that reads or submits data through an API — an assessment, a booking, a lookup — can do it while you talk to it, not only in text. Also, a voice turn no longer searches your files in the background when Knowledge is off — for the conversation or for the assistant running it — and when an assistant has its own collections, that is where a voice turn looks. **Model lists refresh on their own**: A model list that is already open in your browser now picks up newly added models within ten minutes, without reloading the page. **Claude through OpenRouter reuses cached prompts**: Claude Sonnet 5, Sonnet 4.6 and Opus 5.5 on the OpenRouter provider now reuse the cached part of a conversation's prompt, as they already did on Bedrock and the Anthropic API, and every OpenRouter conversation stays on the endpoint that cached it. Credits go further on long conversations with these models. The two Sonnet models now use only OpenRouter's zero-data-retention endpoints. **Google AI Platform provider**: Gemini 3.8 Flash can now be picked from a new **Google AI Platform** provider, served from Google Cloud's Vertex AI with a Google Cloud API key — for organizations whose Google credentials live on the Cloud side rather than in Google AI Studio. Administrators set the key under **Google AI Platform API Key** in the Digital Twin's configuration (the Gemini API Key stays for the Gemini Developer API). **Claude Opus 5.5 through OpenRouter**: Claude Opus 5.5 can now be picked from the **OpenRouter** provider as a conversation model, next to Sonnet 5 and Sonnet 4.6. **Cached Gemini reads cost less**: When a Gemini conversation reuses a cached prompt prefix, the cached part now costs fewer credits than before, because Google charges cached reads at 10% of its normal input price and Pria now passes more of that saving on. Credits go a little further on long Gemini conversations. Agent tasks pay Google's cached rate directly. **Gemini 3.8 Flash, Grok 4.7 and Grok 4.3 through OpenRouter**: Administrators can now pick these three models from the **OpenRouter** provider as a Digital Twin's conversation model or as the platform default — next to Claude Sonnet 5 and Sonnet 4.6, which were already there. They behave like their native counterparts (tools, images, thinking levels) and use only OpenRouter's zero-data-retention endpoints. **GPT-Live speaks first**: A GPT-Live call now opens on its own as soon as it connects — your Digital Twin (or the assistant running the conversation) introduces itself, or picks up where you left off — instead of waiting for you to say something. A page that embeds the twin can still replace or skip the opening line, as with the other voice providers. **GPT-Live follows the assistant's lead**: When an assistant is running, a GPT-Live conversation now hands every reply to it — your answers, choices and confirmations included — instead of answering on its own what sounded like small talk, and it no longer tells you it has no instructions. Switching assistants during a call reaches the voice layer too. **Your assistant follows you into Convo Mode**: Starting Convo Mode inside a conversation that runs an assistant now keeps that assistant's instructions, on every voice provider. Before, on GPT-Live, Anam and Cartesia the assistant was silently dropped unless it had been checked in a Convo list most Digital Twins never filled in. **"Restrict use of assistants"**: The Convo setting formerly called "Allow switching assistant in Convo Mode" is now **Restrict use of assistants**, and it's also in the Digital Twin's settings under **Voice**. Off, every assistant can be used in Convo Mode. On, only the assistants you check can be used, and members can switch between them during a call. **Assistant pictures in the Convo assistant menu**: The in-call assistant menu shows each assistant's picture, or the standard assistant icon when it has none, instead of the first letter of its name. **Gemini voice shows who is speaking**: In Convo Mode with a Gemini voice, the widget now lights green for the whole time your Digital Twin is talking and yellow while you speak. Before, green could switch off before the answer had finished playing, and yellow could stop showing altogether. **"Tap to start talking" fills the screen**: In the classic interface, the screen that starts a voice conversation now covers the whole window instead of only the chat area. **Moving a collection to Personal**: Only the person who created a collection can move it out of a Digital Twin into their personal space, and only when they may delete files in that Twin. The move is refused while the collection still holds files or sub-collections that belong to someone else. **Security fixes**: Tightened who can manage embedded avatar settings; who can add, move, upload into or change another person's files and collections (moving a collection to another space no longer carries along files you aren't allowed to move); and what files and records a desktop agent and the MCP connection can reach. Each stays within its own Digital Twin and respects confidential files. **Pick the conversation before you send**: In the classic interface, if you send a message while no conversation is selected, Pria now asks where it should go: **Start a new conversation**, or **Continue** your most recent one, shown by name. Before, the message could quietly start a new conversation that did not remember what you had said. Close the question and nothing is sent; your message stays in the box. If you have no conversations yet, a new one starts without asking. **Going back to the default Digital Twin sticks**: When you switch a conversation from an assistant back to the default Digital Twin, it now stays that way, in typed and voice replies alike, even after you reload or reopen the conversation. Before, the earlier assistant could quietly come back on the next reply. **Meeting twins keep listening**: In a Zoom meeting, a new person speaking now ends the previous turn, so your Digital Twin no longer goes quiet after a stuck turn. A question cut short is carried into the next reply, and very long text is shortened instead of refused. **Helpers stay within bounds**: A single request starts at most 15 helpers (more for an approved plan with many steps), and the lead helper stops when the request reaches its time limit, so a runaway task cannot keep spending credits. **Voice and avatar replies start sooner**: Your Digital Twin now notices you've finished speaking sooner. Twins created before the end-of-turn settings existed had waited up to 5 seconds. When the twin needs to look something up, it says so in one short line and then answers, without cutting that line off. On Gemini models, the voice conversation's instructions stay cached between turns, so replies start faster and cost less. **Voice conversations never wait on a slow tool**: In Convo Mode, video avatars, embedded avatars and meetings, the twin waits at most about 6 seconds for its tools. A longer job, such as saving a file to the vault, keeps running in the background while the conversation continues, and the twin tells you the result on your next turn. OpenAI Realtime and xAI voice work the same way. Gemini Live voice is unchanged. Background work is billed to whoever started the session. **A stuck voice reply recovers by itself**: If the avatar goes 15 seconds without saying anything, it drops that reply and asks you to say it again instead of leaving you waiting. Anything it says resets the clock, and time spent waiting for you to approve a tool doesn't count. Meeting bots follow the same rule. A reply nobody asked for, such as an unprompted meeting remark, just ends quietly. **Pria on Canvas keeps its floating button**: On Canvas course pages, Pria opens from its floating button again. The side panel docked to the right edge of the page is now opt-in: a Canvas administrator turns it on in the Pria loader. **You approve every email a helper writes**: Pria never sends email for you on its own: when a helper prepares an email, it waits on a card with Send and Discard. **Meeting transcripts in every history view**: When your Digital Twin attends a meeting, the full transcript now appears wherever you open that record: in **Histories** under Admin, and on the record's shared page in both the classic and the new interface. Previously some of these showed the meeting as an empty conversation. Each view lists who said what and when, with the platform, duration and participants, and lets you copy or download the transcript. Administrators also see what the meeting cost in credits and whether it was charged. **OpenAI GPT-Live for Convo Mode**: A new voice option that listens and speaks at the same time, so conversations flow naturally and interruptions feel smooth. GPT-Live does the talking; your Digital Twin's own model, files and tools supply every answer, and it keeps the user company while a longer lookup runs. Choose GPT-Live as the Realtime Model and pick a **GPT-Live Voice**. Conversation time is charged per second on top of the answering model. See [Realtime Voice & Avatars](/mdx/admin-guide/realtime-voice). **Choose how many passages Pria reads from your files**: A new **Number of Relevant Articles** setting in **Your Profile → Knowledge** sets how many passages from your personal files Pria reads before it answers, from 1 to 15. It starts at 2, which keeps answers quick and saves credits; raise it when you want Pria to draw on more of your material. Administrators can change it for a person in **Users → Edit → Knowledge**. Digital Twins keep their own setting, and a Twin that never set one now also reads 2 passages, matching what its settings screen always showed. **Pick your own GPT-Live voice**: When a Digital Twin using GPT-Live leaves its voice unset (shown to administrators as **User's Choice**), each member picks their own voice before starting Convo Mode. **Typed messages in a GPT-Live call are answered aloud**: With text input enabled, a message you type during a GPT-Live conversation now gets a spoken reply, and the reply appears in the transcript. **Convo Mode follows the platform voice model**: A Digital Twin (or a personal space) with no voice model of its own now starts Convo Mode on the platform default, including a Gemini default, with the matching voices. Before, it could start on the wrong provider and fail to connect. **GPT-Realtime-2.1 is the new voice default**: Digital Twins that follow the platform default now speak through GPT-Realtime-2.1. Twins set to a specific voice model keep it. **GPT-Realtime-2.1 mini** is also available at about a third of the cost. **Voice Reasoning Effort now works with OpenAI voice**: On GPT-Realtime-2 and newer, the **Voice Reasoning Effort** setting decides how much the model thinks before it answers aloud. It stays off by default, because thinking time is silence in a conversation. Older OpenAI voice models ignore the setting. **Gemini 3.8 Live**: Google's newest live voice model, at the same price as Gemini 3.1 Flash Live. Tools work exactly as before. **New image models**: GPT-Image-2.5 Sunburst (precise edits) and Flare (fast everyday images), Gemini 3 Pro Image and Gemini 3.1 Flash-Lite Image, and Grok Imagine Image 2.0 and Image Quality. **Retired Mistral models replaced automatically**: Mistral has switched off Medium 3.1, Small 3.2, Large 2.1, Magistral, Devstral, Pixtral Large and Saba. Any Digital Twin, assistant or platform default using one moves to its current equivalent, usually Mistral Medium 3.5 or Small 4. Custom AI Models are left for an administrator to update. **RunPod readiness follows the instance you are viewing**: AI Models now checks each model's own instance, even when your active Digital Twin is different. Missing or failed status checks show **Status unavailable** instead of leaving **Checking…** indefinitely. Viewing the list still does not start a GPU. **Safer multi-instance model management**: You can view readiness across selected instances, while RunPod connection changes require selecting one instance. Switching the selection clears old connection errors and unsaved key/confirmation state. Warm-ups and their release requests stay with their original instance. **Held messages stay in the right Digital Twin**: A message waiting for a RunPod model is not sent to a different twin if you switch instances during the wait. The ALN rubric and its **0–3** scoring scale are unchanged. **A better RunPod GPU wait**: An explicit warm-up or scoring request now rechecks the configured datacenters while it waits. If a warm-up is queued without a host and another approved datacenter has capacity, Pria can safely move its own warm-up there. It reuses a host that is already starting, avoids launching both datacenters speculatively, and shows the observed capacity, startup and model-loading phases. GPU availability is still subject to the provider; viewing status alone does not start a GPU. **ALN stays on the 0–3 scale**: The plan scorer keeps zero as a real score and rejects an incompatible scale rather than shifting the instrument to 1–4. Rubric-only scoring does not require anchors. A checklist made for an older rubric cannot silently override a revised one. **Preview and resume a bake-off more safely**: A read-only preflight lists the rubric, plans, requested models and blockers before requesting a GPU. Resuming a run checks that the inputs and scoring conditions still match. Missing models remain visible in reports; incomplete totals are kept separate, and quotes outside a dimension's primary answer field are flagged for review without changing the score. **A clearer Digital Twin interview**: The creation wizard asks what you believe about your work and generates a compact persona covering identity, beliefs, voice, subject expertise and boundaries. Generate and Analyze can return complete text when using supported reasoning models. **More conversational board controls**: Twins with task-board tools enabled can create boards, update their columns and move tasks between boards. Weekly-board dates and carry-over are handled consistently by Pria, and cards created by a twin show their origin. **The voice avatar fits phone screens**: In Convo Mode the avatar no longer runs off the edge of the screen on a phone. In portrait it now leaves a margin on both sides, and in landscape it shrinks so the controls fit below it and the dark band above it is gone. Nothing changes on a laptop or desktop, where the avatar keeps its previous size. **Two-step verification fits phone screens**: When you enter the code we emailed you, all six digit boxes now fit inside the card on a phone; the last box is no longer cut off at the edge. On larger screens the card looks the same as before. **Spoken answers are written for speech**: When your Digital Twin answers out loud through its avatar, it now works from instructions meant for a spoken conversation. It no longer carries the rules for laying out a written answer — headings, tables, links, footnoted citations — which it could never say aloud anyway. You should notice answers that stay in the twin's voice and get to the point sooner, and the twin still says a few words before it goes to look something up, so a spoken turn never goes quiet. Typed conversations and meetings are unchanged, and the twin still follows the same rules for reading its retrieved files. **Voice conversations show where the context went**: Opening a saved Convo Mode conversation now shows the same context breakdown as a typed one — how much of the context window went to the twin's persona, its files, the conversation so far and the tools — instead of a single unlabelled block. This applies to conversations held from now on. **The model name says which voice answered**: A saved voice conversation now names the model that actually spoke. For a twin with an Anam avatar it reads **Anam Response Model**, the same name as the setting in Instance Settings, so the receipt matches what you configured rather than showing the twin's typing model. **Bring your invitation instructions into the meeting**: When you ask your Digital Twin to join a call and review particular files or cover an agenda, it now keeps those instructions in the meeting's context. This works for typed and spoken invitations. Named files must already be available through the twin's permitted file tools; naming a local file does not upload it or grant access. Existing turn-taking, Poke and Hold controls are unchanged. **Meeting assistants no longer block speech startup**: Associating an accessible assistant with a meeting twin now works even when that assistant is not listed in the one-to-one Convo picker. If the assistant is unavailable or not permitted, the twin continues without that extra assistant context rather than losing its speech connection. The twin's avatar and voice settings are unchanged. See [Meeting Agent](/mdx/admin-guide/meeting-agent). **A failed settings save tells you what happened**: If a change in Instance Settings is refused, an inline notice identifies the setting and explains why the previous value was restored. **Poke makes your meeting twin speak**: Send the word **poke** in meeting chat or a direct message to request one normal spoken response — no wake word needed. If the twin is already responding or a participant is speaking, the request waits for the normal turn boundary instead of interrupting the twin. Hold cancels a pending Poke. **Instance Settings: tool presets for your Digital Twin**: The Tools section now offers the same presets as a personal account — None, Minimal, Media, Builder and All — with the number of tools each one leaves on. Picking one asks for confirmation, then switches the rest off for everyone in the Digital Twin; you can still switch single tools back on afterwards. A connection you configured — Canvas with its credentials, or Google and Microsoft while they are enabled for members — is never switched off. **The action menu says how many tools your Digital Twin offers**: The Tools entry now reads "For everyone in this Digital Twin - 12 on", so you can see the size of the set without opening the settings. **"Sources" is now "File Vault"**: In the action menu's Knowledge section, the file vault settings are named File Vault. **Guest links: clearing and rollback fixes**: If Convo is later switched off or limited to admins, an existing Convo Web Access Link can still be removed from Instance Settings, and a failed removal no longer shows the link as gone while it is still live. **Guest links only when guests can use them**: The Convo Web Access Link can no longer be set while Convo is switched off or limited to admins, since a visitor could never start a conversation on it. The field explains which switch to change, and a link that is already live in that state is flagged so you can clear it. **Meetings now bill by the minute**: Sending your Digital Twin into a Zoom, Google Meet, or Teams call as the Meeting Agent bills differently from a one-to-one Convo Mode conversation. For every minute the meeting bot is in the call, credits are metered for the avatar, the meeting bot, and live transcription — on top of the normal per-turn rule for whatever the twin actually says when it speaks. Digital Twins running on their own Anam account are not charged credits for the avatar's minutes in a meeting; the meeting bot and transcription minutes still bill in credits either way. One-to-one Convo Mode conversations are unchanged — the avatar still adds no per-minute charge there. See [Meeting Agent](/mdx/admin-guide/meeting-agent) and [Credits](/mdx/user-guide/credits). **Apply the avatar standard in one click**: Digital Twins that speak through an Anam avatar have a new **Apply the avatar standard** button in Instance Settings, right under the Anam Response Model choice. It shows exactly which settings would change to the recommended avatar configuration — retrieval depth, chunk size, completion cap, immersive start, the recommended models — and applies them only when you confirm. A twin that already matches sees the button disabled. **The voice says where it saved your file**: When you ask your Digital Twin to build something into a named vault, the spoken answer now always starts with where the file was saved — and why, if it landed somewhere other than where you asked. **Instance Settings: copy the Name and the Public ID**: The General section now shows your Digital Twin's unique Name (for example clarkey.praxislxp.com) and its Public ID, each with a button that copies it. **Instance Settings: every screen explains itself**: General, Personalization, Conversation, Voice, Knowledge, Subagents, Connectors, Quotas and Invite now open with a short **About** box that explains their features in plain words. **Instance Settings: a clearer order**: The sections now run General, Personalization, Conversation, Voice, Knowledge, Tools, Assistants, Subagents, Connectors, Quotas, Invite, Integration and Billing. **Display Details** moved into Conversation, since it changes what each answer shows, and **Ignore user personal vault** sits right under Long-term Memory in Knowledge. **Instance Settings: Connectors**: A new Connectors section shows how Google Workspace, Microsoft 365 and Canvas are set up for your Digital Twin, lets you change the two Canvas sign-in options, and opens the admin editor to configure connections and API keys. **Instance Settings: add a custom AI model**: Administrators allowed to add AI models can bring your Digital Twin its own model from the Conversation section. **Instance Settings: Subagents has its own section**: The subagent settings moved out of Tools into their own section. While subagents are off, the section shows only the switch that makes them available; the other options, including the model each subagent role uses, appear once they are on. Enabling subagents does not turn them on for anyone: each member opts in from the chat's \[+] menu. **Instance Settings: find assistants faster**: The Assistants section has a search by name and a "Show only enabled assistants" filter, and an assistant shared across your account now says which Digital Twin it comes from. **Praxis Unified Credits**: Wherever you see or add credits — the credit balance, Add Credits, Billing, your profile, and the messages shown when credits run out — Pria now names them Praxis Unified Credits. **Instance Settings: small layout fixes**: In Personalization, Persona mode now comes before the Digital Twin Instructions, and in Voice the Greeting delay field uses the full width. **Copying a Digital Twin no longer repeats shared assistants**: When an administrator copies a Digital Twin, the assistants shared across the account are no longer copied. The copy still uses them, and they no longer appear several times in every Digital Twin of the account. **Files built by your Digital Twin open from their link**: When a conversation builds a file for you, the link Pria gives you now opens without asking you to sign in, as long as the file is public in Files (built files are public unless you make them private). A link typed with the owner id in capitals works too. **Built files keep their project folder in Files**: A file built in one project no longer shares a name with a file of the same name built in another project, so nothing gets overwritten or shown twice. Files shows the plain file name; the project folder is kept underneath. **"Save it in my Digital Twin's vault" is honoured**: If you ask a build to save its files in the vault of the Digital Twin you are talking to, and you are allowed to edit that twin's files, the files land there (every member of the twin can see them in Files). Otherwise they land in your own files, and the answer says where they went and why. A twin-vault file is listed by the twin but not yet read into its knowledge. **Security: only an administrator can change a Digital Twin's tools**: The list of tools the AI may use in a Digital Twin can now only be changed by an administrator who may edit that Digital Twin. Before, any member could change it through the API. **Tools you choose (personal accounts)**: If you use Pria without a Digital Twin, you now choose which tools the AI may use in your conversations. Open **Tools** in the chat's action menu, or **Settings > Tools** in the new interface. Pick a preset (None, Minimal, Media for images, video and audio, Builder for editing files, PDFs and web pages, or All), or switch tools on and off one by one, with a search box, category filters and a "Show only enabled tools" filter. Fewer tools make every answer lighter, faster and cheaper in credits. Until you choose, your account uses the recommended set (Minimal: your files, the web, and saving a file), plus the Google and Microsoft services you have already connected; other Google and Microsoft tools, and tools added later, stay off until you switch them on. In a Digital Twin, the tools stay set by its administrator; an administrator who may edit the Digital Twin finds them under **Tools** in the chat's action menu too. **Voice conversations are lighter**: A voice conversation now offers the AI only the tools made for voice, so each spoken turn carries less text. **A Digital Twin that ignores personal files ignores personal memory too**: When **Ignore user personal vault** is on in a Digital Twin's settings, the Digital Twin now also leaves out what members saved in their personal memory, in chat, voice and avatar conversations. It answers from its own instructions and knowledge, so every member gets the same Digital Twin. It does not save new personal memory either. Its shared memory still works, and members' saved memory is kept for their other conversations. **Tools lists show only what a Digital Twin can use**: The Tools list in a Digital Twin's settings, and in the admin editor, no longer shows tools whose feature is off for that Digital Twin (for example long-term memory, CRM, plan scoring, the meeting bot, or Google and Microsoft services that are not enabled for users). A line says which features hide tools. The AI is no longer told about those tools either, so every conversation carries less text. **A searchable Tools list in the admin editor**: The Tools section of the admin editor now lists tools like Instance Settings does, with a search by name, category filters and more tools loading as you scroll. **A Digital Twin edits the files it made**: A Digital Twin that ignores members' personal files can now find, read and edit the files it saved itself, so a request to change a page it built changes that page instead of rebuilding it. When a file is somewhere the Digital Twin cannot open (another Digital Twin, the Trash), it says where instead of recreating it. It also no longer replaces a whole file it has not read first, even when you name the file: it reads it, then changes only what you asked. In a voice conversation it changes an existing file part by part, or saves a new one, instead of replacing it whole. **Tool categories you can filter on**: Every tool now has one clear category (Knowledge, Research, Documents, Creative, Memory, Assistants, Connections, Learning, Communication, Meetings, Scoring), so the category filters in the Tools lists find every tool. **Meeting speech-input recovery**: Meeting avatars now retry a failed microphone start and resume suspended audio capture. This addresses one possible reason a Digital Twin misses spoken prompts in Google Meet. **Less silence on the first meeting reply**: A twin can prepare its conversation context before being addressed and give a generated acknowledgement while an expensive first reply is being prepared. A brief grace period protects a reply that has not started playing, without preventing interruption once the twin is speaking. **Clearer meeting-platform limits**: Meeting avatars validate supported Zoom, Google Meet, Microsoft Teams and Webex links before trying to join. Slack Huddles and GoTo links are explicitly refused for interactive avatars rather than accepted for a connection that cannot provide the promised experience. Teams and Webex live checks remain pending. **Security: you can only act on a Digital Twin you belong to**: Creating an assistant in a Digital Twin, moving an assistant or a twin answer into another one, reading a twin's variables and editing them now all check that you belong to that Digital Twin. Editing a variable only ever touches the variables of your own Digital Twin. Update requests that try to change protected fields through database operators are refused. Editing an assistant, a twin answer, a variable or an AI model now writes only that item's own fields: the owner, the creation date and, for AI models, the server-measured data cannot be set from a request, an unknown value for a fixed-choice field is refused, and moving an AI model or a variable into another Digital Twin requires the right to edit that twin. **Security: a lowered account type takes effect at once**: When an administrator lowers someone's account type, that person is signed out and signs in again with the new rights. Before, the old rights could stay active until the session expired. **Files: "select all" and the file counters follow the same rule as the list**: Selecting all files in a collection, and counting the files of a collection, now answer only for a collection you are allowed to open. **Admin: AI models list honours a filter on several Digital Twins**: Filtering the AI models list, or its export, on more than one Digital Twin now returns the models of all of them. **Security incidents: withheld history says so**: When the conversation history of an incident is in a Digital Twin where you are not allowed to read history, the panel now says so instead of "No history records found". **Files: the AI sees your vault, not your disk**: When the AI lists or searches your files, it now sees exactly the files in your vault: nothing from the Trash, nothing that was already deleted, and no leftover copies. Every file tool the AI uses applies the same access rule as the rest of Pria: a confidential file of another member is never opened, edited or rendered, and a file shared across the Digital Twins of your account can be opened when it is listed. Knowledge switched to Disabled now closes the vault to the AI entirely for that conversation, and the AI says so instead of half-working; a build in a project workspace keeps its tools. **Admin: stricter Digital Twin checks on lists, charts and files**: The Digital Twin and account filters on the admin lists, exports and analytics charts now accept only a text list of ids, and any other form is refused with an error. Analytics charts, for conversations and for sessions, are cached separately for each administrator's own scope. The conversation history attached to a security incident now shows only the Digital Twins where you are allowed to read history. The file list, its "select all", the collections list and the vault health panel now check that you belong to the Digital Twin you ask for. The file details page opened from a citation now shows a file only to someone who may read it: its owner, a member of the Digital Twin that holds it, or anyone when the file is public. A confidential file stays with its owner. **Background workers finish when they reach their tool budget**: A background worker that reached its tool budget in the middle of a batch of tool calls on an OpenAI model now writes its result from what it gathered, instead of failing without an answer. **Verify who a connector call is for**: A new [Verified identity](/mdx/integrations/mcp/verified-identity) page gives MCP partners the complete contract for the signed identity headers a Digital Twin sends to their connector: every header, the signing rule, ready-to-paste Node and Python verifiers, and a worked example to test against. It also explains which of the twin's two MCP secrets to verify with. The MCP Server pages now link to it, and note that a twin's voice turns may run on a different conversation model than its text turns. **Page instructions get a spoken answer**: When the page that embeds an Anam Digital Twin sends it an instruction, the twin now answers aloud, including before the learner has said anything or right after the greeting. The page is also told truthfully whether the twin replied. **Fill the box in immersive view**: A new Anam avatar setting, **Fill the box in immersive view**, makes the avatar video fill its box edge to edge in immersive view and in embedded twins, cropping the sides or the top and bottom, instead of showing the whole frame with a blurred border. It is off by default, so nothing changes until an administrator turns it on. For a tall, narrow box, also try **Portrait avatar on the web app**. **Tool-heavy answers finish with an answer**: When a reply uses many tools and reaches its tool budget, the Digital Twin now writes the answer from what it has gathered, listing anything it could not find under "Not found". If it still cannot compose one, the reply ends with an honest line saying how many tool calls ran and inviting you to ask it to continue. Replies no longer trail off in "let me search…". **A rejected tool call shows as failed**: When a tool (a Drive lookup, a web search, a connector) answers with an error, the reply's tool details now mark that call as failed instead of successful. **No claimed actions without a tool**: The Digital Twin no longer says it logged, saved, updated or sent something unless a tool actually did so in that reply, and no longer promises to do "next" what it could do now. In a continuing conversation it also skips its opening greeting and status line and answers directly. **See where an answer was cut off**: The conversation InfoCard on the classic interface and the usage card on the 2026 interface show a line such as "Cut off after 20/20 tool calls" whenever a tool budget or a length limit ended the reply. **Admin: Budget and Claims columns**: In Admin › Histories, the Records list gains two Details columns. **Budget** says why a tool-heavy answer stopped early; **Claims** flags replies that state an action no tool performed, so they can be reviewed. Both have filter boxes. **Admin: Tool calls per answer (cap)**: A new setting on the Tools section of the Digital Twin editor caps how many tool calls one answer may make before the twin must write the answer. Leave it at 0 for the platform default of 20; a twin can only lower the platform cap. **The twin card's info button works from the keyboard**: On the Digital Twin gallery, the small "i" on each card is a real button now: it takes focus, opens on Enter or Space, and screen readers announce it as "More information". The browser warning about a focused hidden element is gone. **Manage Memory moved under the memory switches**: In the action menu's Knowledge → Memory section, **Manage Memory…** now sits beneath **Enable User Memory** and **Enable Long-term Memory** — the switches first, then the door to what they govern. **The Favorites count updates when you star**: The number on the ★ Favorites filter in the Assistants gallery now changes the moment you star or un-star an assistant, instead of after the next reload. **Assistant tab counts show enabled of total**: Each scope tab in the Assistants gallery now reads "10/12" when two of its twelve assistants are switched off for the twin (a plain "12" when none are), on the Personal, twin, account and System tabs alike. The Show disabled filter reveals the cards without changing the numbers. **Cloning keeps your own role on the clone**: When you clone a Digital Twin, the membership and entitlements you hold on the original are mirrored onto the clone — yours only, no other administrator's. Twin administrators no longer need someone to grant them access to the twin they just created. **Move your own assistants back to Personal**: In the Assistants gallery, an administrator can drag an assistant they own from the twin or account tab back onto **Personal** (or pick **Move to Personal** from its ⋮ menu) to stop sharing it. Assistants owned by someone else cannot be taken back to Personal. **Account tab count matches its cards**: The Account tab listed only this twin's account-shared assistants (and could list them twice) while its count included every twin under the account. The tab lists all of them again. **Assistant cards highlight like Vault cards**: Cards no longer grow on hover; they show a blue border on hover and focus, the same as files in the Vault. **"New Conversation" is always a favorite**: The built-in New Conversation assistant is pinned as a favorite for every user and twin, so it is always in the conversation action menu and the sidebar favorites. Its star cannot be removed. **The gallery's Configure button is gone**: Administrators enable and disable assistants right on the cards now, so the button that opened Instance Settings → Assistants was redundant. That checklist is still available from Instance Settings. **Fixed: the Assistants gallery crashed on open**: Opening Manage Assistants could show an error page instead of the gallery. It opens normally again. **Cloned twins get their own guest link**: Cloning a Digital Twin no longer copies the Convo Web Access Link. The original and the clone never share a guest link, and saving the clone no longer fails because of it. The clone gets its own link, derived from the original's; change it under Real-Time Combo → Convo Web Access Link. **Unpublished assistants stay out of the switcher**: An assistant that is still unpublished no longer appears in the Convo Mode assistant switcher, or in any assistant list except its author's, whatever the "Allow switching assistant in Convo Mode" setting says. **The "Inactive" assistant status is retired**: Assistants have two working states, **Active** and **Unpublished**. The old "Inactive" state could not be set from the editor for a long time and only lingered as a badge and a filter; any assistant still carrying it becomes Unpublished on the first start after the update. Nothing changes for active or deleted assistants. **The clone confirmation tells you the new guest link**: After cloning a Digital Twin, the success message names the clone's own guest address and reminds you to rename it and to review the integrations and assistants it inherited. A new admin-guide page, [Cloning a Digital Twin](/mdx/admin-guide/cloning), covers what a clone gets, what it does not, and what to review before sharing it. **Move assistants by drag-and-drop**: In the Assistants gallery, administrators can drag a card onto the twin tab or the account tab, or pick **Move to \<twin>** / **Move to \<account>** from its ⋮ menu, to share it at that level in one step. The card leaves the tab it came from and a short confirmation names the destination. Personal is never a drop target. **Enable or disable an assistant right on its card**: Twin administrators get an **Enabled** switch on every card and table row, plus **Disable in \<twin>** / **Enable in \<twin>** in the ⋮ menu. Disabled assistants dim and hide behind a **Show disabled** filter. The Configure checklist still works — and lists disabled assistants again, which it had stopped doing. **The Assistants gallery opens on your twin's tab**: The strip is now four scope tabs — Personal, your twin, your account, System. Inside a Digital Twin the gallery opens on the twin's tab (on Personal otherwise) and remembers the tab you pick. The All and Favorites tabs are gone; **★ Favorites** is a toolbar filter that narrows whichever tab you are on. **Stop works again**: Pressing Stop while a reply is streaming stops it, on both the classic and the 2026 interfaces. One failed Stop no longer disables every later one on the same tab. The "Retry Stop" notice on a request that was moved to the background now stops that request, and a tab left open for a long time keeps its Stop. **Less polling while a reply streams**: The client no longer re-checks the server every five seconds for a stop receipt that cannot exist. After three empty checks it waits thirty seconds before asking again. **Site links follow your published revision**: Site actions in chat results and the workspace now use the site's current published view instead of an older source-file URL. Private sites still offer the authorized editor rather than a public link; nothing is made public automatically. File actions are labeled **Open source** and **Copy source link**, and existing saved source links keep their original meaning. **Clearer site editing**: The site editor no longer labels its edit counter as a content version. Your unsaved site-settings choices survive a refresh, and links and controls stay with the right account and project. **Research starts and chat recovery stays with the right turn**: Corrects a pre-plan researcher startup failure and keeps the sidebar's worker list tied to the displayed request, so an earlier researcher does not appear as an extra current worker. When a completed reply's final connection is lost, chat can recover using exact server-confirmed completion evidence instead of trusting a connection event alone. This does not retroactively clear older stuck requests. **Clearer Stop notices**: A request that cannot be tracked no longer shows a misleading "Retry Stop" notice. Notices follow the 2026 interface styling, keep a readable sentence and an accessible Retry Stop button, and stay actionable when the status cannot be confirmed. **Check tasks off on your Projects boards — and ask your twin to**: Every card on a Projects board now has a check control. Tick it and the card is marked done where it sits, struck through — on a weekly planner it stays on its day, on a kanban board it also moves to **Done** (and dragging a card into Done marks it done; dragging it out re-opens it). **Hide completed** tucks finished cards away per board, and **Completed (N)** opens a list of everything you have finished on that board, with your notes and the date, and a **Re-open** button. Rolling a weekly planner to a new week now carries forward only the tasks still open. Your Digital Twin can do the same: "mark them both as done" checks the tasks off, "what are my tasks for today" lists only what is still open, and "what did I finish this week?" shows the completed ones. Removing a card is now a separate action from finishing it. **Your Digital Twin can now set up and reshape your Projects boards**: On Digital Twins where the CRM switch is on, Praxis Team members can ask their twin to create a board ("create a board for next week" builds a dated Monday–Sunday planner), rename it or move it in their board list, add, rename, reorder or remove lists on a kanban board, move a task between lists, and roll a weekly planner to another week — open tasks are carried forward to their due day or to the new Monday, never dropped. Weekly boards created from the **Projects** page are now dated by the server too, so the week is always right whatever your time zone. Cards the twin added carry a small **twin** chip so you can tell them from the ones you typed. Boards can be renamed or deleted from their tab, and a task with a date lands on that day of a weekly planner when you add it. **Choose how easily members can interrupt a Gemini voice**: A new **Interruption Sensitivity** setting in Instance Settings → Voice (and the admin twin editor) controls how readily a Gemini Live twin stops talking when a member speaks over it. **Low**, the existing behaviour and still the default, needs a clear voice before it yields, so classroom noise doesn't cut Pria off. **High** lets a member interrupt with a quiet word, the way Gemini behaves out of the box — the better choice for one-to-one headset conversations. Nothing changes for any twin until an admin switches it. **Convo Mode's "listening" light now works on Gemini voices**: When your Digital Twin runs on a Gemini Live voice model, the yellow highlight around the conversation control and the avatar — the one that shows Pria is hearing you — never lit up, even though your words were being transcribed correctly. The indicator now follows your microphone directly instead of waiting for the transcript to come back from the server, so it lights the moment you start speaking and clears when you stop, exactly as it does on the other voice providers. Muting still shows red, and the twin's own speech still shows green. **No "save to search" offer when a build produced nothing**: When a build finishes without creating any files, the Done panel no longer asks whether to add them to search — there is nothing to add. Until now it showed "No files were generated" directly above an offer to index "0 build artifacts", and choosing either answer recorded a decision that did nothing and then left the panel reading "Saved to search ✓ (0)" permanently. Builds that do produce files are unchanged, and a decision you already made on one of those is still remembered. **A build receipt no longer appears without the request that made it**: Asking for work to be handed to a subagent directly could leave a stray "Done — your project is ready" panel in the conversation with no question above it. That panel was attached to an internal record that carries the build's state rather than to anything you typed, so it could never show your request. Those internal records are now kept out of the conversation entirely; your request and its answer appear as a normal exchange. Your files are unaffected and remain in the vault folder the build wrote them to. **Your twin answers honestly about what it is**: When someone asks a Digital Twin whether it is a person, an AI, or conscious, it now says plainly what it is — in its own voice, without claiming feelings or inner experience it does not have — and then carries on in character. It also stops retreating to "as an AI I don't have opinions" on questions of taste, judgement or preference, and answers the way its character would. Twins that stay in character (persona mode) go further: on questions of meaning, values, feelings, hope and freedom they speak from the stance their instructions establish, and where their instructions are silent they decline the way their character would rather than switching into a neutral disclaimer. Nothing about safety behaviour changes, and a twin will always tell someone it is a digital twin when asked. **A twin given instructions for the first time starts in character**: Writing a Digital Twin's instructions is how you give it a character, so a twin that receives its instructions for the first time — in Instance Settings › Personality › **Digital Twin Instructions**, or from the admin console — now starts with persona mode already on, instead of needing the switch beneath it found and turned on separately afterwards. Existing twins that already had instructions, and whose persona mode had never been set either way, were switched on too. A twin whose persona mode was deliberately turned off stays off, and twins with only a few lines of instructions were left alone. **A website can guide a live conversation (SDK)**: A page that embeds your Digital Twin can now speak into a conversation that is already running — either as the learner, or as the page itself guiding what the twin says next, for example when someone opens a particular lesson. Guiding the twin is off until you allow it: **Let the embedding page guide live conversations**, in the instance settings beside the transcript sharing switch. Only the page your twin is embedded in can do it, and those turns are billed like any other. The page can also choose the twin's opening line, or skip the greeting, and is told when a conversation is ready to be spoken into instead of having to guess. **Typed messages reach avatar twins**: In the classic interface, typing a message during a voice conversation with an avatar twin (Anam or Cartesia) did nothing — the box cleared and the message was never sent. Typed messages now reach the twin on every provider and are treated exactly like speaking them out loud. **Importing users never edits an existing account**: When you import a list of users (Admin › Users › Import) and an email already belongs to an account, the import only adds that person to your Digital Twin, with the role chosen in the import. Their account type is raised if the import asks for a higher one and is never lowered. Everything else on the account stays as it is: credits, status, plan, the Digital Twin they currently use, their name, password and MFA. Admin › Users lists people by the Digital Twin they currently use, so an imported existing account appears in your list once the person switches to your twin. To change anything else, open the user in Admin › Users. **Tighter checks on editing accounts (admin)**: An administrator can edit an account only on a Digital Twin they manage: the one the account currently uses, and any twin they move it to. **Subagents are now a personal choice (classic UI)**: An administrator authorizes subagents for a Digital Twin (Instance Settings › Subagents, or the admin editor) and can restrict them to admins with the new **Admins only** switch. Once authorized, every member sees **Subagents** in the chat **+** menu and turns it on for themselves — the choice is saved per twin on your membership. While it is on, a **mode control (Auto / Basic / Advanced / Expert / Mythical)** sits in the message box next to the Convo button so you can change how much autonomy Pria takes on each request; your pick is remembered. Members who have not turned it on keep single-agent conversations even when the twin allows subagents. The 2026 interface is unchanged. **Assistants stay within their Digital Twin**: A conversation can only run on an assistant you could pick from the Assistants list — a system assistant, your own personal assistants, the current twin's assistants, or an account-shared assistant from another twin on the same account. A request that names an assistant outside that set (for example one carried over from a previous twin, or an assistant that has since been deleted) now runs on the standard **New Conversation** assistant instead of failing or using the other twin's persona, and switching twins clears the voice assistant picked under the previous one. Earlier conversations that had been recorded against an out-of-scope or deleted assistant are now shown under New Conversation. **Subagent turns no longer block the chat (classic UI)**: when a request is being handled by subagents you can keep chatting. Sending a new message hands the running work to a "Still working" block above the conversation — with its live agent panel and a Stop — and your new message is answered right away. The subagent answer arrives as its own message when it finishes. Reloading the page brings the running work back as the same block. **Composer clean-up (classic UI)**: the red Stop button in the message box is gone — stop a streaming answer with the Abort control under the message, and end a voice session from the Convo controls. **Classic sidebar: Settings section removed**: The sidebar's collapsible Settings section duplicated the input **+** menu, and its collapsed header could show a stray "Instance" line beneath it. Instance and Personal settings live in the **+** menu (**Settings → Instance / Personal**); the account Privacy Policy now sits under **More**. **Subagent activity matches the classic transcript**: In the classic UI the subagent panel now reads like the other transcript rows — a round agents avatar, a **Subagents Details: (N)** summary you expand like Tool Details, and the same bordered body — instead of a separate card. The summary also shows the **mode** the request ran in (Auto, Basic, Advanced, Expert or Mythical) and, on hover, whether it came from your pick in the message box or your saved preference. **Subagents Details replays every step**: In the classic UI, expanding **Subagents Details** on a finished reply now shows the steps that produced it, in order — how the request was routed, which model orchestrated it, each subagent it started (with the task it was given and the agent's card right under it), what it collected and verified along the way, the synthesis, and the model that wrote the answer — instead of only the agent cards. **Subagents Details shows where the time went**: On new replies handled by subagents, the steps replay carries real timings — how long routing, orchestration and the final answer took, how many rounds the orchestrator ran and how much of its time was spent waiting on agents, a **Waited** line for each pause and which agent it waited for, how long each agent sat in the queue before starting, and the orchestrator's own narration lines under the Orchestrate step. Earlier conversations keep the step list without the timings. **Subagent efficiency (admin)**: The **Charts** tab of the Histories admin page gains a **Subagent efficiency** section for the last 31 days: for each model and mode, how many turns ran, how long they took, where the time went, and how many agents each turn used. Digital Twin admins see their own twin. **Conversation details expire after 180 days**: Your conversations stay complete for as long as you keep them — the question, Pria's answer, which models answered, and the usage and credits recorded. What is removed after 180 days is the working detail behind an answer: the full text of each tool call and its result, the transcripts of the subagents that worked on it, the passages retrieved from your vault, Pria's thinking and the memories it recalled. The rows that used to hold those details now say "Details expired after 180 days" and keep their counts (how many passages, tools or thinking rounds there were). Administrators see the cleanup routine's last runs on the System Health page (System → System Health → Cleanup): the nightly prune and the weekly storage-health pass. **System assistants can no longer be edited from the chat**: The chat **+** menu and **Manage Assistants** no longer offer **Edit** for a system assistant (one that comes with Pria and belongs to no user and no Digital Twin). **One usage breakdown per message**: The usage card's **Pricing** tab now lists every lane of the reply — the router hop, the orchestrator, the conversation model and each subagent — with tokens in/out, credits, tools and time on one table, and its total shows the credits billed. The separate Subagents tab and the "cheaper than a single premium-model pass" line are gone, and the classic Subagents Details row no longer repeats the receipt. **Sign in with Apple**: You can now sign in to Pria with your Apple ID — on the iOS app and on the web login page, where Apple sits beside Google, Microsoft, GitHub and Facebook. If you use Apple's "Hide My Email", Pria keeps working through Apple's private relay. If you already have a Pria account under the same email, signing in with Apple simply connects it; you do not get a second account. **Dragging a personal file to the Account vault now works**: Dropping a file or a collection from **My Files** onto the **Account** tab moved the counters as though it had worked, but the file never arrived and the counts snapped back a moment later. Account files live in your instance and are shared across the account, so the move now joins the file to your Digital Twin and shares it in one step. The same fix applies to the bulk **Move to Account** action and to whole collections, whose files follow the collection. **Edited file content appears immediately in the preview**: After **Edit Content** › **Save** on a text or Markdown file, the preview kept showing the version from before your edit until you closed and reopened it. It now repaints with what you just saved, while the file is re-indexed in the background as before. **Connector approvals inside delegated tasks**: When Pria hands work to one of her agents and that agent needs a connector tool you have set to require approval, it no longer simply goes without. The agent's card reads "waiting for your approval" and the request appears under that agent's activity, in both the classic and the new interface — approve or decline there, or from the pending list in another tab, and the agent carries straight on with the real result. An agent waits up to three minutes. A declined or timed-out call is shown as a failed step rather than a successful one, and the outcome is recorded on the saved message like any other approval. While a plan is building, answer from the waiting agent's own activity in the build panel; if Pria herself rather than one of her agents needs approval during a plan build, no card appears yet and that step waits out its three minutes without running. **Connector approvals stay in sync across tabs and after a reload**: A decision on a connector-tool approval card — **Approve**, **Approve for this conversation**, or **Deny** — now updates every open tab, not just the one where you decided: the card used to simply disappear the moment a decision landed, leaving other tabs (and a reloaded page) showing nothing and leaving you unsure whether the tool actually ran. It now shows the recorded outcome in place, with no buttons, wherever the card is open. The tier-upgrade suggestion pill is also now readable in classic dark mode, matching the fix already shipped for the approval card itself. **Connector approvals in xAI and Gemini Live voice conversations**: The last two voice modes that could not ask now do. When the twin needs approval to run a connector tool, the microphone pauses and the approval card appears — in the transcript, or over the conversation when you are in the compact bubble, the immersive view, or have transcripts turned off. Approve or decline there and the conversation carries on with the real result. In these two modes Pria cannot say the request out loud, so watch for the card; you have 45 seconds. **Approve for this conversation** is offered when the call is bound to a conversation thread, and if you hang up or reload while a request is waiting, it is cancelled and the tool does not run. **Connector approvals now work in voice conversations**: In an Anam or Cartesia voice conversation, a connector tool that needs approval no longer just fails to exist. Pria tells you out loud that she needs permission, names the tool and the connector, and puts the same Approve / Deny card in the live transcript — in both the classic and the new interface. Answer, and she carries on with the real result in the same breath. OpenAI Realtime conversations ask too, answered right in your browser (that one is not saved to your approval history, so it cannot be approved from another device). xAI Realtime and Gemini Live conversations do not offer approval-gated tools; their other connector tools now work there for the first time. ElevenLabs conversations will say the approval is not available in that channel and ask you to try again from the Pria chat. **Approve a connector tool before it runs**: Connectors with **Require approval** switched on used to hold their tools back entirely — the model was never told they existed. Now the model can ask: a card appears in the conversation naming the tool, the connector and exactly what it would run, with **Approve**, **Approve for this conversation** and **Deny**. Nothing runs until you decide, and the conversation carries on with the real result once you do. The card survives a page reload, a second tab and a second device, and the decision is recorded on the message so you can see later what you allowed. On OpenAI models using their built-in connector support, approval-gated calls used to fail silently — they now ask in the same way. Voice conversations do not show the card yet; there, tools that need approval are simply not offered. **MCP connectors work on every model with tool support**: A Digital Twin's connectors (Edit › Connector MCP and Tools) were only used when the conversation model was an OpenAI model; on Claude, Gemini, Mistral or Grok the connector was silently ignored. Pria now connects to the MCP server itself, so the same connectors work on every conversation model, in text chat and in Anam, Cartesia and ElevenLabs voice conversations. Tools run with the same per-server credentials and the same signed identity headers as before. Connectors with **Require approval** enabled now offer their tools too, gated by the approval prompt described above. **New interface no longer demands a course launch from a signed-in user**: On phones, and after a Google one-click sign-in inside a Canvas panel, the new interface could show "LMS context required" to someone who was already signed in on a personal account, where the classic interface simply showed the app. It now behaves like classic: that notice appears only when there is no signed-in session at all, and requiring Canvas authentication remains something enforced only on SDK launches from Canvas. **Long-term Memory is for everyone once it is on**: Switching Long-term Memory on for a Digital Twin, from Instance Settings, the action menu or the admin editor, now also sets **Admins only** off and the **Default Memory Mode** to Long-term Memory in the same save, so members get it immediately instead of inheriting the old admins-only, classic-mode defaults. Administrators can still narrow it afterwards. **Role Model Pins pick from the model catalog**: In Instance Settings › Tools, each subagent role (Planner, Designer, Coder, Tester, Writer, Researcher, Agentic Loop) is now chosen from the same model selector used elsewhere, listing only the models suited to that role, with **Default** keeping the platform default. No more typing model ids by hand. The Integration wizard's footer also fits on phones now. **Read-aloud voices match the speech model**: Choosing **Verse** or **Ballad** as the read-aloud voice on a twin using the default speech model made every Speak silently fall back to the browser voice, and the **Preview** button spun and played nothing: those two voices only exist on a newer speech model. The Read-aloud voice picker (Instance Settings, the admin editor and your own Playback voice) now lists only the voices your speech model can speak, adds **Fable**, **Nova** and **Onyx**, and flags a saved voice the model cannot speak as playing as Alloy. Preview shows a clear "Couldn't play" message on failure, and Speak now tells you when it had to use the browser voice instead of the natural one. The **Speech model** can now be chosen right there in Instance Settings › Voice, under the natural-voices switch and above the voice, so the two are set together. **Join a Digital Twin on your phone**: The "Join this Digital Twin" dialog now fills the screen on phones, with the twin's banner at the top, the About text scrolling in the middle, and **Cancel** / **Join Now** pinned at the bottom where your thumb is — instead of floating mid-screen above empty space. On tablets and desktops the dialog is unchanged. **Profile avatar aligned in the top bar on phones**: The profile picture (or the placeholder icon when you have no picture) at the top right of the classic interface sat slightly below and to the right of its white disc on phones, so the disc and its shadow looked offset. It is now centred. **Confirmation before lowering a platform administrator**: In Admin › Users, changing a platform administrator's account type to admin or user now opens a confirmation that spells out what will happen: platform-wide administration is removed and, on save, every one of their memberships is changed too (admin entitlements cleared when changing to user). Cancelling keeps the account as it was. **Public twin pages no longer ask visitors for Canvas authentication**: A Digital Twin that requires Canvas authentication for its Canvas launches could not be opened through its public web page (`/twins/<name>`): every visitor was refused with "Access to Canvas LMS requires a valid course Id". Canvas authentication is now enforced only on Canvas launches; a visitor arriving through the twin's public page is an anonymous guest with no Canvas course to validate and is let in as before. Canvas launches, and any attempt to use the guest entrance to sign in as a named Canvas user, are gated exactly as they were. **Embedded-avatar conversations are now recorded and billed like every other dialogue**: Conversations held through a Digital Twin's embedded avatar widget now appear in the twin's Histories, attributed to a visitor account created for that visit, with the credits each exchange used. Those credits follow the same rules as any conversation: the twin's pooled balance, automatic top-ups from the parent account, and any usage limits you have set (per user, per twin, or per 24 hours) all apply to embedded visitors, and the usage reports include them. Visitors who open the widget but never speak are cleaned up automatically. A new **Credit Audit** view under **Admin › System** shows, for every twin that pools credits, a daily check that the credits leaving its balance match the credit ledger, with a **Run yesterday** button to compute a day on demand. **Voice transcripts beside the avatar on larger screens**: In the classic interface, when a Digital Twin shows transcripts during a voice conversation, tablets, desktops and phones held sideways now place the transcript beside the avatar with the call controls and the message box directly under it, instead of stacking everything in one narrow column. On phones held upright the controls move to the bottom, within thumb reach. The avatar keeps its proportions at every size and with every voice provider. A new **Hide transcript** button collapses the transcript when you want to focus on the avatar; it comes back expanded on your next conversation. The transcript and the message box are now readable over any background picture, the transcript can be scrolled with the keyboard, and every control is reachable with Tab. **Digital Twin sign-in links now work while you're already signed in**: Opening a twin's sign-in link (a bookmark, an invitation) with a session still active used to leave you on the twin you last used and wrongly warn that you had no access to the one in the link. The link now takes you straight to that twin whenever you're a member, and the "No access" notice only appears when your account really isn't allowed in — and says whether the twin is closed to you or simply unavailable. Choosing **Log Out & Switch Account** from that notice now brings you back to that twin's sign-in page so you can sign in with the invited address. **Live voice transcripts for embedded twins**: A page that embeds a Digital Twin through the Pria SDK can now receive the conversation's transcript live — what the learner says and what the avatar answers, as it happens, for every voice provider — and build its own captions, notes or coaching views from it. It is off by default: the twin's administrator turns on **Share voice transcripts with the embedding page**, and the page asks for them when it loads the twin. Transcripts only ever go to the page hosting the twin. **Full-screen avatar appears the moment it connects**: Starting a voice conversation directly in the full-screen (immersive) avatar view could leave the avatar's picture hidden behind the placeholder image even though the call was already live — it only appeared once you started speaking or pressed the mute button. The live avatar now shows the instant its video arrives, so an immersive call looks connected as soon as it is. **Avatar greeting timing**: The avatar's introductory message now waits until its video, its audio, the session and the learner's microphone are all ready (at most five seconds after the first frame), so the opening line no longer lands on top of the connection. A new **Greeting delay (ms)** setting beside the introductory message (default 1000) controls the pause before it speaks. **Long-term Memory everywhere**: Long-term memory is now managed the same way in both interfaces. In the classic interface, **Manage Memory…** (from the action menu's **Knowledge** submenu) now opens with a **Long-term Memory** tab where you can browse, search, correct, forget and export everything your twin has stored — and choose whether it builds memories on its own or sticks to the facts you save by hand — beside the existing **User Memory** tab. In the new interface, the **+** menu's **Memory** section gains the same one-click **Enable Long-term Memory** switch platform administrators already had in the classic Knowledge submenu (read-only for Digital Twin administrators). See [Twin Memory](/mdx/user-guide/memory/twin-memory). **A reminder when files are waiting in your Trash**: A small notice now appears above the **+** action menu whenever your personal vault has files in the Trash, so nothing is permanently deleted without you noticing. It tells you how many files are there and how soon the oldest will be purged, and one click opens the Trash so you can restore anything you still need. Administrators with file-edit rights on their Digital Twin see the twin's Trash count too. Dismiss it and it stays quiet until something changes — a new file lands in the Trash, or a purge draws closer. **Change how long a file is kept, right from the preview**: The file-info panel beside the preview now shows a **Keep if unused** setting instead of a read-only date. Files that are still counting down let you pick a longer window or **Forever** on the spot, with the new "days left" reflected immediately. Files you have opened — previewing counts — or that Pria has used in a conversation are already kept for good, and the panel says so; files in the Trash show their purge date instead. **File info on phones no longer squeezes the preview**: On phones and small tablets, opening the file-info panel now slides it over the preview as a full-width sheet with its own Close button, instead of shrinking the document to a sliver beside it. The pin and enlarge controls stay where they were on larger screens. **Select all in Files → Trash now selects every trashed file**: Selecting all in the Trash tab was clearing the selection instead of selecting the files. It now selects every file in the Trash — including the ones not yet loaded — so Restore and Delete Permanently apply to all of them. **Files you use are kept for good — and unused ones get 90 days**: File longevity now works the way people expected it to. Your personal vault's default is **90 days** (up from 14), and a file only moves to the Trash if it has gone that long **without ever being used** — using it in a conversation, opening or previewing it, downloading it, or copying a share link all count. The first use is permanent: the file's countdown ends and its "days left" badge disappears, and it never comes back even if you re-include or restore the file. **Digital Twin vaults now keep files forever by default** (0 days), so a twin's knowledge base no longer thins out on its own. Uploading with a countdown shows an amber warning so you can pick a longer window or Forever on the spot. Existing files were brought in line: everyone's 14-day default became 90, files still on the 14-day window gained the extra time, and every file that had already been used was set to forever — and files the old rule had moved to the Trash were restored. **Memory row — see what your twin remembered and what it saved**: Whenever an exchange touches your Digital Twin's long-term memory, the answer now carries a single **Memory** row — the same expandable style as the Search Results row — listing every memory involved, each tagged with what happened to it: **Recalled** (brought back to shape the answer, with how it was found), **Saved**, **Updated** or **Forgotten**. Expand a memory to read what Pria remembered; a memory you marked as confidential asks for a second click before it is shown, and one you have since deleted says so. Administrators who prefer a quieter transcript can hide the recalled memories with the new **Display Memory Details** setting (on by default) in the Digital Twin's **Twin Memory** section or in **Instance Settings → Knowledge**; memories keep working either way, and anything Pria saves, updates or forgets always stays visible. This replaces the earlier one-line memory badge. **Turn on long-term memory from Instance Settings**: The **Knowledge** tab of Instance Settings opens with a new **Long-term Memory** card so administrators can enable the feature and tune it without leaving the product — restrict it to admins while evaluating, choose the default memory mode for new conversations, share memories across the Digital Twins in your account, and control whether recalled memories appear in the Memory row. Enabling the feature itself and account-wide sharing remain platform-administrator actions and show as read-only for other admins. Platform administrators also get a one-click **Enable Long-term Memory** toggle in the **+** action menu's **Knowledge → Memory** section, whose summary line now reports whether long-term memory is on for the current Digital Twin. **Claude Fable 5.1 — Anthropic's newest flagship model**: Claude Fable 5.1 is now available on both the Anthropic API and Amazon Bedrock, for conversation, image analysis, summarization and the agent roles (conductor, planner, coder, tester, writer). It keeps Fable 5's 1M-token context window and 128K-token responses, and its adaptive reasoning is always on — the model decides how much to think, and the Reasoning Effort setting steers depth from low to max. Prompt-cache reads are billed at 2.5% of the input price (versus 10% on other Claude models), so long, stable system prompts get markedly cheaper across a conversation. Like Fable 5 it carries the 30-day retention marker in the model selector. Select it in **Admin → AI Models** (the Bedrock variant requires the AWS account data-sharing opt-in plus a model-access agreement for this version; see the [Platform Models](/mdx/admin-guide/platform-models) guide). **Prevent Personal Account Creation**: A new instance setting lets administrators stop members from creating a personal Pria account for themselves. When it is on, the offer no longer appears for anyone working in that instance. Find it in your Digital Twin's settings beside **Prevent Switching to Other Instances**. See [Configuration](/mdx/admin-guide/configuration). **Jump straight to any setting in the admin panels**: Editing a Digital Twin, account, or user on a wide screen now shows a quick-access list down the right of each tab. It names every section in that tab, highlights the one you are looking at as you scroll, and jumps to any of them in one click — so finding a setting no longer means scrolling a long form end to end. It appears only where there is more than one section to list, and only on larger screens. **Guest twin links are easier to set up and cleaner to visit**: The **Convo Web Access Link** — the public `…/twins/your-name` address anyone can open without an account — now sits with the other Convo settings in your Digital Twin's **Realtime / Convo** section, and shows a scannable **QR code** beside the link for posters, badges, and screens. The visitor experience is tidier too: guests are no longer asked for their location, the page opens straight into the voice conversation instead of asking whether they want voice or text, and the duplicate close button that sat beside Logout is gone. See [Guest Twin Links](/mdx/integrations/web/guest-links). **Open an embedded twin with an assistant pre-selected (Web SDK)**: A new load option lets your embedding page open the Digital Twin in text mode with a chosen assistant already staged — the interface shows it as the pending choice, and the visitor's own first message is routed to it. Nothing is sent on their behalf. Works on text-only twins (voice not required); if the visitor switches assistants themselves, their pick always wins. See the [Web SDK guide](/mdx/integrations/web/introduction#assistant-pre-select-assistantid). **Twin Memory**: Your Digital Twin can now remember what matters across conversations, and shows you a receipt each time it saves something — click it to see exactly what was kept. Review, correct, export or permanently delete anything it remembers in **Settings → Memory**. It is additional: your existing User Memory and Shared Memory are unchanged and keep working alongside it. Availability is set per Digital Twin by your administrator. See [Twin Memory](/mdx/user-guide/memory/twin-memory). **August 2026** **Verified learner identity on external MCP tools**: When your Digital Twin calls one of your MCP connectors, the request now carries a signed, server-verified identity for the signed-in learner. That means partner tools can safely answer personal questions — a learner's own progress, quiz-result debriefs, tutoring observations — because the identity comes from the login session and can be independently verified by the partner's server, rather than from text the AI generated (which a crafted prompt could fake). Admins will find the new **MCP Signing Secret** on the institution edit screen next to the existing MCP Secret, with copy and regenerate controls: share it with your integration partner through a secure channel, and coordinate before regenerating — rotation takes effect immediately. Existing integrations keep working unchanged; connectors that don't verify identity simply ignore the extra information. **The Agents workspace now fits your phone**: The agents dashboard had been squeezing its chat into a sliver on small screens. The sidebar now collapses to a slim rail and expands the same way the conversations panel does — hover to peek on desktop, pin it open, or tap the edge handle on a phone — and it gets out of the way again once you pick an agent. The header reads **Agents › agent name** as a breadcrumb you can tap to reopen the agent list, replies use the full width of the screen, the message box sits centered beneath the conversation, and chat is now the landing view with **Remote Desktop** one tap away in the sidebar. **Shared twin pages fill the whole screen on iPhone**: Public twin links (guest access) no longer leave a colored band at the bottom of the screen on iPhones — the conversation now runs properly edge to edge in Safari and matches the twin's light or dark theme while the browser's toolbars come and go. **Autonomous Agent settings moved**: In the institution editor, the section formerly labeled "Agent" is now **Autonomous Agent** and sits directly below AI Behavior. The Realtime / Convo options were also regrouped: the kiosk-oriented toggles — Lock full-screen conversation and Start Immersive Mode by Default — each get their own row with their full descriptions visible. **Avatar calls no longer fail when an assistant isn't voice-enabled**: Starting an avatar conversation with an assistant active in your chat used to end the call with an error if that assistant wasn't enabled for Conversation Mode. The call now simply proceeds without the assistant (or with your institution's default voice assistant, if one is set). To have an assistant participate in voice, an admin enables "Available in Realtime / Convo" on it. **A dropped connection no longer cancels your Agent-Mode build**: If your network blips, your laptop sleeps, or a proxy times out while an agent build is running, the work now continues on the server and the finished result is saved to the conversation — you'll see it the next time you open that chat. Long-running builds are bounded by a server-side time limit, and an explicit Stop still cancels immediately. For API users: closing the streaming connection no longer cancels the request; use the documented abort endpoint to cancel explicitly. **Cheaper Agent-Mode turns on Kimi models**: The Kimi models that power coding and planning work in Agent Mode now pass Moonshot's automatic prompt-caching savings through to you on every turn: input the model has already read is billed at a tenth of the full input price. Long multi-step build turns, where the model re-reads its accumulated context on every step, get the biggest reduction — the measured build turn cost roughly a third of its former price. **Duplicate submissions are now caught**: If the same question is accidentally sent again to a conversation while the first submission is still working (a double-click, a reflexive retry after a slow turn), Pria now recognizes it and points you back to the answer already in progress instead of starting a second run — and a second bill. **Conversation Mode works from the new chat landing on every twin**: The "Tap to start talking" button now starts Conversation Mode correctly on twins without an avatar — you'll get the microphone permission prompt and go straight into the voice session. **Quicker conversation renaming**: Hover the conversation name at the top of your dialogue history to reveal a pencil and rename it in place. In the side tray, the conversation menu no longer overlaps the dialogue count. **Cleaner pricing view**: The Dialogue Report Card's **Pricing** tab shows the itemized bill — every lane, model, tokens, and credits — while the explanation of how pricing is calculated now lives in the [Plans & Credits](/mdx/introduction/plans-and-credits) guide, including the new Single-Shot and Subagent pricing sections. **Keep a conversation in full screen (admins)**: A new **Lock full-screen conversation** setting in your Digital Twin's Voice settings keeps people in the full-screen avatar view for the whole conversation. The collapse button and the Escape key are turned off, and ending the call is the only way out — so a learner in a kiosk or an embedded interview can't accidentally land back in the chat interface mid-session. Starting, ending and muting the call work exactly as before, and the setting is off by default, so nothing changes unless you turn it on. **Gemini 3.7 Flash available**: Google's newest Flash model (`gemini-3.7-flash`) is now selectable everywhere Gemini 3.6 Flash is — conversation, image and video analysis, summaries, and the meeting/web assistant roles. Built for coding and multi-step agentic work, with the same 1M-token context window and introductory pricing at half the standard rate through the end of 2026. **Grok 4.6 now available**: xAI's new flagship model, `grok-4.6`, can now be selected for Conversation, Image Analysis, and Summary. It keeps the 500K-token context window, image understanding, tool use, and pricing of Grok 4.5, and adds a deeper reasoning tier: setting your Digital Twin's Reasoning Effort to "max" now unlocks the model's highest thinking level instead of stopping at "high". Prompt caching stays automatic, and long-context turns are billed at the standard rate until a prompt actually crosses 200K tokens. **Text size controls now resize your conversation**: The Smaller/Larger controls in the chat actions menu previously changed some interface elements but left the actual conversation text untouched — which made them feel broken. They now scale your messages, the reply text, and the typing area together, and Pria also respects the text size you've set in your browser's own accessibility settings. Your choice is remembered between visits. **Jump-to-latest is easier to find**: The double-chevron that scrolls you to the latest message now floats just above the typing area instead of hiding at the bottom edge of the screen, at any input height. **Google tools no longer disappear after saving instance settings**: Fixed an issue where saving a Digital Twin's settings — even for something unrelated — could silently switch off Google integrations (Gmail, Drive, Docs, Calendar) for every user of that twin. Affected twins have been restored, and the Google Workspace "Enable Access" toggle now correctly reflects whether the integration is active. If your assistant recently told you a Google tool was "disabled," try again — reconnecting takes one Google sign-in prompt at most. **Branded sign-in links now say when an account has no access**: A branded login link (the "Convo Web Access" / invite URLs) paints the Digital Twin's login page, but signing in with an account that was never given access used to silently drop you on your default assistant with no explanation — which read as "the twin disappeared". Pria now tells you directly: a dialog names the twin from your link, shows which account you signed in with and where you actually landed, and offers **Log Out & Switch Account** so you can sign back in with the invited email address. Signing in with an account that has access — or as a platform administrator — now also switches you straight onto the branded twin. **Persona mode is now standard**: Persona mode has graduated from its experimental phase — the "(Experimental)" tag is gone from the twin settings, and **newly created Digital Twins now start with persona mode on**, so a new twin speaks as its character from the first conversation: capability and help questions are answered in its own voice, without platform guides or tool lists. Existing twins are untouched — whatever you have set today stays exactly as it is, and the toggle remains available either way. **Lock an API key to specific sources (admins)**: A personal API key can now list exactly which sources are allowed to use it — server addresses (like `52.206.211.0/24` or a single IP) and/or web addresses (like `https://app.example.com` or `*.example.com`). Leave the list empty and nothing changes; your existing keys keep working exactly as before. Start with **warning mode**, where Pria records what *would* have been blocked so you can confirm the list is complete, then switch enforcement on. Keys are also easier to audit now: the "Recent device usage" list shows the actual tool that connected (for example `curl 8.19.0` or `node`) instead of "Unknown client". **Pria no longer goes blank in privacy-hardened browsers or embedded views**: On browsers that block site data or lack certain features — strict privacy settings, some mobile and LMS embedded views — opening Pria could show an empty page: the navigation bar, the admin console, voice mode, shared file and conversation links, and the sign-in redirect were all affected. Every one of these now loads normally; at most a cosmetic preference (like your dark-mode choice persisting between visits) is skipped. Text-to-speech controls likewise no longer break pages on browsers without a built-in speech engine. Behind the scenes, Pria also now reports these rare client-side errors automatically, so problems in the field get found and fixed without waiting for user reports. **No more blank screens after an update**: If part of the app fails to load — most often right after Pria is updated while you still have an older tab open — the page no longer goes blank. Pria now retries automatically behind the scenes, and if the content really can't load it shows a clear "Pria has been updated" message with a Reload button instead of an empty screen. Nothing reloads without you choosing it. **Digital Twin video no longer gets stuck on "Loading video..."**: Launching a twin in Immersive mode could occasionally sit on the loading spinner forever, with stopping and restarting the twin as the only way out. The video connection now recovers on its own (it retries once automatically), and if it genuinely can't start you get a clear "The video failed to load" message with a Restart button — plus connection errors are no longer hidden behind the auto-hiding controls in Immersive mode. **Class Leaderboard (LXP)**: Every class now has its own leaderboard, next to the Syllabus and Gradebook — learners ranked by the points and skills they earned in that class only, not across the whole product. Open it from the class card menu on My Classes or from Analytics → Class Reports. Available in every language your site is translated into. **Grades now reach your LMS gradebook reliably (LXP)**: When classes are taken through an LMS (Canvas, D2L and others), completed work now reports its grade the moment a student opens the assignment — previously, work finished outside that exact assignment session could silently never reach the LMS gradebook. Administrators also get a **Resend grade** button to push any learner's current grade to the LMS on demand, with the LMS's actual response shown so nothing fails silently. **New in Analytics: LTI Grades (LXP)**: A product-scoped view of every grade exchanged with your LMS — search by learner, filter active vs completed records, hide records with no delivered grade, set how many rows to load, and export the filtered list to Excel. Administrators can resend any grade from the same screen. **New in Analytics: Class Reports (LXP)**: One page listing every class in a product with the numbers that matter — learners, how many completed, average grade, who hasn't started, inactive members, and last activity — with one-click access to each class's Gradebook and Class Report. **A clearer Analytics menu (LXP)**: The reporting menu is reorganized by what each page is about — Product, Skills, Classes, Journeys, Learners, and Integrations — instead of the old mixed groupings, and naming is now consistent: what were variously called courses or lessons are **Skills** everywhere. Menu labels remain customizable per customer, and existing translations are preserved. **Sign in with Google lands you in the right place (LXP)**: Signing in with Google could open your account on the wrong customer/product context — class user lists, lesson lists, and admin pages then looked empty, and your profile picture disappeared. Google sign-in now lands on the same profile a password sign-in would (your most recently used one), with everything attached. If you saw empty lists after a Google sign-in, simply sign in again. **Impersonate a learner straight from the user list (LXP)**: Administrators can now start impersonating someone directly from **Manage Users** — the row menu gains an **Impersonate** action, so there is no need to go to the profile screen first. It appears only on users you are permitted to impersonate, and asks for confirmation before switching, because signing in as someone else means logging in again to get back to your own account. **Find the right person to impersonate without switching roles first (LXP)**: The impersonation screen gains a **role selector**, so administrators who manage several roles can search any of them without leaving the page, selecting a profile, and coming back. Choosing someone in another role now happens in a single step. **Clearer profile cards (LXP)**: On the profile chooser, each card now shows **Customer / Product** so it is obvious which account a profile belongs to, and partner groups are listed alphabetically instead of in an internal order that looked random. Choosing a profile is now done with the **Select** button only — clicking anywhere on the card no longer switches profile, which removes the ambiguity with the card's other controls. The delete control moved to the top-right corner as a clearly visible icon, where it no longer overlaps the buttons. **Files can now expire automatically when unused**: You can set a **file longevity** — how many days a file is kept without being used in a conversation before it moves to the Trash. Set your personal default on your profile, and (for Digital Twin admins) a separate default per twin under the twin's settings; both default to 14 days, and 0 keeps files forever. Only files that are actually included in AI search count down, and every time Pria uses a file to answer a question its clock resets — so files you rely on stay put, and forgotten ones clean themselves up. Files show a small "days left" badge as they approach expiry, you can bulk-**extend** selected files (+7/+30/+90 days or keep forever) or set a specific file to forever from its preview, and expired files land in the Trash (restorable for 30 days) rather than disappearing. **Every file already in your vault is unaffected** — longevity only applies to files uploaded from now on. **Deleted files now go to a Trash Can**: Deleting a file — one at a time, in bulk, or by deleting a collection — no longer removes it immediately. It moves to a new **Trash** view in your Files vault, where it stays for 30 days and can be restored with one click. Restored files come back exactly as they were, including whether they were included in AI search. While in the Trash a file is hidden everywhere: it does not appear in your vault, in collection downloads, in the Knowledge Tree, and Pria will not use it to answer questions. After 30 days it is permanently deleted, and you can empty the Trash yourself at any time to reclaim space sooner. **Deactivating a customer account now fully disables its Digital Twins**: When a Praxis administrator marks a customer account inactive, every Digital Twin under that account immediately stops accepting new sign-ins and API activity across all channels — web, SDK embeds, LMS/LTI launches, MCP connections, avatar embeds, and content curation. Users who are members of other, still-active twins are guided to switch profiles rather than being signed out. Reactivating the account restores access within seconds, with no per-twin changes needed. **AI-curated reading is live again, now powered by Pria (LXP)**: The recommended-articles carousel on courses and mission briefs stopped refreshing in December 2025 when the third-party service behind it was retired, leaving the same stale articles in place. Curation now runs on Pria's own search, refreshed daily, and every suggested link is checked to be reachable before it is shown — no more dead links in the carousel. Existing articles were kept, so nothing you had disappears; new ones simply appear alongside them. Search terms are now stored in the LXP itself and can be edited per briefing under **Manage Briefings**, where previously they lived with the outside vendor and could not be reviewed. Where no terms have been set yet, they are suggested automatically from the course's own skills and topics. To keep things current without wasted effort, only briefings attached to a course someone has opened in the last week are refreshed; a course that goes quiet keeps its existing articles and resumes refreshing as soon as a learner returns. **Email delivery restored (LXP)**: Fixed a long-standing issue where system emails — password resets, activation links, enrollment notifications, instructor messages, and reminders — were not being delivered. If you requested a password reset in the past and no email arrived, it will work now. **Expired lessons can now be un-expired (LXP)**: If a lesson showed **Expired** on a course that is not subscription-based, the **Extend** button silently did nothing — there was no subscription period to extend, and no way to clear the stale date. Extend now removes the expiry on courses that do not expire, so the lesson opens normally again, and the confirmation wording reflects what will actually happen instead of offering to "extend by 0 days". Existing affected enrollments have been corrected, so anyone who hit this should find it resolved without doing anything. **Bulk "Extend subscription" now updates the right enrollments (LXP)**: In Course admin, extending a subscription for several selected learners at once could write the new expiry date against unrelated enrollments while leaving the selected learners unchanged. It now updates exactly the chosen learners on the chosen course, and reports how many were updated and how many were skipped because they are not enrolled. **Tidier archive for busy accounts on My Cohorts (LXP)**: If your archived cohorts span more than ten partner/program groups, the Archived section now opens as a compact index — every group heading and count visible, tiles tucked away until you expand a group with its checkbox. Searching still finds everything: while a search of three or more characters is active it looks inside collapsed (and unticked) groups too, revealing any match — the group checkboxes grey out to show search is temporarily in charge, and your expand/collapse choices return untouched when the search is cleared. **My Progress page loads dramatically faster (LXP)**: Opening My Progress (competency scores and learning-resource statistics) previously re-computed data for every profile you hold, even though only the selected profile is shown. It now loads just the profile you're viewing — on multi-profile accounts the page went from about five seconds to well under one. **Find any cohort fast on My Cohorts (LXP)**: The My Cohorts page gains a search bar under the welcome message. Type three or more characters to filter your cohorts live by cohort name, partner, or program — no page reload — with checkboxes to include or exclude active and archived cohorts, a running match count, and a clear "no cohorts match" notice when nothing fits. Reordering tiles by drag-and-drop pauses while a filter is narrowing the list, so a hidden tile can never be shuffled out of place unseen. **Archived cohorts grouped by partner and program (LXP)**: The Archived section of My Cohorts now groups your past cohorts under partner/program headings with a count per group, so it is obvious at a glance where each archived cohort belongs. Each group has its own checkbox to collapse or expand it, and the search filters inside groups too. **Duplicate cohort tiles fixed (LXP)**: If you belonged to the same cohort through more than one enrollment, My Cohorts could show that cohort twice. Each cohort now appears exactly once. **Archived cohort hover glitch fixed (LXP)**: In the Light and Space themes, hovering over an archived cohort made its outline vanish into the background. The outline now stays visible while hovering. **July 2026** **Cleaner top bar on small screens**: On phone-width windows the top navigation bar now hides the credits counter and the light/dark theme toggle so navigation buttons have room to breathe — especially alongside the Agent button on agent-enabled Digital Twins. Nothing is lost: "Add Credits" stays in the profile menu, joined by a new **Theme** entry that switches between light and dark mode at any screen size (it flips instantly and the menu stays open so you can see the change). The Agent Desktop button also now appears only while an agent-enabled Digital Twin is selected — it no longer shows on personal accounts. **Kimi K3 available (RunPod)**: Moonshot AI's flagship Kimi K3 (`kimi-k3`) can now be selected as a conversation model, served through RunPod. It brings a 1M-token context window, native tool calling for agentic multi-turn work, and always-on reasoning. Add your RunPod API key to your Digital Twin to enable it. **Integration wizard**: Generate ready-to-use embed code for your Digital Twin without writing a line of it. Pick where the twin will run — Canvas LMS theme, a plain web page, a React app, or a Python-served site — configure the widget visually (position on screen, button size, full-screen, auto-open, start-in-Convo, and more, with a live preview), and copy or download the finished file. Visitor mode generates code that works instantly, giving each visitor a reusable guest identity that is cleaned up automatically when dormant; or switch it off to plug in your own sign-in. Find it under Instance Settings → Integration, or via the Integration button on the admin Instances list (which replaces the old per-row SDK copy buttons). The wizard also offers a **Claude (LLM instructions)** target — a drop-in CLAUDE.md that teaches Claude to drive your twin through the REST API and Swagger — and an **Avatar widget** target that generates the two-tag talking-avatar embed for any website (theme, launcher or inline mode, and microphone behaviour configurable; requires avatar embed to be enabled on the twin). **Voice-first login — Start Immersive Mode by Default**: Instance owners can launch visitors straight into the immersive voice conversation after sign-in — including one-click Google/GitHub/Facebook logins, SDK embeds, Canvas, and public twin pages. Turn it on in Instance Settings → Voice → "Start Immersive Mode by Default" (also in the admin instance editor). Visitors see a tap-to-start screen with the twin's avatar (the tap is what grants microphone access — nothing is heard or billed before it) and can exit to the classic chat at any point; with the switch on, the next sign-in starts in the voice conversation again. Full-screen behaviour follows the existing Avatar Fullscreen setting. Digital Twins with a public guest page had it turned on automatically, so their visitors' voice-first experience is unchanged. **Resume-workspace errors no longer vanish**: If resuming a sleeping Agent Desktop workspace failed, the error message could disappear immediately, leaving no indication of what went wrong. The message now stays visible so you can read it and retry. **Gemini 3.6 Flash available**: Google's Gemini 3.6 Flash (`gemini-3.6-flash`) is now selectable everywhere Gemini 3.5 Flash is — conversation, image and video analysis, summaries, and the meeting/web assistant roles. Same intelligence tier with noticeably faster responses and lower output cost. **Claude Opus 5 available**: Anthropic's new Claude Opus 5 can now be selected on both the Anthropic Direct API (`claude-opus-5`) and Amazon Bedrock (`global.anthropic.claude-opus-5`) for Conversation, Image Analysis, and Summary. Same price as Opus 4.8 with a 1M-token context window, 128K output, and reasoning that adapts automatically to the task. Note for Bedrock: your AWS account must have model access to Claude Opus 5 enabled in the Bedrock console before the Bedrock variant will respond. **Mistral's 2026 lineup added**: Four new Mistral models are now selectable. `mistral-small-2603` (Small 4) brings reasoning, image understanding, and tool use in one very affordable model with a 256K-token context window, for Conversation, Image Analysis, and Summary. `devstral-2512` (Devstral 2) is a dedicated agentic-coding model, also with a 256K window. Audio transcription gains `voxtral-mini-2602` (Transcribe 2) with improved accuracy at lower cost, and content moderation gains the updated `mistral-moderation-2603`. **Grok 4.5 now available**: xAI's newest flagship model, `grok-4.5`, can now be selected for Conversation, Image Analysis, and Summary. It brings a 500K-token context window, image understanding, tool use, and adjustable Reasoning Effort — the first grok-4 family model where your Digital Twin's effort setting (low/medium/high) is honoured rather than the model always thinking at full depth. Prompt caching is automatic and unusually effective on this model, so long conversations cost less per turn. **Clear message when the AI returns nothing**: On the rare occasion a model ends its turn without producing any text, Pria now shows a friendly "empty response — please try again" notice instead of an empty reply bubble. Applies across all AI providers. **Collection downloads now require access**: Downloading a collection as a ZIP now verifies you own the collection or hold file-access permissions on its instance. Previously the download link did not check membership. **MCP server credentials no longer shown**: Admin screens no longer display a configured MCP server's stored authorization header. The interface indicates whether a credential is set; leaving the field empty on save keeps the existing credential unchanged. **Agent Desktop now one click away for admins**: Admins can open their Digital Twin's Agent Desktop straight from a new button in the top navigation bar. The button appears for admins of Digital Twins that have Agent Mode enabled and leads to the desktop view with its connect and resume controls. Regular users are unaffected. **Mute really mutes in immersive avatar conversations**: Pressing the microphone mute button during a full-screen (immersive) avatar conversation now fully silences your microphone. Previously, with certain avatar voice configurations, sounds in the room could still be picked up while muted — interrupting the avatar mid-sentence or even triggering unintended responses. While muted, the avatar now finishes speaking uninterrupted and nothing you say is heard or answered; unmuting restores listening instantly. **Documents with emoji no longer break conversations**: Questions that drew on vault files rich in emoji or special symbols (for example, reports with emoji section headers or tables) could fail with a provider error — and once a file was affected, every question touching it failed the same way. Pria now handles emoji and special symbols safely, so these files just work. Existing files work immediately; there is no need to re-upload anything. **Voice conversations recover cleanly from mid-turn errors**: If an error occurred while a voice reply was already speaking, the turn could end abruptly with no explanation. Pria now ends that turn gracefully with a clear message instead of hanging. **Consistent model management across every feature**: admins now manage the models behind every Pria feature in one place — **System → System Models** (with per-Digital-Twin overrides where offered). Usage and billing always report the real provider that served each call, and your institution's own provider keys (bring-your-own-key) are honoured throughout. **Claude Sonnet 5 available across Anthropic, Bedrock, and OpenRouter**: Claude Sonnet 5 can now be selected on Amazon Bedrock, OpenRouter, and the Anthropic API, with introductory pricing ($2/$10 per million tokens through August 31, 2026, then $3/$15). **It is now the platform default model.** Credit charges track actual provider costs more precisely, and Claude Sonnet 4.6's maximum response length was doubled to 128K tokens. **Turn User Memory on or off — one switch, your call**: a new **Enable User Memory** switch (Your Profile → Knowledge → Memory — plus a quick toggle in the conversation action menu, on by default) gives you full control over personalization. Turned off, Pria stops saving new personal memories and stops using the ones it has — across text and voice conversations — while your existing entries are kept untouched and remain viewable, editable, and deletable in the Memory panel. Your team's shared instance memory is not affected. See [How Memory Handles Your Data](/mdx/user-guide/memory/memory-data-handling) for the full data-handling picture. **Persona mode for Digital Twins**: a new toggle (Instance Settings → Personalization, and the admin institution editor) keeps character twins fully in character. When on, questions like "what can you do?" or "where do I start?" are answered in the twin's own voice, fully in character, and voice conversations use the twin's personality throughout. Off by default; existing twins are unchanged until an admin turns it on. **AI for Good Summit 2026 concierge — refreshed and sharper answers**: Nova, the AI for Good Summit assistant (`ai4good.praxislxp.com`), has been fully refreshed ahead of the summit (7–10 July, Palexpo Geneva) with the latest official programme — **342 sessions, 1,231 speakers, 141 exhibitors, and 18 topic tracks**. Answers also got more complete and better grounded: every speaker profile now includes their **LinkedIn and social links** and lists their sessions with the **date, time, and room**; exhibitor pages include **contact and social links**; and day-by-day and per-track answers are more reliable, so questions like "what's on Thursday?" or "list all the AI for Health sessions" land on the right, complete answer. **June 2026** **Bulk actions across more admin lists**: The select-many toolbar now works beyond Users. **Instances** support bulk **Set active / Set inactive / Delete**, and **Conversation history, Sessions, Assistants, Feedback, AI Models, Entitlements, and SSO providers** each support bulk **Delete**. Tick rows (or **Select all** on screen), confirm the count, and they're actioned in one step with a report of how many changed. Checkboxes respect your permissions — rows outside your institution are disabled — and the selection clears when you search or filter. **Bulk-manage users — set active/inactive or delete many at once**: The admin **Users** list now has a checkbox per row. Select users (or **Select all** on screen) and a toolbar appears with **Set active** / **Set inactive** / **Delete** and a count. Confirm before applying, and Pria updates them in one step, reporting how many changed and skipping any you can't manage. Delete is a soft delete — accounts are deactivated and their email freed for reuse. The selection carries over as you scroll and clears when you search or filter. **Two-step verification with an authenticator app — alongside email**: Secure sign-in with an **authenticator app** (Google Authenticator, Authy, 1Password, or any compatible app), in addition to or instead of email codes. In your profile's **Two-step verification** settings, choose **Authenticator app**, scan the QR code (or enter the setup key), enter a 6-digit code to turn it on, and save the **10 single-use backup codes** (regenerate a fresh set anytime). Turn on email and the authenticator app together and manage each independently. At sign-in, Pria asks for your preferred method and lets you switch — **"Send an email instead"** or **"Use a backup code"** — right on the screen. An administrator can reset your authenticator if you're locked out. **Branded sign-in no longer carries over between users on a shared device**: Logging out now fully clears the institution branding tied to your session, so the next person to sign in on the same device lands on the correct portal for *their own* account. Returning users who arrived through a branded link still see that brand on the sign-in page as before. **Set guardrail instructions for your Digital Twin**: Instance Settings (and the admin institution editor) now have an opt-in **Guardrail instructions** field with an on/off toggle. When enabled, your guardrail text applies across every conversation — chat and voice — for all assistants, without editing each one. **Load default template** fills it with an academic-integrity / Socratic rule (guide students' thinking rather than complete graded work) that you can edit. It's off and empty by default, and appears as its own **Guardrail** segment in the conversation's context panel. **Reasoning effort adapts to each model's limits**: Some advanced models (such as GPT-5.4 Pro) don't accept the lowest **Reasoning Effort** settings. If your Digital Twin's effort is set below the chosen model's minimum, Pria now raises it for the turn instead of failing the request. Turning reasoning off entirely is still fully respected. **Share your assistant with a public web link**: Give any Digital Twin a short web address anyone can open — no sign-in needed. In **Instance Settings → Invite → Guest Access**, set a **Convo Web Access Link** (availability is checked as you type), then copy and share the generated link (for example `…/twins/your-name`). Visitors land on a clean full-screen page that opens straight into a live voice conversation with your assistant, over your Digital Twin's background, with a light/dark toggle. If voice isn't available it falls back to text chat, so the page is never a dead end. **See how much of your vault is actually being used**: The Files **Vault Health** panel now has a **Vault usage** chart comparing how many files are **in the vault**, **included** in search, actually **used** (reached by a query), and **processing** or in **error** — each bar labelled with its count and share, with a headline percent of included files reached by queries. Each file card also gains a small **usage dot** — filled when the file has answered questions, hollow when included but never used — so you can spot unused files at a glance. **More file types are now indexed: scripts, notebooks, calendars, and contacts**: Uploading a **shell script** (`.sh`, `.bash`, `.zsh`, `.csh`), a **Windows batch script** (`.bat`, `.cmd`), an **R script** (`.R`/`.r`), a **Jupyter notebook** (`.ipynb`), a **calendar** (`.ics`/iCalendar), or a **vCard contact** (`.vcf`) now works — Pria reads and indexes their content for search instead of rejecting them as "not supported." For a calendar, event titles, descriptions, and dates become searchable; notebooks are read cell by cell. **Turn on the knowledge graph for your personal vault — no reload needed**: When you enable the knowledge graph (KAG) for your personal files, the option now appears immediately everywhere it's offered — including the **Rebuild knowledge graph** choice in the **Reprocess** dialog and your Vault Health panel — instead of only after a page refresh. **Video scene analysis**: Videos now get a visual description of what was shown on screen — not just the spoken words — so "what was shown" becomes searchable alongside the transcript. Admins choose the video-analysis model in **System → System Models** (a video-capable Gemini model by default) and can override it per Digital Twin under **Institution → AI Models**. **Video and audio files transcribe reliably**: Uploads that previously failed with connection resets or a "failed to parse audio file" error — common for `.mp4` videos — now transcribe successfully, so their spoken content is captured for search. **Silent videos** (no audio track) are recognised up front and marked clearly ("File has no audio track.") instead of failing with an opaque error. **Tune search precision and detail per Digital Twin**: Admins can set a **Chunk Size** for each Digital Twin under **Institution → RAG and Files** — *Precise* for sharp, fact-based answers, *Balanced* (the new default) for most content, or *Broad* to keep more context together — with a companion **Chunk Overlap** control. New defaults give more accurate answers at lower cost; existing files keep their current setting until reprocessed, and new uploads use the new setting automatically. **Knowledge controls in Instance Settings**: The **Knowledge** tab in Instance Settings now exposes two whole-Digital-Twin controls without opening the full admin Configuration page (admin access required). **Ignore user personal vault** — when on, the assistant answers only from the shared instance library and won't draw on members' personal uploads, for more consistent responses. The **Chunk Size** slider (above) is available here too. **Edit a file's details right in the Asset Info panel**: A file's **title, filename, description, authors, dimensions** (images), **thumbnail**, whether it's **included in search**, and its **visibility** (private/public/confidential) are now editable directly in the **Asset Info** panel of the file preview. Click a field's pencil to edit inline, flip a switch to include or exclude it from search, or click the thumbnail to change it — every change saves on the spot. You can also **enlarge the Asset Info panel** with the new double-chevron next to the pin. **Edit a file's text right in the preview**: For text-based files — Markdown, HTML, plain text, and code — the preview now has an **Edit content** button that opens the whole file as editable text. Make changes inline and save, and the file is automatically re-indexed. (Binary files like PDFs and images aren't editable this way.) A companion **Edit Segments** button still lets you fine-tune the individual passages the AI uses; open **Properties** to reach both editors. **Editing a file segment now refreshes the knowledge graph too**: When you edit or delete a file's content segment, the change is now reflected in both search and the knowledge graph — previously only search updated. **Track your background exports**: Admins can now see every "Export all" job under **System → Email Exports** — its status (queued, running, done, or failed), the **number of records** in the finished CSV, who ran it and for which Digital Twin, when, and a link to re-download. Failed exports retry in one click, and a **column selector** lets you choose which columns to show (remembered). **Instance Settings shows the correct tool on/off state**: The Tools panel in Instance Settings now reliably reflects which tools are enabled or disabled for a Digital Twin, and toggling saves correctly. Previously some disabled tools could appear enabled. **Export all — now on every admin table**: The full-dataset "Export all" (prepared in the background, emailed as a private download link) is now available across all admin lists — **Tools, AI Models, Saved States, Questions**, session monitoring, **Sessions, Payments, Entitlements, Feedback, Assistants, and Conversation history** — in addition to Accounts, Users, and Institutions. Large exports now complete reliably no matter how many records match (a 179,000-row users export that previously failed now succeeds). **Tree of Knowledge search finds everything**: Searching the Tree of Knowledge now finds any entity by name — not just the handful shown in the default curated view — with a clear loading indicator while results stream in, instead of a premature "no matches." **Tree of Knowledge opens fast for large knowledge bases**: Opening the Tree of Knowledge for a Digital Twin with a very large knowledge base — tens of thousands of entities — is now near-instant, where it previously took several seconds. Smaller vaults are unchanged. **Reprocess into search and the knowledge graph — your choice**: When reprocessing a file you can now tick **Rebuild search index** and/or **Rebuild knowledge graph** independently (tick both for a full rebuild). The same choice now applies to **bulk reprocessing** and to reprocessing an entire collection from its menu, so a whole collection can be rebuilt into the knowledge graph in one action. The knowledge-graph option appears only on Digital Twins that have it enabled. **Move a sub-collection out of its parent**: Nested collections now have a **Move out of collection** action that lifts the collection up one level — previously you could drag a collection *into* another but not back out. **Export full datasets from admin tables**: Admin list pages now have a CSV button with a dropdown — **Export visible** downloads the rows on screen instantly, while **Export all** extracts the entire filtered dataset. Large exports are prepared in the background; you'll get an email with a private download link when ready (saved to your own vault, not shared). Available on the **Accounts, Users, and Institutions** lists, with **System Models** and usage views exporting as standard CSV. **Search inside your files — with graph results and inline reading**: The Files content search now includes knowledge-graph (KAG) matches wherever KAG is enabled for your personal vault or institution, not only keyword matches. Expand any result in place to read the full matched passage — and for graph-backed hits, see which knowledge-graph entities matched — without leaving the search panel. **Users page tabs**: The admin **Users** page now has tabs — **Users**, **Statistics** (per-user credit & usage stats, moved here from the History page), and **Cap Effectiveness**, a new view charting how the per-user 24-hour credit cap performs across instances. The Account, Institution, Account Type, and search filters apply to every tab. **Admin list column controls**: The **Accounts**, **Institutions**, and **Users** lists now have a **Column Selector** to show or hide optional fields — credit caps, model and voice configuration, KAG flags, last activity, per-user 24-hour usage, and more — remembered per admin. **CSV exports now match the columns you have on screen.** The Institutions list adds a per-user credit-cap indicator (Cap Tier, Per-user cap, Per-user 24h cap), and the History list gained optional metric and threat-status columns. **Statistics tab — per-user credit-cap monitoring**: The admin **History → Statistics** tab gains four optional columns — **Effective Cap**, **Lifetime Used**, **% of Cap**, and **At Cap** — surfacing each member's credit-cap health alongside period usage. A summary line shows mean credits per user (by account and institution) and how many users are at their cap. The new columns are hidden by default; turn them on from the Column Selector. **Instance user quotas — admins set per-user limits directly**: Admins and managers with the **institutions.edit** entitlement can now set per-user credit quotas on their Digital Twin — a **per-user lifetime** cap and a **per-user rolling 24-hour** cap (the 24-hour cap recovers automatically as recent usage ages out). Set them in the new **Quotas** tab in Instance Settings or the Credit section of the admin Configuration panel. When the parent Account has caps enabled, the instance inherits them read-only; otherwise it self-configures. Leave a cap blank (or `0`) for no limit. See the [Credit Allocation & Transfers](/mdx/admin-guide/credit-management#user-quotas) guide. **Usage chart — see how many users were active**: Institution admins viewing usage for **all users** of a Digital Twin (Pricing → Usage) now also see how many **distinct users** were active in each period, drawn as an amber line over the credits chart with its own axis, matching your chosen bucket size (daily, weekly, or monthly). The running total gains a true distinct-user count for the whole window. Your personal usage view is unchanged. **Credit usage caps**: Operators can now set per-user credit limits on an account — a lifetime account-wide cap, a per-instance cap (with overrides), and a rolling 24-hour cap. When a user reaches a cap they're blocked from spending more until it's raised (or, for the 24-hour cap, until recent usage ages out). Users see a small usage gauge in their gallery and a clear notice when they hit a limit; admins can review usage-versus-cap and how many members are at a limit. Caps are off by default. **See your credit usage over time**: The Pricing page has a new **Usage** tab charting the credits you've spent per **day, week, or month** for the selected Digital Twin (or your personal account). Pick a window (7 to 180 days) and bucket size, and the bar chart shows spend per bucket with a running total of credits and messages. **Institution admins** get a checkbox to switch between **your own** and **all users'** usage for that Digital Twin (hidden for personal accounts). Reading the chart is free. **Persona Builder — a guided onboarding interview for every Digital Twin**: Personalizing a Digital Twin now runs through one curated 14-question interview — the **Persona Builder** — grouped into five sections (Basic Identity, Role and Primary Use Case, Audience, Communication Style, Advice Style and Guardrails), identical on the admin onboarding tab and in the create-a-twin wizard. It uses richer question types: selectable **tiles** for single-choice questions and a **personality slider group** (a 1-to-7 scale for each of seven traits: tone, energy, detail, feedback, humor, thinking, warmth). Every answer feeds the twin's Instructions via **Generate Prompt**. Required questions must be answered to continue; the email question prefills from your account (and never changes your login), and the twin-name question stays in sync with the instance name. See the [Onboarding Questions](/mdx/admin-guide/onboarding-questions) guide. **Onboarding popup now skips already-personalized twins**: The first-time prompt to run the Persona Builder no longer appears for Digital Twins that already have Instructions. It still shows for un-personalized twins and continues to yield to the Canvas sign-in prompt where that applies. **Read responses aloud with a natural voice**: Pressing **Speak** on a response can now play it with a natural-sounding voice from your Digital Twin's text-to-speech model instead of the basic browser voice. Institution admins turn it on per Digital Twin in **Instance Settings → Voice → Natural Voice** and pick the read-aloud voice there; personal accounts get a **Use Natural Voice** toggle in *Your Profile → Conversation Preferences* with a **Playback voice** picker. The chat's **\[+] → Audio** menu shows the current state and jumps to the right settings. Every voice picker has a **Preview** button that plays a short sample (previews are free). Generating audio consumes credits based on response length; replaying the same response is free. **Claude Fable 5 — Anthropic's newest flagship model**: Claude Fable 5 is now available as a conversation, image-analysis, and summarization model, on both the Anthropic API and Amazon Bedrock. It brings always-on adaptive reasoning, a 1M-token context window, and 128K-token responses. Select it in **Admin → AI Models** (`claude-fable-5` on Anthropic, `global.anthropic.claude-fable-5` on Bedrock — the Bedrock variant requires an AWS account data-sharing opt-in; see the AI Models guide). **Zero Data Retention — clear compliance signals in the model selector**: Praxis AI ships only models that comply with **Zero Data Retention (ZDR)** — your prompts and responses aren't stored by the model provider — and the model selector now says so. The one exception is clearly flagged: Anthropic's Mythos-class **Claude Fable 5** carries a red warning and a "30-day retention" marker, because Anthropic retains prompts and outputs for these models for 30 days (effective June 9, 2026). The warning links to [Anthropic's retention notice](https://support.claude.com/en/articles/15425996-data-retention-practices-for-mythos-class-models), and the [AI Models guide](/mdx/admin-guide/ai-models#zero-data-retention-zdr) has a new ZDR section. **Lower AI costs — smarter prompt caching across every provider**: Repeated conversation turns now cost less across **all six AI providers** (Anthropic, Bedrock, OpenAI, Google, Mistral, and xAI), with the savings passed on as larger credit discounts. The dialogue info card shows cache activity per response, and a new **copy button** lets you copy all its metrics as JSON. In Conversation (voice) mode you can also tap the new full-screen (TV) button to put the assistant's avatar **front and center, filling the entire screen** — great for presentations, kiosks, and hands-free use. It works from the compact widget and the expanded view, goes true full-screen on desktop and Android (fills the screen on iPhone/iPad), and you can exit any time with the on-screen button or the **Esc** key. **Praxis Shield — threat monitoring for your Digital Twins**: Institution administrators get a new **Threats** panel. Conversations are scanned automatically in the background, and potentially abusive or concerning activity surfaces as **incidents** with a severity, status, and categories, plus a detail report of the relevant conversation context. A built-in triage workflow lets reviewers add notes, progress status, and see the full action history; confirmed abuse can suspend the user's membership in that Digital Twin (reversible any time), and harmless flags can be marked **false positive**. Filter incidents by account, Digital Twin, status, or minimum severity. Scanning is invisible to end users and never blocks or alters their experience. See the new [Praxis Shield](/mdx/admin-guide/praxis-shield) admin guide. **Praxis Shield — shareable incident reports**: Every incident has a read-only report you can share by link with another administrator of the same Digital Twin. Reports are login-gated and only open for admins who manage that institution, so sensitive context stays in the right circle. **Admin console — cleaner navigation on large screens**: The admin menu can now collapse into a slim icon-only rail (your preference is remembered), and multi-tab dashboards share a unified layout where the tab bar becomes a collapsible left sidebar and only the content panel scrolls — so headers and navigation stay in view while you work through long lists. **Embed your Twin's talking avatar on any website**: A new **Avatar Embed Widget** puts your Digital Twin's voice-enabled avatar on an external site with a single script tag (or a React component). Choose a floating launcher or an inline embed, light or dark theme — visitors talk to your Twin without leaving your page, and only a public embed key is required. See the [Avatar Embed Widget](/mdx/integrations/web/avatar-widget) guide. **Admin — run background AI jobs on cost-effective Bedrock models**: Background AI jobs (knowledge-graph extraction, threat detection, and summarization) can now use low-cost open-source GPT models on **Amazon Bedrock** (`gpt-oss-120b`, `gpt-oss-20b`, and the safety-tuned `gpt-oss-safeguard` pair). Several inexpensive models (Amazon Nova micro/lite/pro, Gemini Flash-Lite, and others) are now also selectable for summarization, giving you a price/quality ladder. Each model shows its price per million tokens and capability badges (structured-output, code, vision, reasoning) so the trade-offs are clear at a glance. **Admin — see credits consumed per member, per instance**: Each membership now tracks the lifetime total of pooled credits that member has drawn from the instance, shown as a **Credit Consumed** column in **Admin → Users → Membership** and on the **Entitlements** list (and in the Entitlements CSV export). It complements credits awarded — handy for usage reporting and spotting unusual consumption. It applies to instances that pool credits across members; personal accounts are unaffected. On the Membership tab it replaces the rarely-used Award Date / Award Amount columns. **Admin — merge two user accounts into one**: Admins can consolidate a duplicate or vanity-email account into another (for example folding an old personal-email login onto a member's work account). From the Users list, the new **Merge into…** action lets you pick the surviving account, see a **preview** of exactly what will move (and any overlaps or billing caveats), then type the source email to confirm. On confirm, Pria moves all of the source's content, history, and memberships to the target, sums their credits, removes the source's logins, and permanently deletes the source — recorded in an audit log. Requires both edit and delete permission on the users involved. **Admin Conversation History — show or hide user-deleted conversations**: The admin History list now hides conversations a learner removed from their own history by default, with a **Show user-deleted** toggle to bring them back when needed. Revealed records carry a small **deleted** badge. A learner's delete is still respected everywhere it was before — this only changes what an admin can optionally surface. **Conversation exports & history — assistant replies no longer appear blank**: Downloaded conversation data (including the GDPR-style data export) and the admin history detail view now show the full assistant reply text, fixing cases where streamed replies previously appeared empty. **Privacy — stronger isolation of personal files and memory**: One member can never read, list, or modify another member's **personal-vault** or **confidential** files, and can't overwrite or clear another member's or the organization's **shared memory** — those stay owner- and admin-managed. Genuinely shared (instance) files still work across an organization as before. The unused "list all members' files" option was removed. **New AI model — Grok Build 0.1 for coding**: xAI's Grok Build 0.1, purpose-built for agentic coding (web development, debugging, and multi-step build tasks), is now selectable as a conversation model. It's fast and cost-effective, reads images such as diagrams and screenshots alongside your code, and always reasons through a problem before answering. Admins pick it as a Digital Twin's conversation model in **Instance Settings → AI Models**. **Files — mark a whole collection confidential in one click**: A collection's `⋯` menu now has **Make All Confidential** and **Remove Confidential** alongside Make All Public / Make All Private. Making a collection confidential lets Pria keep using those files to answer but stops it from citing them — applied to every file in the collection and its sub-collections at once. (Confidential and public are mutually exclusive, so this also removes public access.) Remove Confidential reverses it so those files can be cited again. **Personal knowledge graph — now available to everyone (opt-in)**: You can now build a knowledge graph from your personal files. A new **Build a knowledge graph from my files** toggle in *Your Profile → Conversation* lets any user opt in, so search can connect related ideas across your documents rather than just match keywords, and your chat **Knowledge → Sources** menu gains the **RAG + KAG Fusion** option (shown when a knowledge graph is available on your personal vault or current Digital Twin). Files shared through an organization keep using that organization's own setting. Turning the toggle off keeps any graph already built, so re-enabling is free. **Personal knowledge graph — process the files you already have**: New uploads are added to your knowledge graph automatically once you opt in. For files uploaded *before* enabling it, a panel under the toggle shows how many aren't in your knowledge graph yet and an **Add my existing files** button to process them, with a live progress bar and a **Stop** control. Files you add next always take priority, so turning this on never slows new uploads. **File Preview — knowledge-graph usage itemized per file**: Each file now tracks its knowledge-graph processing cost separately from standard search-indexing, so the File Preview shows what each step cost for that file. **Admin — KAG Fusion is now a self-service setting (no longer Praxis-managed)**: Knowledge-graph fusion can be configured directly in the admin console instead of requesting it from the Praxis team. **Accounts** gain a *Knowledge Graph (KAG / RRF Fusion)* section with two cascading controls — *Enable KAG for all instances* and *Allow instance-level KAG toggles* (the first takes precedence). **Instance Settings → Ingestion** has an *Enable KAG Fusion for your Digital Twin* toggle that any admin with instance edit rights can use, and it shows when the setting is inherited from the account. Admins can also set a specific user's personal-vault KAG from **Admin → Users → Knowledge**. Each surface links to a *More info on KAG* reference and notes that building the graph improves answers on complex questions but uses more credits than plain embedding. **Admin — process a Digital Twin's existing files into its knowledge graph**: Like the personal-vault control, **Instance Settings → Ingestion** now shows — once KAG Fusion is on for the Twin — how many of that Twin's files aren't in its knowledge graph yet, with an **Add existing files** button, a live progress bar, and a **Stop** control. Any admin with edit rights on the Digital Twin can run it. **Files — knowledge-graph coverage in Vault Health**: The Files modal's **Vault Health** panel now has a **Knowledge Graph (KAG)** section that tells you whether all eligible files are in the knowledge graph and, when some aren't, gives an **Add existing files** button with a live progress bar and **Stop** to backfill them right there. On your personal vault, if KAG isn't on yet, it offers an **Enable for my personal vault** button that switches it on and starts processing in one click. It appears for the Personal and Digital-Twin vaults, and is hidden in the combined All-Vaults view. **Tree of Knowledge — available to everyone with a knowledge graph**: The **Files → Tree** display toggle — a visual map of your knowledge graph (pillars, entities, relationships, and the source files behind them) — is now available to anyone with a knowledge graph. You can switch between **Files** and **Tree**: users who belong to a Digital Twin, or who've enabled KAG on their personal vault. The vault picker inside the Tree only offers vaults you can reach, and the tree only shows knowledge built from files you can already access. **Admin — Accounts page polish**: The General tab is grouped into clear sections (Account, Managers & Domains, Knowledge Graph, Privacy Policy); the Privacy Policy Consent Form is now a Markdown editor with a live Preview; the number of linked instances shows on the **Instances** tab (e.g. *Instances (18)*); and the unused *Qualification* field was removed. **Image generation — request larger or differently-shaped images**: When you ask Pria to create an image, you can now request a specific size or shape — a wide landscape, a tall portrait, an aspect ratio like 16:9 or 9:16, or a higher resolution where the selected image model supports it. The default is still square, and if you ask for a size a model can't produce, Pria uses the closest available size instead of failing. **Image generation — faithfully enlarge an existing image**: You can now ask Pria to upscale an image you already have (for example "enlarge this 2x"), increasing the resolution while keeping the picture exactly as it is — same composition, colors, and detail. This works with any configured image model. (It's a clean enlargement, not AI "enhancement," so it won't invent new detail.) **Backgrounds — set them from a picture or your webcam**: The light- and dark-mode background images can now be set like a profile picture — click the background thumbnail to upload a file or capture from your webcam, crop it to a wide 16:9 frame, and save. It's available in **Instance Settings → Personalization → Appearance** and, when editing an organization, on every picture in the **Personalization** tab. Webcam capture requests HD so backgrounds stay crisp, and you can still paste an image URL directly. **May 2026** **Conversation History — see what was retrieved during each turn**: Every history record now shows a **RAG Search Results** panel — alongside **Thinking Details** and **Tool Details** — listing the file segments Pria pulled in for each turn (file name, relevance %, and a preview of the text). It appears in the chat list, the public history viewer, and the admin History inspector. Confidential segments owned by another user in your institution show a 🔒 with the preview redacted. History pages stay fast — the full detail loads only when you expand a section. **Conversation History — unified detail panels with per-entry copy**: The Thinking, RAG, and Tool detail panels now share one consistent look everywhere they appear (chat list, single-record viewers, admin inspector), and each entry has a copy-to-clipboard button so you can grab a reasoning round, a retrieved chunk, or a tool response in one click. Tool Details now loads full arguments and responses the moment you open it — no more follow-up click. Live streaming Thinking matches the saved view. **File Preview — Processing timeline for RAG and KAG**: The **Asset Info → Processing** section of the File Preview modal now splits into two color-banded blocks — 🔵 **RAG · embeddings** and 🟣 **KAG · knowledge graph** — each with a step-by-step timeline (Enqueued → Started → Completed) showing durations and timestamps, a ✓ on finished steps, a pulse on the step in progress, and a red ✗ if a run failed. Each model row shows a provider chip (e.g. `text-embedding-3-small [openai]`) so admins can see which model handled the file. A combined **Total tokens** and **Cumulative time** pair appears when both phases have run, with per-phase figures in parentheses. The Properties **Uploader** row was renamed **Owner** to match the rest of the platform. **File Preview — live KAG progress**: While a knowledge-graph job is running, the Processing > KAG block now shows a **Progress: N%** row and the current step inside the timeline. The same live step appears for RAG while a file is being processed; once finished, the completed step is the only signal needed. **Hide live Thinking / Tool indicators without losing the audit trail**: Two new toggles in *Your Profile → Conversation* (and on the admin instance edit page) let admins hide the live streaming surfaces on their own. **Display Thinking Execution** controls the 💡 reasoning block shown in real time; **Display Tool Execution** controls the inline `⚙️ Running…` / `🔧 Ran ✓` indicators. Turning either off keeps the live conversation clean while the separate **Display Thinking Details** / **Display Tools Details** toggles still control what's saved to History. Both default to on. **File Preview — redesigned segment editor**: Entering Edit mode now hides the Asset Info sidebar so the segments editor uses the full modal width, with Title, Summary, Rights, and segments in one clean top-to-bottom form under **File Properties** / **RAG Segments** headers. A new **Rights** group lets admins set a file **Private** / **Public** and, for instance or account vaults, flip a **Confidential** switch (locks it for other members) — each saves immediately and the file-grid badges stay in sync. **+ Add Segment** is now a full-width button after the last segment, and each segment has its own **Update** action (saving just that one) next to Sanitize / Delete. Typing into a segment now reliably persists. On narrow screens the segment header collapses to icons and a compact character counter so it stays on one row. The unused Tags / AI Tags rows were removed. **Voice dictation — mic stays available after transcription**: The mic button no longer disappears once your dictated text lands in the input. Click it again to add more — each new dictation is appended (with a separating space) so you can build a longer message in several passes. After a transcript comes back, the caret jumps to the end so you can keep typing or hit Enter right away. **Files — Properties and Edit Segments merged into File Preview**: The old separate Properties and Edit Segments dialogs are now one **File Preview** window, so you no longer switch screens to view metadata and edit search segments. A collapsible **Asset Info** sidebar groups **Properties / Processing / Knowledge — RAG segments**, pinning open or expanding on hover like the Pria and Files-search sidebars. The **Edit Segments** action opens the preview directly in edit mode; Title and Description gain inline pencil edits. **Copy file name** and **Copy link** buttons sit next to Download, and **fullscreen** now expands the whole window. Action dialogs (Reprocess, Swap Asset, Delete) reliably layer on top. **Files — Swap Asset (replace a file without rebuilding its index)**: A new **Swap Asset** action in the file's `⋮` menu replaces the underlying file while keeping its existing knowledge (embeddings, summary, title) and its published URL — so anything already linking to the file keeps working. Useful when the source file was lost but the indexed content is still good, or to refresh the downloadable copy. Supply a new file or a URL for Pria to fetch. If you want the new content searchable, run **Reprocess Content** afterward. The action is hidden when a file is missing from disk with no embeddings (Delete is the only option there). **Files — Vault Health pills are now the filter**: The Vault Health pills at the top of the panel (`needs reprocess`, `errors`, `needs delete`, `missing`, `unoptimized`, `stale >90d`, `never used`) now act as filters — click one to scope the listing to that category, click again to clear. The Vault Summary shows a single **Health: \<grade>** chip (A–F) that jumps to the Vault Health section. A new **needs delete** category flags files missing on disk with no embeddings, where Delete is the only valid action. **Files — sidebar polish, lightbox maximize, RAG tuning, Tree of Knowledge**: A second pass on the Files modal. The sidebar is now a pinnable rail (pin to keep open, or hover to expand). **Search** became a Search Type control (File Name / AI Content) with a multi-line box and a dedicated Search button — typing no longer auto-fires, and a clear-X resets the query. A new **All Vaults** checkbox searches your full scope; both preferences persist. Content-search results show a "found in" chip with the vault and collection; clicking a hit jumps straight there. Admins with edit rights get inline **RAG Tuning sliders** (Search Affinity %, Max Articles) that re-run the search on save. **Tree of Knowledge** is promoted to a top-level **Display** selector (Files vs Tree). The Lightbox gained a **Maximize / Restore** toggle and goes full-bleed on narrow screens. File **status pills** were replaced by a small icon strip (Included / Public / Confidential), and resizing the file list is noticeably smoother. **Files — content search across your IP Vault**: The Search box gained a name/content toggle. In content mode, press Enter to search across the same files your assistants use (your personal vault, current institution, and account-shared files) and get a scored-snippet results panel. Each card shows the file name, a relevance badge, and a highlighted 200-character snippet; confidential files owned by another member show a row and score but no snippet (`🔒 Private content matched — open the file to view`). Clicking a result selects the file and snaps to it. A "← Back to N search results" banner lets you flip back without re-running. Limited to 20 searches per minute. **Files — responsive sidebar on large screens**: On screens ≥1024px, the Search / Display / Sort controls now stack in a 240px left rail beside the file grid instead of a toolbar above it, with Add Files pinned to the bottom. Smaller screens keep the horizontal toolbar. The Display, Sort, and search-mode controls all adopted the same look as the View Mode switcher, with proper screen-reader labelling. **Knowledge picker — clearer Retrieval Mode + Search Only**: The Knowledge submenu (in the \[+] menu and the **Knowledge** tab of *Your Profile*) is reorganised into a three-option **Retrieval Mode** — **Disabled**, **RAG Only**, **RAG + KAG Fusion** — plus a separate **Search Only** checkbox you can combine with either mode to return raw vault results without an AI rewrite. The old "KAG Only" label was misleading (KAG always augments RAG), so the new copy makes the relationship clear. The Knowledge row badge reflects the active state — *Disabled* (red), *Search Only* (amber), *RAG + KAG* (blue). Existing profiles carry over with no migration. The glossary gained **KAG** and **Knowledge Modes** entries. **Voice dictation — in-place recorder with live waveform**: Tapping the mic in the chat input now opens a dictation widget right where the textarea was — a pulsing red dot, an `MM:SS` timer, a live waveform, and Cancel / Confirm buttons. Recording stops automatically at 2 minutes (with a 10-second warning). It uses your institution's configured speech-to-text engine (Voxtral / Whisper / etc.) rather than the browser's, so accuracy and language coverage match the rest of the platform. Nothing is stored after transcription — no upload, no history, no embeddings. Works in Chrome / Firefox / Edge / Safari. On Confirm, the text is appended to whatever you've already typed. **Your Data Rights (GDPR controls)**: A new **Your Data Rights** section at the bottom of *My Profile → Your Data* lets you see, export, and delete the personal data Pria holds about you. A stats card shows your personal dialogues, vault files (with total size), and memory entries. **Export my data** builds a ZIP (README, dialogues.csv, uploads.csv, memory.csv, plus your original upload files) and emails you a signed download link valid for 30 days. **Delete my data** opens a confirmation where you choose to forget your **Dialogues**, your **Personal files in Vault**, or both. Everything is scoped to your personal data — institution and account data is governed by the institution's own retention policy and untouched. Exports are limited to one per hour, and emailed ZIPs are purged after 30 days. **Files panel — full redesign**: A top-to-bottom polish of the IP Vault Files modal — Google-Drive-style cards, a horizontal collections strip above the grid (drag a file onto a folder to move it), a redesigned **File Preview** with an Asset Info sidebar and lazy-loaded RAG content, and a **Grid / List / Table** view switcher. The Lightbox scales to the full viewport on wide screens. A new **Vault Health** header shows an A–F grade plus an attention dot for the most pressing follow-up, and a new "Needs reprocess" category flags files that are Included but have no embeddings (common after an embedding-model switch). The bulk action bar is now sticky. **Drag files onto a vault tab** (My Files / Instance / Account) to move them between vaults. The new **table view** (Files and Assistants) supports client-side sort, infinite scroll, bulk select, resizable columns, and a **Columns** menu (Source, RAG Hits, Last Used, Owner, etc.) that persists per user. The **Properties** dialog was rearranged into clean per-section cards. **Collections — custom colors**: When creating or editing a collection (or sub-collection) you can now pick an accent color from ten swatches or any custom hex. The folder icon renders as a solid tinted shape across the strip, list, and card views. Pick the ∅ option to revert to the default outline icon. **`gpt-realtime-2` is now the default voice model**: OpenAI's newest realtime voice model replaces `gpt-realtime-1.5` as Pria's default for Convo / Speech-to-Speech mode. It brings GPT-5-class reasoning with configurable reasoning effort, a 128k context window (4× the previous default), stronger instruction following, and translation across 70+ languages. Reasoning tokens per turn are now tracked separately as **Thinking Tokens** in the usage card. Earlier models (`gpt-realtime-1.5`, `gpt-realtime`, `gpt-realtime-mini`) remain in the picker. Note: `gpt-realtime-2` audio pricing is materially higher than `-1.5` — review your Pricing tab if you run at scale. Institutions that had explicitly chosen `-1.5` stay on it; only those without a chosen model move to the new default. **OpenAI Realtime endpoint migration (GA)**: OpenAI realtime voice sessions now use OpenAI's GA endpoints instead of the deprecated beta ones. The change is transparent to end users — same voice, VAD, and tools — but **network admins** should ensure outbound HTTPS to `api.openai.com/v1/realtime/client_secrets` and `api.openai.com/v1/realtime/calls` is allowed; the legacy `/v1/realtime/sessions` path is no longer used. **Voice agent now sees account-shared files**: When you ask the voice agent "how many files do I have?", it now includes files shared across your organization (the **Account** vault), not just your personal and institution files. These files are labeled `Owner: Account` so you can tell them apart in tool-call traces. Previously they were silently missed even though the file modal showed them. **Live transcripts during voice sessions**: The character-by-character transcript under the voice indicator now works for OpenAI realtime sessions (previously it showed only the final transcript at the end of each turn). Your own speech also appears live as `You: …` as soon as it's transcribed. **Thinking Tokens — visible in every history surface**: Reasoning-model output is now reported separately from the visible answer. Everywhere token counts appear — the inline usage card, the per-message info card, **My Profile → History**, and the **Admin → Histories** detail modal and table — a new **Thinking** value shows when the conversation used a reasoning model. OpenAI (Chat Completions, Responses, and Realtime GA) and Google Gemini report this; Anthropic / Bedrock / Mistral / xAI don't yet expose a separate count, so it stays 0 for those. Thinking text blocks are still saved as before. **Google Cloud — revoke before changing services**: Both the personal Google Cloud panel (**My Profile → Google Cloud**) and the institution Google Workspace integration (**Admin → Instance → Configuration → Google**) now lock the service toggles while a token is active. To add or remove Gmail / Drive / Calendar, click **Revoke Access** (or **Disconnect**) first, then re-authorize with the new selection. An expired personal token shows a **Re-authorize Services** button. A short hint explains the flow so the disabled state isn't ambiguous. **Welcome / Canvas-auth popups dismiss reliably**: The "Welcome to your new AI Digital Twin!" prompt and the Canvas-auth recommendation popup now close as expected when you click Later, Yes, Enable, or Dismiss, instead of occasionally lingering after saving. **User Guide & Admin Guide open in a new tab**: Clicking *User Guide* or *Admin Guide* (from the \[+] menu under *More*, or the sidebar buttons) now opens the documentation site at `docs.praxis-ai.com` in a new browser tab instead of an embedded panel that rendered empty. **Logout — branded login page preserved**: When you reach Pria through a branded URL and log out, the post-logout login page now keeps your brand assets instead of falling back to the default Pria look. **Logout — cross-session state leak fixed**: Logging out and signing in as a different user no longer surfaces the previous user's Digital Twins in the top-navigation switcher. Entitlements, user-institutions, and in-flight requests are now cleared on every logout, and stale requests fired during logout no longer surface as 403 console errors. **Instance Settings — Voice tab, explainers, and polish**: The instance-settings lightbox gained a dedicated **Voice** tab (between Personalization and Conversation) with the Convo / Speech-to-Speech model picker, per-provider voice selectors (Gemini Live, xAI, OpenAI Realtime — voice, VAD eagerness, noise reduction, transcription language), and a shortcut to the full admin models page. Retrieval is now called **Knowledge** and opens with a collapsible explainer covering IP Vault security, RAG, and KAG Fusion; matching **About tools** and **About assistants** explainers were added. The Conversation > Behavior card gained **Enable Moderation** and **Cite Sources** toggles; **Tools Guidance** and a new **Max Tool Result Size** (default raised to 60,000 chars) moved to a Tools tab card. Personalization gained an **Enable Location** toggle and richer descriptions. The Billing tab hides *Add Credits* when *Disable Add Credits* is set, the Invite tab gained a *Manage Members & Entitlements* shortcut, and the Identity tab was renamed **General**. **Personal Settings — descriptions + Knowledge Sources cues**: Each Personalization and Security toggle now carries a short description (Dark Mode, Use Location, Enable STT, Knowledge Sources, Must Change Password, Reset password on SSO Login). The Personalization tab shows the current retrieval state at a glance — an amber dot for **Search Only**, a red dot when **Knowledge Sources are disabled**. The **Google Cloud** entry shows a green "Connected" dot when your personal Google token is valid or the instance has Google OAuth enabled. **Action menu polish**: Item labels are now consistent Title Case — *Audio Notes* is **New Audio Note**, *Create new assistant…* is **New Assistant…**, *List Assistants* is **Manage**. The Knowledge Sources submenu's active dot uses the same tones as the Personalization tab (amber for Search Only, red for Disabled). The *Switch assistant for next message* picker is now a clean filtered list that keeps the current assistant with a "Current" pill so you can clear an override in one click. The next-assistant chip sits to the left of the send button. **Instance Settings — Invite & Billing tabs, plus Conversation toggles**: The instance-settings lightbox gained two tabs. **Invite** generates a join QR code and copy-to-clipboard invite link for new members, plus a branded login link for existing ones. **Billing** shows the instance credit balance with an **Add Credits** button (to the Pricing page's credit tab), a note on pooled vs. non-pooled credits, and a payment-history table for this twin. The **Conversation → Behavior** card added **Enable Moderation** and **Cite Sources** toggles, and Tool / Assistant rows now show their description under the name. **Profile & Instance Settings refresh**: Both surfaces were reorganized. In **My Profile**, *Profile* is now **General**, *Preferences* is **Personalization** (with the Dark Mode toggle and a new Appearance card), and a new **Billing** tab shows your personal credit balance, an **Add Credits** button (to the Pricing credits tab), a payment-history table, and a note explaining when personal credits are used. In **Instance Settings**, the *Features* tab is now **Personalization** and carries a new **UI Theme** selector (User Directed / Dark / Light), the **Display Thinking Details** / **Display Tools Details** toggles, and the **Guest UI** toggle alongside the file-upload / audio-notes / clipboard toggles. **Dialog Usage Details — in-place card**: Each message header now shows a bar-chart icon on hover next to the timestamp. Clicking it swaps the message body for a color-coded usage card with the model name, a provider chip, full timestamp, token counts (total / input / completion / baseline), cache discount, credits, retrieval timing, tool names and count, thinking-block count, latency, and request duration. Click again to return to the message. This card is now visible to every user (previously admin-only), and all row colors meet WCAG AA contrast in light and dark mode. **Memory Panel — filter by instance**: When your memory spans more than one digital twin, **My Profile → Memory** now shows a searchable instance picker beside the namespace and scope filters. Each option shows the institution's logo, ainame, and display name, with a "Personal" bucket for entries not tied to an instance. It defaults to your current instance and stays hidden when your memory lives in a single instance. **Push-to-toggle microphone**: The dictation mic now stays on until you click it again. Previously it stopped after a short pause and needed a fresh click for the next phrase. Now one click keeps it running through pauses and silences, and phrases accumulate in the input as you go — it stops only when you click it off or submit. **Admin Histories — column selector + User Statistics tab**: Two upgrades to **Admin → Histories**. (1) The Records and Usage tables each have a **Columns** dropdown — toggle any column off to declutter, saved per-admin and dropped from the CSV export too. (2) A new **User Statistics** tab shows one row per user per day / week / month with query count and credits used, respecting your toolbar filters. Toggle the period and click **CSV** for a per-user usage extract. Results cap at 5,000 rows with an amber banner when truncated. **Gemini 3.1 Flash Lite is now GA**: Google promoted `gemini-3.1-flash-lite` out of preview, and the model picker on **Personalization → AI Models** now offers the GA identifier. Institutions on the preview model are upgraded automatically, with no behavior change. The preview identifier stops accepting requests upstream on **May 25, 2026**; pick the GA entry manually if you ever switch away and back. **Personal API Key usage**: Admins can now see which devices have used their personal API key. Open **My Profile → Developer — API Key** and expand **Recent device usage** for per-device rows with browser/OS family, IP subnet, an optional client name and hostname, first/last seen, and a call count. Rotating or revoking your key wipes the list. **Forget device** removes a row but doesn't invalidate access — regenerate your key to do that. Records auto-expire 180 days after a device's last sign-in. **Conversation actions stay in the right Digital Twin**: Renaming, deleting and summarizing a conversation now apply only to the Digital Twin you are in, so an action in one twin can no longer affect a conversation in another twin you belong to — most noticeable on mobile, where people switch twins often. The conversation list also restores the most recently used assistant for each conversation. **Email-based two-step verification (admin opt-in)**: Admins now see a one-time prompt after login to enable email-based two-factor authentication. When on, password and OAuth logins from a new device or location trigger a 6-digit code emailed to the account, valid for 5 minutes. Trusted devices stay trusted for 7 days on the same network — paste-from-clipboard and auto-submit on the 6th digit, no button to click. Manage devices or toggle MFA from **My Profile → Two-step verification**; admins can override per user via **Users → Edit → Credentials**. Standard users can opt in but aren't prompted yet. After 5 wrong attempts a code invalidates; after 5 burned challenges in an hour the account locks for 10 minutes. iOS Safari + Mail surface the code in the keyboard autofill bar. **Reliable long-audio transcription**: Long audio uploads (lectures, interviews, recorded meetings) no longer fail with *"audio duration exceeds maximum"* when compressed files were small in size but long in playback. Chunks are now sized against both limits, so a heavily compressed 75-minute recording splits into pieces the transcription model accepts. Files that previously failed can simply be re-uploaded. **Reliable large text uploads**: Large plain-text uploads (HR / medical / administrative exports, CSV/TSV dumps over \~16 MB) that previously failed during processing now succeed. Files that previously failed can be re-uploaded. Large `.tif`, `.odt`, `.ods` and `.odp` uploads are no longer rejected either. **Reliable PDF export from your vault**: Pria can now convert an existing markdown file in your vault to PDF without re-reading it — just point Pria at the source file by URL and the conversion happens in a single step. Together with recent fixes for accent and emoji rendering, French and multilingual letters now export correctly with proper bold headings and rendered emoji. Saving a file to a `.pdf` path renders the Markdown content directly. **Simpler save**: When you ask Pria to save a file, the filename and extension are now a single path (e.g. `report.md` or `letter.pdf`). This removes a class of bug where the requested format and the extension could disagree. **Larger content reads**: The default cap when summarizing scraped pages, transcribed media, and tool results is now 60,000 characters (up from 40,000) — useful for longer letters, articles, and transcripts. **Memory Parameters page**: Pria now exposes the running memory it uses to remember context about you — namespaces, key/value pairs, and per-instance shared knowledge — via a new **My Profile → Memory** entry (also under **Pria → Settings → Personal → Memory Parameters**). Personal entries are private to you; shared entries are scoped to a digital twin and visible to that instance's members. You can edit values and descriptions, toggle the shared flag, delete a row, or bulk-delete a filtered selection with a preview before confirming. Members with the **institutions.edit** entitlement can also edit and clear shared rows for the instances they administer; everyone else sees those rows read-only. **Admin Memory Inspection**: Admins with the **users.edit** entitlement can inspect and manage any user's memory from **Admin → Users → Edit user → Memory**. Memory is grouped by instance, and admins only see entries for instances they hold **users.edit** on. The same edit / delete / bulk-clear controls apply, with an authorization re-check on every change. **Instance Memory Inspection**: A new **Instance Memory** tab in **Admin → Instances → Edit instance** shows the shared memory scoped to that instance, with the author email linking to that user's Memory tab when the admin holds **users.edit** on their institution. **Act As (impersonation)**: Admins with **users.edit** can now impersonate a user from the Edit User modal via a new **Act As…** button. A consent dialog requires a written reason (up to 500 characters) and confirms the admin will see the user's personal data and that every action is recorded as theirs. While impersonating, an amber **Acting as `<email>`** pill stays pinned in the top navigation, the rest of the admin console is unavailable, and **Stop** restores the admin's session and returns to the Edit User modal. Sessions auto-expire after 1 hour, and every start and stop is recorded in an audit log with the reason, IP, and user agent. Self-impersonation, Praxis AI staff targets, and nested impersonation are blocked. **April 2026** **Display Thinking Details (admin toggle)**: Pria now collects model reasoning from the providers that expose it (Anthropic, AWS Bedrock, Google Gemini, OpenAI summaries, xAI) and shows it in a collapsible 💡 lightbulb block above the response. Mistral doesn't expose thinking, so no lightbulb appears. A new **Display Thinking Details** checkbox on the institution **Personalization** page (next to **Display Tools Details**) controls whether thinking is streamed, shown, and saved to History — defaults to on. Personal users always see thinking; institution accounts inherit the toggle. **Safer bulk delete in IP Vault**: The **Select All** button in the Files panel now respects your active filter — searching `scr_*` and clicking Select All picks only the matching files, not the whole vault. The bulk-delete confirmation lists every collection and file to be removed in a scrollable preview so you can review before confirming. Collections are excluded from Select All while a search is active. No action required. **Audio Notes**: Capture spoken notes from the Pria toolbar. Tap the mic icon to open the Audio Notes modal, tap to start and stop (mobile-friendly toggle, no press-and-hold), and add as many segments as you need with playback, rename, and reorder. Hit Save and Pria transcribes in the background — notes appear in a new **Audio Notes** collection in your personal vault, each auto-titled from what you said. An optional **Combine audio into a single note** checkbox merges a session of short bursts into one note. Notes are linked to the active assistant and conversation, and token usage counts against your normal credit balance. Enabled by default for personal accounts and **new** twins; admins can disable it under **Personalization → UI & Appearance → Disable Audio Notes for Users** (also hidden in Guest UI or when file upload is disabled). On existing Digital Twins it starts off — admins turn it on. **Large media & archive uploads flow through the queue**: Long audio/video files that split into 10-minute chunks, and ZIP archives that expand into multiple documents, now appear as individual rows in the Files panel and process independently — each with its own live progress, retry budget, and final state. The parent row is hidden once its children are queued, and children expand automatically so you see exactly what was produced. **Live file ingestion progress**: Uploaded files now show live processing progress in the status tooltip with a percentage that climbs as the file is processed. The Files panel auto-polls in-flight uploads every few seconds, so you no longer need to refresh to see when a large PDF or video transcript is ready. Transient failures retry automatically; only terminal errors surface as "Processing failed". **More accurate model limits**: The model picker now shows the correct input and output limits for several models on Bedrock, OpenAI, Gemini, Mistral and xAI. Nothing changes in how the models behave. **Rename conversation with AI**: The **Manage Conversation** dialog now has a **Rename with AI** button that suggests a short, descriptive title from the first and last few dialogues — mirroring **Summarize with AI**. Review the suggested name in the editable field and save with Update. **Unified RAG segment size**: The admin **RAG Segments** editor now uses a consistent 8,000-character soft cap across all embedding models. The new Ollama option `mxbai-embed-large` (1024-dim, 512-token context) auto-scales ingestion to safer smaller segments, and what gets indexed now matches what you can edit. **Vector dimensions in the model picker**: The embedding model picker now shows **Vector Dim** (e.g. `1536d`, `3072d`) in place of Output Size, making models easier to compare. Two new models were added: `mxbai-embed-large` (Ollama, 1024-dim) and `gemini-embedding-2-preview` (Google, 3072-dim, with a raised 8,192-token input limit). **Friendlier custom-LLM auth errors**: When an institution's custom AI model (Bring-Your-Own-Token endpoint) rejects a request with a 401/403, users now see a clear "your administrator needs to verify the API key in Settings → AI Models" message instead of the raw upstream error. Diagnostic emails to admins include the offending model's name, URL, and provider so misconfigurations are easy to identify. **Tool-use uploads pinned to personal vault**: Files saved via AI tools (generated images/audio/video, Google Drive downloads, URL scrapes) now always land in a standard user's personal vault. Admins keep the existing behavior and can still route tool outputs to instance or account vaults. **Cross-institution collection access**: Fixed an issue where authorized admins got a 403 when opening collections (or adding/removing files) that belonged to another institution. The check now matches the entitlement-based behavior used elsewhere in the Files panel. **Files panel stuck loading**: Fixed a case where the Files panel stayed on "Loading, please wait…" after a failed collection fetch. It now falls back to the empty state so the error banner is visible and the panel stays usable. **Embedded Files panel scroll loop**: Fixed an infinite height growth when opening a collection from the admin **Instances → IP Vault** panel. The embedded Files container now uses a bounded viewport height. **Claude Opus 4.7**: Added support for Anthropic Claude Opus 4.7 on Bedrock (`global.anthropic.claude-opus-4-7`, `us.anthropic.claude-opus-4-7`) and the Anthropic Direct API (`claude-opus-4-7`). Opus 4.7 uses adaptive thinking with a native 1M input / 128K output context window (no extended-context toggle required). Opus 4.6 remains available and fully supported. **Files entitlement system**: IP Vault access is now governed by granular `files.list`, `files.add`, `files.edit`, and `files.delete` entitlements, so account admins can scope exactly who manages instance and account vaults. Standard users can no longer upload to instance vaults. Existing admin memberships are seeded with the new entitlements automatically — no action required. The Files panel shows only the actions each admin is entitled to. **Personal upload gate enforced server-side**: The institution setting **Disable File Upload for Users** is now enforced on the server — standard users get a 403 when uploading personal files (via file picker or URL) while it's enabled. **Allowed Email Domains for File Upload** still carves out per-domain exceptions. Collections and existing files stay editable; the gate applies to new uploads only. The Files panel shows a **Your access** pill in Vault Health reflecting your entitlement when switching between personal, instance, and account vaults. **Excluded Only file filter**: The Files panel now has an **Excluded Only** toggle alongside Included Only, to quickly audit files not part of the RAG selection. The two are mutually exclusive; toggling a file's inclusion while a filter is active removes it from the view. **Video generation with Nova Reel and Sora 2**: Video generation now routes through **Amazon Nova Reel 1.1** (Bedrock, default) or **OpenAI Sora 2** / **Sora 2 Pro** — configurable per institution from admin settings. Nova Reel makes 6-second clips from text or an image; Sora 2 makes 4, 8, or 12-second clips from text (Sora 2 Pro for higher quality). Video generation works in chat and convo modes — source image optional, aspect ratio (`16:9` / `9:16` / `1:1`) defaults to `16:9`, and the MP4 saves to your IP Vault. Stability AI's video endpoint was retired by the provider, so the Stability video model is now deprecated. **Stability AI provider**: Stability AI is now a provider (alongside OpenAI, Anthropic, Google, Mistral, xAI, and Bedrock) for image and audio generation. It adds audio generation (chat and convo modes) alongside image generation. Stable Audio 2 generates up to 190 seconds of audio from text, saved to your vault. Admins can pick per-category models (Image / Audio Generation) and override the API key per institution. **Bedrock legacy model deprecations**: Marked `us.amazon.nova-premier-v1:0`, `cohere.command-r-plus-v1:0`, and `amazon.nova-canvas-v1:0` as deprecated after AWS flagged them Legacy, and added `cohere.command-r-v1:0` as the active Cohere-on-Bedrock replacement. Institutions on the deprecated conversation models should switch to `us.amazon.nova-pro-v1:0` / `us.amazon.nova-2-lite-v1:0` or `cohere.command-r-v1:0`; for image generation, switch to a Stability or OpenAI model. **Cross-twin conversation search**: From the gallery, search your conversation history across all your active digital twins. Each result shows the matching twin with shortcuts to **View** the record or **Go To** the conversation directly — switching twins automatically when needed. **Login security hardening**: Strengthened security across every sign-in path — email/password, Google, GitHub, Facebook, custom OAuth2 SSO, and Pria SDK launches — protecting SSO logins from cross-site forgery, closing a password-validation edge case, and keeping one-time login codes out of browser history, server logs, and referrer headers. Existing sessions keep working; no action required. **Fix — the Max Tokens setting is honoured by every provider**: All providers (OpenAI, Anthropic, Google, Bedrock, xAI, Mistral) now correctly honor the institution's "Max Tokens (Completion)" setting; previously xAI and Mistral ignored it and OpenAI defaulted to 32,000. "Unspecified (LLM Default)" now uses each provider's native default, and "Auto" computes from the model catalog's output cap. **Bedrock thinking-mode users on "Auto"** will see longer thinking budgets — pick an explicit value ≤16,000 if you hit throttling. **"Unspecified" combined with thinking mode isn't supported on Bedrock** — use "Auto" or an explicit value ≥10,000. **Admin edit modals**: Every admin edit page (Instances, Accounts, Users, Assistants, AI Models, SSO, Tools, Questions, Feedbacks, Sessions, Histories, Saved States) now opens as a Lightbox over its list page, so you keep your scroll position, filters, and pagination. Prev/Next chevrons (and Ctrl+Arrow shortcuts) move between rows without closing the modal. Delete confirmations are now consistent Lightbox dialogs with an entity summary card. External deep-links (e.g. Canvas LMS SDK, Pria.js) continue to work. **Institution lifecycle management**: The admin Instances list now helps manage institution lifecycles. A **status filter** (Active | Inactive | All) switches views, and a **Last Activity** column shows a traffic-light dot (green within 30 days, yellow 30–90, red over 90). The Manage dialog offers **Mark as Inactive** on a stale active instance or **Reactivate** on an inactive one, and long-idle inactive instances (over 90 days) show a **Ready for removal** badge next to the Delete button. **Inline account switcher**: Admins with access to multiple accounts and the `institutions.edit` entitlement can reassign an instance to a different account directly from the Instances list — click the pencil next to the account name, pick a target, and confirm. The row updates in place without reloading. **Last Activity on Accounts and Users lists**: The admin Accounts and Users lists now show the same Last Activity column and stale indicator as the Instances list — traffic-light dots, relative time since last activity, and a yellow "inactive" hint for rows idle 30+ days — helping spot dormant accounts and users. **Per-row entitlement scoping**: Fixed an issue where an admin with membership in one institution saw Edit, Manage, and Delete on all rows in the Instances list — even institutions where they only had plain membership. Entitlement checks are now scoped per row, so admin actions only appear where you actually have permission. **Sidebar UX redesign**: Redesigned the Pria sidebar with a dedicated **Conversation Model** label and an entitlement-gated Configure button for jumping to model settings. Digital Twin and TTS Audio sections use a clean card layout, and new **About RAG Modes** and **About Document Search** help sections were added. The Tools section is now an always-visible scrollable list showing the enabled count. The "Load Max Dialogues" button was removed — infinite scroll handles it. **Welcome screen enhancements**: The Pria welcome screen now has **flip cards** that reveal descriptions on hover, a 3-column layout, and a subtle shimmer on the "What can I help with?" title. The streaming dialog uses a consistent input-box width and a colorful bouncing loader. **Streaming scroll UX**: A smoother streaming experience — your input and loader scroll into view immediately on submit, the completed dialog is fetched before clearing the stream to prevent jumps, and the view settles smoothly on the completed message. **Admin Lightbox Manage modal**: The Instances list **Manage** action is now a two-tier Lightbox (main + nested Confirm) instead of a popup. Release Credits is hidden when an instance has no parent account, and action buttons match their icon colors (amber for Recover, orange for Delete History). All admin list pages use a consistent action-menu wrapper. **Base64 image support on custom LLMs**: Custom OpenAI-compatible LLMs (Bring-Your-Own-Token) now accept base64-encoded images in the conversation, matching the native OpenAI provider — useful for vision-capable custom endpoints that don't support URL image input. **IP Vault UX improvements**: Owners can now include/exclude, download, and move account-shared files regardless of their current institution. The Status badge (Included/Excluded) shows on all account-shared files, included files get a blue border, collection lists are deduplicated, and the Source field shows the assistant name with the instance in parentheses for clearer attribution. **PDF OCR memory optimization**: Reduced memory use during PDF OCR ingestion — page concurrency is capped, rendering scale was lowered, and file I/O is now async — preventing out-of-memory crashes on large image-based PDFs. **Fix — long conversations on Anthropic models**: Long conversations with a system prompt on Anthropic models no longer fail with an error. **Android Chrome login fix**: Fixed a blank blue page that some Android Chrome users saw after Google sign-in. **Fix — "No Content" errors**: An empty answer from an AI provider no longer shows a "No Content" error. **Files panel stability**: Fixed an issue where the Files panel could close unexpectedly when clicking the backdrop during upload, file move, or ingestion. **Admin Instance About field**: The About field in the admin Instance edit form is now a code editor with markdown syntax highlighting and a character counter, making long instance descriptions easier to write and proofread. **Assistant RAG collections**: Assistants can now be scoped to specific document collections in the IP Vault — the assistant's retrieval only searches the selected collections, enabling focused assistants that reference specific knowledge bases while sharing the same IP Vault. **Per-assistant tool configuration**: Administrators can now control which AI tools each assistant can use. Set an assistant to "Selected Tools Only" and pick specific tools from the institution's enabled set, with a filter toggle to view only selected tools or expand to the full list. **Assistant-scoped RAG search**: The standalone RAG Search tool and the MCP search now accept an optional assistant to scope results to that assistant's configured collections. Results show collection names and the number of files searched, even when there are no matches. **Faster RAG retrieval**: Vector search across your vault is now significantly faster at scale. **PDF OCR fix**: Fixed an issue where image-based PDF pages failed OCR because the original PDF was sent to the vision step instead of the converted page image. **xAI Grok provider**: xAI is now an AI provider in Pria — conversations, tools, image understanding, speech and embeddings. Supports the Grok 3, Grok 3 Mini and Grok 2 Vision models. **Updated AI models**: Added GPT-5.4, xAI Grok-4.20, Stability AI image generation models, and new embedding models to the platform catalog. Gemini 3.1 Flash Live Preview is now the default for Google real-time conversations. **Admin Personalization reorganization**: Reorganized the Personalization tab with a dedicated Convo (Real-Time Speech-to-Speech) section, improved Document Summarization placement, and clearer sub-section visual hierarchy. **Voice preview links**: Added direct preview links to the OpenAI TTS Playground and Google AI Studio so you can audition a voice before selecting it. **ElevenLabs credential warning**: A warning pill now appears in the Personalization tab when the ElevenLabs Agent ID or API Key is missing, guiding admins to the Configuration tab. **Canvas course filtering**: Fixed an issue where conversation history wasn't filtered by course context when launching Pria via the Canvas LMS SDK. **Canvas section reorder**: The Canvas integration section moved above Voice Cloning in the Configuration tab for better discoverability. **Embedded Pria in restrictive LMS frames**: Pria now works reliably when embedded in third-party LMS platforms with restrictive sandbox policies. **Voice media embeds**: Fixed an issue where media embed URLs in AI responses were corrupted by the voice sanitizer, preventing audio and video previews from rendering correctly. **Documentation audit**: Comprehensive update of all documentation to reflect current model catalogs, tool counts, voice providers, and admin UI layouts. **RAG mode selector**: Choose between three RAG modes — Normal (RAG-augmented responses), Search Only (returns only RAG results without AI generation), and Disabled (pure LLM responses). Available in the Pria sidebar, as a toolbar cycle button, and in your profile page. **Admin Histories pagination & filtering**: The admin Histories page now uses server-side pagination with infinite scroll instead of loading all records at once. Added a Course Name filter, and the charts (Model Distribution, Peak Usage Heatmap) now respect all toolbar filters including User, Account Type, Course, and Date Range. **Admin server-side pagination**: All 14 admin list pages now use server-side pagination with infinite scroll instead of loading all records at once — Users, Entitlements, Feedbacks, Institutions, Sessions, Accounts, AI Models, Assistants, Tools, SSO Providers, Payments, Saved States, Questions, and System Sessions. A "Showing X of Y" record count appears above each table, and additional pages load automatically as you scroll. **March 2026** * **Mistral AI Native Provider**: Added Mistral AI as a first-class provider — conversation, vision, reasoning, code, multilingual, TTS, STT, embeddings, and moderation models now run natively for better performance and full feature support * **YouTube URL Import**: Paste a YouTube URL into the uploader and Pria automatically pulls the transcript with timestamps, video metadata, and thumbnail. Videos without captions can still be imported with Skip Indexing enabled, and re-ingesting refreshes the transcript and thumbnail * **Reprocess Content**: Redesigned Reprocess Content dialog with dedicated cards for re-embedding and re-ingesting, a Skip Indexing option, and clearer error handling * **Skip Indexing**: Upload files, URLs, or clipboard content to your IP Vault without indexing them for AI search — useful for storage-only files or content you want to index later. A per-file "Skip Indexing" checkbox is available on all upload tabs, and skipped files can be reprocessed anytime * **SSO Provider Management**: Admins can configure OAuth 2.0 Single Sign-On providers from the Admin dashboard — set identity provider endpoints, client credentials, and field mappings, then assign them to institutions. Users sign in at `/sso/{slug}` and are automatically logged in and enrolled, with connectivity testing and dark mode support on the SSO login page * **File Preview**: Enhanced fullscreen file preview with HTML document rendering (Preview and Source views), print support for all file types, and an open-in-new-tab button * **Guest Mode**: Institutions can enable a minimal guest interface that hides the sidebar, file uploads, assistant switching, and profile menu — ideal for demos or guided experiences * **Lightbox Wizards**: Create and Enroll Digital Twin flows now open as overlay modals above the Gallery, so you never lose your place while browsing * **Copy Feedback**: Clipboard copy actions now show a smooth 3D icon-flip animation instead of popup alerts, with clean print output in both light and dark mode * **Gallery Favorites**: Toggle favorite Digital Twins directly from the Gallery cards for quick access * **ElevenLabs Transport**: Admins can choose the connection method for ElevenLabs voice conversations * **RAG Search Timing**: Search results now show how long the search took, for performance transparency * **Google Document Upload**: Paste Google Docs, Sheets, or Slides URLs directly into the uploader — content is read securely via Google OAuth. Supports personal and institution-level Google authorization, with context-aware prompts to connect your account when needed * **Google Slides Reader**: Google Presentations are now fully supported in URL uploads, extracting text from all slides * **RAG Segments Panel**: Improved segment management with metadata editing and a one-click reprocess workflow * **Gemini Live Stability**: Improved reconnection handling for Gemini voice conversations, with automatic retry on unexpected disconnects * **Smarter Conversation Memory**: Pria now compacts older conversation history into concise summaries while keeping your most recent exchanges verbatim, so longer conversations stay coherent and responsive without burning extra credits. Activates automatically when Remember History is set to 6 or higher * **Streaming Performance**: Dramatically smoother AI response streaming, eliminating visible lag during long responses * **Typing Responsiveness**: Fixed input lag during AI streaming — typing in the text entry bar is now instant even while a response is being generated * **Stripe Billing**: Stripe-powered credit purchasing with personal and institutional packages, purchase confirmation screens, and a new admin Payments page with full payment history * **Conversation Manager**: Manage conversations and favorites in Lightbox popups for a cleaner, more focused experience * **Mini Sidebar**: Redesigned sidebar with hover expansion and instant search-as-you-type for quick access to conversations and tools * **Options Tray Redesign**: Animated collapsible options panel with a soft glow border for a more polished settings experience * **Creation Wizard**: Rebuilt the Digital Twin creation flow as an intuitive 8-step wizard with step animations * **PDF Generation**: AI can now generate formatted PDF documents, with math symbols and special character support * **Drag & Drop Upload**: Upload files by dragging them onto the interface or pasting from clipboard, with a new fullscreen file preview * **Code Editor**: Rich code editor with live markdown preview for editing instructions, replacing plain text areas * **Summary View**: Redesigned summary display with a loader animation and streamlined follow-up UI * **Multi-Provider Embeddings**: Document search embeddings now support Bedrock Titan, Google Gemini, and OpenAI models, selectable per institution * **RAG Chunk Enrichment**: Smarter document processing for more accurate search results * **Embedding Segments**: New UI for creating and managing individual embedding segments * **OpenAI Realtime Enhancements**: Noise reduction, configurable transcription language, and improved session defaults for Convo Mode * **Gemini Realtime Improvements**: Fixed transcript accumulation and voice separation in Gemini-powered conversations * **Download Tracking**: Upload view now surfaces download statistics and file usage analytics * **Vault Health**: File integrity indicators visible for all users across all file statuses * **iPhone & QuickTime Audio Support**: Upload `.mov` recordings directly — Pria automatically extracts and converts the audio before transcription, so iPhone voice memos and QuickTime exports work seamlessly across all AI providers * **API Key Authentication**: Admins can now authenticate via API key for programmatic access — generate, view, copy, and revoke personal API keys directly from the Profile page * **Admin Histories Filter**: New account type dropdown in the Histories admin page lets you filter conversation records by user or admin accounts, with filter state preserved across pagination * **Clipboard Restrictions**: Institutions can disable copy/paste for non-admin users to protect sensitive AI-generated content, while admins retain full access * **Animated Loading Screen**: Redesigned loading experience with an animated Pria logo, radial fade, and smooth fade-in transitions * **Bundle Optimization**: Faster page loads through code splitting * **Security**: Inactive or pending institution members are blocked from AI interactions; all active sessions are revoked on password change; Facebook login moved to server-side OAuth2; password policy enforcement; SVG sanitization; and vulnerability remediation * **Dark Mode**: Fixed select dropdown and input background inconsistencies in dark mode * **File Downloads**: Corrected file extension mismatches in downloaded files * **Deep Research**: Reasoning effort automatically tuned for deep-research model configurations * **Uploads Access Control**: Three access levels for files — owner, institution members, and shared * **iOS Safari**: Fixed keyboard toolbar overlapping the chat input area on iOS Safari **February 2026** * **Gemini Flash Live**: Added Google Gemini 2.5 Flash as a third real-time voice provider in Convo Mode, alongside OpenAI Realtime and ElevenLabs, with tool calling, transcription, and per-institution voice selection * **Claude Sonnet 4.6**: Added support for Claude Sonnet 4.6 and set it as the new platform default model * **Gemini 3.1 Pro**: Added Gemini 3.1 Pro to the model catalog * **GPT Realtime 1.5**: Added OpenAI gpt-realtime-1.5 and set it as the default for Convo Mode * **Direct AI Providers**: Introduced native Anthropic and Google GenAI providers for direct model access, improving performance and enabling full feature support (tool use, streaming, prompt caching) * **Reasoning Effort**: Added configurable thinking/reasoning effort levels alongside max token settings for supported models * **Custom AI Models**: Added validation for custom model configurations (API URL, API key) to prevent misconfiguration, plus deprecated-model indicators in the catalog * **File Collections**: Organize files into nested collections with drag-and-drop, breadcrumb navigation, and animated transitions, plus a bulk edit mode for multi-select move, delete, and reprocess * **Files Redesign**: Rebuilt the Files interface with a fast grid, infinite scroll, live upload progress indicators, and enhanced file cards with type-specific icons * **Upload Experience**: Redesigned upload workflow with deferred processing, RAG segment editing, and Google Drive deduplication * **Chunked Audio/Video Transcription**: Large audio and video files (>20MB) are automatically transcribed with speaker diarization support, raising the upload limit to 150MB * **Excel Legacy Support**: Added support for older `.xls` Excel spreadsheets * **History Compaction**: Conversation history compaction keeps the 3 most recent exchanges verbatim while summarizing older context, reducing token usage in long conversations. Configurable per institution * **Extended Context**: Added a toggle to enable 1M token extended context for supported models, shown only when the selected model supports it * **Vault Health**: New health panel in the Files vault showing error counts, unused files, and content quality scores * **RAG Error Recovery**: Files stuck in processing are now automatically marked as failed with a red indicator, and stale uploads (>15 minutes) offer one-click Delete or Reprocess * **Edit Assistant Redesign**: Redesigned the Edit Assistant lightbox with improved variable management and dynamic variable mapping * **ElevenLabs Voice**: Added ElevenLabs as a Realtime speech-to-speech voice provider with voice cloning support in Digital Twin personalization * **Google Tools in Convo Mode**: Google services (Drive, Calendar, Gmail) are now accessible during voice conversations * **Session Analytics**: New charts in the admin Sessions and Histories tabs — device type distribution, activity timelines, peak usage heatmaps, and model distribution with selectable chart types * **Google OAuth Multi-Institution**: Added context-aware Google OAuth supporting authentication across multiple institutions with automatic token validation * **Account Manager Role**: Introduced a new Account Manager role for managing multiple institutions within an account (contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request access) * **Enroll Users**: Added an Enroll Users tab to the admin Entitlements page for streamlined onboarding with auto-loading of eligible users * **Platform Monitoring**: Enhanced platform-level session monitoring with per-transport hourly stats and persistent client session history * **Admin Filtering**: Added an AccountSelect filter across all admin list pages for easier multi-account management * **Security Hardening**: Signed SDK launch tokens, field whitelisting on all update endpoints, hashed reset codes, rate limiting on auth endpoints, and privilege escalation fixes * **Dark Mode**: Extended dark mode to loading dialogs, info banners, branding backgrounds, login buttons, and Canvas token cards across 18+ components * **Profile Auto-Save**: Profile setting toggles now auto-save on change without a manual save action * **Feedback Redesign**: Redesigned the feedback interface as a Lightbox modal for a more focused experience * **Touch Support**: Added touch event support for improved mobile and tablet interactions * **Enrollment Search**: Enhanced the enrollment page with keyword search * **Performance**: Optimized file queries, assistant loading, connection handling, and session charts for faster page loads and fewer admin timeouts **January 2026** * **Dark Mode (Beta)**: Released `dark` mode support in the Pria UI, with custom dark background images per institution * **Digital Twin Gallery**: Launched a browsable gallery for discovering and selecting Digital Twins, with ElevenLabs voice embedding support * **Text Entry Repositioning**: Resized and repositioned the text entry bar to float over the conversation history for better visual hierarchy and more screen space * **Files and Assistants Layout**: Repositioned Files and Assistants **under** the text entry bar for a more compact, streamlined display, with redesigned file and assistant cards * **Profile Picture Upload**: Added the ability to upload profile pictures from webcam or file * **Sidebar Enhancements**: Collapsible sidebar tray, direct tool enable/disable toggle, and a RAG-specific configuration panel * **Terminology Update**: Renamed "Agents" to "Tools" across the platform; instances are now consistently called "Digital Twins" * **Institution Cloning**: Administrators can now clone an entire institution configuration * **Streaming API**: Added a Q\&A streaming endpoint for real-time response delivery * **Prompt Optimization for 2026 Models**: Tuned system instructions for the latest models (GPT-5.2, Claude 4.5, Gemini 3.0 Flash), prioritizing personality-first responses for more immersive Digital Twin experiences * **Tool Guidance Toggle**: Added a switch to reduce instruction verbosity for general conversations while keeping full guidance for advanced research queries, improving response speed without sacrificing quality * **Model-Aware Response Tuning**: Tuned responses to leverage the latest models' capabilities — improved reasoning, fewer hallucinations, and better context retention across long conversations * **Voice Selection**: Enhanced voice picker for Convo mode with an improved selection experience * **SDK Hardening**: Improved SDK reliability with inactive-instance handling and membership validation * **File Cleanup**: Added an automatic cleanup routine to remove orphaned files from deleted users and institutions **December 2025** * **Open AI GPT 5.2**: Added support for the latest GPT 5.2 model from OpenAI. * **Manage Favorites**: Rename and organize your favorites with custom descriptions or AI-generated summaries. * **GitHub Login**: Added support for authentication via GitHub. * **Google Login**: Enhanced authentication process for Google accounts. * **Account-Level Assistants**: Assistants can now be shared at the account scope, making them instantly available to all digital twins within the same account. * **Account-Level RAG Files**: Documents can now be promoted from Instance to Account level, giving every digital twin in the account access to a shared knowledge base. * **History Graph**: Now defaults to the last 12 weeks with daily data shown as a bar chart. * **Assistant Filtering**: Added a toggle to quickly filter assistants by type: Personal, Instance, or Account. * **Model Tracking**: Automatically records which AI model was used for content summarization and image analysis when uploading files and URLs. **November 2025** * **Sonnet 4.5**: Added support for the Claude Sonnet 4.5 model and set it as the platform default. * **All Anthropic Models**: Upgraded plans to support large input context up to 1 million tokens. * **Canvas tools**: Canvas lookups and Canvas search now run at the same time, so answers arrive sooner. * **Content Length Returned by Tools**: Tools now return up to 60,000 characters (increased from 20,000). * **Assistants Features**: New options to disable RAG searches when running assistants, and to run assistant instructions without system context. * **Pria JS SDK**: Added a `pria.isReady()` function that returns whether Pria is ready to receive messages. * **File Import Enhancements**: Improved support for ZIP and IMSCC file imports. **October 2025** * **Shared Memory**: Added shared memory that stores information accessible across all users of the same digital twin, enabling cross-user persistence and collaboration. * **Memory enhancement**: Memory now supports both user-specific and shared memory. * **Privacy Policy Enforcement**: Introduced account-level privacy policy settings that require users to accept terms before accessing Digital Twins. * **Selective File Upload Authorization**: When file upload is disabled for users, administrators can authorize selected user groups by email domain suffix. * **Selective Assistant Authorization**: When Assistants are disabled for users, administrators can authorize selected user groups by email domain suffix. * **Favorite Digital Twins Priority**: Digital twins marked as favorites now appear first in the gallery carousel for easier discovery and quick access. * **OCR for Image-Based PDFs**: Image-based PDFs (with no extractable text) now automatically undergo OCR for text extraction and indexing. * **Enhanced Date Range Selection**: Administrators can now filter history and session records using a date range picker. * **Documentation Updates**: Comprehensive updates covering RAG (Retrieval-Augmented Generation), Bring Your Own Token (BYOT), the Canvas tools, and more at [https://docs.praxis-ai.com](https://docs.praxis-ai.com) **September 2025** * **Anthropic Sonnet 4.5**: Support for Claude Sonnet 4.5 (20250929) with a 200K context window, 64K output tokens, and enhanced multimodal capabilities including vision, document analysis, and tool use. * **MCP Server**: Introduced an MCP Server that lets any AI solution call your Digital Twin. * **Security & Performance**: Improved RAG security and performance. * **REST APIs**: Expanded functions in the Runtime and Admin REST APIs. * **Documentation**: Major updates—especially for Assistants, Canvas integration, and MCP at [https://docs.praxis-ai.com](https://docs.praxis-ai.com) * **Convo Mode Input**: Added text input for conversations in full screen; reply by text while receiving vocal responses. * **Transcripts in Full Screen**: Live transcripts available during Convo mode in full screen. * **Password Reset**: Users can be required to reset their password on next login. * **Logged Remote Calls**: Remote connector (MCP) calls are now logged in Tools Details. * **Gepetto Digital Twin**: Improved AI Portrait Artist for generating Digital Twin avatars. * **Moderation by Default**: Moderation is now enabled by default when creating new Digital Twins. **August 2025** * **Connector MCP**: Added support for Remote Model Context Protocol (MCP) servers, individually configurable for each Digital Twin instance. * **Custom LLM Integration**: Support for custom Large Language Models (LLMs) with per-Digital Twin configuration, letting organizations deploy specialized models for specific use cases (e.g. Vertex). * **Digital Twin Gallery Enhancements**: Improved navigation with intuitive arrows and resolved display flickering on macOS for smoother interactions. * **OAuth Verification for Canvas Integration**: Added mandatory OAuth 2.0 authentication for Canvas Theme SDK access, ensuring secure user verification before Digital Twin initialization. * **Streamlined Digital Twin Creation**: A simplified 2-step Digital Twin creation process directly through the Gallery, reducing deployment complexity and time-to-value. * **Support for Mermaid diagrams and charts**: Added support for [Mermaid Diagramming and Charting](https://mermaid.js.org/). **July 2025** * **User Experience**: Enhanced digital twin loading for standard users. * **Branding**: Added branding for personalized login/signup. * **Text Customization**: Customizable activation and joining messages. * **Logo Branding**: Added a logo option for login sequence customization. * **Animation**: Added animated picture support for Digital Twins. **June 2025** * **Token Management**: Improved Canvas faculty token refresh. * **Digital Twins**: Added a gallery for twin selection and management. * **REST Tools**: Custom REST-enabled tool creation for instances. * **Email Notifications**: Enhanced approval workflow notifications. * **Speech Features**: Retired a deprecated speech component. * **Accessibility**: Improved contrast ratios and ARIA labels. * **Substitution Variables**: New prompt variable management system. * **Email Tool**: New email functionality. * **Conversation Persistence**: Added save/restore for your last conversation. **May 2025** * **Search Enhancement**: Integrated Exa.ai for semantic web search. * **xAI Integration**: Added support for xAI models. * **SDK Toolkit**: Enhanced UI development capabilities. * **File Upload**: Expanded support for all file types across platforms. **April 2025** * **Credit Transfers**: Enhanced account-to-instance credit management. * **File Tools**: Pria can now look through your document collections. * **Instance Management**: New comprehensive admin management system. * **Performance**: Improved file loading with asynchronous summaries. * **Pricing**: Decreased costs across personal accounts. **March 2025** * **Email Processing**: Improved email content parsing. * **Platform Upgrade**: Backend updates for improved compatibility and stability. * **Streaming**: Enhanced conversation streaming. * **Canvas Scoping**: Added course ID filtering for history records. * **Assistant Management**: Made user assistants admin-visible for sharing. **February 2025** * **AI Models**: Added Claude 3.7 Sonnet support. * **Conversation Mode**: Extended user access to conversation features. * **File Management**: Enhanced file handling and RAG integration. * **Mistral Integration**: Added direct API access for Mistral models. * **Bug Fixes**: Resolved styling and file system errors. **January 2025** * **Accessibility**: CSS improvements for users with epilepsy. * **Canvas SDK**: Updated to version 1.3 with enhanced user ID handling. * **Security**: Addressed third-party component vulnerabilities. * **Navigation**: Improved UI layout for large screens. * **Canvas**: Pria can now look up more of your Canvas course information. * **SDK Features**: Added browser messaging capabilities and documentation. **December 2024** * **Data Compliance**: Added DPA compliance features for data deletion and recovery. * **Canvas Integration**: Added a discussion bot plugin. * **Token Management**: Enhanced Canvas token refresh. **November 2024** * **Database Improvements**: Improved database performance. * **Reliability**: Improved retry handling for model requests. * **Analytics**: Added tool usage tracking and metrics. * **Instance Management**: Added the ability to disable specific assistants per instance. **October 2024** * **Email Notifications**: Added low-credit alerts for administrators. * **Location Services**: Enhanced web search with location-based results. * **Document Summarization**: Improved summarization quality and reliability. * **Course Management**: Added courses in the sidebar for institutional scoping. * **Canvas tool**: Enhanced interpretation and display capabilities. * **Student Analytics**: New feature to analyze student questions. * **Assistant Features**: Launched new Assistant functionality and a Course Syllabus Generator. * **Bug Fixes**: Resolved input size limitations and tool usage issues. * **Admin Enhancements**: Multi-select instance support and Gemini Flash 1.5. **September 2024** * **LTI Brightspace**: Bug fixes for course parameter passing. * **SSO Integration**: Implemented QuickLaunch SSO OAuth. * **Credit Management**: Added admin ability to transfer credits between accounts. * **AI Models**: Added support for o1-preview and o1-mini models. * **Scalability**: Fixed entitlements listing performance issues. **February 2024** * **Scientific Literature**: Added a CrossRef tool for academic research support. * **Real-time Communication**: Implemented OpenAI WebRTC APIs with UI. * **Voice Features**: Enhanced voice selection capabilities. **January 2024** * **Canvas Integration**: Captured global ID for Canvas OAuth tokens. * **User ID Updates**: Relaxed user ID requirements to support string format. **May 2023** * **UI Improvements**: Various interface enhancements and bug fixes. **April 2023** * **UI Enhancements**: Implemented anchor text conversion for links. * **Copy Functionality**: Added copy-input-to-clipboard feature. * **Timeout Resolution**: Fixed response timeout issues. * **SDK Integration**: Developed embed SDK for LMS integration. * **Personality Customization**: Added ability to swap AI personalities per institution. * **Code Block Support**: Enhanced parsing for multiple code blocks. * **Image Display**: Added HTML image tag support. # Contact Support Source: https://docs.praxis-ai.com/mdx/contact-support Our customer support team is available to help you get the most out of Praxis AI ## Freshdesk Access our support portal at [Praxis-AI Freshdesk](https://praxisai.freshdesk.com/support/home) ## Email Support If you are having trouble logging in or using Praxis AI, please send us an email at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) ## Contact form Fill out a [contact form](https://praxis-ai.com/contact/) ## Social Networks Find us on most social networks *** # Getting Started Source: https://docs.praxis-ai.com/mdx/developer/getting-started Choose your integration path — connect your app, site, or LMS to a Praxis AI Digital Twin. > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. The **Developer** section covers every programmatic way to connect to a Praxis AI Digital Twin — REST APIs, the JavaScript SDK, web and chat embeds, LMS integrations, voice providers, and the MCP server. New here? Start with **Authentication**, then pick the integration path that matches what you are building. ## Choose your integration path > [card] [Chat Completions](/mdx/integrations/chat-completions/introduction) > > **Fastest path.** Point any OpenAI-compatible SDK at a Digital Twin as a Custom LLM — minimal setup, full compatibility. > [card] [REST API](/mdx/api-reference/introduction) > > **Full control.** Call the Runtime and Administrator APIs directly to build custom backends and automations. > [card] [JavaScript SDK](/mdx/sdk/javascript) > > **Embed in your app.** Add AI chat, assistants, and Twin actions to your own web platform with the SDK. > [card] [Web & Avatar Widgets](/mdx/integrations/web/introduction) > > **Drop-in embed.** Add a Twin — or a talking avatar — to any website with a script tag or React component, or share a public guest link. > [card] [LMS Integrations](/mdx/integrations/canvas/overview) > > **Deploy in your LMS.** Native Canvas, plus D2L, Blackboard, and Moodle via LTI 1.3. > [card] [Voice & Avatars](/mdx/integrations/voice-providers/overview) > > **Give it a voice or a face.** OpenAI Realtime and GPT-Live, Gemini Live, xAI, ElevenLabs, Cartesia, and Anam talking avatars. > [card] [MCP Server](/mdx/integrations/mcp/introduction) > > **Connect an LLM stack.** Expose your Twin's context to custom LLM workflows via Model Context Protocol. ## Before you start **1. Authenticate** Every integration needs credentials. Review [Authentication](/mdx/integrations/authentication/overview) for API keys, social OAuth, and enterprise SSO. **2. Pick a path** Use the cards above to match your use case — a hosted app, an embed, an LMS, or a custom LLM stack. **3. Build & test** Follow the guide for your path. Each area includes setup steps, examples, and reference material. ## Related * [Integrations Overview](/mdx/integrations/overview) — all supported paths at a glance * [Authentication](/mdx/integrations/authentication/overview) — API keys, OAuth, and SSO * [REST API Reference](/mdx/api-reference/introduction) — Runtime and Administrator APIs * [JavaScript SDK](/mdx/sdk/javascript) — embed Pria in your own app # Anam Avatar Source: https://docs.praxis-ai.com/mdx/integrations/anam/introduction Add a lifelike animated avatar to Convo Mode — choose a persona, voice, and intro behaviour. Anam adds a real-time animated avatar to **Convo Mode**. While the user speaks to the Digital Twin, an embodied character appears on screen with synchronised lipsync, expressions, and natural turn-taking. Your chosen conversation model still does the thinking — Anam handles voice synthesis, animation, and the audio plane. > [!TIP] > > Anam is Pria's avatar provider — choose it whenever you want an embodied, talking presence in Convo Mode rather than voice alone. *** ## What Anam Is Anam is a vendor that streams a photorealistic animated avatar over WebRTC, with built-in microphone capture, speech recognition, voice synthesis, and lip-sync. Pria connects to Anam as a **Custom LLM** — meaning your Conversation model (any provider Pria supports) generates the assistant's words, and Anam speaks them through the avatar. ``` User speaks → Anam (mic, STT) → Pria (your LLM, RAG, tools) → text back → ↓ Anam (TTS + lipsync) → User sees and hears ``` This split lets you keep all the brain power inside Pria (knowledge base, IP Vault, tools, memory, guardrails) while outsourcing the voice + video presence to a vendor optimized for it. *** ## When to Use Anam > [card] High-engagement training > > Onboarding, compliance modules, role-play scenarios where an embodied character holds attention better than a text bot. > [card] Sales & marketing demos > > Greeter avatars on landing pages, interactive product walkthroughs, video-call-style sales conversations. > [card] Accessibility > > Visible mouth movements support lip-reading and comprehension for users with hearing differences. > [card] Classroom presence > > A consistent visual tutor across sessions feels more like a teaching assistant than a chat interface. For fast Q\&A, code help, or text-heavy conversations, a plain voice provider (OpenAI Realtime, Gemini Live, ElevenLabs) is usually a better fit. *** ## Getting Anam Switched On **The Praxis AI team sets the avatar up for you.** Choosing the character, its voice, the still image people see before it connects, its opening greeting and the Anam credentials behind it are all done by Praxis AI on your Digital Twin — there's nothing for you to obtain from Anam first. **1. Ask for it** Contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) and say which Digital Twin you want an avatar on. **2. Describe the character you want** Bring the persona rather than the technical details — the kind of presence that suits your audience, the tone and accent of the voice, and the greeting you'd like it to open with. Praxis AI matches that to the Anam catalogue. > [!TIP] > > If you already have an Anam account of your own, say so — your Digital Twin can be pointed at it, and the avatar's minutes then bill to you rather than to Praxis AI. See [Cost Notes](#cost-notes). **3. Turn the conversation on** Once the avatar exists, **Enable Convo (Speech-to-Speech)** under **Realtime / Convo** on **Configuration and Integrations**, and set the **Speech-to-Speech Model** on **Personalization and AI Models** to the Anam one. ### What you can tune yourself Once it's running, these are yours to adjust — no request needed: | Setting | Where | What it does | | - | - | - | | **Anam Response Model** | **Convo (Live Voice & Avatar Calls)** | The model behind the avatar's spoken turns only. Leave it on the default to follow the twin's usual conversation model. A faster model here keeps replies snappy without touching text chat | | **Apply the avatar standard** | **Instance Settings › Voice**, under **Anam Response Model** | Lists the settings that differ from the recommended avatar configuration and changes them only when you confirm. Greyed out when the twin already matches | | **Speech Recognition Language (Deepgram Flux)** | **Instance Settings › Voice** | What the avatar can hear: **English only** (default) or **Multilingual** (German, English, Spanish, French, Hindi, Italian, Japanese, Dutch, Portuguese, Russian). Also applies to embedded avatars and meeting bots | | **Voice Reasoning Effort** | **Convo (Live Voice & Avatar Calls)** | How much the model thinks before speaking. Thinking time is silence on a call, so the default is off | | **Portrait avatar on the web app** | **Anam Avatar** | A tall, portrait-shaped avatar for the ordinary web view. Off by default | | **Portrait avatar on the mobile app** | **Anam Avatar** | The same for mobile fullscreen. On by default | | **Fill the box in immersive view** | **Anam Avatar** | The avatar fills its frame edge to edge, cropping the sides or the top and bottom, instead of sitting inside a blurred border. Off by default | | **Expressive voice & face** | **Anam Avatar** | Emotion-aware delivery and a warmer range of expression. Off by default | | **Avatar audio EQ & compressor** | **Anam Avatar** | Fine tone and loudness control for the avatar's voice. Both off by default — leave them alone unless you have a specific audio problem to fix | Individual assistants can also override the model used for their spoken turns — see [Per-Assistant Voice Model Override](#per-assistant-voice-model-override). *** ## Connecting the LLM Anam runs in **Custom LLM** mode — it does not have its own reasoning engine. Instead, each conversational turn flows like this: 1. User speaks → the speech is transcribed in the browser. 2. Browser sends the user's utterance to Pria. 3. Pria runs your configured **Conversation Model** (any provider — Claude, GPT, Gemini, Grok, etc.) with full access to RAG, IP Vault, tools, and conversation history. 4. Pria streams the assistant's reply back to the browser. 5. Anam speaks the reply through the avatar with synchronised lipsync. This means you can change the conversation model independently of the avatar — switch to a faster model for snappy demos, or a larger model for deeper tutoring, without changing the avatar configuration. > [!NOTE] > > The Conversation Model is configured per Digital Twin in the [AI Models](/mdx/admin-guide/ai-models) section. The avatar uses whatever you've selected there. *** ## Testing the Avatar **1. Open Convo Mode** From any Digital Twin chat view, click the **Convo** button (the microphone icon in the input area). **2. Wait for it to connect** The avatar's still picture shows for a moment while the session connects, then the live avatar takes its place. **3. Hear the greeting** If a greeting was set up for your avatar, it speaks it once the video, the audio and your microphone are ready (after a short pause, one second by default). If you hear nothing at all, contact Praxis AI — the avatar's setup is theirs to check. **4. Have a conversation** Speak naturally — the avatar should respond with synchronised lipsync. Tool calls (search, IP Vault lookups) happen invisibly server-side; the avatar just speaks the answer. *** ## Per-Assistant Voice Model Override The avatar and voice are configured once per Digital Twin, but each **assistant** can override the model used for its voice turns. In the assistant's edit panel, set **STS / Voice Conversation Model** (and, if you like, **STS / Voice Reasoning Effort**) — it applies only when that assistant runs in a voice conversation through ElevenLabs, Anam, Cartesia or GPT-Live. If unset, voice turns use the assistant's normal conversation model, then the Digital Twin's voice/default model. This lets a "Sales Onboarding" assistant answer with a fast, snappy model while a "Research Tutor" assistant uses a deeper model — all through the same avatar. *** ## Cost Notes There are two bills to keep straight, and they meter different things — and the picture changes depending on whether the avatar is talking with one person in Convo Mode or has been sent into a meeting. **In a one-to-one Convo Mode session:** Pria credits meter the conversation. An avatar session is charged on the tokens of the spoken exchange, totalled across the session and deducted when the session ends — the same way a voice-only Convo Mode session is charged. **The avatar adds no per-minute line item to the credit balance.** If your Digital Twin runs on your own Anam account (arranged with Praxis AI — see [Getting Anam Switched On](#getting-anam-switched-on)), Anam separately bills your Anam account per minute of active avatar time and you'll see that usage in your Anam dashboard — on top of the Pria credits the conversation consumes. On Praxis-managed Anam access there is no second bill; the avatar time is already covered by your Praxis plan. **In a meeting** (the avatar sent into a Zoom, Google Meet, or Teams call as the [Meeting Agent](/mdx/admin-guide/meeting-agent)), billing works differently: Pria meters the avatar, the meeting bot, and live transcription per minute of the time the bot is in the call (at one and a half times the providers' cost), plus the twin's spoken turns under the normal per-turn rule. If the avatar runs on your own Anam account, Anam bills your account directly for the avatar's minutes and that portion drops out of your Pria credits — but the meeting bot and transcription are always Praxis-managed, so those per-minute charges bill in credits regardless of whose Anam account the avatar uses. Strategies to keep both down: * **Use Anam only for the Digital Twins where the avatar matters** — sales, training, accessibility. Use plain voice (Gemini Live, OpenAI Realtime) for fast Q\&A Twins. * **Ask for a clear greeting** so users immediately know they're in a voice/avatar session and aren't surprised by the meter running. * **Use a fast voice-turn model** — a dedicated Anam conversation model keeps spoken turns short and inexpensive without changing text chat. For Praxis-managed Anam plan details, contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com). For how the conversation itself is metered, see [Credits](/mdx/user-guide/credits). *** ## Troubleshooting > [accordion] Avatar never appears — stuck connecting > > * Check **Enable Convo (Speech-to-Speech)** is on and the **Speech-to-Speech Model** is the Anam one. > * If the avatar runs on your own Anam account, check that account still has credit — an empty Anam balance stops the session before it starts. > * Otherwise contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com): the avatar and its credentials are set up by Praxis AI, so that's where a broken setup gets fixed. > [accordion] Lipsync drift — voice doesn't match mouth > > * Usually a network jitter issue. Have the user try a wired connection or a less-congested Wi-Fi. > * If it happens for everyone, ask Praxis AI about a different voice — some voices keep tighter lip-sync than others. > [accordion] Audio cuts out mid-sentence > > * Check that the user's browser allows microphone access (browser permission, OS permission, headset selected). > * On corporate networks, WebRTC traffic may be filtered. Test from a personal network to isolate. > [accordion] Avatar speaks the intro but doesn't respond after > > * The model behind the spoken turns may be misconfigured. Check **Anam Response Model** — or, if it's on the default, the twin's Conversation Model — and any **STS / Voice Conversation Model** on the assistant in use. > * Look at the chat history view after the session — if no assistant messages appear, the LLM is failing silently. > [accordion] No avatar visible — only voice > > * Confirm the browser allows video playback (autoplay policies can block the avatar stream). > * Try the same account in another browser — if the avatar shows there, it's the first browser's settings, not your Digital Twin. *** ## Related * [Voice & Realtime Overview](/mdx/integrations/voice-providers/overview) — Compare Anam with other voice providers * [Avatar Embed Widget](/mdx/integrations/web/avatar-widget) — Put your Anam-powered avatar on an external website * [Realtime Voice & Avatars (Admin Guide)](/mdx/admin-guide/realtime-voice) — Full per-Digital-Twin configuration reference * [Convo Mode (User Guide)](/mdx/user-guide/interface/convo-speech) — End-user guide for voice conversations * [AI Models](/mdx/admin-guide/ai-models) — Configure the Conversation Model that drives the avatar # Enterprise SSO Source: https://docs.praxis-ai.com/mdx/integrations/authentication/enterprise-sso Connect your organization's identity provider — Okta, Entra ID, Auth0, Google Workspace — via OAuth2/OIDC. Enterprise single sign-on lets your organization's users sign in to Pria with the same credentials they already use for email, payroll, and every other internal app. Pria delegates authentication to your identity provider (IdP); the IdP enforces password policy, MFA, conditional access, and account lifecycle, and tells Pria who the user is. You connect one identity provider per **Digital Twin**. Each gets its own sign-in address on your Pria site — `https://your-domain.com/sso/<slug>`, where `<slug>` is a short name you choose in step 3 — and from there users are redirected straight to the IdP. *** ## What enterprise SSO does for you * **Single sign-on across your organization.** If the user is already signed in at the IdP, they reach Pria without seeing a Pria login form. * **Centralized account lifecycle.** Disable the user at the IdP and they can no longer reach Pria. No Pria-side password to rotate. * **IdP-enforced security.** MFA, conditional access, IP allowlists, and device posture are all evaluated at the IdP. Pria inherits whatever the IdP says. * **Just-in-time user provisioning.** The first time a new person signs in with SSO, Pria automatically creates their account and adds them to the linked Digital Twin. No bulk import step required. *** ## Supported protocols | Protocol | Status | Notes | | - | - | - | | **OAuth 2.0 / OpenID Connect (OIDC)** | Supported, built-in | The flow described on this page. Works with any OIDC-conformant IdP. | | **SAML 2.0** | Enterprise feature | Contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) for SAML 2.0 requirements. | | **SCIM 2.0** (provisioning) | Enterprise feature | Contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) for SCIM provisioning. | For OAuth2/OIDC, Pria runs the Authorization Code flow: the user is redirected to the IdP, signs in, and is redirected back with a one-time `code`. Pria exchanges the code for an access token server-to-server and reads the user profile from the IdP's `userinfo` endpoint. *** ## Setting up an OAuth2 / OIDC provider **1. Register Pria as an application in your IdP** In your IdP's admin console, create a new **OIDC web application** (sometimes called *Web App*, *Regular Web Application*, or *Confidential Client*). You'll get back a **Client ID** and **Client Secret**. Register Pria's callback URL with the IdP: ``` https://your-domain.com/sso/<slug> ``` Where `<slug>` is the short identifier you'll choose in step 2 (e.g. `acme-okta`, `myuniversity`). The callback URL must match **exactly** what you'll register on the Pria side, including capitalization and trailing characters. **2. Create the provider in Pria** In Pria, go to **Admin → SSO Providers** and add a provider — the **New SSO Provider** dialog opens. (You need the `sso.add` admin entitlement — see [SSO Providers](/mdx/admin-guide/sso-providers).) Pick the **Digital Twin** this provider belongs to (the picker calls it an *institution* — same thing). Each Digital Twin can have one SSO provider. **3. Set the slug and label** | Field | What it is | Example | | - | - | - | | **Slug** | URL-friendly id (lowercase, numbers, hyphens). Becomes the login URL. | `acme-okta` | | **Label** | Human-friendly name shown in the admin UI. | `Acme Okta` | The slug is the public route: users will sign in at `https://your-domain.com/sso/acme-okta`. **4. Configure the OAuth2 endpoints** | Field | Description | Default | | - | - | - | | **Client ID** | OAuth client ID from your IdP | — | | **Client Secret** | OAuth client secret from your IdP. Stored encrypted, masked in the UI. | — | | **Token Host** | Base URL for the IdP's OAuth endpoints | — | | **Token Path** | Path appended to Token Host for the token exchange | `/oauth2/token` | | **Authorize Path** | Path appended to Token Host for the authorize redirect | `/oauth2/authorize` | | **User Info URL** | Full URL of the OIDC `userinfo` endpoint | — | | **Scope** | OAuth scope requested at sign-in | `openid` | **5. Configure field mapping** Pria reads three fields from the IdP's `userinfo` response: email, first name, last name. (A *claim* is one named field in the user profile your identity provider returns — `email`, `given_name`, and so on.) Defaults match standard OIDC claims: | Pria field | Default IdP claim | | - | - | | `email` | `email` | | `fname` (first name) | `given_name` | | `lname` (last name) | `family_name` | Override these only if your IdP uses non-standard claim names (e.g. `mail` instead of `email`, `firstName` instead of `given_name`). > [!WARNING] > > An incorrect email mapping is the #1 SSO setup failure. If the IdP returns `null` for whatever Pria thinks is the email claim, account creation fails with a confusing "invalid account" error. **6. Enable and test** Toggle **Enabled** on, save, and visit `https://your-domain.com/sso/<slug>` in an incognito window. You should be redirected to the IdP, sign in, and land back in Pria. Once the provider is saved, use **Test Connection** in its editor to check that Pria can reach the Token Host before doing the round-trip test. *** ## Who can sign in through SSO | Person | What happens | | - | - | | **New to Pria** (no account with that email) | Pria creates the account **automatically** from the IdP's answer and adds the person to the Digital Twin attached to the provider (just-in-time provisioning). | | **Existing account that already uses this Digital Twin** | Signed in. "Already uses" means a membership the person joined themselves, or one an administrator added (for example by **Import Users**) that the person has since used after signing in with their email and password. | | **Existing account that does not use this Digital Twin yet** | Refused: *"This sign-in provider is for people who already use its Digital Twin. Sign in with your email and password instead."* Nothing about the account changes. | | **Admin account** | Asked for a one-time code sent to their email address before they get in, unless the browser is already trusted. | > [!NOTE] > > Just-in-time provisioning only creates **the user record**. It does not assign admin entitlements. New users are normal members of the Digital Twin; an existing admin must promote them if needed. > [!TIP] > > If you import people who already have Pria accounts, ask them to sign in once with their email and password and open your Digital Twin; from then on the SSO address signs them in. *** ## Disabling a provider without deleting it You can flip the **Enabled** toggle off at any time. The provider configuration is preserved (client ID, secret, endpoint URLs, field mapping) but the SSO URL stops working: visitors see a red banner reading `SSO provider '<slug>' is currently disabled`. This is the right move for an emergency shutoff, a maintenance window, or while you migrate the IdP-side configuration. To re-enable, just flip the toggle back on. Deleting the provider entirely removes the configuration. Existing SSO-provisioned users keep their Pria accounts — they just can't sign in via this provider anymore. They can still sign in by any other method tied to their email (e.g. a password they set, social login). *** ## Multiple SSO providers Each Digital Twin can have one identity provider connected at a time. If you need two — say Okta for staff and a separate Auth0 tenant for contractors — the standard pattern is to: 1. Set up **two Digital Twins**, one per identity provider. 2. Connect a different SSO provider to each. 3. Give people membership of whichever twin they need (or both), depending on access requirements. For more complex multi-IdP setups, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). *** ## Sample IdP setups > [accordion] Okta (OIDC) > > 1. In the Okta admin console, **Applications → Create App Integration → OIDC - OpenID Connect → Web Application**. > 2. **Sign-in redirect URIs:** `https://your-domain.com/sso/<slug>`. > 3. **Grant type:** Authorization Code (enabled by default). > 4. Copy the **Client ID** and **Client Secret** from the app's General tab. > > Pria settings: > > | Pria field | Value | > | - | - | > | Token Host | `https://your-tenant.okta.com` | > | Token Path | `/oauth2/v1/token` | > | Authorize Path | `/oauth2/v1/authorize` | > | User Info URL | `https://your-tenant.okta.com/oauth2/v1/userinfo` | > | Scope | `openid profile email` | > > Default field mapping (`email`, `given_name`, `family_name`) works as-is with Okta. > [accordion] Microsoft Entra ID (formerly Azure AD) > > 1. In the Entra admin center, **App registrations → New registration**. Set **Redirect URI (Web)** to `https://your-domain.com/sso/<slug>`. > 2. Under **Certificates & secrets**, create a new client secret. Copy the value immediately — it isn't shown again. > 3. Under **API permissions**, add Microsoft Graph delegated permissions: `openid`, `profile`, `email`. > 4. Note the **Application (client) ID** and the **Directory (tenant) ID**. > > Pria settings: > > | Pria field | Value | > | - | - | > | Token Host | `https://login.microsoftonline.com` | > | Token Path | `/<tenant-id>/oauth2/v2.0/token` | > | Authorize Path | `/<tenant-id>/oauth2/v2.0/authorize` | > | User Info URL | `https://graph.microsoft.com/oidc/userinfo` | > | Scope | `openid profile email` | > > Default field mapping works for Entra ID's OIDC userinfo response. > [accordion] Auth0 > > 1. In the Auth0 dashboard, **Applications → Create Application → Regular Web Applications**. > 2. **Allowed Callback URLs:** `https://your-domain.com/sso/<slug>`. > 3. Copy the **Client ID** and **Client Secret** from the application's Settings tab. > > Pria settings: > > | Pria field | Value | > | - | - | > | Token Host | `https://your-tenant.auth0.com` | > | Token Path | `/oauth/token` | > | Authorize Path | `/authorize` | > | User Info URL | `https://your-tenant.auth0.com/userinfo` | > | Scope | `openid profile email` | > > Default field mapping works with Auth0. > [accordion] Google Workspace (OIDC) > > 1. In [Google Cloud Console → APIs & Services → Credentials](https://console.cloud.google.com/apis/credentials), create an **OAuth 2.0 Client ID** of type *Web application*. > 2. **Authorized redirect URIs:** `https://your-domain.com/sso/<slug>`. > 3. Copy the **Client ID** and **Client Secret**. > > Pria settings: > > | Pria field | Value | > | - | - | > | Token Host | `https://oauth2.googleapis.com` | > | Token Path | `/token` | > | Authorize Path | `https://accounts.google.com/o/oauth2/v2/auth` (full URL) | > | User Info URL | `https://www.googleapis.com/oauth2/v2/userinfo` | > | Scope | `openid profile email` | > > For a simpler integration that also lets users authorize Gmail/Drive/Calendar, prefer the [Google Workspace](/mdx/admin-guide/google-workspace) connection — it covers more ground than a vanilla OIDC SSO setup. *** ## Common errors | Symptom | Likely cause | Fix | | - | - | - | | `invalid_grant` on callback | Redirect URL registered with the IdP does not match `https://your-domain.com/sso/<slug>` exactly | Re-register the redirect URL; check protocol, host, slug, trailing characters | | `Authentication request validation failed` (state mismatch) | The user opened a stale tab and tried to complete a sign-in 5+ minutes after starting it | Restart sign-in from the login URL | | `SSO provider '<slug>' is currently disabled` | Provider exists but the **Enabled** toggle is off | Re-enable in admin, or use a different provider | | `SSO provider '<slug>' not found` | Slug in the URL does not match any configured provider | Check the slug spelling; check the right Digital Twin is selected | | User gets created but with no name | IdP returns custom claim names instead of `given_name` / `family_name` | Adjust **Field Mapping** in the provider config | | User gets created with email `null@undefined` | IdP did not return an `email` claim, or returned a different claim name | Add `email` (or equivalent) to the requested **Scope**; adjust the email field mapping | | Callback returns `invalid_callback` from the IdP | The redirect URL Pria sends does not match what the IdP has on file | Match the URL exactly, character for character | For other failures, look at the IdP-side log first — it will tell you whether the token request even reached the IdP and what was wrong with it. *** ## Related * [SSO Providers (admin)](/mdx/admin-guide/sso-providers) * [Authentication Overview](/mdx/integrations/authentication/overview) * [Social Login (Google, Microsoft, Apple, GitHub, Facebook)](/mdx/integrations/authentication/social-oauth) * [Google Workspace (admin guide)](/mdx/admin-guide/google-workspace) # Authentication Overview Source: https://docs.praxis-ai.com/mdx/integrations/authentication/overview How users sign in to Pria — email/password, social login, enterprise SSO, and API keys. > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. Pria supports several ways for users to sign in, from a familiar email + password flow with optional two-step verification, all the way to enterprise single sign-on against your organization's identity provider. However they sign in, the result is the same: Pria knows who the user is and — in most setups — which Digital Twin they are working in. This page is the orientation map. Follow the links into each method for setup, configuration, and troubleshooting. *** ## Authentication options at a glance | Method | Who configures it | Best for | Multi-factor | | - | - | - | - | | Email + password | Every user (self-serve) | Individuals, small teams, fallback path | Yes — via [Two-Step Verification](/mdx/user-guide/profile-settings/two-step-verification) | | Google / Microsoft / Apple / GitHub / Facebook | The Praxis AI team (nothing to set up) | Quick sign-up, consumer-style flows | Pria's two-step verification, on top of the provider's own | | Enterprise SSO (OAuth2 / OIDC) | Admin, per Digital Twin | Universities, companies with an IdP | Enforced at the IdP (Okta, Entra ID, etc.) | | Personal API key | Admin user (self-serve) | Scripts, integrations, the [Pria SDK](/mdx/sdk/javascript) | N/A — keys grant the holder's permissions | | LMS launch (LTI 1.3) | Admin in the LMS + Pria | Embedding Pria inside Canvas, D2L Brightspace, Moodle, Blackboard | Inherited from the LMS; admin accounts also confirm a code inside Canvas | | SDK launch (HMAC) | Developer + Admin | Embedding Pria in your own web app | Server-signed launch tokens | *** ## Email + password The default path. Users sign up with an email address, verify it, and pick a password. From the [Two-Step Verification](/mdx/user-guide/profile-settings/two-step-verification) page they can add a **second factor** — a 6-digit code sent by email or shown in an authenticator app at sign-in. A verified browser is trusted for 7 days on the same network. Admin accounts are asked to turn it on with **Strengthen your account security**; one that signs in directly cannot postpone it. Admins can rescue locked-out users (turn off a user's two-step verification and revoke their trusted devices) from the admin Users page — see [MFA (admin guide)](/mdx/admin-guide/mfa). > [card] [Two-step verification (user guide)](/mdx/user-guide/profile-settings/two-step-verification) > > Add a second factor to your own account and manage trusted devices. *** ## Social login Users can sign in with an existing account at Google, Microsoft, Apple, GitHub, or Facebook. Pria runs the OAuth 2.0 Authorization Code flow server-to-server — no client secret ever reaches the browser — then either signs the user in or creates a new account on first use (just-in-time provisioning). > [card] [Social Login (Google, Microsoft, Apple, GitHub, Facebook)](/mdx/integrations/authentication/social-oauth) > > Provider by provider: scopes, Microsoft tenant limits, and account-merging behavior. Separately from sign-in, a Digital Twin admin can connect a **shared Google authorization** for the twin, so every member automatically gets the connected Google Workspace services (Gmail, Drive, Calendar, etc.) without authorizing individually. See [Google Workspace](/mdx/admin-guide/google-workspace) in the Admin Guide. *** ## Enterprise SSO For organizations that already run an identity provider (Okta, Entra ID, Auth0, Google Workspace, QuickLaunch, etc.), Pria supports **OAuth 2.0 / OpenID Connect** out of the box. Each provider is configured per Digital Twin with its own slug-based login URL: `https://your-domain.com/sso/<slug>`. > [card] [Enterprise SSO](/mdx/integrations/authentication/enterprise-sso) > > Configure OAuth2/OIDC SSO end-to-end — IdP setup, field mapping, JIT provisioning, sample setups for major IdPs. > [!NOTE] > > SAML 2.0 and SCIM are enterprise features. Contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to discuss SAML or SCIM requirements. *** ## API keys (programmatic access) Admin users can mint a single personal API key from their profile page. The key acts as a long-lived credential for SDKs, scripts, and CI integrations. The exchange is **two-step**: 1. Send the raw `pria_…` key as the `x-api-key` header to `POST /api/auth/api-key-signin`. 2. Use the returned JWT as `Authorization: Bearer <token>` for subsequent API calls. ```bash theme={null} APIKEY=pria_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx JWT=$(curl -sS -X POST "https://pria.praxislxp.com/api/auth/api-key-signin" \ -H "x-api-key: $APIKEY" \ | python -c "import json,sys; print(json.load(sys.stdin)['token'])") curl -s -H "Authorization: Bearer $JWT" https://pria.praxislxp.com/api/user/profile ``` > [!WARNING] > > Sending the raw `pria_…` value as a bearer token returns `Invalid access token jwt malformed`. Always exchange it for a JWT first. > [card] [Personal API keys](/mdx/user-guide/profile-settings/api-keys) > > Generate, rotate, and revoke your personal API key. *** ## LMS launches (LTI 1.3) When Pria is embedded inside Canvas, D2L (Brightspace), or any LTI 1.3-compliant LMS, the launch itself authenticates the user. The LMS signs a launch token; Pria verifies it, creates or maps a Pria user to the LMS user, and drops them straight into the embedded experience — no second sign-in. Inside Canvas, admin accounts first confirm a one-time code (**Confirm it's you**); students are not asked. See [More security for LMS login](/mdx/user-guide/lms/canvas-login-security). > [card] [Canvas (LTI)](/mdx/integrations/canvas/overview) > > Embed Pria in Canvas courses, assignments, and theme. > [card] [D2L / Brightspace (LTI)](/mdx/integrations/d2l/introduction) > > Add Pria as an LTI tool in D2L Brightspace. *** ## SDK launches (HMAC-signed tokens) The [Pria Web SDK](/mdx/sdk/javascript) lets you embed a Digital Twin in your own web or mobile app. Your backend signs a short-lived launch token with a shared secret; Pria verifies the signature and either signs an existing user in or creates one on the fly. > [card] [Pria Web SDK](/mdx/sdk/javascript) > > Embed a Digital Twin in your own application with signed launch tokens. *** ## Choosing the right method > [card] I'm an individual > > Email + password, optionally with two-step verification. Use **social login** if you'd rather not manage another password. > [card] [My team uses an IdP](/mdx/integrations/authentication/enterprise-sso) > > Set up **Enterprise SSO**. Users keep their existing IdP credentials and you get central account control. > [card] [I'm embedding Pria in our LMS](/mdx/integrations/canvas/overview) > > Use the **LTI 1.3** integration for your LMS. Authentication happens at launch. > [card] [I'm embedding Pria in our app](/mdx/sdk/javascript) > > Use the **Web SDK** with HMAC-signed launch tokens from your backend. > [card] [I'm scripting against the API](/mdx/user-guide/profile-settings/api-keys) > > Mint a **personal API key**, exchange it for a JWT, call any documented API. > [card] [I want consumer-style sign-up](/mdx/integrations/authentication/social-oauth) > > Use **social login** (Google, Microsoft, Apple, GitHub, Facebook) for the lowest-friction sign-up flow. *** ## Related * [Social Login (Google, Microsoft, Apple, GitHub, Facebook)](/mdx/integrations/authentication/social-oauth) * [More security for LMS login](/mdx/user-guide/lms/canvas-login-security) * [Enterprise SSO](/mdx/integrations/authentication/enterprise-sso) * [Personal API keys](/mdx/user-guide/profile-settings/api-keys) * [MFA (admin guide)](/mdx/admin-guide/mfa) * [Two-Step Verification (user guide)](/mdx/user-guide/profile-settings/two-step-verification) # Social Login (Google, Microsoft, Apple, GitHub, Facebook) Source: https://docs.praxis-ai.com/mdx/integrations/authentication/social-oauth Let users sign in with their existing Google, Microsoft, Apple, GitHub, or Facebook account. Social login lets users sign in to Pria with an account they already have — **Google**, **Microsoft**, **Apple**, **GitHub** or **Facebook**. Pria runs the OAuth 2.0 Authorization Code flow on the server: the user is redirected to the provider, signs in there, and comes back with a one-time code that Pria exchanges for an access token server-to-server. The provider's client secret never reaches the browser. On first sign-in, Pria creates a new account from the provider's profile (email, first name, last name, profile picture). On later sign-ins, the existing account is reused. > [!NOTE] > > There is nothing to set up: the sign-in buttons are configured for Pria's own site by the Praxis AI team. If your organization needs social sign-in on its own domain, contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com). *** ## Providers > [tab] Google > > Google is the most-used social login on Pria. Besides the **Sign in with Google** button, the login page supports Google **One Tap** — people already signed in to Google in their browser can sign in to Pria with a single click. > > **Scopes requested at sign-in:** `openid profile email`, with offline access so Pria can later reach the optional Google services (Gmail, Drive, Calendar, Sheets, Docs) that the user grants from their [profile page](/mdx/user-guide/profile-settings/google-services). > > Signing in and using **Google Workspace services** are separate. Services can be authorized at two levels: > > * **Personal (default)** — each user authorizes the Google services they want from their own profile page. > * **Shared by the Digital Twin (optional)** — a Digital Twin admin connects one shared Google authorization, and every member of that twin gets the connected services without authorizing individually. When both exist, the twin's shared authorization is used for the services enabled for users. See [Google Workspace](/mdx/admin-guide/google-workspace) in the Admin Guide. > [tab] Microsoft > > **Sign in with Microsoft** works with work, school and personal Microsoft accounts. > > **Scopes requested at sign-in:** `openid profile email User.Read` — enough to read the user's own profile. No Microsoft 365 service is granted at sign-in; those are authorized separately. > > On a Digital Twin's own sign-in page, Microsoft sign-in can be limited to one organization: a Digital Twin admin sets **Microsoft tenant (optional)** (a tenant domain such as `contoso.onmicrosoft.com`, or a directory ID). Left blank, any organization can sign in. > [tab] Apple > > **Sign in with Apple** is available on the web login page and in the iOS app. > > **Scopes requested at sign-in:** `name email`. > > * Apple's **Hide My Email** works: Pria keeps using Apple's private relay address. > * If a Pria account already uses the same (Apple-verified) email address, signing in with Apple connects to it — no second account is created. > * Apple must share a verified email address the first time; otherwise sign-in is refused. > [tab] GitHub > > GitHub sign-in suits developer-leaning audiences — early adopters, technical evaluators, and customers who already trust their GitHub account. > > **Scopes requested at sign-in:** `read:user user:email`. > > Pria first reads the `email` claim from the GitHub profile. If the user has marked their email private on GitHub, Pria picks the primary verified address from their email list. If none is exposed, Pria uses the GitHub `noreply` form `<id>+<login>@users.noreply.github.com` so the account can still be created. > [tab] Facebook > > Facebook sign-in uses **Graph API v19.0**. > > **Scopes requested at sign-in:** `email,public_profile`. Pria reads only the profile fields needed to create an account (`id,name,email,picture`). > > **Email fallback:** Facebook does not always return an email — people can sign up with a phone number or hide their email. When `email` is missing, Pria uses an internal identifier of the form `<facebookId>@facebook.com` so the account can be created. The user can update their email later from their profile. > > **Name parsing:** Facebook returns a single `name` string. Pria splits it on whitespace: first word → first name, the rest → last name. A single-word name becomes the last name, with `User` as the first name. *** ## Signing in From the Pria login page, select the provider's button. You are sent to the provider, then back to Pria's `/oauth/success` page, then into the app. If something goes wrong, `/oauth/success` shows an error code in the address — `oauth_failure`, `no_code`, `invalid_state`, `state_mismatch`, `state_expired`, `no_token`, `invalid_account`, or `registration_failed` — that helps the Praxis AI team diagnose the failure. *** ## Account merging Pria identifies users by **email address**. If a user signs in with Google using `alice@example.com` and an account with that email already exists (whether it was created by email + password, another provider, or SSO), the same Pria account is reused. The new provider becomes an additional way to sign in. This means: * A user can sign up with email + password, later sign in with Google using the same email, and land in the same account. * A user can switch freely between providers as long as the email matches. * Two providers returning **different** emails for the same person produce **two separate Pria accounts**. There is no automatic cross-provider linking. > [!NOTE] > > The most common cause of "I have two accounts" support tickets is a user signing up first with `alice@gmail.com` (Google) and later with `alice@example.com` (work email). The fix is to merge or change one of the emails. *** ## Re-authentication and token refresh For **sign-in**, Pria only needs the user to authenticate once — the resulting JWT keeps them signed in. The provider's access token is not used to authorize later Pria API calls. For **Google services** (Gmail, Drive, Calendar, etc.) Pria stores the access and refresh tokens so it can call Google on the user's behalf later, and refreshes expired tokens automatically. If the user revokes access at Google (for example from [Google Account → Security → Third-party apps](https://myaccount.google.com/connections)), Pria detects the next failed call and clears the stored token — the user is asked to authorize again from their [Google Services profile page](/mdx/user-guide/profile-settings/google-services). *** ## Security considerations * **CSRF protection** — Pria generates a random `state` value on every authorize redirect, keeps it in the user's session for 5 minutes, and checks it on the callback. A mismatch or expiry produces an `invalid_state` / `state_mismatch` / `state_expired` error. * **One-time state** — The state value is deleted as soon as the callback reads it, preventing replay attacks. * **No client secret in the browser** — Token exchange (`code` → `access_token`) is always server-to-server. * **One-time login codes** — After a successful social sign-in, the user briefly lands on `/oauth/success`, which completes the hand-over with a short-lived, single-use code that is never written to server logs and is removed from browser history. * **Mobile flow** — Mobile apps complete the same hand-over through a signed deep-link redirect, so sign-in works without relying on browser cookies surviving the switch between apps. * **Two-step verification** — If the account has [two-step verification](/mdx/user-guide/profile-settings/two-step-verification) turned on, Pria asks for the code after the provider sign-in as well. *** ## Related * [Authentication Overview](/mdx/integrations/authentication/overview) * [Enterprise SSO](/mdx/integrations/authentication/enterprise-sso) * [Google Workspace (admin guide)](/mdx/admin-guide/google-workspace) * [Google Services (user guide)](/mdx/user-guide/profile-settings/google-services) # Blackboard Learn Source: https://docs.praxis-ai.com/mdx/integrations/blackboard/introduction Integrate Praxis AI with Blackboard Learn using LTI Advantage 1.3 ## Integrate Your Digital Twins with Blackboard Pria integrates with **Blackboard Learn** using the **LTI Advantage (v1.3)** standard, placing AI-powered digital twins directly inside your courses. > [card] LTI Advantage > > **Standard Integration** > > Deploy Pria as an LTI 1.3 tool across courses so faculty and students reach AI assistance without leaving Blackboard. > [card] Course-Aware AI > > **Contextual Learning** > > Digital twins understand course context and materials to give personalized, relevant support. *** ## How registration works in Blackboard Blackboard registers LTI 1.3 tools centrally. Praxis AI has registered Pria with Anthology once, and that registration has a **Client ID**. To add Pria to your Blackboard Learn site, you paste the Client ID into Blackboard. Blackboard then fills in everything else: Pria's addresses, keys and course placements. You never type Pria's addresses or keys into Blackboard, and you don't register Pria with Anthology yourself. | | | | - | - | | **Pria's Client ID** | `7d8b029c-793c-4fe4-8101-3219425dfbfd` | *** ## Prerequisites Before you begin, ensure you have: * [ ] Blackboard Learn administrator access (the **Admin** page) * [ ] Pria's Client ID (above) * [ ] An instructor (or you) ready to open Pria in a course. The first launch connects the course to a Digital Twin: an existing one or a new one created on the spot. * [ ] To connect an **existing** Digital Twin: your Blackboard address (for example `https://blackboard.yourschool.edu`) in that twin's [Public Authorized URLs](/mdx/admin-guide/branding-and-domains#public-authorized-urls). A twin refuses launches from sites that aren't on its list. *** ## Installation **1. Open LTI Tool Providers** In Blackboard, open **Admin**. Under **Integrations**, select **LTI Tool Providers**. ![Blackboard Admin page, Integrations section with the LTI Tool Providers link](https://mintcdn.com/praxisai/M7q0BaD47W-iuzaZ/images/integrations/blackboard/bb-admin-integrations.webp?fit=max\&auto=format\&n=M7q0BaD47W-iuzaZ\&q=85\&s=abe66604f9fa63b50f06bebfa87aa527) The Integrations section of the Blackboard Admin page **2. Register Pria with its Client ID** Select **Register LTI 1.3/Advantage Tool**. ![LTI Tool Providers page with the Register LTI 1.3/Advantage Tool action](https://mintcdn.com/praxisai/M7q0BaD47W-iuzaZ/images/integrations/blackboard/bb-lti-tool-providers.webp?fit=max\&auto=format\&n=M7q0BaD47W-iuzaZ\&q=85\&s=a02d3e5b0e3e0aad96168d44f41e2af4) LTI Tool Providers: the Register LTI 1.3/Advantage Tool action Paste Pria's Client ID, `7d8b029c-793c-4fe4-8101-3219425dfbfd`, into the **Client ID** box and select **Submit**. ![Register LTI 1.3/Advantage Tool page with an empty Client ID field and Submit button](https://mintcdn.com/praxisai/M7q0BaD47W-iuzaZ/images/integrations/blackboard/bb-register-client-id.webp?fit=max\&auto=format\&n=M7q0BaD47W-iuzaZ\&q=85\&s=18cb32b027112361d3dfe28cb9fd0492) Register LTI 1.3/Advantage Tool asks only for the Client ID **3. Check Pria's details and approve it** Blackboard opens **Accept LTI 1.3 Tool** and shows Pria's registration as read-only fields: the name **Pria**, the domain `praxislxp.com`, and addresses on `https://pria.praxislxp.com/lti`. It also shows the **Default Deployment ID**, which identifies your Blackboard site. Keep it in case the Praxis AI team asks for it. **Tool Status** starts as **Excluded**. Select **Approved**. ![Accept LTI 1.3 Tool page showing Pria's Client ID, name, default deployment ID, login, redirect and JWKS URLs on pria.praxislxp.com, issuer, the praxislxp.com domain and Tool Status Approved](https://mintcdn.com/praxisai/ZQnYNNbTzzMvt4Bj/images/integrations/blackboard/bb-accept-tool.webp?fit=max\&auto=format\&n=ZQnYNNbTzzMvt4Bj\&q=85\&s=d66d491e803e980d1bfc8f75ddd945ce) Pria's registration details, with Tool Status set to Approved **4. Set the institution policies** Further down the same page, under **Institution Policies**: | Setting | Value | Why | | - | - | - | | **User Fields to Send** | **Role in Course**, **Name**, **Email Address** | Pria signs people in by email address and uses the course role to tell instructors from students. | | **Allow grade service access** | **Yes** | Lets Pria send grades to the Gradebook. Choose **No** if you don't use grading features. | | **Allow Membership Service Access** | **Yes** | Lets Pria see who is enrolled in the course. | Select **Submit**. Pria now appears in **LTI Tool Providers** as an approved LTI 1.3 tool. ![Institution Policies with Role in Course, Name and Email Address checked, grade service access Yes and Membership Service Access Yes](https://mintcdn.com/praxisai/M7q0BaD47W-iuzaZ/images/integrations/blackboard/bb-institution-policies.webp?fit=max\&auto=format\&n=M7q0BaD47W-iuzaZ\&q=85\&s=4c45aec3f8f0048bda6d15f722beed08) Institution Policies set for Pria **5. Check Pria's placements** Pria comes with its placements already set up, so there's nothing to create. To check them, open Pria's menu in **LTI Tool Providers** and choose **Manage Placements**. You'll see two placements, both pointing at `https://pria.praxislxp.com/lti`: * **Course content tool**: adds a Pria link to a course in one step. * **Deep Linking content tool**: opens Pria so the instructor can choose what to add. ![Manage Placements for praxislxp.com listing Pria as a Course content tool and as a Deep Linking content tool, both at https://pria.praxislxp.com/lti](https://mintcdn.com/praxisai/ZQnYNNbTzzMvt4Bj/images/integrations/blackboard/bb-pria-placements.webp?fit=max\&auto=format\&n=ZQnYNNbTzzMvt4Bj\&q=85\&s=bff54e448c7811c3970df99653948c7a) Pria's two placements **6. Add Pria to a course** In an Ultra course, an instructor opens **Course Content**, selects the **+** to add content, and chooses **Content Market**. ![Ultra course Course Content area with the add-content menu open: Create, Copy Content, Upload, Cloud Storage, Content Market, Content Collection, Learning Object Repository](https://mintcdn.com/praxisai/afvIymk0HQUo_fCE/images/integrations/blackboard/bb-course-add-content.webp?fit=max\&auto=format\&n=afvIymk0HQUo_fCE\&q=85\&s=3af15128a391a2551dd0cf00a810a77c) Content Market in an Ultra course's add-content menu Pria is listed under **Institution Tools**. Select the **+** on the Pria card to add it to the course. ![Content Market for the course, Institution Tools section with two Pria cards, one with an add button](https://mintcdn.com/praxisai/ZQnYNNbTzzMvt4Bj/images/integrations/blackboard/bb-content-market-pria.webp?fit=max\&auto=format\&n=ZQnYNNbTzzMvt4Bj\&q=85\&s=6759d0da6e91605da1b8e6983b2d890f) Pria under Institution Tools in Content Market Pria is added to **Course Content** as **Hidden from students**. Open it once yourself to connect a Digital Twin (below), then make it visible to students. ![Course Content with a Pria item marked Hidden from students](https://mintcdn.com/praxisai/ZQnYNNbTzzMvt4Bj/images/integrations/blackboard/bb-course-pria-item.webp?fit=max\&auto=format\&n=ZQnYNNbTzzMvt4Bj\&q=85\&s=35e0c0927e1575f1f93b1215602fc423) Pria in the course, hidden from students until you're ready *** ## Connect a Digital Twin on first launch The first time an instructor or course administrator opens Pria in a course, Pria opens inside Blackboard and shows **Let's get you connected**. The instructor connects the course to one of their existing Digital Twins or creates a new one. The same screen offers **Hide Pria in this course**, which hides Pria from students. Teachers can show it again from this screen. ![Pria opened inside a Blackboard course, showing Let's get you connected with a + Digital Twin button, Hide Pria in this course and Connection details](https://mintcdn.com/praxisai/ZQnYNNbTzzMvt4Bj/images/integrations/blackboard/pria-lti-connect.webp?fit=max\&auto=format\&n=ZQnYNNbTzzMvt4Bj\&q=85\&s=e679ef94218e5ce439cd572b3f4c16a3) The first launch in a Blackboard course To create a new twin, select **+ Digital Twin**. Enter a **Name** (Pria if left empty) and, optionally, a **Picture URL**, then select **Let's GO!**. Pria then shows **Confirm it's you**: select **Send me a code** and type the code emailed to you. This makes you the new twin's administrator, and you land in your new Digital Twin. ![Your Human First - Digital Twin card inside Blackboard with Name and Picture URL fields and the Let's GO! button](https://mintcdn.com/praxisai/ZQnYNNbTzzMvt4Bj/images/integrations/blackboard/pria-lti-create-twin.webp?fit=max\&auto=format\&n=ZQnYNNbTzzMvt4Bj\&q=85\&s=28d2f1bb94a4b5fe8af60b85fc174cb3) Name the new Digital Twin and select Let's GO! From then on, everyone who opens Pria in that course reaches this Digital Twin, and students are enrolled automatically on their first launch. To connect an existing twin instead, select it in the list. The twin must have your Blackboard address in its [Public Authorized URLs](/mdx/admin-guide/branding-and-domains#public-authorized-urls); otherwise Pria answers "Access is denied. Your instance doesn't authorize access from this location." ### What students see Once a twin is connected, a student who opens Pria in the course lands straight in that Digital Twin, signed in with their Blackboard name and email, with the course shown at the top of the conversation. There's no separate Pria sign-in: the first launch creates the student's Pria account and adds them to the twin. On that first launch Pria may also ask **Enable Location for more accurate results**; the student can choose **OK** or **Don't Ask Again**. If the twin requires Blackboard sign-in, students first confirm their identity — see [Require Blackboard sign-in](#require-blackboard-sign-in-optional). ![Pria inside a Blackboard course for a student, showing the Professor Hugo Digital Twin with the Praxis LTI Test course chip, What can I help with? and the Assistants, Add Files and User Guide cards](https://mintcdn.com/praxisai/NhOsgEFaTotHBw3q/images/integrations/blackboard/pria-bb-student-twin.webp?fit=max\&auto=format\&n=NhOsgEFaTotHBw3q\&q=85\&s=3d8f56da0789fb6dc4b0d1b4c3b99bb0) A student in the Professor Hugo Digital Twin, opened from the Praxis LTI Test course (Original course view) Until an instructor has connected a twin, a student who opens Pria sees "To access this instance, it must be setup by your Teacher or Administrator." ![Pria opened inside a Blackboard course for a student, showing Hi, I'm Pria! and the message To access this instance, it must be setup by your Teacher or Administrator.](https://mintcdn.com/praxisai/vxexX_z8sd0tBIx9/images/integrations/blackboard/pria-bb-student-not-connected.webp?fit=max\&auto=format\&n=vxexX_z8sd0tBIx9\&q=85\&s=4d20c0ee3f4fc8758276add6ab059cf8) A student opening Pria before an instructor has connected a Digital Twin (Original course view) > [!NOTE] > > People who administer Digital Twins in Pria get an extra step when they open Pria from a course: **Two-step verification** emails them a code to confirm it's them. Students don't see it. See [More security for LMS login](/mdx/user-guide/lms/canvas-login-security). See [Faculty Onboarding](/mdx/user-guide/lms/faculty-onboarding) for connecting an existing twin, hiding Pria in a course and unlinking a course. *** ## Require Blackboard sign-in (optional) A Digital Twin can require everyone who opens it from Blackboard to confirm their Blackboard identity first, the same way Canvas twins can require a Canvas sign-in. Pria then knows the person in the course is the person signed in to Blackboard. ### Set it up **1. Allow Pria to use Blackboard sign-in** In Blackboard, open **Admin**. Under **Integrations**, select **REST API Integrations**, then **Create Integration**: | Field | Value | | - | - | | **Application ID** | Pria's Client ID, `7d8b029c-793c-4fe4-8101-3219425dfbfd` | | **Learn User** | A user with limited rights created for this integration. Never a system administrator. | | **End User Access** | **Yes** | | **Authorized To Act As User** | **Yes**, so learners aren't shown a Blackboard consent screen | Select **Submit**. ![Blackboard Create Integration form with Application ID 7d8b029c-793c-4fe4-8101-3219425dfbfd, Learn User pria-rest, End User Access Yes and Authorized To Act As User Yes](https://mintcdn.com/praxisai/NhOsgEFaTotHBw3q/images/integrations/blackboard/bb-rest-integration.webp?fit=max\&auto=format\&n=NhOsgEFaTotHBw3q\&q=85\&s=605c81ff1a8be8bbd464de7eb6c4513f) Create Integration filled in for Pria **2. Ask Praxis AI to enable your Blackboard site** Send your Blackboard address to the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com), with the Digital Twin (or account) that should require Blackboard sign-in. The team enables Blackboard sign-in for your site. **3. Turn on the requirement** In the Digital Twin's settings (or its account's), under **LMS sign-in (Canvas and Blackboard)**, turn on **Require LMS sign-in on launch (Canvas or Blackboard)**. See [Configuration](/mdx/admin-guide/configuration). ### What learners see When a learner opens the twin from a Blackboard course, Pria first shows **Identity Verification**: "Please sign in to your oAuth provider Blackboard to verify your identity." ![Pria inside a Blackboard course showing Identity Verification with the message Please sign in to your oAuth provider Blackboard to verify your identity and a Sign in with Blackboard button](https://mintcdn.com/praxisai/NhOsgEFaTotHBw3q/images/integrations/blackboard/pria-bb-sign-in-with-blackboard.webp?fit=max\&auto=format\&n=NhOsgEFaTotHBw3q\&q=85\&s=ecfa8119d48706ad3a224de9606a176e) Identity Verification inside a Blackboard course (Original course view) The learner selects **Sign in with Blackboard**. Because they're already signed in to Blackboard, Blackboard confirms them without another screen, and the Digital Twin opens with the course shown, as in [What students see](#what-students-see). Opening Pria again in the same browser session, from any course page, doesn't ask again; a new Blackboard sign-in asks once more. *** ## Let the twin read the course A Digital Twin opened from a Blackboard course can also read that learner's course (contents, announcements, their own grades and the calendar), read-only, using the learner's own Blackboard sign-in. See [Blackboard Pria Tools](/mdx/integrations/blackboard/pria-tools). *** ## Troubleshooting | Issue | Solution | | - | - | | **The Client ID isn't accepted** | Check that you pasted the whole Client ID (`7d8b029c-793c-4fe4-8101-3219425dfbfd`), without spaces. If it still fails, contact the Praxis AI team. | | **"Platform not active" or "Unregistered Platform" on launch** | Contact the Praxis AI team with your Blackboard address and Pria's **Default Deployment ID** (Pria's menu in **LTI Tool Providers** → **Manage Deployments**). | | **Pria isn't in Content Market** | Confirm Pria is **Approved** in **LTI Tool Providers**, and that its placements (**Manage Placements**) have **Availability** set to **Yes**. | | **Students can't see Pria** | New Pria items start as **Hidden from students**. Make the item visible in **Course Content**. If students are asked to contact their teacher, an instructor hasn't connected a Digital Twin yet: they open Pria once in the course first. | | **"Access is denied. Your instance doesn't authorize access from this location."** | Add your Blackboard address to the Digital Twin's [Public Authorized URLs](/mdx/admin-guide/branding-and-domains#public-authorized-urls). | | **Sign in with Blackboard doesn't open the twin** | Check the **REST API Integrations** entry for Pria (**End User Access** and **Authorized To Act As User** set to **Yes**), and confirm with the Praxis AI team that Blackboard sign-in is enabled for your Blackboard site. | | **People arrive without a name or email, or instructors are treated as students** | Edit the tool and check **Role in Course**, **Name** and **Email Address** under **User Fields to Send**. | | **The launch fails in the browser** | LTI launches need third-party cookies. Allow them for `pria.praxislxp.com`, avoid private browsing, or edit the placement and turn on **Launch in New Window**. | > [!NOTE] > > If issues persist, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) with your Blackboard version and error screenshots. *** ## What's Next? After installation, configure your Digital Twin for course-aware interactions: > [card] [Configure Your Digital Twin](/mdx/admin-guide/configuration) > > Set up system prompts, AI models, and behavior for your Blackboard deployment. > [card] [Enable Tools](/mdx/admin-guide/tools) > > Activate tools for calendar integration, content search, and more. ## Related * [Blackboard Pria Tools](/mdx/integrations/blackboard/pria-tools) — the twin reads a learner's course * [Canvas LTI 1.3](/mdx/integrations/canvas/lti-1-3) — the LTI 1.3 standard as configured for Canvas * [D2L Brightspace](/mdx/integrations/d2l/introduction) — LTI Advantage for Brightspace * [Moodle](/mdx/integrations/moodle/introduction) — LTI Advantage for Moodle # Pria Tools Source: https://docs.praxis-ai.com/mdx/integrations/blackboard/pria-tools Let your Digital Twin read a learner's Blackboard Learn course A Digital Twin opened from a Blackboard Learn course can read that course for the learner who is asking: the course contents, announcements, the learner's own grades and the calendar. It works in text chats, voice conversations and realtime conversations. Blackboard tools are **read-only**. The twin can look things up in Blackboard, but it cannot change anything there: it cannot post, submit, grade or delete. ## What learners can ask * "What's in the Week 3 folder?" * "Did my instructor post any announcements?" * "What are my grades so far in this course?" * "What is due this week?" * "Which courses am I enrolled in?" The twin reads **the learner's own** Blackboard course, with the learner's own read-only Blackboard sign-in. It shows a learner only what that learner is allowed to see in Blackboard. If Blackboard does not let the learner see something (for example, material meant for instructors), the twin tells them so. | The twin can read | Notes | | - | - | | **Course contents** | Folders, documents and links. | | **Announcements** | The course's announcements. | | **Grades** | The learner's own grades and the gradebook columns. | | **Calendar** | The learner's calendar items. | | **Courses** | The learner's courses, so a learner can ask about a course other than the one they opened the twin from. | | **Discussions** | Only in Ultra courses. | By default the twin looks at the course the learner most recently opened it from. ## Connecting Blackboard (learners) The first time a learner asks something that needs Blackboard, the twin answers with a **sign-in link**: **1. Open the link** The link works once and stays valid for 10 minutes. **2. Sign in to Blackboard if asked** When the page **Connected to Blackboard** appears, you are connected. **3. Ask again** Return to the chat and ask the same question again. If the link has expired, ask again for a new one. A learner who has never opened the twin from their Blackboard course is asked to open it from there first, then ask again. > [!NOTE] > > Blackboard tools are available when the twin was opened from Blackboard Learn. They are not available while an administrator is viewing as another person. ## Setting it up (Digital Twin admins) **1. Register Pria in Blackboard** Complete the [Blackboard Learn installation](/mdx/integrations/blackboard/introduction) so the twin opens from your courses, and the REST API integration described under [Require Blackboard sign-in](/mdx/integrations/blackboard/introduction#require-blackboard-sign-in-optional). **2. Ask Praxis AI to connect your Blackboard Learn site** Send your Blackboard address and the Digital Twin (or account) to the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). The team connects your Blackboard Learn site and approves it. **3. Check the Tools list** Open the Digital Twin's settings and its **Tools** list. Once your Blackboard Learn site is connected, a **Blackboard** feature appears for the twin's tools. It has no switch of its own. If the site is not connected, `call_blackboard` appears under "Not listed because their feature is off for this Digital Twin". You can switch the `call_blackboard` tool off like any other tool; a tool that is switched off is never offered to the twin. See [Tools](/mdx/admin-guide/tools). ## Troubleshooting | Issue | Solution | | - | - | | **The twin does not mention Blackboard** | Check that the twin was opened from a Blackboard course, that your Blackboard Learn site is connected (ask the Praxis AI team) and that `call_blackboard` is switched on in the **Tools** list. | | **The twin asks the learner to open it from Blackboard** | The learner has not opened the twin from their Blackboard course yet. They open it from the course, then ask again. | | **The sign-in link no longer works** | A link works once and for 10 minutes. Ask the question again to get a new link. | | **The twin says it cannot read something** | Blackboard did not let that learner see it. Learners can read only what they can see in Blackboard themselves. | | **A very long answer is cut short** | Ask for less: a particular folder, a shorter list or one item. | ## Related * [Blackboard Learn](/mdx/integrations/blackboard/introduction) — installing Pria in Blackboard * [Canvas Pria Tools](/mdx/integrations/canvas/pria-tools) — the Canvas counterpart * [Tools](/mdx/admin-guide/tools) — every tool a Digital Twin can use # LTI 1.3 for Canvas Source: https://docs.praxis-ai.com/mdx/integrations/canvas/lti-1-3 Install Pria in Canvas from the Canvas Apps Discover page (recommended), with Dynamic Registration or with a Developer Key, and place it in your courses. ## Introduction Pria is listed on the **Discover** tab of **Canvas Apps** as **Praxis AI Human-First Digital Twins**. A Canvas administrator finds it there, clicks **Install**, and confirms a short guided wizard: no Developer Key to create and no registration URL to type. The result is two roles, two simple tasks: * **Administrators** install Pria as an LTI tool once, and * **Faculty** place Pria in their courses and connect each course to a Digital Twin. > [!NOTE] > > An administrator only needs to install Pria **once** per Canvas instance. After that, faculty can add Pria to any course. > [!NOTE] > > This page is about the **LTI** install, which puts Pria in the courses where faculty place it. The [Custom Theme](/mdx/integrations/canvas/theme) install, which shows Pria across your whole Canvas account, is unchanged. ### Choose an install method | Method | Best for | Effort | | - | - | - | | [**Discover page**](#install-from-the-discover-page) (recommended) | Most institutions: find Pria in Canvas Apps and install it, with every placement including Top Navigation, no Developer Key | 5–10 min | | [**Dynamic Registration**](#dynamic-registration) | When you can't use the Discover listing: you paste Pria's registration URL instead | 10–15 min | | [**Manual Registration**](#manual-registration) (Developer Key) | Pinning every launch to one specific Digital Twin | 20–30 min | The Discover page and Dynamic Registration lead to the same Canvas wizard, described once in [Complete the install wizard](#complete-the-install-wizard). > [!TIP] > > Already installed Pria with a Developer Key or Dynamic Registration? It keeps working, and there is nothing to change. If you also install Pria from the Discover page, Canvas warns that its domain is already used by another app. *** ## Prerequisites Before you begin, ensure you have: * [ ] **Canvas admin access** for the account where Pria will be installed. To install from the **Discover** page or with **Dynamic Registration** you must be a **root account admin** with the **LTI Registrations - Manage** permission. * [ ] **Permission to register external LTI tools** at your institution * [ ] **A valid account** at [pria.praxislxp.com](https://pria.praxislxp.com) * [ ] **Third-party cookies enabled** in your browser (required for LTI launches) *** ## Install from the Discover page This is the recommended method. Canvas already holds Pria's configuration, so you only review and confirm it. **1. Find Praxis AI in Canvas Apps** Log in to your Canvas instance. In Global Navigation click **Admin**, click your root account's name, then click **Apps** in Account Navigation. The **Discover** tab opens by default. Type **Praxis** in the search field. The **Praxis AI Human-First Digital Twins** tile appears, by Praxis AI. Click it. ![Canvas Apps Discover tab with Praxis in the search field and the Praxis AI Human-First Digital Twins tile](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-1.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=1c8c13a81a73c7f67b9a5a840ec11c36) Admin → Apps → Discover: search for Praxis **2. Click Install** The app page shows Pria's overview, website, contact and images, and the **LTI v1.3** tag. Click **Install** to start the install wizard. ![App page for Praxis AI Human-First Digital Twins with the Install button](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-install-2.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=2a54ece6947f61ff6f50f67cca5ad38d) The Praxis AI Human-First Digital Twins app page Then continue with [Complete the install wizard](#complete-the-install-wizard). > [!NOTE] > > Instructure's own guide to this page: [How do I add an app on the Discover page in Canvas Apps?](https://community.instructure.com/en/kb/articles/661486-how-do-i-add-an-app-on-the-discover-page-in-canvas-apps) *** ## Dynamic Registration Use this method when you can't install from the Discover page. You paste Pria's registration URL and Canvas fetches the rest. **1. Open the Apps page** Log in to your Canvas instance, then go to **Admin → (your account) → Apps** and select the **Manage** tab. Click **Install a New App** in the top-right corner. ![Canvas Apps Manage page with the Install a New App button](https://mintcdn.com/praxisai/MYvJPjU8SmwcqWTE/images/integrations/canvas/lti/canvas-admin-apps-install.png?fit=max\&auto=format\&n=MYvJPjU8SmwcqWTE\&q=85\&s=4e844047bc4b34065b3880066a85d9f5) Admin → Apps → Manage → Install a New App **2. Choose Dynamic Registration** In the **Install App** dialog: 1. Under **Select LTI Version**, choose **1.3**. 2. Set **Install Method** to **Dynamic Registration**. 3. In **Dynamic Registration URL**, enter: ``` https://pria.praxislxp.com/lti/register ``` ![Install App dialog with LTI 1.3, Dynamic Registration, and the Pria registration URL](https://mintcdn.com/praxisai/MYvJPjU8SmwcqWTE/images/integrations/canvas/lti/canvas-admin-apps-dynareg.png?fit=max\&auto=format\&n=MYvJPjU8SmwcqWTE\&q=85\&s=7a807d539000e7e67605d6c96176902d) Select LTI 1.3 and Dynamic Registration, then enter the registration URL Click **Next**, then continue with [Complete the install wizard](#complete-the-install-wizard). *** ## Complete the install wizard Whether you clicked **Install** on the Discover page or started a Dynamic Registration, Canvas now walks you through the same **Install App** steps. In the wizard and once installed, the app is called **Pria**. **1. Review permissions** Pria requests the gradebook and roster permissions it needs to operate: viewing and creating assignment data in the gradebook, creating and viewing submission results, and retrieving the users of the course it is placed in. All of them are turned on by default. ![Permissions step listing the five actions Pria can perform, all switched on](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-install-permissions-3.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=8751cb6d269908d52cc0221da71a0303) Pria's requested permissions, all on by default Leave the defaults and click **Next**. > [!TIP] > > Altering these defaults can affect Pria's behavior. Only change them if you have a specific reason. **2. Confirm data sharing** In **User Data Shared With This App**, keep **All user data**: Canvas ID, name, first and last name, SIS ID, avatar, and email address. ![Data Sharing step with All user data selected](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-install-data-sharing-4.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=e61eb72d1e295c30605ce8c3b61d1a5b) Data Sharing step — keep All user data Click **Next**. **3. Select placements** Placements control where Pria can be accessed from in Canvas. All five are selected by default: | Placement | Recommendation | | - | - | | **Course Navigation** | ✅ Recommended — Pria appears in the course sidebar. Tick **Default to Hidden** to let each teacher turn it on. | | **Link Selection** | ✅ Recommended — lets faculty embed Pria in modules | | **Account Navigation** | Optional | | **Top Navigation** | Optional — opens Pria in a drawer; tick **Allow Fullscreen** to let it expand | | **Page Menu** | Optional | ![Placements step with Account Navigation, Course Navigation, Link Selection, Top Navigation and Page Menu selected](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-install-placements-5.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=66b42d4aed575e718a9c7834c6f2f86d) Choose where Pria may be accessed from Each placement's information icon shows where it appears in Canvas. Adjust the selection to suit your institution and click **Next**. **4. Set the nickname** The **Administration Nickname** (it always appears next to the app's name) and the **Description** (shown in the Link Selection and Assignment Selection placements) are both prefilled with **Pria**. Under **Placement Names** you can also rename each placement. ![Nickname step with Administration Nickname and Description set to Pria](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-install-names-6.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=d8ec879882a2b5567fa3919676534034) Nickname, description and placement names > [!TIP] > > This is the administrative label. When faculty place Pria in a course, they can give that placement its own name, independent of the nickname you set here. Click **Next**. **5. Keep the icons** The **Tool Icon URL** and the **Top Navigation** placement icon already point to Pria's logo. Leave them and click **Next**. ![Icons step with the Tool Icon URL and Top Navigation icon set to the Pria logo](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-install-icons-7.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=124ddf7eb149839d1185edbbe75a2a78) Tool icon and placement icon URLs, prefilled with Pria's logo **6. Review and install** Review the permissions, data sharing, and placements. Use the pencil icons to jump back and edit any section. ![Review step listing the permissions, data sharing and placements, with the Install App button](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-install-review-8.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=b7bd7e735cd774cde5d05d9de42d89a7) Review your choices before installing Click **Install App**. Canvas confirms **App installed successfully!** and opens the app. **7. Make Pria available** Pria installs as **Not Available**: it won't appear in any course until you enable it. On the app's **Availability and Exceptions** tab, the card **Installed in (your account)** shows the Deployment ID, how many child sub-accounts and courses it covers, and its placements. Click the **pencil (edit)** icon on that card. ![Pria app page after install, with the Installed in card marked Not Available and the pencil and Add Exception buttons](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-install-installed-9.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=7191acdc825df5de37a726e9a67d3d34) Freshly installed: Pria is Not Available In the **Edit Exception** dialog, change **Not Available** to **Available**, then click **Save**. The dialog says how many child sub-accounts and courses the change affects. ![Edit Exception dialog changing the account from Not Available to Available](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-installed-modify-availability-10.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=f8a2a21622dc13d6aa750e1e6604c9d0) Change Not Available → Available, then Save > [!TIP] > > Use **Add Exception** if you'd rather enable Pria for specific sub-accounts or courses instead of the whole account. Prefer a sub-account exception to single-course ones: new courses in the sub-account inherit it, while a copied course does not keep its own. **8. Confirm installation** Canvas confirms **Exception availability updated successfully.** The card now shows **Available**. Pria is installed and ready for faculty to use. ![Pria app page with the Installed in card marked Available](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-installed-fully-available-11.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=95c1f9bf9288a19c6922daab4c9ab367) Pria installed and available *** ## Manual Registration > [!WARNING] > > Canvas does not allow adding placements or editing custom properties after a tool is installed from the **Discover** page or through **Dynamic Registration**: you choose its placements during the wizard, and Pria is not pinned to a Digital Twin. Use Manual Registration, with a Developer Key, when you need that control up front. Choose manual registration when you want to: * **Pin a specific Digital Twin** by setting a `priainstitutionid`, so every launch opens that twin, or * **Control placements and custom fields precisely** in the tool's JSON configuration. > [!NOTE] > > You no longer need a Developer Key for the **Top Navigation** placement: the Discover page offers it. ### Create the developer key **1. Open Developer Keys** Log in to Canvas and go to **Admin → (your account) → Developer Keys**. **2. Add an LTI key** Click **+ Developer Key** and select **+ LTI Key**. **3. Configure the key** Fill in the key settings: * **Key Name:** `Pria LTI` * **Owner Email:** your admin email * **Redirect URIs:** ``` https://pria.praxislxp.com/lti https://pria.praxislxp.com/lti/resources https://pria.praxislxp.com/lti/launch ``` * In the **Method** dropdown, select **Paste JSON**, then paste the configuration below into the **LTI 1.3 Configuration** field. The `scopes` in it are what you are granting Pria: the `lti-ags` entries let it read and write gradebook entries and scores, `contextmembership.readonly` lets it read the course roster, and the three `canvas.instructure.com` entries let Canvas and Pria keep the signing key, account lookup and grade-progress checks in sync. ```json theme={null} { "title": "Pria LTI", "scopes": [ "https://purl.imsglobal.org/spec/lti-ags/scope/lineitem", "https://purl.imsglobal.org/spec/lti-ags/scope/lineitem.readonly", "https://purl.imsglobal.org/spec/lti-ags/scope/result.readonly", "https://purl.imsglobal.org/spec/lti-ags/scope/score", "https://purl.imsglobal.org/spec/lti-nrps/scope/contextmembership.readonly", "https://canvas.instructure.com/lti/public_jwk/scope/update", "https://canvas.instructure.com/lti/account_lookup/scope/show", "https://canvas.instructure.com/lti-ags/progress/scope/show" ], "extensions": [ { "domain": "praxislxp.com", "platform": "canvas.instructure.com", "settings": { "text": "Pria LTI", "icon_url": "https://pria.praxislxp.com/logo192.png", "platform": "canvas.instructure.com", "placements": [ { "text": "Pria LTI", "icon_url": "https://pria.praxislxp.com/logo192.png", "placement": "account_navigation", "message_type": "LtiResourceLinkRequest", "target_link_uri": "https://pria.praxislxp.com" }, { "text": "Manual Pria LTI", "icon_url": "https://pria.praxislxp.com/logo192.png", "placement": "link_selection", "message_type": "LtiDeepLinkingRequest", "target_link_uri": "https://pria.praxislxp.com/lti" }, { "text": "Manual Pria LTI", "icon_url": "https://pria.praxislxp.com/logo192.png", "placement": "wiki_page_menu", "message_type": "LtiResourceLinkRequest", "target_link_uri": "https://pria.praxislxp.com/lti" }, { "text": "Manual Pria LTI", "icon_url": "https://pria.praxislxp.com/logo192.png", "placement": "top_navigation", "message_type": "LtiResourceLinkRequest", "target_link_uri": "https://pria.praxislxp.com/lti/launch" } ] }, "privacy_level": "public" } ], "description": "Praxis-AI, Pria LTI", "custom_fields": { "priainstitutionid": "f831501f-b645-481a-9cbb-331509aa....", "userid": "$Canvas.user.id", "courseid": "$Canvas.course.id", "coursename": "$Canvas.course.name", "partnerid": "$Canvas.account.id", "partnername": "$Canvas.account.name", "accountglobalid": "$Canvas.root_account.global_id" }, "public_jwk_url": "https://pria.praxislxp.com/lti/keys", "target_link_uri": "https://pria.praxislxp.com/lti", "oidc_initiation_url": "https://pria.praxislxp.com/lti/login" } ``` > [!NOTE] > > Set `priainstitutionid` to the Digital Twin's Public ID to always open that twin (`institution` is the API's word for a Digital Twin). To let faculty connect a Digital Twin during onboarding instead, delete the `priainstitutionid` line. **4. Save and copy the Client ID** Toggle back to **Manual Entry** to confirm the placements — you'll now see `top_navigation` listed. Save the key, then **copy its Client ID** (for example, `243790000000000223`). You'll need it in the next section. > [!TIP] > > A complete walkthrough of the manual setup is also available in this [Google Doc](https://docs.google.com/document/d/1-HSJTOIjg9C5LFIVeO0bw_Ntnc0rOyKe9I-5djf8L3M/edit?usp=sharing). ### Install the app from the Client ID **1. Open the Apps page** Go to **Admin → (your account) → Settings → Apps**, then click **+ App**. **2. Add by Client ID** In the **Add App** dialog, set **Configuration Type** to **By Client ID**, paste the **Client ID** you copied above, and click **Submit**. Canvas finds the matching LTI app — click **Install** to confirm. > [!NOTE] > > If you reinstall Pria, Canvas shows a confirmation dialog. Click **Install** to add the new installation — it supports the Digital Twin onboarding workflow and is independent of any previous install. Your Pria LTI application is now installed. It can take a few minutes for Canvas to make it available as a placement. *** ## Place Pria in your course This section is for **faculty**, and assumes an administrator has already installed Pria using one of the methods above. From your **Dashboard**, open the course where you want to add Pria. **1. Add an item to a module** Inside a module, click the **+** button to add an item. In the **Add Item to Module** dialog, set the dropdown to **External Tool**, then select **Pria** from the list of tools. ![Add Item to Module dialog with External Tool selected](https://mintcdn.com/praxisai/MYvJPjU8SmwcqWTE/images/integrations/canvas/lti/canvas-course-module-addtool.png?fit=max\&auto=format\&n=MYvJPjU8SmwcqWTE\&q=85\&s=a4eac74b997560b11c4b84194b0f3a2f) Add an External Tool item and choose Pria **2. Embed Pria** Pria opens its **Link Resource from External Tool** card. Click **Embed in your course** to create the link. ![Link Resource from External Tool card titled Add Pria with the Embed in your course button](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-place-in-module-12.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=08a5fc29cd46b8068a79a8d07205fe95) The Pria embed card **3. Name and add the item** Back in the **Add Item to Module** dialog, give the placement a page name (for example, *Professor Cantu*), then click **Add Item**. ![Add Item dialog with the page name and Add Item button](https://mintcdn.com/praxisai/MYvJPjU8SmwcqWTE/images/integrations/canvas/lti/canvas-course-module-add.png?fit=max\&auto=format\&n=MYvJPjU8SmwcqWTE\&q=85\&s=d836f4259685c7712a1d7e041d21b644) Name the placement and add it to the module Pria now appears in your module. Click it to launch. Pria opens inline unless your placement is configured to launch in a separate window. *** ## Connect a Digital Twin The first time an admin or instructor launches Pria in a course, it shows **Let's get you connected**. If your account is already associated with one or more Digital Twins, you can connect an existing twin or create a new one. ![Let's get you connected screen listing existing Digital Twins and a + Digital Twin button](https://mintcdn.com/praxisai/MYvJPjU8SmwcqWTE/images/integrations/canvas/lti/canvas-course-twin-selector.png?fit=max\&auto=format\&n=MYvJPjU8SmwcqWTE\&q=85\&s=c21e4d0db8114d2f2a14e077ea266982) Connect an existing Digital Twin or create a new one If you have no Digital Twin yet, the screen offers only **+ Digital Twin** (under **Create a new instance**), the **Hide Pria in this course** card and **Connection details**. ![Let's get you connected screen in a Canvas course with only the + Digital Twin button and the Hide Pria in this course card](https://mintcdn.com/praxisai/Pk-zftVwfyO1OAkA/images/integrations/canvas/lti/discover/canvas-apps-discover-praxis-pria-create-twin-13.png?fit=max\&auto=format\&n=Pk-zftVwfyO1OAkA\&q=85\&s=180d423c36b1fc4fba7bdbad4423db44) No Digital Twin yet: create one ### Use an existing twin Select any Digital Twin from the list to connect it to this course. Every Pria placement in the course then opens that twin. > [!WARNING] > > A course connects to **one** Digital Twin. A course that another active twin already uses is refused with "This course is already connected to another Digital Twin". To switch twins later, a teacher or administrator of the twin unlinks the course from **Your Profile › Canvas / LTI** (see [Faculty Onboarding](/mdx/user-guide/lms/faculty-onboarding#unlinking-a-digital-twin)), or a Digital Twin admin removes it from the twin's **LTI Contexts** list; the next launch shows this screen again. ### Create a new twin Click **+ Digital Twin** to create a new, personalized Digital Twin. In the **New Digital Twin** dialog, enter: * A **name** for your twin (for example, *Bob*) * A **picture URL** that is publicly accessible on the internet (no CORS restrictions) ![New Digital Twin dialog with name and picture URL fields](https://mintcdn.com/praxisai/uR6JXzaIBuSxXgYI/images/integrations/canvas/lti/canvas-course-twin-create.png?fit=max\&auto=format\&n=uR6JXzaIBuSxXgYI\&q=85\&s=656716e7f87a7cb763396d499bcb5244) Create a new Digital Twin Click **Let's GO!** to finish. Pria then shows **Confirm it's you**: select **Send me a code** and type the code emailed to you — this makes you the new twin's administrator — and you land in your new Digital Twin. > [!TIP] > > Anytime you or your students open Pria in this course, they'll open this Digital Twin directly. When you place Pria in another course, the onboarding wizard again offers to reuse an existing twin or create a new one. ### Hide Pria in a course The connection screen also has a **Hide Pria in this course** card: students no longer see Pria in the course, and teachers can select **Show Pria in this course** to bring it back. ### If the course's Digital Twin is disabled Students see "Pria is not available in this course right now. Ask your teacher." Teachers see **This course's Digital Twin is disabled** with two buttons: * **Disconnect this Digital Twin from the course** — then reload and connect the course to another twin. * **Hide Pria in this course**. When the twin is blocked because its whole account is disabled, only **Hide Pria in this course** is offered; ask the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). *** ## Personalize your twin Open the **Personalization and AI Models** tab to customize your Digital Twin's behavior, system prompt, and available models. Click **Update** to save your changes. For the full reference, see the [Personalization](/mdx/admin-guide/personalization) documentation. *** ## Student access Students are automatically added to your Digital Twin once you've placed Pria in the course, launched it, and completed the connection wizard for the first time. If a student opens Pria before a twin has been connected, a message asks them to have a teacher or administrator set it up. Admin accounts may first see **Confirm it's you** and enter a one-time code; students are not asked. See [More security for LMS login](/mdx/user-guide/lms/canvas-login-security). > [!WARNING] > > LTI launches require **third-party cookies**. In Incognito/Private mode, or when cookies are blocked, the launch may fail with a cookie-related error. Allow third-party cookies (or add an exception for `pria.praxislxp.com`) and retry. *** ## Troubleshooting | Issue | Solution | | - | - | | **"Invalid redirect" during launch** | Verify the Redirect URIs are registered exactly as shown. Check for trailing slashes or typos. | | **Pria isn't on the Discover page** | The listing is called **Praxis AI Human-First Digital Twins**: search for **Praxis**. Installing from **Discover** needs a root account admin with the **LTI Registrations - Manage** permission. | | **First launch says "…has been successfully registered! Please retry."** | Pria has just recorded your Canvas the first time it was opened. Close the message and open Pria again. | | **Pria doesn't appear in a course** | Confirm the app's availability is set to **Available** (Discover page or Dynamic Registration) or the Developer Key is **ON** (Manual). Verify the tool was installed at the correct account level. | | **"Unregistered" or "Unknown Client" errors** | Confirm the Client ID in Canvas matches the registered tool, and that the registration URL is correct. | | **Third-party cookie errors** | LTI requires cookies. Allow third-party cookies (or add an exception for `pria.praxislxp.com`) and avoid Incognito/Private mode. | | **Students can't access but faculty can** | Ensure a Digital Twin has been connected to the course and is not disabled, Pria is not hidden in the course, the item is published, and availability isn't restricted by an exception. | | **Deep linking (adding Pria from the module editor) not creating content** | Verify the **Link Selection** placement is enabled and the course allows external-tool content in modules. | | **Custom parameters not passing** | For manual registration, ensure custom fields are set in the Developer Key JSON, not only on the External Tool config. | > [!TIP] > > Test launches in a normal browser window first. If it works there but fails in Incognito, the issue is cookie-related. *** ## What's next? > [card] [Enable Canvas Tools](/mdx/integrations/canvas/pria-tools) > > Configure your Digital Twin to call Canvas APIs for course-aware responses. > [card] [Configure Your Digital Twin](/mdx/admin-guide/configuration) > > Customize AI behavior, system prompts, and available tools. # Overview Source: https://docs.praxis-ai.com/mdx/integrations/canvas/overview Canvas Integration features > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. ## Integrate Your Digital Twins with Canvas There are two ways to put Digital Twins inside Canvas: across your whole Canvas account, or course by course. This page helps a Canvas administrator choose between them. > [card] [Custom Theme (Preferred)](/mdx/integrations/canvas/theme) > > Enable Praxis AI across your Canvas account as an overlay: a Canvas administrator assigns a custom Canvas theme. > > * Praxis AI appears as a floating assistant button on course pages. > * Consistent, branded experience across all sub-accounts. > > ![Praxis Canvas Theme Overlay](https://mintcdn.com/praxisai/qxF4LPdJL8biN_cn/images/integrations/canvas/theme/canvas-theme.jpg?fit=max\&auto=format\&n=qxF4LPdJL8biN_cn\&q=85\&s=dafebaf7acddb43c0828eb31544fc14e) > [card] [LTI v1.3](/mdx/integrations/canvas/lti-1-3) > > Add Praxis AI on a course-by-course basis using Canvas LTI v1.3 integration. > > * Faculty place Praxis AI as a specific module or activity within courses. > * Students access assistance only where configured by the instructor. > * Install it from the **Discover** page of Canvas Apps, no Developer Key needed. > > ![Praxis Canvas LTI Integration](https://mintcdn.com/praxisai/ivw5c3CihnW6Pg1a/images/integrations/canvas/lti/canvas-lti.jpg?fit=max\&auto=format\&n=ivw5c3CihnW6Pg1a\&q=85\&s=b0bdc58321d897af3ae40b769b1bce3d) ## Connect Your Digital Twin to Canvas Configure your Digital Twin for intelligent, course-aware interactions with Canvas, enabling secure access and use of your school's course content. > [card] [Pria Tools for Canvas](/mdx/integrations/canvas/pria-tools) > > Enable the Canvas tools to: > > * Allow your Digital Twin to communicate directly with your Canvas instance. > * Make your Digital Twin contextually aware of the course it supports. > * Seamlessly leverage course materials and resources for personalized assistance. > > ![Canvas Integration](https://mintcdn.com/praxisai/4PWVVkfSBVmk3oVW/images/integrations/canvas/smartsearch/canvas-ss-edit-instance-integrations.webp?fit=max\&auto=format\&n=4PWVVkfSBVmk3oVW\&q=85\&s=96a8d461c90ac09aa63ebf655e4410e0) ## Add UI Widgets and Integration Tools to Your Theme-Based Integration Download the Theme Tools library to add widgets and buttons that control your Digital Twins through the Canvas UI. > [card] [Custom Theme with Tools](/mdx/integrations/canvas/theme-tools) > > Add the Canvas Tools to: > > * Add several useful widgets, buttons and context menu options > * Send messages to your digital twin dynamically while interacting with Canvas elements > * Trigger assistants such as Auto-Grader, Class Health Check, and more > > ![Canvas Tools Integration](https://mintcdn.com/praxisai/TvBOp6VaKv2F0wB2/images/integrations/canvas/tools/canvastools-explain.jpg?fit=max\&auto=format\&n=TvBOp6VaKv2F0wB2\&q=85\&s=9f7e33f4ac164ed49850a834b78a30ff) # Pria Tools Source: https://docs.praxis-ai.com/mdx/integrations/canvas/pria-tools Control your Canvas instance through the Canvas REST APIs Your Digital Twin contains the **call\_canvas** and **search\_canvas** tools specialized in interacting with and retrieving data from Canvas using the Canvas REST APIs. > [!NOTE] > > **Understanding the two Canvas tools:** > > * **`call_canvas`** — The comprehensive Canvas integration tool that provides full access to the Canvas REST API ecosystem. Use this tool for complete CRUD operations including creating assignments, grading submissions, managing enrollments, posting discussions, retrieving detailed analytics, and any operation that requires write access or complex data manipulation. > > * **`search_canvas`** — A lightweight, read-only tool that exclusively leverages the Canvas Smart Search API. Use this tool when you only need to discover and retrieve links to specific content within a course (such as finding a particular assignment, page, or resource). It's optimized for quick content discovery without the overhead of full API access. > > **When to use each:** > > * Choose `search_canvas` for simple queries like "find the syllabus" or "locate the midterm assignment" > * Choose `call_canvas` for actions like grading, creating content, viewing detailed submission data, or any operation beyond basic search ## Overview Pria Tools for Canvas (called *Canvas Tools* on a few screens) enable seamless, conversational access to your Canvas Learning Management System through natural language queries. Instead of navigating through multiple web pages and menus, users can simply ask questions and receive immediate, accurate responses powered by Canvas REST APIs. ## Benefits and Use Cases ### For Students The Canvas tools transforms how students interact with their coursework by providing instant access to critical information: * **Quick Assignment Lookups**: Ask "When is my biology assignment due?" or "What assignments do I have this week?" to get immediate answers * **Grade Tracking**: Query "What's my current grade in calculus?" or "Show me my quiz scores" without navigating through multiple pages * **Discussion Management**: Find out "What discussions do I need to respond to this week?" to stay on top of participation requirements * **Deadline Management**: Eliminate the stress of clicking through Canvas menus during busy study periods ### For Educators Teachers and instructors gain powerful administrative and pedagogical capabilities: * **Student Progress Monitoring**: Instantly identify "Which students haven't submitted their midterm papers?" or "Show me all students who scored below 70% on the last three quizzes" * **Data-Driven Instruction**: Access participation data, engagement metrics, and performance analytics for early intervention strategies * **Administrative Efficiency**: Check enrollment numbers, retrieve discussion participation data, and manage course logistics through simple conversations * **Content Management**: Create discussion posts, manage assignments, and update course materials using natural language commands ### Advanced Capabilities The tools handle sophisticated queries that would typically require multiple manual steps: * Complex filtering and sorting of student data * Bulk operations on assignments and enrollments * Cross-referencing multiple data sources (grades, submissions, participation) * Automated reporting and analytics generation ## How It Works ### Architecture Behind the scenes, the Canvas tools operate through a sophisticated translation layer: 1. **Natural Language Processing**: Converts user questions into structured API requests 2. **Authentication Handling**: Automatically manages OAuth tokens and session credentials 3. **API Translation**: Maps conversational queries to precise Canvas REST API endpoints 4. **Data Formatting**: Transforms API responses into human-readable, contextual answers 5. **Error Handling**: Gracefully manages API limitations and provides helpful feedback ### Example Workflows **Student Query Flow**: ``` User asks: "What discussions do I need to respond to this week?" ↓ Tool queries Canvas discussion topics API ↓ Filters results by due dates and user participation ↓ Returns formatted list of pending discussions ``` **Instructor Query Flow**: ``` User asks: "Create a discussion post about photosynthesis due next Friday" ↓ Tool constructs discussion topic payload ↓ Posts to Canvas discussion API with specified due date ↓ Confirms creation and provides discussion link ``` **Administrative Query Flow**: ``` User asks: "Which students in my AP History class have missing assignments?" ↓ Tool retrieves enrollment data and submission records ↓ Cross-references to identify gaps ↓ Returns actionable list with student details ``` ## Role-Based Access Control The Canvas tools call Canvas with each person's own Canvas authorization — the consent they give the first time the twin needs Canvas. Canvas then applies that person's role in the course, and the scopes of your Developer Key. ### Permission Levels > [card] Students > > **Read-Only Access** > > * View assignments and submissions > * Check grades and feedback > * Access course content > * Participate in discussions > [card] Instructors > > **Teaching Functions** > > * Grade assignments > * Manage course content > * Create discussions and assignments > * View student analytics > * Post announcements > [card] Administrators > > **Full Access** > > * Account management > * User enrollment operations > * System-wide analytics > * Course creation and deletion > * Institution-level settings ### Security Model **Key Security Features**: * Each call uses the person's own Canvas token, so Canvas allows only what their role and your Developer Key's scopes allow * Tokens refresh automatically; each person can remove theirs at any time (see [Removing Token](#removing-token)) * Every Canvas call is listed under **Tool Details** on the answer that made it > [!WARNING] > > A **Canvas Faculty Access Token** (see [Digital Twin Configuration](#digital-twin-configuration)) acts with that instructor's rights, not the rights of the person asking. When one is set, the twin can use it for anyone who talks to it — for example to read a gradebook on a student's behalf. Set it only on Digital Twins where that is intended. ## Getting Started ### Prerequisites Before configuring the Canvas tools, ensure you have: * Administrative access to your Canvas instance * Permissions to create Developer Keys in Canvas * Access to your Praxis Digital Twin configuration panel ### Setup Overview **1. Create Developer Key** Generate API credentials in Canvas to enable communication between Praxis and Canvas **2. Disable Scope Enforcement (Development)** During initial setup, **disable** scope enforcement on your Developer Key so you can explore the full Canvas API without restrictions **3. Configure Digital Twin** Add Canvas credentials to your Digital Twin **4. Test & Document Scopes** Talk to your Digital Twin about Canvas topics as a normal user would. After each answer, open **Tool Details** underneath it — it lists every Canvas address the twin called. Keep that list: it becomes your scope list in the next step. **5. Enable Scopes (Production)** Once you have a complete list, enable scope enforcement on your Canvas Developer Key **and** add the same scopes to your Digital Twin's configuration > [!NOTE] > > The Developer Key you create for API access is separate and distinct from any LTI (Learning Tools Interoperability) keys used for embedding Pria as an LTI activity within Canvas. ### Several Digital Twins, one set of credentials **For Accounts Managing Multiple Digital Twins**: Organizations with several Digital Twins can streamline configuration by storing Canvas API credentials at the account level: * **Centralized Configuration**: Set the Canvas Client ID, Secret, API scopes and Faculty Access Token once on the account * **Applies to every twin**: A value set on the account is used by every Digital Twin in it, in place of the twin's own value * **Simplified Maintenance**: Update credentials in one place to affect all of them * **Focus on Customization**: Teachers can concentrate on behavior and content personalization rather than technical setup > [!TIP] > > An account manager sets these in **Admin › Accounts**, on the account's **Shared Integrations** tab. Secrets are never shown again after saving: leave a field blank to keep it. To become an account manager, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). Move credentials to the account once your API scopes have stabilized. ## Create Developer Keys Developer Keys provide the authentication credentials necessary for your Digital Twin to communicate with Canvas through REST APIs. > [!NOTE] > > Only **one Developer Key** is needed per organisation and can be shared across several Digital Twins. ### Step-by-Step Configuration **1. Sign in to Canvas** Log in to your Canvas instance with administrative credentials. ![Canvas sign-in page](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/smartsearch/canvas-ss-signin.webp?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=ccc5c7f645337e9db16ed0fde04b45bf) **2. Navigate to Admin Panel** Click **Admin** in the left navigation menu, then select your institution's account (e.g., "Praxis AI"). ![Canvas admin account selection](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/smartsearch/canvas-ss-select-account.webp?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=bf9037dde5af3aaecf07e6d3d9b97eb9) **3. Access Developer Keys** In the account settings, select **Developer Keys** from the navigation menu. ![Developer Keys menu option](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/smartsearch/canvas-ss-select-dev-keys.webp?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=3b1f171c29838835ccf6af4233dfc9b3) **4. Create New API Key** **a.** Click the **+ Developer Key** button in the top-right corner ![Add Developer Key button](https://mintcdn.com/praxisai/4PWVVkfSBVmk3oVW/images/integrations/canvas/smartsearch/canvas-ss-add-dev-key.webp?fit=max\&auto=format\&n=4PWVVkfSBVmk3oVW\&q=85\&s=b8ff3cc44bc1645fbfbf35ada638ef33) **b.** Select **+ API Key** from the dropdown menu **5. Configure Key Settings** Fill in the following required fields: | Field | Value | Purpose | | - | - | - | | **Key Name** | `Pria Smart Search` | Displayed in OAuth consent form | | **Owner Email** | Your institution's admin email | Contact for key management | | **Redirect URI** | `https://pria.praxislxp.com/api/auth/token_complete` | OAuth callback endpoint | | **Icon URL** | `https://pria.praxislxp.com/logo192.png` | Displayed in consent form | Leave all other fields empty. ![API Key settings form](https://mintcdn.com/praxisai/4PWVVkfSBVmk3oVW/images/integrations/canvas/smartsearch/canvas-ss-api-key-settings.webp?fit=max\&auto=format\&n=4PWVVkfSBVmk3oVW\&q=85\&s=5be8c3c2bca35f1ec14bf5444751ad7e) **6. Configure API Scopes** Scopes control which Canvas API endpoints your Developer Key is allowed to call. Think of them as a whitelist — if a scope isn't enabled here, the API will reject the request even if the user has Canvas permissions for it. > [!WARNING] > > **Important:** When first creating your Developer Key, we strongly recommend you **disable** scope enforcement. This allows unrestricted API access during development so you can discover which endpoints your Digital Twin actually needs. You will enable specific scopes later once you have a complete list. **a.** **Development Mode (Recommended First Step)**: Leave scope enforcement **disabled**. Interact with your Digital Twin normally and open **Tool Details** under each answer — it shows exactly which Canvas API endpoints each query uses. Keep a record of these endpoints; you will need to enable them as scopes here **and** add them to your Digital Twin's configuration. **b.** **Production Mode**: Once you have documented all required endpoints, return to this Developer Key and enable scope enforcement: * Use the search box to find specific API functions (e.g., type "smart" to locate Smart Search) * Check the boxes for each API function you documented during development ![Scope selection interface](https://mintcdn.com/praxisai/4PWVVkfSBVmk3oVW/images/integrations/canvas/smartsearch/canvas-ss-grant-access.webp?fit=max\&auto=format\&n=4PWVVkfSBVmk3oVW\&q=85\&s=78998a004205e1ba5d1f433c9c82a9e0) > [!NOTE] > > Every scope you enable on this Developer Key must also be listed in your Digital Twin's configuration. See the [Canvas Scopes Reference](/mdx/integrations/canvas/pria-tools-scopes) for the full list of available scopes and the [Digital Twin Configuration](#digital-twin-configuration) section for where to add them. **c.** Click **Save** in the bottom-right corner **d.** Enable the Developer Key by toggling the **State** button to "ON" ![Enable API key toggle](https://mintcdn.com/praxisai/4PWVVkfSBVmk3oVW/images/integrations/canvas/smartsearch/canvas-ss-enable-apikey.webp?fit=max\&auto=format\&n=4PWVVkfSBVmk3oVW\&q=85\&s=541bb341f670248c6fb099a513a8ad2a) **7. Copy Credentials** Under the **Details** section: * Copy the **Client ID** (the numeric identifier, e.g., XXX217) * Click **Show Key** and copy the **Client Secret** Store these credentials securely—you'll need them for Digital Twin configuration. > [!NOTE] > > Remember: One Developer Key can serve several Digital Twins. You'll use these credentials when configuring each Digital Twin that needs Canvas access. ### Understanding Scope Enforcement When you enable scopes for Pria's API integration, you establish precise security boundaries: * **Explicit Permissions**: Define exactly which Canvas operations Pria can perform on behalf of users * **Principle of Least Privilege**: Grant only the minimum access necessary for required functionality * **Data Protection**: Ensure Pria accesses only the data it needs to function * **Audit Trail**: Track which API functions are authorized and used > [!WARNING] > > The Canvas tools act with each person's own Canvas token, so Canvas's native permissions apply: even with broad API scopes enabled, people can only do what their Canvas role (student, instructor, administrator) allows. The exception is a **Canvas Faculty Access Token**, which acts with that instructor's rights. ## Digital Twin Configuration After creating your Developer Key in Canvas, you need to configure your Digital Twin with the API credentials. ### Configuration Steps **1. Access Admin Panel** Click **Admin** at the top of your Praxis interface and select **Instances** (the admin list of Digital Twins). **2. Locate your Digital Twin** Find your Digital Twin in the list and click the green **Edit** pencil icon on the left. ![Edit Digital Twin instance](https://mintcdn.com/praxisai/4PWVVkfSBVmk3oVW/images/integrations/canvas/smartsearch/canvas-ss-edit-instance.webp?fit=max\&auto=format\&n=4PWVVkfSBVmk3oVW\&q=85\&s=72d67b5aa6d7c98227cac6ae2fad1f0b) **3. Add API Credentials** In the editor: **a.** On the **Configuration and Integrations** tab, scroll to **Integrations › Canvas** **b.** Paste the credentials you copied from the Canvas Developer Key into **Canvas Client Id** and **Canvas Client Secret** ![Canvas API credentials fields](https://mintcdn.com/praxisai/2e_ik4fUtEcGc0Uc/images/integrations/canvas/agent/agent-dt-canvas.png?fit=max\&auto=format\&n=2e_ik4fUtEcGc0Uc\&q=85\&s=278be541038a1bfb0c1c073eb9183fc7) > [!TIP] > > To post comments or perform teacher-level operations, create a personal access token for a registered course instructor and enter it in **Canvas Faculty Access Token**. Read the warning under [Security Model](#security-model) first. **4. Canvas API Scopes** **This is where you register the scopes your Digital Twin is allowed to use.** The scopes listed here must match the scopes enabled on your Canvas Developer Key — if a scope is enabled in Canvas but not listed here (or vice versa), API calls for that endpoint will fail. > [!WARNING] > > If you disabled scope enforcement on your Canvas Developer Key during development (as recommended), you still need to add scopes here. This list tells your Digital Twin which Canvas API endpoints it is permitted to call. Each scope follows the syntax `url:<HTTP Verb>|<Canvas API Endpoint Path>`. For example: * The scope for **GET /api/v1/courses/:course\_id/smartsearch** is `url:GET|/api/v1/courses/:course_id/smartsearch` * The scope for **GET /api/v1/courses/:course\_id/rubrics** is `url:GET|/api/v1/courses/:course_id/rubrics` Add the scopes you documented during your development/testing phase. See the [Canvas Scopes Reference](/mdx/integrations/canvas/pria-tools-scopes) for a complete reference of available scopes. > [!NOTE] > > If no scopes are configured for the Digital Twin (or at the account level, which takes precedence), Pria requests only the Smart Search scope (`url:GET|/api/v1/courses/:course_id/smartsearch`) by default. Each Canvas API endpoint has an associated scope, and Canvas Developer Key scopes can only be enabled or disabled by a root account administrator or an Instructure employee. [More info: Canvas REST APIs Scopes](https://developerdocs.instructure.com/services/canvas/oauth2/file.developer_keys#developer-key-scopes) ![Canvas API Scopes](https://mintcdn.com/praxisai/2e_ik4fUtEcGc0Uc/images/integrations/canvas/agent/agent-dt-scopes.png?fit=max\&auto=format\&n=2e_ik4fUtEcGc0Uc\&q=85\&s=0784a047c55349da75fb9f2ffc54b57b) > [!TIP] > > Use the Upload/Download buttons to manage the list with ease. > > ![Upload/Download](https://mintcdn.com/praxisai/2e_ik4fUtEcGc0Uc/images/integrations/canvas/agent/agent-dt-up-down.png?fit=max\&auto=format\&n=2e_ik4fUtEcGc0Uc\&q=85\&s=42fd967eb8d5bb0e9d92b11b9cadd1da) **5. Authenticate on SDK Login** Turn on **Require LMS sign-in on launch (Canvas or Blackboard)** (in its own **LMS sign-in (Canvas and Blackboard)** section; also in **Instance Settings › Connectors**) to make everyone who opens the twin from Canvas authorize it in Canvas first. This Canvas sign-in also stands in for the emailed code that admin accounts are otherwise asked for inside Canvas — see [More security for LMS login](/mdx/user-guide/lms/canvas-login-security). ![Authenticate on SDK Login](https://mintcdn.com/praxisai/2e_ik4fUtEcGc0Uc/images/integrations/canvas/agent/agent-dt-authenticate.png?fit=max\&auto=format\&n=2e_ik4fUtEcGc0Uc\&q=85\&s=763c5dec291ea5ff9d7eae07bca85d91) **6. Public Authorized URLs** Under **Integrations › Embedding & LTI**, the Canvas tools use the first URL in **Public Authorized URLs** that contains `.instructure.com` or `.edu` to authenticate and execute requests against your school's Canvas REST APIs — ensure this URL is correct. A **Canvas API URL** set on the account (**Shared Integrations** tab) takes precedence. ![Canvas API URL](https://mintcdn.com/praxisai/2e_ik4fUtEcGc0Uc/images/integrations/canvas/agent/agent-dt-public-urls.png?fit=max\&auto=format\&n=2e_ik4fUtEcGc0Uc\&q=85\&s=ab21823d1d2bcf6ad2d23452651fb799) As an example, the first URL in the list is Praxis AI's Instructure URL: [https://praxis-ai.instructure.com](https://praxis-ai.instructure.com). > [!TIP] > > If your institution has a vanity URL, use that instead (e.g., [https://my.university.edu](https://my.university.edu)). **7. Save Configuration** Click **Update** at the bottom of the panel to save your changes. > [!NOTE] > > These credentials enable your Digital Twin to authenticate with Canvas on behalf of users. The actual user permissions are determined by their Canvas role and the OAuth authorization they grant. ## Testing Your Canvas Integration Once configuration is complete, verify that your Digital Twin can successfully connect to Canvas. This is the authorization screen students and instructors will see when first connecting to Canvas: ![Canvas Ss Consent Web](https://mintcdn.com/praxisai/4PWVVkfSBVmk3oVW/images/integrations/canvas/smartsearch/canvas-ss-consent.webp?fit=max\&auto=format\&n=4PWVVkfSBVmk3oVW\&q=85\&s=297ba77a17044c1ae35e22f0dc414a02) ### Initial Connection Test **1. Ask a Canvas Question** Navigate to your Digital Twin and ask a Canvas-related question: ```text theme={null} What is my course syllabus in Canvas? ``` or ```text theme={null} Show me my upcoming assignments ``` **2. Authorize Access** On first connection (or when your token expires), you'll be prompted to authorize your Digital Twin to access Canvas: * Click the authorization link provided ![oAuth2 Connection](https://mintcdn.com/praxisai/zwVDhPOye6g3Ona1/images/integrations/canvas/agent/agent-oauth2.png?fit=max\&auto=format\&n=zwVDhPOye6g3Ona1\&q=85\&s=93a72192565cf42d0f1776de0eb06749) * Review the permissions requested ![oAuth2 Authorize](https://mintcdn.com/praxisai/zwVDhPOye6g3Ona1/images/integrations/canvas/agent/agent-authorize.png?fit=max\&auto=format\&n=zwVDhPOye6g3Ona1\&q=85\&s=7c9dc21273292066ff32810d1a408519) * Click **Authorize** in the Canvas OAuth consent screen * You'll be redirected back to Praxis automatically ![oAuth2 Success](https://mintcdn.com/praxisai/zwVDhPOye6g3Ona1/images/integrations/canvas/agent/agent-success.png?fit=max\&auto=format\&n=zwVDhPOye6g3Ona1\&q=85\&s=590c1259f3fd75e2717da441fe58381f) **3. Verify Response** Your Digital Twin should return relevant information from your Canvas course, confirming successful integration. ![Tool Response](https://mintcdn.com/praxisai/zwVDhPOye6g3Ona1/images/integrations/canvas/agent/agent-response.png?fit=max\&auto=format\&n=zwVDhPOye6g3Ona1\&q=85\&s=e08ad9147cf0817f6ae2592c194fc837) **4. Tool Details** A comprehensive audit log of the Digital Twin's Canvas interactions via the `call_canvas` tool is available in the `Tool Details` section of each response, allowing you to review successful execution status and identify the specific API functions that were called during the interaction. ![Tool Details](https://mintcdn.com/praxisai/zwVDhPOye6g3Ona1/images/integrations/canvas/agent/agent-details.png?fit=max\&auto=format\&n=zwVDhPOye6g3Ona1\&q=85\&s=f4865888d186a22ddc0ef41f468e41d1) > [!NOTE] > > **Token Management**: Access tokens are valid for 60 minutes and are automatically refreshed in the background to maintain seamless access. You typically only need to authorize once per session or when tokens expire. ### What to Test Verify different types of queries based on your role: **Students**: ```text theme={null} What assignments are due this week? Show me my current grades What discussions do I need to respond to? ``` **Instructors**: ```text theme={null} Which students haven't submitted the midterm? Show me average scores for the last quiz Create a discussion post about [topic] due next Friday ``` **Administrators**: ```text theme={null} How many students are enrolled in Biology 101? Show me course completion rates List all active courses in the department ``` ## Troubleshooting > [!NOTE] > > Pria's own error messages say *instance* where this guide says Digital Twin — they mean the same thing. ### Standalone accounts **Error message**: ``` Instance not properly configured: Your account is stand alone and is not integrated with Canvas. It must be associated to an instance properly configured by your Teacher or Administrator. ``` ### Invalid or missing API URL **Symptom**: Authentication fails or redirects to the wrong Canvas instance **Error message**: ``` Instance not properly configured: Access to Canvas LMS requires a valid Authorized Public URL property for your instance! This value can be configured using the Administration UI. ``` **Cause**: The system cannot determine your institution's Canvas domain, or there's a mismatch in the authorized URLs configuration. **Solution**: **1. Check Authorized URLs** In your Digital Twin configuration, ensure the **first line** of your Public Authorized URLs contains your institution's primary Canvas domain: ``` https://your-institution.instructure.com ``` **2. Verify Domain Priority** The Canvas tools use the first domain in your authorized URLs list that contains `.instructure.com` or `.edu`. Order matters: **Correct Order**: ``` https://school.instructure.com https://school.beta.instructure.com ``` The tools will use `school.instructure.com` (production) > [!WARNING] > > **Production vs. Test Instances**: It is strongly recommended NOT to share a single Digital Twin between production and test Canvas instances. This can cause domain confusion and authentication failures. > > If you must use both environments, the Canvas tools will select the first domain in your authorized URLs list that contains either: > > * An `.edu` vanity domain (e.g., `school.edu`) > * `.instructure.com` (Canvas cloud hosting) ### Invalid or missing Client ID or Secret **Symptom**: Error message about Client ID or Secret missing ``` Instance not properly configured: Access to Canvas LMS requires a valid Client Id for your instance! This value can be configured using the Administration UI. Instance not properly configured: Access to Canvas LMS requires a valid client secret for your instance! This value can be configured using the Administration UI. ``` **Solution**: 1. Verify that you've copied the correct Client ID and Secret from Canvas 2. Ensure the Developer Key is enabled in Canvas 3. Check that the Redirect URI in Canvas matches: `https://pria.praxislxp.com/api/auth/token_complete` 4. Update your Digital Twin with the correct credentials ### Invalid or missing course information **Error message**: ``` Integration user issue: Access to Canvas LMS requires a valid course Id. Please launch from a valid course page in your Canvas instance! ``` This happens when the Digital Twin has no course context — launch Pria from a course page (or a placement that passes the course id) so the tools know which course to query. ### Insufficient Scopes Error **Error Message**: ```json theme={null} { "errors": [{ "message": "Insufficient scopes on access token." }], "error_report_id": "1288266" } ``` **Example**: ``` Access to Canvas LMS API function at https://institution.instructure.com/api/v1/courses/53493/assignments is Unauthorized (401). Insufficient scopes on access token. ``` **Cause**: The API endpoint being accessed requires a scope that hasn't been authorized in your Canvas Developer Key. **Solution**: **1. Identify Required Scope** From the error message, note the endpoint path (e.g., `/api/v1/courses/:course_id/assignments`) **2. Add Scope in Canvas** 1. Return to Canvas Developer Keys 2. Edit your Pria API key 3. Search for and enable the required scope 4. Save changes **3. Generate New Token** Users need a new token with the updated scopes: each person removes their Canvas token (see [Removing Token](#removing-token)), then asks a Canvas question again and authorizes when prompted. Signing out of Pria does not remove the token. > [!WARNING] > > **Important**: When scopes are enforced, they must be defined in **both** locations: > > 1. Your Canvas Developer Key (authorizes the scopes) > 2. Your Digital Twin configuration (declares required scopes) > > Any modifications to the scope list require generating new access tokens, as scopes are embedded in the token at creation time. ### Token Expiration Issues **Symptom**: Frequent re-authorization requests or "token expired" messages **Cause**: Canvas access tokens last 60 minutes **Solution**: This is normal behavior. The system automatically refreshes tokens in the background. If you're prompted to re-authorize: 1. Click the authorization link 2. Approve the request in Canvas 3. Continue your session > [!TIP] > > If you experience excessive re-authorization requests, check that your browser allows cookies from `pria.praxislxp.com` and your Canvas domain. ### Removing Token When scopes have changed and require a new token, or to simply re-issue a new authorization token: **1. Go to Profile** Open **Your Profile** from the profile menu, then the **Canvas / LTI** tab. ![Profile](https://mintcdn.com/praxisai/zwVDhPOye6g3Ona1/images/integrations/canvas/agent/agent-profile.png?fit=max\&auto=format\&n=zwVDhPOye6g3Ona1\&q=85\&s=be9e2c8b574a0faacad8dbe38cbc8674) **2. Remove Token** Under **Canvas Access Token**, select **Remove** to delete your Canvas token. ![Profile](https://mintcdn.com/praxisai/zwVDhPOye6g3Ona1/images/integrations/canvas/agent/agent-remove-token.png?fit=max\&auto=format\&n=zwVDhPOye6g3Ona1\&q=85\&s=debef0175b26a915f224a7dd400e3865) **3. Issue New Token** To generate a new token, simply ask a question about content on Canvas and follow the OAuth2 authorization flow. ![Profile](https://mintcdn.com/praxisai/zwVDhPOye6g3Ona1/images/integrations/canvas/agent/agent-oauth2.png?fit=max\&auto=format\&n=zwVDhPOye6g3Ona1\&q=85\&s=93a72192565cf42d0f1776de0eb06749) ## Canvas Scopes Canvas API scopes are permission controls that act as a **whitelist** for your application's API access. When scope enforcement is enabled on a Developer Key, Canvas only allows API calls to endpoints that have been explicitly authorized — all other requests are rejected with a 401 error, regardless of the user's Canvas role. Scopes must be configured in **two places** (the Canvas Developer Key *and* your Digital Twin's configuration), and both lists must match. > [card] [Canvas Scopes Reference](/mdx/integrations/canvas/pria-tools-scopes) > > The complete scope reference — scope anatomy, common scopes by category, example use-case configurations, a starter JSON, best practices, and scope troubleshooting. ## Smart Search Canvas Smart Search provides an intelligent fallback mechanism when specific API endpoints are unavailable or return insufficient data due to scope restrictions. ### What is Smart Search? Smart Search is Canvas's AI-powered search capability that allows natural language queries across course content, returning relevant results from: * Assignments and submissions * Discussion topics and posts * Pages and modules * Files and documents * Announcements * Quiz content ### How the Canvas Tools Use Smart Search The Canvas tools automatically fall back to Smart Search when: 1. Specific API endpoints lack required scopes 2. Direct API queries return no results 3. Complex cross-resource queries are needed 4. Natural language search provides better context **API Endpoint**: ``` GET /api/v1/courses/:course_id/smartsearch ``` **Required Scope**: ``` url:GET|/api/v1/courses/:course_id/smartsearch ``` ### Official Documentation For detailed information about Smart Search capabilities and parameters: [Canvas Smart Search API Documentation](https://developerdocs.instructure.com/services/canvas/resources/smart_search#smart-search-api) ### Availability and Requirements > [!NOTE] > > **Environment Availability**: According to Canvas deployment notes, Smart Search is available only for **Beta** and **Production** releases. It may not be available in test or development Canvas instances. > > If you experience issues with Smart Search even after proper configuration, contact Instructure Support to verify that your Canvas instance has Smart Search enabled. ### Best Practices > [!TIP] > > **Recommended Configuration**: Always include the Smart Search scope in your production configuration: > > ```json theme={null} > "url:GET|/api/v1/courses/:course_id/smartsearch" > ``` > > This ensures your Digital Twin can gracefully handle edge cases and provide comprehensive search capabilities even when specific API scopes are restricted. ## Additional Resources ### Documentation Links * [Canvas REST API Reference](https://developerdocs.instructure.com/services/canvas) * [Canvas OAuth2 Documentation](https://canvas.instructure.com/doc/api/file.oauth.html) * [Praxis AI Community Repository](https://gitlab.com/praxis-ai/pria-client-sdk) ### Support For assistance with Canvas tools configuration or troubleshooting: * Search for help on the [Canvas Community](https://community.canvaslms.com/) * Contact [Praxis AI Support](mailto:humans@praxis-ai.com) for Digital Twin configuration issues * Contact [Instructure Support](https://www.instructure.com/contact-us) for Canvas-specific API or Smart Search availability questions ### Community Examples Explore real-world implementations and advanced use cases in the Praxis AI Community Repository: * [Auto-grader assistant](https://gitlab.com/praxis-ai/pria-client-sdk/-/blob/c684acc6895695a0d1acdac3a2079d9bd14322f0/canvas/assistants/assignment-grader.md) * [Multi-Files Auto Grader assistant](https://gitlab.com/praxis-ai/pria-client-sdk/-/blob/c684acc6895695a0d1acdac3a2079d9bd14322f0/canvas/assistants/multi-files-auto-grader.md) * [Class Health Check assistant](https://gitlab.com/praxis-ai/pria-client-sdk/-/blob/c684acc6895695a0d1acdac3a2079d9bd14322f0/canvas/assistants/class-healthcheck.md) # Canvas Scopes Reference Source: https://docs.praxis-ai.com/mdx/integrations/canvas/pria-tools-scopes Complete reference of Canvas API scopes for the call_canvas and search_canvas tools — anatomy, common scopes by category, starter configurations, and troubleshooting. This is the full scope reference for the [Pria Canvas tools](/mdx/integrations/canvas/pria-tools). Use it to discover which Canvas REST API endpoints your Digital Twin needs, then configure them on both the Canvas Developer Key and your Digital Twin. ## Canvas Scopes ### Understanding Scopes Canvas API scopes are permission controls that act as a **whitelist** for your application's API access. When scope enforcement is enabled on a Developer Key, Canvas will only allow API calls to endpoints that have been explicitly authorized — all other requests are rejected with a 401 error, regardless of the user's Canvas role. Scopes must be configured in **two places**: 1. **Canvas Developer Key** — controls what Canvas will allow at the API level 2. **Digital Twin configuration** (the **Canvas API Scopes** list) — controls what your Digital Twin is permitted to request Both lists must match. If a scope is missing from either location, the corresponding API call will fail. **Key Concepts**: * **Whitelist Model**: Only explicitly enabled scopes are allowed — everything else is blocked * **Endpoint-Specific**: Each scope maps to a specific API endpoint and HTTP method (e.g., GET, POST, PUT, DELETE) * **Dual Configuration**: Scopes must be enabled on the Canvas Developer Key *and* listed in your Digital Twin * **Principle of Least Privilege**: Grant only the scopes your Digital Twin actually needs > [!WARNING] > > Only grant scopes your Digital Twin actually uses. Over-permissioning creates unnecessary security risk. Use the [recommended development workflow](#best-practices-for-scope-management) to discover exactly which scopes you need before enabling enforcement. ### Scope Anatomy Each scope is a pipe-delimited string with three components: ``` url:<HTTP_METHOD>|<API_ENDPOINT> ``` **Components**: 1. **Literal prefix**: Always starts with `url:` 2. **HTTP Method**: `GET`, `POST`, `PUT`, or `DELETE` 3. **Endpoint Path**: The API path without the domain **Example Scope**: ``` url:GET|/api/v1/courses/:course_id/enrollments ``` This scope allows: * **Method**: GET (read-only) * **Resource**: Course enrollments * **Context**: Within a specific course > [!NOTE] > > **Path Variables**: URL parameters are written with colon notation (e.g., `:user_id`, `:course_id`, `:assignment_id`). When defining scopes, ensure variable names match exactly—scope comparison is token-based and case-sensitive. ### Official Documentation For the complete, authoritative list of all available Canvas API scopes and endpoints, consult: [Canvas REST API Documentation](https://developerdocs.instructure.com/services/canvas) ### Common Scopes by Category > [accordion] Assignments > > **List Assignments**: > > ``` > Endpoint: /api/v1/courses/:course_id/assignments > Scope: url:GET|/api/v1/courses/:course_id/assignments > ``` > > **Get Single Assignment**: > > ``` > Endpoint: /api/v1/courses/:course_id/assignments/:id > Scope: url:GET|/api/v1/courses/:course_id/assignments/:id > ``` > > **Update Submission** (grading, comments): > > ``` > Endpoint: /api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id > Scope: url:PUT|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id > ``` > > **List Submissions**: > > ``` > Endpoint: /api/v1/courses/:course_id/assignments/:assignment_id/submissions > Scope: url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/submissions > ``` > [accordion] Discussions > > **List Discussion Topics**: > > ``` > Endpoint: /api/v1/courses/:course_id/discussion_topics > Scope: url:GET|/api/v1/courses/:course_id/discussion_topics > ``` > > **Create Discussion**: > > ``` > Endpoint: /api/v1/courses/:course_id/discussion_topics > Scope: url:POST|/api/v1/courses/:course_id/discussion_topics > ``` > > **Get Discussion Entries**: > > ``` > Endpoint: /api/v1/courses/:course_id/discussion_topics/:topic_id/entries > Scope: url:GET|/api/v1/courses/:course_id/discussion_topics/:topic_id/entries > ``` > [accordion] Grades & Submissions > > **List All Submissions**: > > ``` > Endpoint: /api/v1/courses/:course_id/submissions > Scope: url:GET|/api/v1/courses/:course_id/submissions > ``` > > **Get User Grades**: > > ``` > Endpoint: /api/v1/courses/:course_id/students/submissions > Scope: url:GET|/api/v1/courses/:course_id/students/submissions > ``` > [accordion] Quizzes > > **List Quizzes**: > > ``` > Endpoint: /api/v1/courses/:course_id/quizzes > Scope: url:GET|/api/v1/courses/:course_id/quizzes > ``` > > **Get Quiz Submissions**: > > ``` > Endpoint: /api/v1/courses/:course_id/quizzes/:quiz_id/submissions > Scope: url:GET|/api/v1/courses/:course_id/quizzes/:quiz_id/submissions > ``` > [accordion] Announcements > > **List Announcements**: > > ``` > Endpoint: /api/v1/courses/:course_id/announcements > Scope: url:GET|/api/v1/courses/:course_id/announcements > ``` > > **Create Announcement**: > > ``` > Endpoint: /api/v1/courses/:course_id/discussion_topics > Scope: url:POST|/api/v1/courses/:course_id/discussion_topics > ``` > > (Announcements are special discussion topics) > [accordion] Modules & Content > > **List Modules**: > > ``` > Endpoint: /api/v1/courses/:course_id/modules > Scope: url:GET|/api/v1/courses/:course_id/modules > ``` > > **List Module Items**: > > ``` > Endpoint: /api/v1/courses/:course_id/modules/:module_id/items > Scope: url:GET|/api/v1/courses/:course_id/modules/:module_id/items > ``` > > **List Pages**: > > ``` > Endpoint: /api/v1/courses/:course_id/pages > Scope: url:GET|/api/v1/courses/:course_id/pages > ``` > > **Get Page Content**: > > ``` > Endpoint: /api/v1/courses/:course_id/pages/:url_or_id > Scope: url:GET|/api/v1/courses/:course_id/pages/:url_or_id > ``` > [accordion] Users & Enrollments > > **List Course Users**: > > ``` > Endpoint: /api/v1/courses/:course_id/users > Scope: url:GET|/api/v1/courses/:course_id/users > ``` > > **List Enrollments**: > > ``` > Endpoint: /api/v1/courses/:course_id/enrollments > Scope: url:GET|/api/v1/courses/:course_id/enrollments > ``` > [accordion] Files & Documents > > **List Course Files**: > > ``` > Endpoint: /api/v1/courses/:course_id/files > Scope: url:GET|/api/v1/courses/:course_id/files > ``` > > **Get File Details**: > > ``` > Endpoint: /api/v1/courses/:course_id/files/:id > Scope: url:GET|/api/v1/courses/:course_id/files/:id > ``` > [accordion] Groups > > **List Course Groups**: > > ``` > Endpoint: /api/v1/courses/:course_id/groups > Scope: url:GET|/api/v1/courses/:course_id/groups > ``` > [accordion] Rubrics > > **List Rubrics**: > > ``` > Endpoint: /api/v1/courses/:course_id/rubrics > Scope: url:GET|/api/v1/courses/:course_id/rubrics > ``` > [accordion] Assignment Groups > > **List Assignment Groups**: > > ``` > Endpoint: /api/v1/courses/:course_id/assignment_groups > Scope: url:GET|/api/v1/courses/:course_id/assignment_groups > ``` > [accordion] Analytics > > **Course Activity**: > > ``` > Endpoint: /api/v1/courses/:course_id/analytics/activity > Scope: url:GET|/api/v1/courses/:course_id/analytics/activity > ``` > > **Assignment Analytics**: > > ``` > Endpoint: /api/v1/courses/:course_id/analytics/assignments > Scope: url:GET|/api/v1/courses/:course_id/analytics/assignments > ``` > > **Student Summaries**: > > ``` > Endpoint: /api/v1/courses/:course_id/analytics/student_summaries > Scope: url:GET|/api/v1/courses/:course_id/analytics/student_summaries > ``` > > **Individual Student Activity**: > > ``` > Endpoint: /api/v1/courses/:course_id/analytics/users/:student_id/activity > Scope: url:GET|/api/v1/courses/:course_id/analytics/users/:student_id/activity > ``` > [accordion] Smart Search > > **Smart Search** (recommended fallback): > > ``` > Endpoint: /api/v1/courses/:course_id/smartsearch > Scope: url:GET|/api/v1/courses/:course_id/smartsearch > ``` > [accordion] Calendar > > **User Calendar Events**: > > ``` > Endpoint: /api/v1/users/:user_id/calendar_events > Scope: url:GET|/api/v1/users/:user_id/calendar_events > ``` ### Choosing Scopes for Your Use Case Select scopes based on the specific functionality your Digital Twin needs to provide: **Example: Auto-Grader Assistant** ``` url:GET|/api/v1/courses/:course_id/assignments url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/submissions url:PUT|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id ``` **Example: Student Support Bot** ``` url:GET|/api/v1/courses/:course_id/assignments url:GET|/api/v1/courses/:course_id/discussion_topics url:GET|/api/v1/courses/:course_id/pages url:GET|/api/v1/users/:user_id/calendar_events ``` **Example: Course Analytics Dashboard** ``` url:GET|/api/v1/courses/:course_id/analytics/activity url:GET|/api/v1/courses/:course_id/analytics/assignments url:GET|/api/v1/courses/:course_id/analytics/student_summaries url:GET|/api/v1/courses/:course_id/submissions ``` ### Best Practices for Scope Management > [!TIP] > > **Recommended Development Workflow**: > > 1. **Development Phase**: Disable scope enforcement to allow unrestricted API exploration > 2. **Documentation Phase**: Monitor Tool Details in dialog history to identify all endpoints used > 3. **Compilation Phase**: Create a comprehensive list of required scopes in a JSON file > 4. **Testing Phase**: Enable scope enforcement and test all functionality > 5. **Production Phase**: Deploy with minimal, verified scopes > > This approach ensures you grant exactly the permissions needed—no more, no less. ### Starter Scope Configuration Use this starter JSON as a foundation for your scope configuration. This includes commonly used endpoints for typical Digital Twin functionality: ```json theme={null} [ "url:GET|/api/v1/courses/:course_id/analytics/activity", "url:GET|/api/v1/courses/:course_id/analytics/assignments", "url:GET|/api/v1/courses/:course_id/analytics/student_summaries", "url:GET|/api/v1/courses/:course_id/analytics/users/:student_id/activity", "url:GET|/api/v1/courses/:course_id/announcements", "url:GET|/api/v1/courses/:course_id/assignments", "url:GET|/api/v1/courses/:course_id/assignments/:id", "url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/submissions", "url:PUT|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id", "url:GET|/api/v1/courses/:course_id/assignment_groups", "url:GET|/api/v1/courses/:course_id/discussion_topics", "url:GET|/api/v1/courses/:course_id/enrollments", "url:GET|/api/v1/courses/:course_id/files", "url:GET|/api/v1/courses/:course_id/files/:id", "url:GET|/api/v1/courses/:course_id/groups", "url:GET|/api/v1/courses/:course_id/modules", "url:GET|/api/v1/courses/:course_id/modules/:module_id/items", "url:GET|/api/v1/courses/:course_id/pages", "url:GET|/api/v1/courses/:course_id/pages/:url_or_id", "url:GET|/api/v1/courses/:course_id/quizzes", "url:GET|/api/v1/courses/:course_id/smartsearch", "url:GET|/api/v1/courses/:course_id/submissions", "url:GET|/api/v1/courses/:course_id/users", "url:GET|/api/v1/users/:user_id/calendar_events" ] ``` ### Suggested Scopes Here is a [list of scopes suggested by Pria](https://gitlab.com/praxis-ai/pria-client-sdk/-/blob/c5f3fb53553d1a1ee1b6ddc79685475e35cf0b5c/canvas/canvas-scope-pria-suggestion.md), Here's the enhanced list with the most common Canvas API operations for students and teachers: ```javascript theme={null} [ // Analytics (Teachers) "url:GET|/api/v1/courses/:course_id/analytics/activity", "url:GET|/api/v1/courses/:course_id/analytics/assignments", "url:GET|/api/v1/courses/:course_id/analytics/student_summaries", "url:GET|/api/v1/courses/:course_id/analytics/users/:student_id/activity", // Announcements "url:GET|/api/v1/courses/:course_id/announcements", "url:POST|/api/v1/courses/:course_id/discussion_topics", // Create announcement "url:PUT|/api/v1/courses/:course_id/discussion_topics/:topic_id", // Update announcement "url:DELETE|/api/v1/courses/:course_id/discussion_topics/:topic_id", // Delete announcement // Assignments "url:GET|/api/v1/courses/:course_id/assignments", "url:GET|/api/v1/courses/:course_id/assignments/:id", "url:POST|/api/v1/courses/:course_id/assignments", // Create assignment (Teachers) "url:PUT|/api/v1/courses/:course_id/assignments/:id", // Update assignment (Teachers) "url:DELETE|/api/v1/courses/:course_id/assignments/:id", // Delete assignment (Teachers) "url:GET|/api/v1/courses/:course_id/assignment_groups", "url:POST|/api/v1/courses/:course_id/assignment_groups", // Create assignment group (Teachers) "url:PUT|/api/v1/courses/:course_id/assignment_groups/:assignment_group_id", // Update group (Teachers) // Submissions "url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/submissions", "url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id", // View single submission "url:POST|/api/v1/courses/:course_id/assignments/:assignment_id/submissions", // Submit assignment (Students) "url:PUT|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id", // Grade/update submission "url:POST|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id/comments", // Add comment "url:GET|/api/v1/courses/:course_id/students/submissions", // Get user's own submissions (Students) "url:GET|/api/v1/courses/:course_id/submissions", // All submissions (Teachers) "url:POST|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/update_grades", // Bulk grade (Teachers) // Discussion Topics & Entries "url:GET|/api/v1/courses/:course_id/discussion_topics", "url:GET|/api/v1/courses/:course_id/discussion_topics/:topic_id", "url:GET|/api/v1/courses/:course_id/discussion_topics/:topic_id/entries", // View discussion posts "url:POST|/api/v1/courses/:course_id/discussion_topics/:topic_id/entries", // Post to discussion "url:PUT|/api/v1/courses/:course_id/discussion_topics/:topic_id/entries/:entry_id", // Edit post "url:DELETE|/api/v1/courses/:course_id/discussion_topics/:topic_id/entries/:entry_id", // Delete post "url:GET|/api/v1/courses/:course_id/discussion_topics/:topic_id/view", // Mark as read // Enrollments "url:GET|/api/v1/courses/:course_id/enrollments", "url:POST|/api/v1/courses/:course_id/enrollments", // Enroll users (Teachers) "url:DELETE|/api/v1/courses/:course_id/enrollments/:id", // Remove enrollment (Teachers) // Files & Folders "url:GET|/api/v1/courses/:course_id/files", "url:GET|/api/v1/courses/:course_id/files/:id", "url:POST|/api/v1/courses/:course_id/files", // Upload file "url:DELETE|/api/v1/files/:id", // Delete file "url:GET|/api/v1/courses/:course_id/folders", "url:GET|/api/v1/folders/:id", "url:POST|/api/v1/courses/:course_id/folders", // Create folder // Grades & Gradebook "url:GET|/api/v1/courses/:course_id/gradebook_history/feed", "url:GET|/api/v1/courses/:course_id/assignment_groups/:assignment_group_id/grades", "url:POST|/api/v1/courses/:course_id/assignments/:assignment_id/submissions/:user_id", // Post grade // Groups "url:GET|/api/v1/courses/:course_id/groups", "url:GET|/api/v1/groups/:group_id", "url:GET|/api/v1/groups/:group_id/users", "url:POST|/api/v1/courses/:course_id/groups", // Create group (Teachers) // Modules "url:GET|/api/v1/courses/:course_id/modules", "url:GET|/api/v1/courses/:course_id/modules/:module_id", "url:GET|/api/v1/courses/:course_id/modules/:module_id/items", "url:GET|/api/v1/courses/:course_id/modules/:module_id/items/:id", "url:POST|/api/v1/courses/:course_id/modules", // Create module (Teachers) "url:PUT|/api/v1/courses/:course_id/modules/:module_id", // Update module (Teachers) "url:POST|/api/v1/courses/:course_id/modules/:module_id/items", // Add module item (Teachers) "url:PUT|/api/v1/courses/:course_id/modules/:module_id/items/:id/done", // Mark item complete (Students) // Pages "url:GET|/api/v1/courses/:course_id/pages", "url:GET|/api/v1/courses/:course_id/pages/:url_or_id", "url:POST|/api/v1/courses/:course_id/pages", // Create page (Teachers) "url:PUT|/api/v1/courses/:course_id/pages/:url_or_id", // Update page (Teachers) "url:DELETE|/api/v1/courses/:course_id/pages/:url_or_id", // Delete page (Teachers) "url:GET|/api/v1/courses/:course_id/front_page", // Get front page // Quizzes "url:GET|/api/v1/courses/:course_id/quizzes", "url:GET|/api/v1/courses/:course_id/quizzes/:id", "url:POST|/api/v1/courses/:course_id/quizzes", // Create quiz (Teachers) "url:PUT|/api/v1/courses/:course_id/quizzes/:id", // Update quiz (Teachers) "url:GET|/api/v1/courses/:course_id/quizzes/:quiz_id/submissions", // Quiz submissions "url:POST|/api/v1/courses/:course_id/quizzes/:quiz_id/submissions", // Start quiz (Students) "url:GET|/api/v1/courses/:course_id/quizzes/:quiz_id/questions", // Get quiz questions // Rubrics "url:GET|/api/v1/courses/:course_id/rubrics", "url:GET|/api/v1/courses/:course_id/rubrics/:id", "url:POST|/api/v1/courses/:course_id/rubrics", // Create rubric (Teachers) // Users & Profiles "url:GET|/api/v1/courses/:course_id/users", "url:GET|/api/v1/users/:id", "url:GET|/api/v1/users/:user_id/profile", // View profile "url:PUT|/api/v1/users/:id", // Update user settings "url:GET|/api/v1/users/self", // Get current user // Calendar & Events "url:GET|/api/v1/users/:user_id/calendar_events", "url:GET|/api/v1/calendar_events", "url:POST|/api/v1/calendar_events", // Create calendar event "url:PUT|/api/v1/calendar_events/:id", // Update calendar event // Courses "url:GET|/api/v1/courses", "url:GET|/api/v1/courses/:id", "url:PUT|/api/v1/courses/:id", // Update course (Teachers) "url:GET|/api/v1/courses/:course_id/settings", // Course settings // Conversations/Messages "url:GET|/api/v1/conversations", "url:POST|/api/v1/conversations", // Send message "url:GET|/api/v1/conversations/:id", "url:PUT|/api/v1/conversations/:id", // Update conversation (mark as read) "url:POST|/api/v1/conversations/:id/add_message", // Reply to conversation // External Tools (LTI) "url:GET|/api/v1/courses/:course_id/external_tools", "url:GET|/api/v1/courses/:course_id/external_tools/:external_tool_id", // Search & Navigation "url:GET|/api/v1/courses/:course_id/smartsearch", "url:GET|/api/v1/courses/:course_id/tabs", "url:GET|/api/v1/search/recipients", // Search for users to message // Additional Common Operations "url:GET|/api/v1/courses/:course_id/activity_stream", "url:GET|/api/v1/courses/:course_id/todo", "url:GET|/api/v1/users/:user_id/courses", // Get user's courses "url:GET|/api/v1/courses/:course_id/recent_students", // Recently accessed students (Teachers) ] ``` ## Key Additions by User Type: **Students:** * POST submissions (submit assignments) * POST discussion entries (participate in discussions) * GET own submissions * Mark module items as complete * Take quizzes * Send messages * View their own profile **Teachers:** * Create/update/delete assignments, pages, modules * Grade submissions and add comments * Bulk grading operations * Create announcements and discussions * Manage enrollments and groups * Create quizzes and rubrics * Access analytics * Update course settings * Manage course files and folders This comprehensive list covers \~95% of typical Canvas LMS interactions for both students and instructors. > [!NOTE] > > **Latest Version**: The most current version of this starter configuration is maintained in the Praxis AI Community Repository - please contribute: > > [Canvas Scopes Configuration](https://gitlab.com/praxis-ai/pria-client-sdk/-/blob/c684acc6895695a0d1acdac3a2079d9bd14322f0/canvas/digital-twin-canvas-scopes.json) ### Scope Troubleshooting **Insufficient Scopes Error**: ``` Access to Canvas LMS API function at https://institution.instructure.com/api/v1/courses/53493/assignments is Unauthorized (401). {"errors":[{"message":"Insufficient scopes on access token."}],"error_report_id":"1288266"} ``` **Resolution Steps**: 1. Identify the missing scope from the error message endpoint 2. Add the scope to your Canvas Developer Key 3. Ensure the scope is also listed in your Digital Twin configuration 4. Have users remove their Canvas token and authorize again to receive the updated scopes (see [Removing Token](/mdx/integrations/canvas/pria-tools#removing-token)) > [!WARNING] > > **Critical Scope Requirement**: When scopes are enforced, they must be defined in **both** locations: > > 1. **Canvas Developer Key** (authorizes the application to use these scopes) > 2. **Digital Twin Configuration** (declares which scopes to request during OAuth) > > Modifying scopes requires generating new access tokens, as scope permissions are embedded in the token at creation time and cannot be changed retroactively. ## Related * [Pria Canvas Tools](/mdx/integrations/canvas/pria-tools) — overview, setup, and testing for `call_canvas` and `search_canvas` * [Digital Twin Configuration](/mdx/integrations/canvas/pria-tools#digital-twin-configuration) — where to add these scopes in your Digital Twin * [Canvas Configuration (Admin)](/mdx/admin-guide/configuration) — the Digital Twin's Canvas settings # Custom Theme Source: https://docs.praxis-ai.com/mdx/integrations/canvas/theme Integrate Praxis AI within Canvas LMS > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. ## Introduction This guide shows a Canvas administrator how to put a Praxis AI **Digital Twin** into Canvas using the [Canvas Theme Editor](https://community.canvaslms.com/t5/Video-Guide/Theme-Editor-Admins/ta-p/383021). Once it is in the theme, the twin is embedded in Canvas's pages for everyone. ![Praxis AI + Canvas Integration Introduction](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-introduction.png?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=18a9c268c68dec54181380cc5d1cb318) > [!NOTE] > > **More security for Canvas login.** Admin accounts opening Pria inside Canvas may first see **Confirm it's you** and enter a one-time code; students are not affected. Tell your admins what to expect: [More security for LMS login](/mdx/user-guide/lms/canvas-login-security). > [card] [Prerequisites](#prerequisites) > > Access, permissions, and IDs to gather before you start (≈20–30 min setup). > [card] [Add the Digital Twin to your theme](#add-a-praxis-ai-digital-twin-to-your-theme) > > The core install: drop the SDK into the Canvas Theme Editor. > [card] [Targeting & display](#load-for-certain-courses) > > Display options, and loading rules for specific courses, teachers, and accounts. > [card] [Useful functions & troubleshooting](#useful-functions) > > SDK helper functions, the ENV variable, whitelisting, and common fixes. *** ## Prerequisites Before you begin, ensure you have: * [ ] **Canvas admin access** with permissions to edit themes * [ ] **Theme Editor permissions** for your target account or sub-account * [ ] **A Praxis AI Digital Twin** created at [pria.praxislxp.com](https://pria.praxislxp.com) * [ ] **Your Digital Twin's Public ID** (copy it from **Instance Settings › General**, or the admin editor's **Configuration and Integrations** tab) * [ ] **Whitelisted domains**: `pria.praxislxp.com` and `prialti.praxislxp.com` * [ ] **For a fixed Digital Twin:** your Canvas address (for example `https://school.instructure.com`) in the twin's **Public Authorized URLs** — Pria starts only on sites listed there > [!TIP] > > **Estimated setup time:** 20-30 minutes for first-time installation. *** ## Add a Praxis AI Digital Twin to your Theme To add a Praxis AI Digital Twin globally to a Canvas account, you will upload a segment of JavaScript in the Theme used by the account or sub-account of your choice. **1. Download the Base SDK** > [card] [pria-sdk-canvas.js](https://pria.praxislxp.com/pria-sdk-canvas.js) > > Download the pria-sdk-canvas.js code onto your computer, and save the file as pria-sdk-canvas.js > [!TIP] > > * We recommend storing this file in source control (GitHub, GitLab, etc.) so you can track changes to the file. > * You may also save this file into a Google Drive, and edit your customizations on an ongoing basis. > * Keep track of the version of the file and your own modification to ensure that you are using the latest and greatest. > * When you select this file to inject in your theme, Canvas uploads a copy into its own CDN therefore, you need to reload the files into Canvas after you make a change. > [!TIP] > > Shortcut: in **Instance Settings › Integration**, the **Integration wizard**'s **Canvas LMS theme** option generates this file with your Digital Twin's Public ID, icon and display options already filled in. **2. Customize the SDK** Refer to the [**SDK customization section**](#customizing-the-sdk) of this guide to ensure you configure the appropriate digital twins for your specific use case. **3. Edit Canvas Theme and Upload SDK** > [card] Navigate to Admin Settings and Select the Subaccount > > Begin your integration by organizing your Canvas environment: > > 1. **Create a Praxis subaccount** in your Canvas instance > 2. **Move courses** that will use digital twins into this subaccount > 3. **Access admin settings** and select the Praxis subaccount to continue configuration > > ![Edit Canvas Theme](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-admin-navigate.png?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=8b1b89b31ed3a629b7f791add5df4e33) > [card] Select Themes > > Click on the current Theme to open the Theme Editor. > > ![Edit Canvas Theme](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-select-theme.png?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=30b12e5db98fc28142da64562bd78ba3) > [card] Open Theme Editor > > Click on the "Edit" button to open the Theme Editor. > > ![Edit Canvas Theme](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-open-editor.png?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=d0ad3183ec5fdd3f1529310092266205) > [card] Upload Tab > > Click to the Upload tab on the left. > > ![Edit Canvas Theme](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-theme-upload.png?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=c2fe62bfd10462c20b91b773f130b3fc) > [card] [Instructure: How to Upload Custom JavaScript and CSS Files](https://community.canvaslms.com/t5/Admin-Guide/How-do-I-upload-custom-JavaScript-and-CSS-files-to-an-account/ta-p/253) > > We follow instructions similar to those posted Instructure's documentation on how to upload custom JavaScript and CSS files to an account. ## Customizing the SDK In this step, you will customize the Javascript SDK you downloaded to specify which Digital Twin to use. Edit the file `pria-sdk-canvas.js` from your download #### Disabled by Default If you prefer to disable Praxis AI by default set the `INSTITUTION_ID` to undefined ```javascript theme={null} var INSTITUTION_ID; ``` #### Require Teacher Onboarding If you prefer to use the "Teacher Onboarding" process, leave the `INSTITUTION_ID` field blank (e.g. `''`) like this: ```javascript theme={null} var INSTITUTION_ID = ''; ``` In this modality, Teacher or Administrator alike will select an existing Digital Twin or create a new one at runtime. #### Assign all to one Digital Twin If you prefer to assign everyone (in the sub-account) to the same Digital Twin, set `INSTITUTION_ID` to that twin's Public ID, ex: 5fd6d7a4-4cc7-4e04-8473-e89aef4e… ```javascript theme={null} var INSTITUTION_ID = '5fd6d7a4-4cc7-4e04-8473-e89aef4e...'; ``` > [!NOTE] > > The value of the `INSTITUTION_ID` field is your Digital Twin's **Public ID** (`institution` is the API's word for a Digital Twin). It is a public identifier, not a secret — it sits in a theme file every Canvas user's browser loads — so it needs no protecting; it simply tells the theme which Digital Twin to open. Who may use the twin is controlled by sign-in and the twin's authorized URLs. #### INSTITUTION\_ID Reference | Value | Behavior | | - | - | | `undefined` | Pria is **disabled** — the button does not appear and nothing loads. Use this as the default when you want to selectively enable Pria only for specific courses or accounts. | | `''` (empty string) | **Teacher Onboarding** — the teacher (or admin) is prompted to select an existing Digital Twin or create a new one and associate it to the current course. | | `'5fd6d7a4-...'` (specific ID) | **Fixed Digital Twin** — all users in this context are connected to the specified Digital Twin. No onboarding wizard is shown. | > [!TIP] > > You can change the `INSTITUTION_ID` value dynamically inside conditional functions like `isInCourses()`, `isInAccounts()`, or `hasAnyRole()` to assign different behaviors per course, account, or user role. ## Customize the Digital Twin's icon You can change the icon of the button that will appear on the screen with the following variable: If you like to keep using Pria's icon, leave the `INSTITUTION_ICON_URL` as undefined ![Digital Twin icon](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-expert-icon.png?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=5dee7c651d806b4cfa2efdd02355e58f) ```javascript theme={null} var INSTITUTION_ICON_URL; ``` If you want to change the icon, set the value of the icon URL to a new location, like the example below: ```javascript theme={null} var INSTITUTION_ICON_URL = 'https://pria.praxislxp.com/logo192.png'; ``` > [!TIP] > > We recommend using a square image, no larger than 192 x 192 pixels, that also supports transparency (like PNG or webp format) - This image should be placed on a Content Delivery Network that allows access across origin or domains (CORS Policy) ## Display Options You can customize the position, size and container of the Digital Twin's button as well as the main window with the following Javascript `DISPLAY_OPTIONS` variable: ```javascript theme={null} var DISPLAY_OPTIONS = { fullScreen: false, // True for expanded in full screen openOnLoad: false, // True to open Pria immediately when loaded buttonWidth: '80px', // Size of the button containing the Pria Logo buttonPosition: 'fixed', // Determine the position of the button (fixed, relative, sticky) buttonPositionRight: 'calc(100% - 80px)', // Position of the button relative to the right edge of the screen buttonPositionBottom: '20px', // Position of the button relative to the bottom edge of the screen buttonNoBounce: true, // Determine whether the button will not bounce when Pria is closed priaContainerId: '', // Id of the container receiving pria window (default empty uses BODY) buttonContainerId: '', // Id of the container receiving the button (default empty uses BODY) allowPop: false, // True to show the button and pop Pria out the containing iFrame noUI: false, // True to disable the UI; Pria stays accessible through the JavaScript SDK convoMode: false, // True to auto-start Convo (voice) mode when ready, or { conversationId, conversationName, assistantId } onAuthRequired: null, // Function called once when Pria waits for the person to confirm it's them }; ``` These are the values in the downloaded file: the button sits in the **bottom-left** corner of course pages. Set `buttonPositionRight: '20px'` to move it to the bottom-right. The options are as below: | Option | Default / Allowed Values | Description | Notes | | - | - | - | - | | **fullScreen** | `true` \| `false` *(default)* | Display Pria in fullscreen. | | | **openOnLoad** | `true` \| `false` *(default)* | Open Pria immediately on load or keep closed until user clicks the Pria button. | | | **buttonWidth** | CSS width value \| `'80px'` *(default)* | Size of the Pria button. | See [CSS width examples](https://developer.mozilla.org/en-US/docs/Web/CSS/width). | | **buttonPosition** | CSS position value \| `'fixed'` *(default)* | Position type of the button. Default is `fixed`, but can be `relative` or `absolute`. | | | **buttonPositionBottom** | CSS bottom value \| `'20px'` | Distance from the bottom edge of the screen (only applies to `fixed` or `absolute` position). | See [CSS bottom examples](https://developer.mozilla.org/en-US/docs/Web/CSS/bottom). Example: `calc(100% - 80px)` to place icon at top. | | **buttonPositionRight** | CSS right value \| `'20px'` | Distance from the right edge of the screen (only applies to `fixed` or `absolute` position). | See [CSS right examples](https://developer.mozilla.org/en-US/docs/Web/CSS/right). Example: `calc(50% - 40px)` to center the icon. The downloaded Canvas file sets `calc(100% - 80px)` (bottom-left). | | **buttonNoBounce** | `true` | Whether the button bounces when displayed. | The Canvas file always sets it to `true`: the button never bounces. | | **priaContainerId** | Element ID \| `''` *(BODY by default)* | Parent element for Pria UI iFrame. | Empty value appends to `<body>`. | | **buttonContainerId** | Element ID \| `''` *(BODY by default)* | Parent element for the Pria button. | Empty value appends to `<body>`. | | **allowPop** | `true` \| `false` *(default)* | Option to open Pria in a new tab. | **Deprecated** due to third-party cookie restrictions. | | **noUI** | `true` \| `false` *(default)* | Disable the visual interface entirely. | Pria stays accessible programmatically through the [JavaScript SDK](/mdx/sdk/javascript). | | **convoMode** | `true` \| `false` *(default)* \| object | Auto-start Convo (voice) mode as soon as it is authorized for the user. | Also accepts `{ conversationId, conversationName, assistantId }` to target a specific conversation or assistant. Requires real-time voice to be enabled for the Digital Twin. | | **onAuthRequired** | function \| `null` *(default)* | Called once when Pria is waiting for the person to confirm it's them with a code inside the Pria panel. | Commands sent meanwhile fail with the reason `auth_required`. If your page hides the button (`noUI`, a hidden `buttonContainerId`), use it to reveal Pria: `() => { window.pria.setVisible(true); window.pria.display(true) }`. | The Javascript SDK loads Pria with the `loadPria()` function. ```javascript theme={null} loadPria(); ``` > [!NOTE] > > the loadPria() function will not load Pria twice if it happens to be called more than once. In the SDK, the `loadPria()` function is placed when the student or teacher is on a course page. This determination is done using a regular expression with the function `onPage()` like below: ```javascript lines theme={null} // load on all courses page (default) // Ex: https://praxis-ai.instructure.com/courses/106 onPage(/\/courses\/\d+/, function (isOnPage) { if (isOnPage) { loadPria(); } }); ``` > [!NOTE] > > In Canvas, course pages have URLs that match this structure [https://my-university.canvas.edu/courses/106/…](https://my-university.canvas.edu/courses/106/…) and this is what we rely on to call loadPria() so it loads only for courses. The downloaded file also skips preview pages (`preview=` in the address) and SpeedGrader. In the SDK, we also load Praxis AI in the Theme Editor so that we can preview Pria after we edit the custom theme. This is not required ```javascript lines theme={null} // load on theme_editor page // Ex: url https://praxis-ai.instructure.com/accounts/1/theme_editor onPage(/\/theme_editor/, function (isOnPage) { if (isOnPage) { loadPria(); } }); ``` The page URL match uses [Regular Expressions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions) ## Load for certain courses It is common that administrators want to load the Digital Twin only for certain courses, while it stays disabled for all the others. In this case, set the default `INSTITUTION_ID` to undefined. ```javascript lines theme={null} var INSTITUTION_ID; // undefined, "", or valid ID; ``` Then, inside the block that determines that we are on a course page, add the following code: ```javascript lines theme={null} var coursesForSpecificInstance = [79875, 72856, 55621]; isInCourses(coursesForSpecificInstance, function (isCourse) { if (isCourse) { INSTITUTION_ID = '1234-5245-ss-aaa'; INSTITUTION_ICON_URL = 'https://cdn.domain.edu/my/icon.png'; } }); ``` ### Courses with a specific Digital Twin ```javascript lines theme={null} // load on all courses page (default) // Ex: https://praxis-ai.instructure.com/courses/106 onPage(/\/courses\/\d+/, function (isOnPage) { if (isOnPage) { var coursesForSpecificInstance = [79875, 72856, 55621]; isInCourses(coursesForSpecificInstance, function (isCourse) { if (isCourse) { INSTITUTION_ID = '1234-5245-ss-aaa'; INSTITUTION_ICON_URL = 'https://cdn.domain.edu/my/icon.png'; } }); loadPria(); } }); ``` This code means that if the current course is either `79875`, `72856`, or `55621`, then we set the `INSTITUTION_ID` to a specific Digital Twin, and customize the icon to our own URL ### Teacher Specific Courses Similarly, you may choose to enable Pria (let teachers create their own twins) for a specific set of courses. To do so, simply set the `INSTITUTION_ID` to empty string like this: ```JavaScript theme={null} var coursesForDigitalTwin = [69875, 62856, 65621] isInCourses(coursesForDigitalTwin, function (isCourse) { if (isCourse) { INSTITUTION_ID = ''; INSTITUTION_ICON_URL = undefined; } }) ``` The resulting code will look like this: ```javascript lines theme={null} // load on all courses page (default) // Ex: https://praxis-ai.instructure.com/courses/106 onPage(/\/courses\/\d+/, function (isOnPage) { if (isOnPage) { var coursesForSpecificInstance = [79875, 72856, 55621]; isInCourses(coursesForSpecificInstance, function (isCourse) { if (isCourse) { INSTITUTION_ID = '1234-5245-ss-aaa'; INSTITUTION_ICON_URL = 'https://cdn.domain.edu/my/icon.png'; } }); var coursesForDigitalTwin = [69875, 62856, 65621]; isInCourses(coursesForDigitalTwin, function (isCourse) { if (isCourse) { INSTITUTION_ID = ''; INSTITUTION_ICON_URL = undefined; } }); loadPria(); } }); ``` ### A Digital Twin per Teacher You can write Javascript code that selects a specific Digital Twin for each teacher's courses for example: ```javascript lines theme={null} // load on all courses page (default) // Ex: https://praxis-ai.instructure.com/courses/106 onPage(/\/courses\/\d+/, function (isOnPage) { if (isOnPage) { var Quirk = [2250992]; isInCourses(Quirk, function (isCourse) { if (isCourse) { INSTITUTION_ID = '7813dada-29ab-48a0-8d33-255354d8XXc'; INSTITUTION_ICON_URL = 'https://elearning.inst.edu/wp-content/up1'; } }); var Chauncey = [2351092, 21317]; isInCourses(Chauncey, function (isCourse) { if (isCourse) { INSTITUTION_ID = '6c5cde70-2a8f-4986-bdc5-a5e4fe1fYYY'; INSTITUTION_ICON_URL = 'https://elearning.inst.edu/wp-content/up1'; } }); loadPria(); } }); ``` ## Nesting Conditions You can nest conditions to create complex logical rules. For example, place an `isInAccounts()` check inside an `onPage()` conditional to control loading by both page type and Canvas account: ``` IF onPage(course) THEN IF isInAccounts(123) THEN set INSTITUTION_ID = undefined (don't load Pria) ELSE loadPria() END IF END IF ``` In JavaScript, this translates to: ```javascript lines theme={null} onPage(/\/courses\/\d+/, function (isOnPage) { if (isOnPage) { // Disable Pria for courses in account 123 var excludedAccounts = [123] isInAccounts(excludedAccounts, function (isAccount) { if (isAccount) { // Don't load Pria for this account INSTITUTION_ID = undefined } else { // Load Pria for all other accounts loadPria() } }) } }) ``` You can combine any of the SDK functions (`onPage`, `isInAccounts`, `isInCourses`, `hasAnyRole`, `isStudent`, etc.) to build the exact logic you need. Remember the three `INSTITUTION_ID` values you can set inside these conditionals: | Set to | Effect | | - | - | | `undefined` | Pria will **not load** | | `''` | Teacher chooses or creates a Digital Twin | | `'your-twin-public-id'` | Loads a specific Digital Twin | Here is a more advanced example that combines account filtering with course-specific Digital Twins: ```javascript lines theme={null} onPage(/\/courses\/\d+/, function (isOnPage) { if (isOnPage) { // Exclude a specific account entirely var excludedAccounts = [999] isInAccounts(excludedAccounts, function (isAccount) { if (isAccount) { INSTITUTION_ID = undefined return } // Assign a specific Digital Twin for certain courses var mathCourses = [101, 102, 103] isInCourses(mathCourses, function (isCourse) { if (isCourse) { INSTITUTION_ID = 'abc123-math-twin-id' INSTITUTION_ICON_URL = 'https://cdn.example.edu/math-icon.png' } }) // Let teachers onboard for all other courses if (!INSTITUTION_ID) { INSTITUTION_ID = '' } loadPria() }) } }) ``` ## Useful Functions The Javascript SDK has a lot of additional useful functions you can use. Let's take a look at those. > [accordion] hasAnyRole() > > The function hasAnyRole() determines if the current user has the specified role (ex:user, teacher, admin,root\_admin) > > ```javascript lines theme={null} > // load for a user role > // ex: user, teacher, admin, root_admin, etc. > hasAnyRole('user', function (hasRole) { > if (hasRole) { > // loadPria() > } > }) > ``` > [accordion] isUser() > > The function isUser() determines if the current user is the one specified by id (ex: 1) > > ```javascript lines theme={null} > // load for a specific user > isUser(1, function (isUser) { > if (isUser) { > // loadPria() > } > }) > ``` > [accordion] isInUsers() > > The isInUsers() function determines if the current user is in the array of specific user ids > > ```javascript lines theme={null} > // load for specific users > var userIds= [1,2, 3] > isInUsers(userIds, function (isUser) { > if (isUser) { > // loadPria() > } > }) > ``` > [accordion] isStudent() > > The function isStudent() determines if the current user is a student > > ```javascript theme={null} > // load if a student > isStudent(function (isStudent) { > if (isStudent) { > // loadPria() > } > }); > ``` > [accordion] isCourse() > > The function isCourse() determines if the current page is in a specific course (ex: id 123) > > ```javascript lines theme={null} > // load for a specific course > isCourse(123, function (isCourse) { > if (isCourse) { > // loadPria() > } > }) > ``` > [accordion] isInCourses() > > The function isInCourses() determines if the current course is in an array of specific courses > > ```javascript lines theme={null} > var courseIds = [1234, 2345] > isInCourses(courseIds, function (isCourse) { > if (isCourse) { > // loadPria() > } > }) > > ``` > [accordion] onElementRendered() > > The onElementRendered() function is triggered when an element is fully displayed in the page Example below is an anchor referenced by ID create\_ticket. > > ```javascript lines theme={null} > // Load with an action on a page using el (a jquery element collection) > onElementRendered('a[href=#create_ticket]', function (el) { > // loadPria() > }); > ``` > [accordion] isInAccounts() > > The isInAccounts() function determines if the current Canvas account (or sub-account) is in an array of specific account IDs. This is useful when you want to load a specific Digital Twin only for courses within certain Canvas sub-accounts. > > It reads `ENV.ACCOUNT_ID` from the Canvas environment and checks whether it matches any of the provided IDs. > > ```javascript lines theme={null} > // load for specific Canvas sub-accounts only > var accountIds = [123, 234] > isInAccounts(accountIds, function (isAccount) { > if (isAccount) { > INSTITUTION_ID = '1234-5245-ss-aaa' > loadPria() > } > }) > ``` > > You can also use it to disable Pria for all accounts except the ones listed: > > ```javascript lines theme={null} > var allowedAccounts = [123, 234] > isInAccounts(allowedAccounts, function (isAccount) { > if (isAccount) { > INSTITUTION_ID = '' > INSTITUTION_ICON_URL = undefined > loadPria() > } else { > INSTITUTION_ID = undefined > } > }) > ``` ## The ENV variable In Canvas, a Javascript object called `ENV` is available to any pages rendered in the Application. When injected as a Theme, the Digital Twin's code has access to the variable and uses it to determine who is the current user, or what course is he/she launching. To review the properties made available by the `ENV` variable, open a course page in Canvas, and launch the Developer Mode (F12 on Windows - developer tools on Mac) then in the Console window, type ENV then press the ENTER key. Here is an example of such variable: ``` 14:27:02.413 ENV 14:27:02.448 {ASSET_HOST: 'https://dul1hjcxv0uqb.cloudfront.net', active_brand_config_json_url: 'https://dul1hjcxv0uqb.cloudfront.net/dist/brand…bl…/variables-7dd4b8981a9f0e021ec0229e4bd5873.json', active_brand_config: {...}, confetti_branding_enabled: false, url_to_what_gets_loaded_inside_the_tinymce_editor_css: Array(3), …} ACCOUNT_ID: "1" ASSET_HOST: "https://dul1hjcxv0uqb.cloudfront.net" BIGEASY_LOCALE: "en_US" CAN_VIEW_CONTENT_SHARES: true CONTEXT_TIMEZONE: "America/Los_Angeles" DATA_COLLECTION_ENDPOINT: "https://canvas-frontend-data-iad.prod..." DEEP_LINKING_LOGGING: null DEEP_LINKING_POST_MESSAGE_ORIGIN: "https://praxis-ai.instructure..." DIRECT_SHARE_ENABLED: false DOMAIN_ROOT_ACCOUNT_ID: "24379000000000001" FEATURES: {featured_help_links: true, lti_platform_storage: true, ...} FULLCALENDAR_LOCALE: "en" FULL_STORY_ENABLED: false K5_HOMEROOM_COURSE: false K5_SUBJECT_COURSE: false K5_USER: false LOCALE: "en" LOCALES: ['en'] LOCALE_TRANSLATION_FILE: "/dist/javascripts/translations/en-88841" LTI_LAUNCH_FRAME_ALLOWANCES: (8) ['geolocation*', 'microphone*', …] MOMENT_LOCALE: "en" RAILS_ENVIRONMENT: "Production" SENTRY_FRONTEND: {dsn: "https://355a1d96712e4038ac25aa852fa79a8f8"} SETTINGS: {open_registration: false, collapse_global_nav: false, …} TIMEZONE: "America/Los_Angeles" USE_CLASSIC_FONT: false account_id: "1" active_brand_config: {md5: "ce87aff671f275c7fa8b620dea9768b", ...} active_brand_config_json_url: "https://dul1hjcxv0uqb.cloudfront.net/dist/brand..." active_context_tab: "brand_configs" allowGlobalIncludes: true ``` The Digital Twin makes use of the * `current_user` property ``` current_user: anonymous_id: "32" avatar_image_url: "https://praxis-ai.instructure.com/images/ display_name: "Hugo Lebegue" email: "hugo@praxis-ai.com" html_url: "https://praxis-ai.instructure.com/about/110" id: "110" ``` * `current_user_roles` property: ``` current_user_roles: Array(5) 0: "user" 1: "student" 2: "teacher" 3: "admin" 4: "root_admin" ``` * `current_context` property: ``` current_context: id: "213" name: "Hugo" type: "Course" url: "https://praxis-ai.instructure.com/courses/213' ``` ## Install the SDK file into your Theme Once you have customized your SDK Javascript file and added the logic to load the Digital Twin when the proper conditions are met, you are ready to add it to your current Theme **1. Upload JavaScript SDK** * In the Theme Editor, Upload Tab, under the JavaScript File section, click on the Select button * Select the pria-sdk-canvas.js that you just customized from your download folder, then click OK * The theme Editor will download the Javascript onto Canvas content delivery network so it becomes available to the theme. **2. Preview Changes** * Click on the Preview Your Changes button * Verify that the Digital Twin is running properly in Preview mode * The Digital Twin's icon should appear at the bottom of the screen in preview mode * The Digital Twin should open and connect upon click on the icon * If the Digital Twin appears properly in Preview mode, click the Save to apply the changes in the Theme and return to the Theme selector. **3. Confirm Praxis Loads** * The Digital Twin's icon should display properly * Congratulations, the Digital Twin is now installed in your theme. * To verify, login using a standard User account, and navigate to the section of Canvas where you are loading the Digital Twin, example below in a course ## Subaccounts Canvas allows administrators to set up themes for sub accounts. Use this technique to enable Praxis AI in a Theme for specific user population/courses. ![Onboarding Wizard](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-subaccounts.png?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=c704d720e22845bc0cb1be3450db9326) > [!NOTE] > > It is best practice to add Praxis AI only to sub accounts, because scripts are added from Parent to Child domains. ## Teacher Onboarding > [!WARNING] > > This process happens IF you decide to leave the `INSTITUTION_ID` field as an empty string (by default) in the SDK file inserted in the theme. > > The teacher (or any administrator) is then expected to create a Digital Twin, or connect to an existing one for every course the teacher wants Pria in. When inserted as a theme, Pria's button appears on course pages where your `DISPLAY_OPTIONS` place it (the bottom-left corner with the downloaded file). Until a teacher connects the course, students don't see Pria there. ## Create your Digital Twin * The onboarding wizard starts when the Teacher clicks on Pria's icon to expand for the first time * This wizard allows for the creation of a Digital Twin dedicated to the teacher. ![Onboarding Wizard](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-start-new.png?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=97651e050ae43ce9f5f7bf202f2f5905) Click the + Digital Twin button to create a personalized Digital Twin. ![Onboarding Wizard](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-new-digital-twin.png?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=2ddf16ce447bdbb52a3fc84c14d06f3c) In the New Digital Twin dialog, enter * a name for your twin, ex: Bob, and * a picture URL that is publicly accessible on the internet (without CORS issues) Click **Let's GO!** to finish the creation of your new Digital Twin. Pria then shows **Confirm it's you**: select **Send me a code** and type the code emailed to you — this makes you the new twin's administrator. Deeper personalization (system prompt, AI models, background images) is available afterward from the **Personalization and AI Models** tab — see [More Personalization Options](#more-personalization-options) below. You are now inside your new Digital Twin. Congratulations — you just created your first one. ![Onboarding Wizard](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-integration-complete.webp?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=352c608045ca2ff079a58fda6724d702) > [!NOTE] > > Anytime you or your students click on Pria in this page, you will open this Digital Twin directly. When you open Pria in another course, the wizard runs again: create a different Digital Twin or reuse one of your existing ones, like the example below. ![Onboarding Wizard](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-get-connected.png?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=2c8809e227af30c0dfa94f583dab32a9) * **One course, one Digital Twin.** Selecting a twin connects the course to it. A course that another active twin already uses is refused with "This course is already connected to another Digital Twin". * **Changing the twin later:** a teacher or administrator of the twin unlinks the course from **Your Profile › Canvas / LTI** ([Faculty Onboarding](/mdx/user-guide/lms/faculty-onboarding#unlinking-a-digital-twin)), or a Digital Twin admin removes it from the twin's **LTI Contexts** list (**Configuration and Integrations › Integrations › Embedding & LTI**). The next launch shows the wizard again. * **Not using Pria in a course:** the wizard's **Hide Pria in this course** card hides it from students. Teachers keep the button and can select **Show Pria in this course** to bring it back. * **The course's Digital Twin is disabled:** Pria does not open in that course. To use another twin, a Digital Twin admin removes the course from the disabled twin's **LTI Contexts** list; teachers then connect the course again. ## More Personalization Options > [card] [Personalization](/mdx/admin-guide/personalization) > > More information on Admin functions is available in this documentation. Once connected to your Digital Twin, click on the **Personalization and AI Models** tab. This page is where you can update any personalizations for your Digital Twin. ![Onboarding Wizard](https://mintcdn.com/praxisai/yoELfbi6fiSF4ZGi/images/integrations/canvas/theme/canvas-more-personalization.webp?fit=max\&auto=format\&n=yoELfbi6fiSF4ZGi\&q=85\&s=7088f3cfc611eb8d4a453dfcd260281c) > [!NOTE] > > * Follow the instructions in the Admin Guide to setup integration to your Canvas instance and allow Pria to search your course content. > * If you are using Kaltura, this is a good time to configure the integration as well. Contact your IT Administrator > * Anytime you make a change to the Digital Twin, don't forget to click the Update button to save your changes. ## Whitelisting In order for Pria and associated services to run without connectivity issues, the following domains **must** be Whitelisted by your institution: ``` pria.praxislxp.com prialti.praxislxp.com ``` *** ## Troubleshooting | Issue | Solution | | - | - | | **Pria button doesn't appear** | Verify the JavaScript file was uploaded to the correct sub-account theme. Check browser console for JS errors. Ensure the theme is published and applied. | | **Button appears but nothing happens on click** | Check that `INSTITUTION_ID` is set correctly in the SDK. Verify the Digital Twin exists and is active. | | **"Access Denied" or CORS errors** | Ensure `pria.praxislxp.com` and `prialti.praxislxp.com` are whitelisted. Check that your Canvas domain is in the Digital Twin's **Public Authorized URLs**. | | **Theme changes not reflecting** | Canvas caches theme assets aggressively. Re-upload the modified JS file and publish the theme again. Clear browser cache. | | **Users see wrong Digital Twin** | Verify the `INSTITUTION_ID` in your SDK matches the intended Digital Twin. For multi-course setups, ensure each sub-account has the correct configuration. | | **Onboarding wizard not appearing for faculty** | The wizard only appears for users with Teacher or Admin roles in Canvas. Verify the user's enrollment role. | | **Students don't see Pria in a course** | In Teacher Onboarding mode, Pria starts for students only once a teacher has connected the course, and not while a teacher has hidden it or the course's Digital Twin is disabled. | > [!TIP] > > Use your browser's Developer Tools (F12) → Console tab to identify JavaScript errors. Most issues stem from incorrect `INSTITUTION_ID` values or missing whitelist entries. *** ## What's Next? > [card] [Add Theme Tools](/mdx/integrations/canvas/theme-tools) > > Extend your integration with widgets, context menus, and UI enhancements. > [card] [Enable Canvas Tools](/mdx/integrations/canvas/pria-tools) > > Let your Digital Twin interact with Canvas APIs for course-aware assistance. # Theme Tools Source: https://docs.praxis-ai.com/mdx/integrations/canvas/theme-tools Theme Tools is an optional extra on top of the Canvas Theme install — it layers editor widgets and on-page interactions on top of the embedded Pria SDK so Pria feels native to Canvas. ## Overview **Theme Tools is an optional extra** that sits on top of the standard [Canvas Theme integration](/mdx/integrations/canvas/theme). The base theme install (`pria-sdk-canvas.js`) embeds Pria as a floating button on every course page. **Theme Tools (`pria-sdk-canvas-tools.js`) is optional** — it adds editor widgets and on-page interactions that make Pria feel like a native part of Canvas: * A **"Praxis" button in the TinyMCE toolbar** (pages, quizzes, assignments) that opens a modal to insert a Pria action button into your content. * **Pria action buttons** authors can drop into pages — a single click sends a pre-canned message to Pria. * **Start in Convo Mode** — a per-button checkbox that makes the saved button launch a Pria voice (Convo) session instead of a text chat. * **"Submit Quiz to Praxis"** and **"Submit Assignment to Praxis"** interceptors that forward submissions to Pria alongside the normal Canvas submission. * **"Explain with \<AI name>"** — a floating popup on text selection that asks Pria to explain the highlighted phrase in context. > [!TIP] > > The base theme install works without Theme Tools. Add this file only if you want the editor widgets and Canvas-aware interactions. ## Source Code Access The [pria-sdk-canvas-tools.js source code](https://gitlab.com/praxis-ai/pria-client-sdk/-/blob/main/canvas/tools/pria-sdk-canvas-tools.js) is available free of charge in the official community GitLab repository. > [!NOTE] > > Always use the latest version on the `main` branch to ensure up-to-date features and security fixes. When linking the file in Canvas, **upload the raw file** — do not save the GitLab page itself. ## Examples of widgets added by this library ![Contextual Help: Explain](https://mintcdn.com/praxisai/TvBOp6VaKv2F0wB2/images/integrations/canvas/tools/canvastools-explain.jpg?fit=max\&auto=format\&n=TvBOp6VaKv2F0wB2\&q=85\&s=9f7e33f4ac164ed49850a834b78a30ff) ![Edit Module: Assistant Button](https://mintcdn.com/praxisai/TvBOp6VaKv2F0wB2/images/integrations/canvas/tools/canvastools-button.jpg?fit=max\&auto=format\&n=TvBOp6VaKv2F0wB2\&q=85\&s=22001824e41f03936241cfd60edaff8c) ![Edit Module: Assistant Helper](https://mintcdn.com/praxisai/TvBOp6VaKv2F0wB2/images/integrations/canvas/tools/canvastools-assistanthelper.jpg?fit=max\&auto=format\&n=TvBOp6VaKv2F0wB2\&q=85\&s=115c0720db4201794c46827a0e7586c9) ![Edit Module: Assistant Chooser](https://mintcdn.com/praxisai/TvBOp6VaKv2F0wB2/images/integrations/canvas/tools/canvastools-selectassistant.jpg?fit=max\&auto=format\&n=TvBOp6VaKv2F0wB2\&q=85\&s=4d690bbf726caf2046a268b9d030f6b5) *** ## Installation This step assumes the base [Canvas Theme integration](/mdx/integrations/canvas/theme) is already installed and customized. Theme Tools is **not uploaded as a separate file** — Canvas's Theme Editor only accepts a single JavaScript upload, so you concatenate Theme Tools onto the end of your customized `pria-sdk-canvas.js` and re-upload the combined file. > [!WARNING] > > Canvas Theme Editor accepts **one** custom JavaScript file per theme. Append, don't add a second upload. If the Upload tab already shows a JavaScript file, replacing it with the combined file is the right move. **1. Download the Theme Tools file** > [card] [pria-sdk-canvas-tools.js](https://gitlab.com/praxis-ai/pria-client-sdk/-/raw/main/canvas/tools/pria-sdk-canvas-tools.js) > > Open the link, then save as `pria-sdk-canvas-tools.js`. We recommend keeping the file in your own source control so you can re-pull the latest version when upgrading. **2. Append Theme Tools to your customized pria-sdk-canvas.js** 1. Open your customized `pria-sdk-canvas.js` (the one already in your theme) in a text editor. 2. Paste the **entire contents** of `pria-sdk-canvas-tools.js` at the very end of the file. 3. Save the combined file (still named `pria-sdk-canvas.js`). > [!TIP] > > **Order matters:** Theme Tools must come *after* the base SDK so that `window.priasdk` / `window.pria` exist by the time Theme Tools runs. The base SDK already exposes these globally. **Recommended workflow for ongoing maintenance** Keep `pria-sdk-canvas.js` (your customized copy) and `pria-sdk-canvas-tools.js` as **separate** source files in version control, and concatenate them at deploy time: ```bash theme={null} # Linux / macOS cat pria-sdk-canvas.js pria-sdk-canvas-tools.js > pria-sdk-canvas-combined.js ``` ```powershell theme={null} # Windows PowerShell Get-Content pria-sdk-canvas.js, pria-sdk-canvas-tools.js | Set-Content pria-sdk-canvas-combined.js ``` This way, upgrades stay painless: pull the latest `pria-sdk-canvas-tools.js` from GitLab, re-concatenate, re-upload — without losing your `pria-sdk-canvas.js` customizations. **3. Upload the combined file to your Canvas theme** 1. In Canvas, go to **Admin → Themes**, open your theme, and click **Edit**. 2. On the **Upload** tab, under the **JavaScript file** section, click **Select** and choose your combined `pria-sdk-canvas.js`. This **replaces** the previously uploaded version. > [!TIP] > > No separate CSS upload is required. The modal styles are injected inline by the appended Theme Tools code. **4. Preview, save, and verify** * Click **Preview Your Changes** in the Theme Editor. * Reload any course page; edit a page, quiz, or assignment description. * The **Praxis** button should appear in the TinyMCE toolbar (Miscellaneous group) with a sparkles icon over the "Praxis" label. * Click **Save** in the Theme Editor to apply the changes. > [!NOTE] > > Canvas caches uploaded JS aggressively. Whenever you re-upload an updated combined file, save the theme and force-reload (Ctrl+Shift+R / Cmd+Shift+R) in your browser to flush old cached versions. *** ## Configuration flags The script exposes a `window.priaEnhancedCanvas` object with toggles you can edit before uploading the file. All flags default to `true`: ```javascript theme={null} window.priaEnhancedCanvas.enablePriaButtons = true; // Activate Pria action buttons on rendered pages window.priaEnhancedCanvas.enablePageEditorButtons = true; // Praxis toolbar button in the page editor window.priaEnhancedCanvas.enableQuizEditorButtons = true; // "Submit Quiz to Praxis" insert + interceptor window.priaEnhancedCanvas.enableAssignmentEditorButtons = true; // "Submit Assignment to Praxis" insert + interceptor window.priaEnhancedCanvas.enableExplainWithAIPopup = true; // Floating "Explain" popup on text selection window.priaEnhancedCanvas.enableExplainWithAIName = true; // If true, popup says "Explain with <AI name>" window.priaEnhancedCanvas.explainWithAIButtonText = 'Explain with'; // Customizable label ``` | Flag | What it controls | | - | - | | `enablePriaButtons` | Whether on-page Pria action buttons (the ones authors place in content) actually fire when clicked. Set to `false` to deploy "preview only" without active buttons. | | `enablePageEditorButtons` | The **Praxis** toolbar button in the wiki page editor + its insert modal. | | `enableQuizEditorButtons` | The **Praxis** toolbar button in the quiz description editor + the runtime quiz-submit interceptor. | | `enableAssignmentEditorButtons` | Same as above, for assignments. | | `enableExplainWithAIPopup` | The floating "Explain with…" popup that appears when a learner highlights text on a Canvas page. | | `enableExplainWithAIName` | If `true`, the popup substitutes the live AI name (e.g. "Explain with Richard"). If `false` it stays generic. | | `explainWithAIButtonText` | The base label used by the popup. Defaults to `Explain with`. | *** ## Inserting a Pria action button (page editor) Open any Canvas page in **Edit** mode. In the TinyMCE toolbar, click the **Praxis** sparkles button. The "Assistant Helper Button" modal opens: | Field | Purpose | | - | - | | **Button Text** | The label shown on the inserted button. | | **Button Style** | CSS classes for styling — defaults to `btn btn-primary`. The encoded data class is added automatically and is not visible here. | | **Assistant** | Pick a Digital Twin assistant the click should target, or "No Assistant" to use the page's default. | | **Message** | The pre-canned text the button will send to Pria. Ignored when **Start in Convo Mode** is checked. | | **Conversation Id** | The Pria conversation thread to attach this message to. Defaults to the current Canvas course id. Use `-1` to always start a new conversation. | | **Conversation Name** | The display name of that conversation. | | **Open Pria after click** | When checked, after the button sends its message, the Pria UI panel auto-opens (`pria.display(true)`). Equivalent to clicking the floating Pria button. Has no effect in Convo mode (Pria is always revealed). | | **Start in Convo Mode** | See the next section. | Click **OK** and the button is inserted at the cursor with the configuration encoded in its CSS class. Save the page; the button is live for learners. To edit a button later, place the cursor on it and click the Praxis toolbar button again — the modal repopulates from the saved class (or from a legacy `data-custom` attribute, on older pages, which is automatically migrated to the class form on save). *** ## Start in Convo Mode (voice button) When **Start in Convo Mode** is checked in the page-editor modal, the inserted button no longer sends a text message. Instead, on click it: 1. Sends a `convo.start` request to Pria with the configured assistant and conversation. 2. Reveals the Pria widget at a compact size in the bottom-right corner of the screen (smaller than the regular text panel) so it doesn't block course content. 3. The Pria UI initializes a voice session with the chosen assistant — the learner can talk to the AI directly. If the learner subsequently clicks any **non-Convo** Pria action button (a regular text message button), Theme Tools and the SDK cooperate to: * Send `convo.stop` so Pria tears down the voice session. * Pass `interruptConvo: true` on the new `post` request as a backstop. * Revert the widget to its normal text-chat size and surface the text reply. In other words, the user can switch from voice to text mid-flow by clicking another button — they don't need to manually close the panel. > [!TIP] > > The **Message** field is ignored in Convo mode, but it's preserved in the saved configuration so you can toggle the checkbox back off later without retyping. > [!WARNING] > > Voice buttons only work if voice conversation is switched on for the Digital Twin **and** the individual learner is allowed to use it. If the service responds that Convo isn't available, the button click still reveals Pria so the learner can interact in text mode — but the voice session won't start. If a voice button produces no audio, ask your Praxis AI administrator to check both: the twin's Convo setting, and the learner's permissions. *** ## Submit Quiz / Submit Assignment to Praxis In the **quiz description** or **assignment description** editor, the Praxis toolbar button inserts a small placeholder block (`Submit Quiz Results to Praxis` / `Submit Assignment to Praxis`). Authors don't show this block to learners — it's a marker that activates the matching submit-time interceptor at runtime: * When the learner clicks Canvas's **Submit Quiz** / **Submit File** button, the interceptor first forwards the answers (or a submission notice) to Pria, then lets Canvas continue with its native submit. * The interceptor uses Pria's `post` command, which in turn cleanly closes any running Convo session before sending the message. *** ## Versioning and updates The script's first line shows the current version, e.g.: ```javascript theme={null} /* Enhanced Pria SDK with Canvas Tools - Version 1.5 - 2026-04-25 */ ``` When you upgrade, re-download `pria-sdk-canvas-tools.js` from GitLab, re-concatenate it onto your customized `pria-sdk-canvas.js` (see the Installation steps above), re-upload the combined file to the Canvas Theme Editor, save the theme, and force-reload your browser. Existing `data-custom` buttons authored by previous versions continue to work in the editor and are silently migrated to the new class-encoded form the next time a teacher opens and saves the page. *** ## What's next? > [card] [Canvas Theme integration](/mdx/integrations/canvas/theme) > > The base install. Theme Tools depends on this being in place. > [card] [Pria Tools (Canvas API access)](/mdx/integrations/canvas/pria-tools) > > Let your Digital Twin read course content, modules, and assignments to give context-aware help. # Chat Completions API Source: https://docs.praxis-ai.com/mdx/integrations/chat-completions/introduction Connect to any Digital Twin using the OpenAI SDK — minimal setup, full compatibility Pria exposes an **OpenAI-compatible Chat Completions API** that lets you interact with any Digital Twin using the standard OpenAI client libraries. If your application already uses the OpenAI SDK, connecting to a Praxis Digital Twin requires just two changes: the **base URL** and an **authentication header**. > [!TIP] > > Estimated setup time: **under 5 minutes** if you already have a Praxis account and a Digital Twin configured. *** ## How It Works > [card] Point > > Set the OpenAI client's `base_url` to your Praxis Chat Completions endpoint. > [card] Authenticate > > Pass your Praxis JWT via the `x-access-token` header to identify the user session. > [card] Chat > > Send OpenAI-format messages. Pria routes them to your Digital Twin — the one your token belongs to, or the one you name in the `x-praxis-institution-public-id` header (`institution` is the API's word for a Digital Twin). *** ## Prerequisites Before you begin, make sure you have: * **A Praxis AI account** with access to at least one Digital Twin * **The Digital Twin's Public ID** (a UUID like `e455529a-4f51-479e-94fc-bbebb41d19a1`) — found in the Digital Twin's administration panel * **A valid Praxis JWT token** (`x-access-token`) — obtained when a user authenticates with Praxis (see [Authentication](#authentication)) * **Chat Completions enabled on the Digital Twin** — this integration is **off by default**; an administrator must turn it on for the Digital Twin > [!NOTE] > > The Chat Completions endpoint is part of the Pria platform itself — the base URL is your Pria server's `/api/ai` path (e.g. `https://pria.praxislxp.com/api/ai`). It is disabled per Digital Twin by default; if requests return `403 chat_completion_disabled`, ask the Digital Twin's administrator to enable the Chat Completions endpoint in its configuration. *** ## Quick Start **1. Install the OpenAI SDK** ```bash Python theme={null} pip install openai ``` ```bash Node.js theme={null} npm install openai ``` **2. Configure the client** Point the SDK to your Praxis endpoint and pass your authentication token. ```python Python theme={null} from openai import OpenAI client = OpenAI( api_key="unused", # required by SDK, but not used for auth base_url="https://pria.praxislxp.com/api/ai", default_headers={ "x-access-token": "your-praxis-jwt-token" } ) ``` ```typescript TypeScript theme={null} import OpenAI from "openai"; const client = new OpenAI({ apiKey: "unused", // required by SDK, but not used for auth baseURL: "https://pria.praxislxp.com/api/ai", defaultHeaders: { "x-access-token": "your-praxis-jwt-token", }, }); ``` > [!NOTE] > > **The shortest version: put the JWT in `api_key` and drop the header.** The SDK sends `api_key` as `Authorization: Bearer …`, which Praxis accepts, so `OpenAI(api_key=your_jwt, base_url=…)` is enough on its own. The `x-access-token` header above is shown because it's the form every other Pria example uses; either works, and you never need both. > > What you cannot do is pass a personal `pria_…` API key here — exchange it for a JWT first (see [Authentication](#authentication) below). **3. Send a message (streaming)** Pass your **Digital Twin Public ID** as the `model` parameter and set `stream=True`. **The `model` value does not choose anything** — Pria works out which Twin to use from your token (or from the `x-praxis-institution-public-id` header); the value is only echoed back in the response. > [!NOTE] > > The endpoint **always streams** — responses are delivered as OpenAI-format SSE chunks regardless of the `stream` flag, so use your SDK's streaming mode. > [!NOTE] > > The `model` value is informational (it is echoed back in the SSE chunks): the request is served by the Digital Twin resolved from your token — the user's current Digital Twin by default. If your user belongs to several Digital Twins, target one explicitly with the `x-praxis-institution-public-id` header (see [Context Headers](#context-headers)). ```python Python theme={null} stream = client.chat.completions.create( model="e455529a-4f51-479e-94fc-bbebb41d19a1", messages=[ {"role": "user", "content": "Explain your area of expertise."} ], stream=True ) for chunk in stream: content = chunk.choices[0].delta.content if content: print(content, end="", flush=True) ``` ```typescript TypeScript theme={null} const stream = await client.chat.completions.create({ model: "e455529a-4f51-479e-94fc-bbebb41d19a1", messages: [ { role: "user", content: "Explain your area of expertise." } ], stream: true, }); for await (const chunk of stream) { const content = chunk.choices[0]?.delta?.content; if (content) { process.stdout.write(content); } } ``` ```bash cURL theme={null} curl -X POST https://pria.praxislxp.com/api/ai/chat/completions \ -H "Content-Type: application/json" \ -H "x-access-token: your-praxis-jwt-token" \ -N \ -d '{ "model": "e455529a-4f51-479e-94fc-bbebb41d19a1", "messages": [ {"role": "user", "content": "Explain your area of expertise."} ], "stream": true }' ``` *** ## Authentication Every request carries a **Praxis JWT** — the token that identifies the user and authorizes access to their Digital Twins. You can present it in either of two ways, whichever your client makes easier: ``` x-access-token: eyJhbGciOiJIUzI1NiIs... ``` ``` Authorization: Bearer eyJhbGciOiJIUzI1NiIs... ``` The second is what the OpenAI SDK sends when you set `api_key`, which is why passing the JWT as the `api_key` works with no extra configuration. > [!WARNING] > > A raw `pria_…` API key is **not** a JWT and is not accepted as one. Exchange it first — see below. ### Getting a JWT from a personal API key (server-to-server) For scripts and server-to-server integrations, exchange a [personal API key](/mdx/user-guide/profile-settings/api-keys) (prefixed `pria_`) for a JWT, then pass that JWT in the `x-access-token` header. The raw `pria_…` key is **not** accepted directly — exchange it first: ```bash theme={null} APIKEY=pria_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx JWT=$(curl -sS -X POST "https://pria.praxislxp.com/api/auth/api-key-signin" \ -H "x-api-key: $APIKEY" \ | python -c "import json,sys; print(json.load(sys.stdin)['token'])") ``` ```python theme={null} client = OpenAI( api_key="unused", base_url="https://pria.praxislxp.com/api/ai", default_headers={ "x-access-token": jwt_from_api_key_exchange } ) ``` *** ## Context Headers Optional headers let you pass conversation metadata to the Digital Twin. These enrich the interaction context without affecting authentication. | Header | Type | Description | Default | | - | - | - | - | | `x-access-token` | string | **Required.** Praxis JWT for user authentication | — | | `x-praxis-institution-public-id` | string | Public ID of the target Digital Twin (when the user belongs to several) | User's current Digital Twin | | `x-praxis-conversation-id` | string | Numeric conversation/course identifier | `0` | | `x-praxis-assistant-id` | string | Routes the request to a specific assistant persona | `""` | | `x-praxis-timezone` | string | IANA timezone (e.g. `America/New_York`) for date-aware prompts | Server default | > [!NOTE] > > Context headers are useful when your application manages multiple conversations or needs to target a specific assistant within a Digital Twin. ```python Python theme={null} client = OpenAI( api_key="unused", base_url="https://pria.praxislxp.com/api/ai", default_headers={ "x-access-token": "your-praxis-jwt-token", "x-praxis-conversation-id": "48201", "x-praxis-assistant-id": "assistant-object-id-here", } ) ``` ```typescript TypeScript theme={null} const client = new OpenAI({ apiKey: "unused", baseURL: "https://pria.praxislxp.com/api/ai", defaultHeaders: { "x-access-token": "your-praxis-jwt-token", "x-praxis-conversation-id": "48201", "x-praxis-assistant-id": "assistant-object-id-here", }, }); ``` *** ## Message Roles The API accepts standard OpenAI message roles with the following behavior: | Role | Behavior | | - | - | | `user` | The **last** user message is the active turn sent to the Digital Twin. Earlier `user` messages are replayed as conversation history. | | `assistant` | Replayed as conversation history alongside earlier user messages. | | `system` | Ignored — the Digital Twin builds its own system instructions from its assistant and twin settings. | | `tool` | Accepted in the shape but ignored — tool execution is managed server-side by Pria. | > [!NOTE] > > **Send the turns in order, alternating.** Pria tidies up what you send — consecutive messages from the same speaker are joined, and the history is trimmed so it reads as a proper back-and-forth ending on the user — because some providers reject anything else. You'll get a sensible answer either way, but a clean alternating array is what you'll see reflected back. > [!NOTE] > > You can send only the current user message (Pria tracks the conversation via `x-praxis-conversation-id`), or pass your own running message array — prior user/assistant turns you include are replayed as history for the active turn. *** ## Response Format The endpoint **always streams**. Responses arrive as standard OpenAI SSE chunks: ``` data: {"id":"chatcmpl-xxx","object":"chat.completion.chunk","created":1700000000,"model":"e455529a-...","choices":[{"index":0,"delta":{"content":"I cover topics in"},"finish_reason":null}]} data: [DONE] ``` Read them exactly as you would an OpenAI streaming response — iterate the stream and concatenate `choices[0].delta.content`. *** ## Supported Parameters | Parameter | Supported | Notes | | - | - | - | | `model` | **Yes** | Informational — the effective model follows the Digital Twin's configuration cascade (assistant override → the twin's Chat Completions model override → the twin's conversation model) | | `messages` | **Yes** | Message array (required) | | `stream` | Accepted | The response is always SSE — streaming is forced regardless of this flag | | `temperature` / `max_tokens` / `top_p` / `response_format` and other tuning fields | Accepted | Accepted for SDK compatibility but not forwarded — these settings are managed by the Digital Twin's configuration | | `tools` / `tool_choice` | Not supported | The Twin's own server-side tools run automatically; client-supplied function calling is not available | > [!NOTE] > > **The Digital Twin's administrator controls this endpoint**, under **Chat Completion** in the twin's settings. Turning on **Enable Chat Completion endpoint** reveals three overrides that apply to inbound requests only, leaving the twin's in-app behaviour untouched: > > * **Chat Completion Model** — a different model for API traffic > * **Chat Completion Max Output Tokens** — a ceiling on the length of each answer > * **Chat Completion Reasoning Effort** — leave on *Inherit*, or pick a level; **None** is the usual choice for voice agents, where thinking time is silence > > Leave an override unset and it follows the twin's main conversation setting. > [!WARNING] > > **This same switch carries spoken conversation.** Every ElevenLabs voice connection routes its turns through this endpoint, so turning it off to close the API also silences voice on that Digital Twin. *** ## Error Handling **Two shapes, depending on how far the request got.** Errors raised by the endpoint itself use the OpenAI envelope your SDK already understands: ```json theme={null} { "error": { "message": "No user message found in messages array", "type": "invalid_request_error", "code": "empty_user_message" } } ``` Errors raised *before* the request reaches the endpoint — sign-in, membership, credits — are answered in Pria's own format instead, because they are the same checks that guard every other Pria API: ```json theme={null} { "success": false, "message": "Authentication Required" } ``` > [!WARNING] > > **Don't rely on your SDK to raise a tidy error.** An OpenAI client parsing `error.message` will find nothing in a Pria-shaped body and may report an unhelpful message instead of the real reason. Read the **status code first**, and fall back to `message` or `error` on the body when `error.message` is absent. ### Common Errors | Status | Code | Cause | Fix | | - | - | - | - | | 400 | `empty_user_message` | No `user` message found in the `messages` array | Include at least one message with `role: "user"` | | 400 | — (`Institution not found…`) | The `x-praxis-institution-public-id` header names an unknown Twin, or your user is not a member of it | Verify the Public ID in the Digital Twin's administration panel and your user's membership | | 401 | — | The JWT is expired or invalid | Obtain a fresh one (exchange your `pria_…` key again) | | 403 | — (`Authentication Required`) | **No** token was sent at all | Add the JWT — as `x-access-token`, `Authorization: Bearer`, or the SDK's `api_key` | | 403 | `chat_completion_disabled` | The Chat Completions endpoint is not enabled for the Digital Twin | Ask the Digital Twin's administrator to enable it in its configuration | | 403 | — | Out of credits, over a credit cap, or an inactive membership / Digital Twin | Top up credits, or contact the Digital Twin's administrator | > [!NOTE] > > **A missing token is 403, not 401.** It's an easy one to trip over when your retry logic keys on 401 — a client that only refreshes on 401 will loop on 403 forever without ever sending a token. *** ## Multi-Provider Routing The Chat Completions API is a **front door to the Pria platform**, not a thin proxy to a single model provider. Behind the URL, Pria selects the underlying provider and model based on the Digital Twin's configuration. As of today, Pria can route to: | Provider | Model families | | - | - | | **OpenAI** | GPT‑6.x, GPT‑5.x, GPT‑4.1, o‑series reasoning, GPT Image, GPT‑Realtime | | **Anthropic** | Claude — Fable, Opus, Sonnet, Haiku | | **Amazon Bedrock** | Claude, Llama, Mistral, DeepSeek, Amazon Nova Reel video, Stability AI images | | **Google** | Gemini — Pro, Flash, Live (Convo Mode); through the Gemini API or **Google AI Platform** | | **Mistral** | Mistral Large, Medium, Small, Voxtral (TTS / STT), Codestral | | **xAI** | Grok 4.x (reasoning and non‑reasoning variants), Grok image models | | **OpenRouter** | Claude, Gemini and Grok models, plus open models such as Gemma, DeepSeek and Kimi | The `model` parameter you pass in the request is **not** a provider model ID — it does not select the model at all. The effective model follows the Digital Twin's configuration cascade (assistant override → the twin's Chat Completions model override → the twin's conversation model). If the Twin's admin changes the underlying model from Claude to GPT‑5, your code does not change. When the twin has a **Fallback conversation model** and its model fails before it has written anything, the fallback answers instead of an error. ### Per‑Provider Behavioural Differences Because Pria forwards to many providers, some advanced behaviours are provider‑dependent and respect the Twin's configuration rather than the request payload: * **Reasoning effort** — honored by reasoning‑capable models (OpenAI GPT‑5 family and o‑series, xAI reasoning variants); models that always reason ignore the setting. Configured per Twin, with a Chat‑Completions‑specific override available. * **Thinking tokens** — Anthropic Claude and Google Gemini thinking models support extended thinking budgets, configured per Twin. * **Image generation** — supported through OpenAI (GPT Image 2.5), Google (Gemini image models), xAI (Grok Imagine), and Stability AI (Stable Image). * **Prompt caching** — applied automatically where the underlying provider supports it; cached reads are billed at a discount. * **Tool calls** — the Digital Twin's server‑side tools (RAG, web search, charts, connectors, MCP) run automatically. Client‑supplied `tools` / `tool_choice` are not forwarded (see [Supported Parameters](#supported-parameters)). For the full behaviour matrix, see [AI Models](/mdx/admin-guide/ai-models). ### Provider Authentication Errors When the Twin is configured to use a provider that requires its own credentials (BYOT — Bring Your Own Tokens), errors from the underlying provider are surfaced back to you as standard OpenAI‑style errors: | Status | Likely cause | | - | - | | 401 from chat completions | Your Praxis JWT has expired (a *missing* one is 403) | | 401 with provider name in message | The Twin's underlying provider key (OpenAI, Anthropic, etc.) is missing or invalid — contact the Twin's admin | | 429 | Rate limited at the provider level — back off and retry | > [!WARNING] > > **A failure after the first byte arrives inside the stream, not as an HTTP status.** Once the response has started, Pria can no longer change the status code, so a provider outage mid-answer is delivered as an error chunk followed by `[DONE]`: > > ``` > data: {"error":{"message":"…","type":"api_error","code":"streaming_error"}} > > data: [DONE] > ``` > > A client that checks only the HTTP status sees `200` and a short answer. **Watch for an `error` key on each chunk** and treat a turn that carried one as failed — that's the difference between retrying and silently showing the user half a sentence. See [BYOT (Bring Your Own Tokens)](/mdx/introduction/byot) for how Twin admins configure provider keys. *** ## Cost & Credits Chat completions consume Pria credits, billed by token usage and the underlying provider's price tier. Usage is metered **server-side** per turn — the SSE stream does not include an OpenAI-style `usage` block, so review consumption in Pria's credit history rather than in the response payload. * **Cached prompt tokens** (when the provider supports caching) are billed at a discounted rate. * **Streaming is the only mode**, and it is billed like any conversation turn. * **Embedded RAG retrieval** runs as part of the Digital Twin's response and is included in the credit cost — you do not pay separately for vector search. For your account's plan and credit balance, see [Plans & Credits](/mdx/introduction/plans-and-credits) and [Credit Management](/mdx/admin-guide/credit-management). *** ## Chat Completions vs. the Pria Runtime API Pria exposes two complementary APIs. They look similar but behave very differently — choose based on whether you want stateless OpenAI‑style requests or full Pria session semantics. | | **Chat Completions API** | **Runtime API** | | - | - | - | | **Shape** | OpenAI‑compatible | Pria‑native REST + WebSocket | | **State** | Stateless — each call is independent | Stateful — Pria tracks the user's conversation thread | | **History** | Last user message is the active turn; earlier messages you include are replayed as history | Pria stores the full thread server‑side | | **RAG / KAG retrieval** | Runs automatically as part of the response | Runs automatically as part of the response | | **Tool calls** | The Twin's tools run server‑side; not exposed to the caller | The Twin's tools run server‑side; tool events streamed to the caller | | **Conversation continuity** | Use `x-praxis-conversation-id` to group calls into a thread | Native; each call references a `historyId` | | **Streaming** | OpenAI SSE format | Pria event stream (richer event types) | | **Best for** | Drop‑in replacement for OpenAI in existing code | Building a full Pria‑powered chat experience from scratch | **Rule of thumb:** if your code already uses the OpenAI SDK and you want to point it at Pria with minimal changes, use the Chat Completions API. If you're building a new client from scratch and want access to every Pria capability (per‑message tool events, citations, KAG augmentations, structured memory updates), use the Runtime API. See the [API Reference](/mdx/api-reference/introduction) for both. *** ## Related * [API Reference](/mdx/api-reference/introduction) — Full REST API documentation with streaming details * [AI Models](/mdx/admin-guide/ai-models) — Provider catalog, reasoning effort, thinking, and image generation behaviour per provider * [API Keys](/mdx/user-guide/profile-settings/api-keys) — Issue and rotate the API keys used to obtain Praxis JWTs * [BYOT (Bring Your Own Tokens)](/mdx/introduction/byot) — How Twin admins configure per‑provider credentials * [Plans & Credits](/mdx/introduction/plans-and-credits) — How token usage maps to credits * [MCP Server](/mdx/integrations/mcp/introduction) — Connect Pria to custom LLM workflows * [Web SDK](/mdx/integrations/web/introduction) — Embed the full Digital Twin UI in your web app * [JavaScript SDK](/mdx/sdk/javascript) — Programmatic control of the Pria interface # D2L Brightspace Source: https://docs.praxis-ai.com/mdx/integrations/d2l/introduction Integrate Praxis AI with D2L Brightspace using LTI Advantage ## Integrate Your Digital Twins with Brightspace Pria integrates seamlessly with D2L Brightspace using the **LTI Advantage (v1.3)** standard, enabling AI-powered digital twins directly within your learning environment. > [card] LTI Advantage > > **Standard Integration** > > Deploy Pria as an LTI tool across courses, enabling faculty and students to access AI assistance within Brightspace. > [card] Course-Aware AI > > **Contextual Learning** > > Digital twins understand course context, materials, and student progress for personalized support. *** ## Prerequisites Before you begin, ensure you have: * [ ] D2L Brightspace administrator access * [ ] Permissions to register external LTI tools * [ ] A Praxis AI Digital Twin (create one at [pria.praxislxp.com](https://pria.praxislxp.com)) * [ ] Your Digital Twin's Public ID (found in Configuration & Integrations) *** ## Installation Overview **1. Register Pria as an LTI Tool** In your Brightspace admin console, navigate to **Manage Extensibility** → **LTI Advantage** → **Register Tool**. > [!TIP] > > Brightspace also supports **Dynamic Registration**: choose the dynamic option and use `https://prialti.praxislxp.com/register` as the registration endpoint to register and activate Pria automatically, instead of entering the settings below by hand. **2. Configure Tool Settings** Enter the Pria LTI registration details: | Setting | Value | | - | - | | **Name** | Pria - Praxis AI | | **Domain** | `prialti.praxislxp.com` | | **Redirect URLs** | `https://prialti.praxislxp.com` `https://prialti.praxislxp.com/launch` `https://prialti.praxislxp.com/resources` | | **OpenID Connect Login URL** | `https://prialti.praxislxp.com/login` | | **Target Link URI** | `https://prialti.praxislxp.com/launch` | | **Keyset URL** | `https://prialti.praxislxp.com/keys` | **3. Enable LTI Scopes** Grant these three LTI services: * **Names and Role Provisioning Services** — lets Pria see who is in the course * **Assignment and Grade Services** — lets Pria read and write grades (only needed if you use grading features) * **Deep Linking** — lets faculty add Pria to a module from inside the course editor **4. Complete the registration with Praxis AI** If you registered the tool manually (rather than via Dynamic Registration), the registration must also be activated on the Pria side. Send your Brightspace base URL, **Client ID**, and **Deployment ID** to the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) so your platform can be linked to your Digital Twin. **5. Deploy to Courses** Add Pria as an external tool in your course navigation or as embedded content within modules. *** ## Detailed Installation Guide For step-by-step instructions with screenshots, refer to our comprehensive external guide: > [card] [LTI v1.3 Advantage Install Guide for Brightspace](https://learning.praxislxp.com/praxis/lti-1-3-advantage-install-guide-for-brightspace-d2l/) > > Complete walkthrough with screenshots for D2L Brightspace administrators. *** ## Troubleshooting | Issue | Solution | | - | - | | **Tool not appearing in course** | Verify the deployment is enabled for the org unit and check course-level tool availability settings. | | **Authentication failures** | Confirm the Client ID and Deployment ID match between Brightspace and Pria configuration. | | **"Invalid redirect" errors** | Ensure all redirect URLs are registered exactly as shown above, including trailing slashes. | | **Students can't access** | Check that the tool is published and visible to the Learner role in deployment settings. | > [!NOTE] > > If issues persist, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) with your Brightspace version and error screenshots. *** ## What's Next? After installation, configure your Digital Twin for course-aware interactions: > [card] [Configure Your Digital Twin](/mdx/admin-guide/configuration) > > Set up system prompts, AI models, and behavior for your Brightspace deployment. > [card] [Enable Tools](/mdx/admin-guide/tools) > > Activate tools for calendar integration, content search, and more. # ElevenLabs Voice Agent Source: https://docs.praxis-ai.com/mdx/integrations/elevenlabs/introduction Give your Digital Twin a voice — connect an ElevenLabs agent to Pria using Custom LLM and deploy embeddable voice widgets ElevenLabs Conversational AI lets you create voice agents with cloned or synthetic voices. ElevenLabs agents normally think using a model you choose from their list. Instead, you point the agent at Pria's **Chat Completions API** — ElevenLabs calls this a **Custom LLM** — so your Digital Twin does the thinking, with all its knowledge and tools, while ElevenLabs handles listening and speaking. No additional backend code required. > [!TIP] > > This integration combines ElevenLabs' voice synthesis and real-time audio with your Digital Twin's knowledge, personality, and tools. *** ## How It Works > [card] ElevenLabs Agent > > Handles voice input/output, speech-to-text, text-to-speech, and the real-time audio stream. > [card] Chat Completions API > > Receives OpenAI-compatible requests from ElevenLabs and routes them to your Digital Twin. > [card] Digital Twin > > Generates intelligent responses using its knowledge base, tools, assistants, and conversation memory. ``` User speaks → ElevenLabs (STT) → Chat Completions API → Digital Twin → Response → ElevenLabs (TTS) → User hears ``` *** ## Prerequisites Before you begin, make sure you have: * An **ElevenLabs account** with access to [Conversational AI Agents](https://elevenlabs.io/conversational-ai) * A voice created (and, if cloned, trained) in ElevenLabs * A **Praxis AI account** with at least one Digital Twin configured * Your **Digital Twin's Public ID** (a UUID found in the administration panel) *** ## Step 1: Create an ElevenLabs Agent ![Custom LLM](https://mintcdn.com/praxisai/sUEl2whbeE_DvV_e/images/integrations/elevenlabs/create-agent.png?fit=max\&auto=format\&n=sUEl2whbeE_DvV_e\&q=85\&s=b04572ea5f0b26b16aaf19f02466cf9a) **1. Go to the ElevenLabs Dashboard** Navigate to [Conversational AI](https://elevenlabs.io/app/conversational-ai) in your ElevenLabs account and create a new agent. **2. Choose a voice** Select a stock voice, or use ElevenLabs' voice cloning to create a custom voice that matches your Digital Twin's persona. **3. Configure the system prompt** The Digital Twin manages its own system instructions server-side. Use the ElevenLabs system prompt for voice-specific behavior only (e.g., greeting style, conversation pacing). **4. First Message** Type a greeting, for example `Hey there, ready to learn something new together?` **5. LLM** Select Custom LLM *** ## Step 2: Connect to Custom LLM This is the core configuration — tell your ElevenLabs agent to use your Digital Twin as its language model. ![Custom LLM](https://mintcdn.com/praxisai/e58d1xFIJKGPjtpD/images/integrations/elevenlabs/custom-model-setup.png?fit=max\&auto=format\&n=e58d1xFIJKGPjtpD\&q=85\&s=a0dd2bf551792dd2d4beeea873339f52) **1. Open LLM settings** In your agent's settings, go to the **LLM** section and select **Custom LLM**. **2. Set the Server URL** Enter your Chat Completions API base URL: ``` https://pria.praxislxp.com/api/ai ``` **3. Set the Model ID** Enter your **Digital Twin's Public ID** as the model: ``` e455529a-4f51-479e-94fc-bbebb41d19a1 ``` > [!NOTE] > > ElevenLabs includes this value as the `model` parameter on every request. Note that the Digital Twin that actually serves the request is resolved from the user's `x_access_token` — or the `x-praxis-institution-public-id` header when targeting a specific Twin — as described in the [Chat Completions API](/mdx/integrations/chat-completions/introduction) docs. **4. API Key** In the **API Key** section of your ElevenLabs custom-LLM dashboard, select your ElevenLabs API Key or create a new one. ![Elevenlab API Secret](https://mintcdn.com/praxisai/sUEl2whbeE_DvV_e/images/integrations/elevenlabs/api-key-secret.png?fit=max\&auto=format\&n=sUEl2whbeE_DvV_e\&q=85\&s=69acd5080b22956377014b6225318044) > [!WARNING] > > Save this same API Key in your Digital Twin's configuration in Praxis (see [Step 4](#step-4-configure-your-digital-twin)) — Pria uses it server-side to start Convo Mode sessions with your agent. *** ## Step 3: Configure Dynamic Variables Dynamic variables let you pass user identity and conversation context from the client application through ElevenLabs to your Digital Twin. These are mapped to the `x-praxis-*` request headers that the Chat Completions API forwards to Praxis. ### Define Variables in ElevenLabs ![Custom Variable](https://mintcdn.com/praxisai/sUEl2whbeE_DvV_e/images/integrations/elevenlabs/custom-variable.png?fit=max\&auto=format\&n=sUEl2whbeE_DvV_e\&q=85\&s=3049bf38421330501977c65ea1326447) In your agent's settings, define the custom header mapping to dynamic variables: | Header | Description | Dynamic Variable | | - | - | - | | `x-access-token` | Praxis JWT for user authentication | `x_access_token` | | `x-praxis-conversation-id` | Numeric conversation/course identifier | `x_praxis_conversation_id` | | `x-praxis-assistant-id` | Assistant to execute during the conversation | `x_praxis_assistant_id` | | `x-praxis-institution-public-id` | Override the target Digital Twin when using the voice agent for multiple Twins | `x_praxis_institution_public_id` | > [!WARNING] > > `x_access_token` carries the signed-in user's own Praxis token. Pria uses it to answer as that user — with their permissions and their conversation history — so the voice agent never has more access than the person using it. This is the example JSON configuration for your Agent's custom LLM: ![Example Configuration JSON](https://mintcdn.com/praxisai/e58d1xFIJKGPjtpD/images/integrations/elevenlabs/custom-model-json.png?fit=max\&auto=format\&n=e58d1xFIJKGPjtpD\&q=85\&s=cf52281bd12f96d71a796e74608c9a73) > [!WARNING] > > Don't forget to **publish** your changes after making updates. ### How Variables Flow ``` Client widget passes dynamic variables at session start ↓ ElevenLabs injects variables into custom headers + system prompt ↓ Chat Completions API extracts x-praxis-* headers ↓ Digital Twin receives full conversation context ``` > [!NOTE] > > Pria reads the context exclusively from the `x-praxis-*`**HTTP headers**, so configure the custom-header mapping shown above. ElevenLabs' **Extra Body** option (which copies dynamic variables into the request body under `elevenlabs_extra_body`) is not read by Pria — headers are the required channel. *** ## Step 4: Configure Your Digital Twin Now set the Praxis side up, in the Admin dashboard with your Digital Twin open. ![Digital Twin Setup for Elevenlabs](https://mintcdn.com/praxisai/sUEl2whbeE_DvV_e/images/integrations/elevenlabs/digitaltwin-elevenlabs-setup.png?fit=max\&auto=format\&n=sUEl2whbeE_DvV_e\&q=85\&s=37e2a9b4c856cf5864dc9c005b4e9267) > [!WARNING] > > **The order matters.** The ElevenLabs credential fields don't exist until the twin is set to speak through ElevenLabs — so turn Convo on and pick the model *first*, and the boxes appear. **1. Turn on the Chat Completions endpoint** On **Configuration and Integrations**, in the **Chat Completion** section, tick **Enable Chat Completion endpoint**. > [!WARNING] > > **This one is easy to miss and breaks everything.** It is off until someone turns it on, and it's the door ElevenLabs knocks on — without it every spoken turn is refused and your agent connects, listens, and then says nothing. See the [Chat Completions API](/mdx/integrations/chat-completions/introduction) for the overrides it reveals. **2. Turn on Convo** Still on **Configuration and Integrations**, under **Realtime / Convo**, tick **Enable Convo (Speech-to-Speech)**. **3. Choose ElevenLabs as the voice** On **Personalization and AI Models**, set **Speech-to-Speech Model** to an ElevenLabs model. ![Digital Twin Convo with Elevenlabs](https://mintcdn.com/praxisai/sUEl2whbeE_DvV_e/images/integrations/elevenlabs/digitaltwin-elevenlabs-convo.png?fit=max\&auto=format\&n=sUEl2whbeE_DvV_e\&q=85\&s=94884ac1af0d180033ea6917dee2d782) **4. Enter the credentials** Return to **Configuration and Integrations**, where an **ElevenLabs Voice Cloning** section has now appeared: * **ElevenLabs Agent ID (for Digital Twin Voice)** — the `agent_…` identifier from your ElevenLabs dashboard * **ElevenLabs API Key** — the same key from [Step 2](#step-2-connect-to-custom-llm). Pria uses it server-side to start each conversation with your agent; it is never exposed to the browser * **ElevenLabs Connection Method** — see below > [!WARNING] > > If ElevenLabs is the chosen voice but the Agent ID or API Key are missing, a warning pill appears pointing you back here. **5. Start a conversation** Users can now press the Convo button and speak to the Digital Twin. > [!NOTE] > > See [Configuration — ElevenLabs](/mdx/admin-guide/configuration#elevenlabs-voice-cloning) for full details on the credential fields. > [!NOTE] > > You don't pick the voice in Praxis. The voice is whichever one your ElevenLabs agent is set to — change it in your [ElevenLabs agent configuration](https://elevenlabs.io/app/conversational-ai). ### Connection Method **ElevenLabs Connection Method** decides how the audio travels between the listener's browser and ElevenLabs: | Method | Description | | - | - | | **WebSocket** (default) | Relayed through a server. The safest choice — it behaves on corporate and campus networks | | **WebRTC** | A direct connection, lower latency, but often blocked by strict firewalls | Start on the default and only try WebRTC if you want to shave latency and your users aren't behind restrictive networks. If you switched to WebRTC and people report connection failures, switch back. *** ## Step 5: Deploy Client Widgets (optional) ElevenLabs provides multiple ways to embed a voice agent in your application. Each method supports passing dynamic variables at session start. ### HTML Widget The simplest option — add two lines to any web page: ```html theme={null} <script src="https://unpkg.com/@elevenlabs/convai-widget-embed" async type="text/javascript"></script> <elevenlabs-convai agent-id="YOUR_ELEVENLABS_AGENT_ID"></elevenlabs-convai> ``` > [!TIP] > > Pin to a specific version on a live site: `@elevenlabs/convai-widget-embed@1.0.0` ### React Integration For React applications, use the `@elevenlabs/react` package with dynamic variables: ```typescript theme={null} import { useConversation } from "@elevenlabs/react"; export function DigitalTwinVoice({ praxisToken, courseId, assistantId, publicId }) { const conversation = useConversation({ agentId: "YOUR_ELEVENLABS_AGENT_ID", dynamicVariables: { x_access_token: praxisToken, x_praxis_conversation_id: courseId, x_praxis_assistant_id: assistantId, x_praxis_institution_public_id: publicId, }, }); const handleStart = async () => { await navigator.mediaDevices.getUserMedia({ audio: true }); await conversation.startSession(); }; return ( <div> <button onClick={handleStart}> Talk to your Digital Twin </button> {conversation.status === "connected" && ( <button onClick={() => conversation.endSession()}> End Conversation </button> )} </div> ); } ``` Install the dependency: ```bash theme={null} npm install @elevenlabs/react ``` ### JavaScript SDK (Vanilla) For non-React applications, use the `@elevenlabs/client` SDK directly: ```typescript theme={null} import { Conversation } from "@elevenlabs/client"; const conversation = await Conversation.startSession({ agentId: "YOUR_ELEVENLABS_AGENT_ID", connectionType: "webrtc", dynamicVariables: { x_access_token: "your-praxis-jwt-token", x_praxis_conversation_id: "48201", x_praxis_assistant_id: "69956bf0c8510d46974a11a6", x_praxis_institution_public_id: "f831501f-b645-481a-9cbb-331509aaf8c1", }, onMessage: (message) => { console.log(`${message.source}: ${message.message}`); }, onError: (error) => { console.error("Conversation error:", error); }, onStatusChange: (status) => { console.log("Status:", status); }, }); // End the session when done await conversation.endSession(); ``` Install the dependency: ```bash theme={null} npm install @elevenlabs/client ``` *** ## Securing Private Agents On a live site, use **signed URLs** to prevent unauthorized access to your ElevenLabs agent. **1. Generate a signed URL on your server** ```javascript theme={null} // Server-side (Node.js) app.get("/api/voice-session", async (req, res) => { const response = await fetch( `https://api.elevenlabs.io/v1/convai/conversation/get-signed-url?agent_id=${AGENT_ID}`, { headers: { "xi-api-key": process.env.ELEVENLABS_API_KEY }, } ); const data = await response.json(); res.json({ signedUrl: data.signed_url }); }); ``` **2. Use the signed URL on the client** ```typescript theme={null} const { signedUrl } = await fetch("/api/voice-session").then(r => r.json()); const conversation = useConversation({ signedUrl: signedUrl, dynamicVariables: { x_access_token: praxisToken, x_praxis_conversation_id: courseId, x_praxis_assistant_id: assistantId, }, }); ``` > [!WARNING] > > Never expose your ElevenLabs API key in client-side code. Always generate signed URLs from your backend. Signed URLs expire after 15 minutes. You can also configure an **allowlist** of approved domains in your agent's Security tab to restrict where the widget can be embedded. *** ## Full Example: Embeddable Support Widget A complete React component that authenticates with your backend, starts a voice session with a Digital Twin, and displays the conversation transcript: ```typescript theme={null} import React, { useState, useCallback } from "react"; import { useConversation } from "@elevenlabs/react"; export function SupportWidget({ praxisToken, courseId, assistantId, publicId }) { const [messages, setMessages] = useState([]); const conversation = useConversation({ agentId: "YOUR_ELEVENLABS_AGENT_ID", dynamicVariables: { x_access_token: praxisToken, x_praxis_conversation_id: String(courseId), x_praxis_assistant_id: assistantId, x_praxis_institution_public_id: publicId, }, onMessage: (msg) => { setMessages((prev) => [ ...prev, { role: msg.source === "ai" ? "assistant" : "user", text: msg.message }, ]); }, }); const toggle = useCallback(async () => { if (conversation.status === "connected") { await conversation.endSession(); } else { await navigator.mediaDevices.getUserMedia({ audio: true }); await conversation.startSession(); } }, [conversation]); return ( <div style={{ maxWidth: 400, margin: "0 auto", fontFamily: "sans-serif" }}> <button onClick={toggle}> {conversation.status === "connected" ? "End" : "Start"} Conversation </button> <div style={{ marginTop: 16 }}> {messages.map((m, i) => ( <p key={i}> <strong>{m.role === "assistant" ? "Twin" : "You"}:</strong> {m.text} </p> ))} </div> </div> ); } ``` *** ## Troubleshooting | Symptom | Cause | Fix | | - | - | - | | Agent connects, then says nothing | **Chat Completions is switched off for the Digital Twin** — every turn is refused with `chat_completion_disabled` | Tick **Enable Chat Completion endpoint** ([Step 4](#step-4-configure-your-digital-twin)) | | Agent responds but has no knowledge | Model ID is wrong | Verify the Digital Twin Public ID in the LLM model field | | 401 from Chat Completions API | The JWT has expired | Refresh the `x_access_token` dynamic variable | | 403 `Authentication Required` | No token reached Pria at all | Check the `x-access-token` custom-header mapping is published on the agent | | The ElevenLabs credential boxes aren't there | The twin isn't set to speak through ElevenLabs yet | Enable Convo and set **Speech-to-Speech Model** to an ElevenLabs model first | | No audio from agent | Microphone not granted | Check browser permissions; call `getUserMedia` before `startSession` | | Agent is silent after connecting | ElevenLabs can't reach your API | Verify the Custom LLM server URL is publicly accessible | | Connection fails on a campus or office network | WebRTC is blocked | Set **ElevenLabs Connection Method** back to WebSocket | | "LiveKit v1" 404 in console | Normal SDK behavior | Benign version negotiation — safe to ignore | *** ## Related * [Chat Completions API](/mdx/integrations/chat-completions/introduction) — Set up the OpenAI-compatible endpoint that powers this integration * [Web SDK](/mdx/integrations/web/introduction) — Embed the full Digital Twin UI (text + voice) in your app * [ElevenLabs Custom LLM Docs](https://elevenlabs.io/docs/eleven-agents/customization/llm/custom-llm) — Official ElevenLabs configuration reference * [ElevenLabs Dynamic Variables](https://elevenlabs.io/docs/eleven-agents/customization/personalization/dynamic-variables) — How variables flow through the agent # Gemini Live Voice Source: https://docs.praxis-ai.com/mdx/integrations/gemini-live/introduction Enable real-time voice conversations powered by Google Gemini's native audio WebSocket API. Gemini Live brings real-time, natural voice conversations to your Digital Twin using Google's native audio API. Unlike text-based approaches that convert speech to text and back, Gemini Live processes audio natively — resulting in lower latency and more natural-sounding responses. > [!TIP] > > Gemini Live is ideal for interactive learning, tutoring, and conversational scenarios where low-latency, natural dialogue is important. *** ## How It Works > [card] User Speaks > > Audio is captured from the user's microphone and streamed over a WebSocket connection directly to Google's Gemini API. > [card] Gemini Processes > > Gemini processes the audio natively — understanding speech, generating a response, and synthesizing audio output in a single model pass. > [card] User Hears > > The AI's audio response streams back in real time. Both sides of the conversation are transcribed for the chat history. ``` User speaks → WebSocket → Gemini (native audio processing) → Audio response → User hears ↕ Tool calls (search, files, web) ``` *** ## Prerequisites Before enabling Gemini Live, ensure: * A **Gemini API key** is available — either saved on this Digital Twin, or the platform-wide default provided by Praxis AI * Convo is switched on for the Digital Twin, with its **Speech-to-Speech Model** set to one of the Gemini Live models below — choosing one of those models is what switches the twin to Gemini for voice **Supported Gemini Live models** (as the **Speech-to-Speech Model** picker shows them): | Model | Notes | | - | - | | **Gemini 3.8 Live** | Newest | | **Gemini 3.1 Flash Live** | | | **Gemini 2.5 Flash Native Audio** | Earlier model | *** ## Admin Setup **1. Make sure there's a Gemini API key** Pria looks for the key in two places, in order: 1. **This Digital Twin** — **Gemini API Key**, under **API Keys** on **Configuration and Integrations** (used if present) 2. **Platform-wide** — a default key provided by Praxis AI (used when the twin has none) You only need to add your own key if you want Gemini usage billed to your Google account. > [!NOTE] > > This differs from standard Gemini chat, which can also use a key saved on an individual AI model. Gemini Live never does — only the two places above. **2. Turn Convo on** On **Configuration and Integrations**, under **Realtime / Convo**, tick **Enable Convo (Speech-to-Speech)**. The same section holds **Convo Enable Text Input** and **Convo Show Transcript**, described under [Features](#features). **3. Choose Gemini as the voice** On **Personalization and AI Models**, in **Convo (Live Voice & Avatar Calls)**, set **Speech-to-Speech Model** to one of the Gemini Live models above. Two Gemini-only settings then appear beneath it. **4. Decide who picks the voice** **Gemini Voice** starts on **User's Choice** — each person picks a voice in Convo Mode, and their pick is remembered. Choose a specific voice instead and **everyone hears that voice**: the picker disappears from Convo Mode, so nobody can change it. Use that when the voice is part of your Digital Twin's identity. **Main voices:** | Voice | Style | | - | - | | Puck | Upbeat (used when nobody has chosen) | | Charon | Informative | | Kore | Firm | | Fenrir | Excitable | | Aoede | Breezy | | Zephyr | Bright | | Leda | Youthful | | Orus | Firm | > [!NOTE] > > The list has more than twenty further voices — Callirrhoe, Autonoe, Enceladus, Iapetus, Algieba, Despina, Gacrux and others — each labelled with its style. [Preview Gemini voices on Google AI Studio](https://aistudio.google.com). **5. Set how easy it is to interrupt** **Interruption Sensitivity** decides how readily the twin stops talking when someone speaks over it: * **Low** (default) — ignores background noise, but people have to speak up to cut in * **High** — easy to talk over, but may react to room noise Keep **Low** for classrooms and open offices; try **High** for one-to-one use in a quiet room. *** ## Features > [accordion] Tool Calling > > During a voice conversation, the AI can invoke tools just like in text mode — searching the web, looking up files in IP Vault, querying Canvas, and more. Tool results are incorporated into the audio response naturally. > > When a connector tool needs approval, the microphone pauses and an approval card appears in the transcript (or over the call when the transcript is hidden). The twin cannot ask out loud on Gemini Live, so watch for the card: you have 45 seconds to approve or decline. > [accordion] Live Transcription > > Both the user's speech (input) and the AI's spoken responses (output) are transcribed in real time and — when **Convo Show Transcript** is on — displayed in the Convo Mode panel. Transcripts are saved to conversation history for later review. > [accordion] Noise Handling > > The microphone stream is captured with browser noise suppression enabled, and Gemini's voice activity detection is tuned to filter brief background noises — improving recognition accuracy in noisy environments like classrooms or open offices. > [accordion] Text Input During Voice > > When **Convo Enable Text Input** is on, users can type messages during an active voice conversation. The typed text is sent alongside the audio stream, and the AI responds in the conversation. > [accordion] Ephemeral Token Security > > Each voice session uses a single-use, short-lived ephemeral token minted by the server and locked to the session's model and configuration. No long-lived API keys are exposed to the browser. *** ## User Experience When a user opens Convo Mode with Gemini Live configured, they see: 1. **Voice selector** — Dropdown with available Gemini voices (the choice is remembered per user). It isn't shown when the administrator has fixed the voice 2. **Start/Stop button** — Begins and ends the voice session 3. **Text input** — Type during a voice conversation (when enabled by the administrator) 4. **Live transcript** — Real-time display of both user speech and AI responses (when enabled) *** ## Troubleshooting > [accordion] Voice session fails to start > > * Check **Enable Convo (Speech-to-Speech)** is on and the **Speech-to-Speech Model** is a Gemini Live model > * If you saved your own **Gemini API Key**, check it's valid — a wrong key on the twin is used in preference to the platform default > * Ensure the browser has microphone permissions granted > [accordion] Audio quality issues > > * Use headphones to prevent echo/feedback > * Move to a quieter environment or closer to the microphone — brief background noises are filtered, but sustained noise degrades recognition > * Check your internet connection — Gemini Live requires a stable WebSocket connection > [accordion] Tools not working during voice > > * Confirm the tools are switched on for the Digital Twin > * Some tools may not be available during voice mode — check the admin Tools panel *** ## Related * [Convo Mode User Guide](/mdx/user-guide/interface/convo-speech) — End-user guide for voice conversations * [AI Models](/mdx/admin-guide/ai-models) — Configure Gemini models * [ElevenLabs Integration](/mdx/integrations/elevenlabs/introduction) — Alternative voice provider * [Configuration](/mdx/admin-guide/configuration) — Digital Twin voice settings # MCP Server Source: https://docs.praxis-ai.com/mdx/integrations/mcp/introduction Connect your LLM to Praxis AI Middleware's MCP Server ## What is MCP? The **Model Context Protocol (MCP)** is an open standard that lets AI applications connect to external data sources and tools through a unified interface. Pria speaks MCP in **both directions** — see below. ## The Two MCP Roles in Pria Pria participates in the MCP ecosystem in two distinct ways. Most administrators will use one or both; understanding the distinction up front saves a lot of confusion. > [card] Pria AS an MCP server > > Your IDE, agent, or other LLM application connects to Pria as an MCP server. Pria exposes tools like `search-instance-rag` and `api-rt-docs` so external assistants can query your Digital Twin's knowledge base and API. > [card] Pria CONSUMING MCP servers > > Your Digital Twin calls out to external MCP servers (Slack, Zapier, a custom internal MCP server) as tools during a conversation. The external MCP server becomes part of the Twin's toolkit. The rest of this page walks through both, with quick‑start recipes and links to the deeper docs. ### What Pria Exposes as an MCP Server > [card] Search Your Knowledge > > Query your Digital Twin's document collection using natural‑language search via the `search-instance-rag` tool. > [card] Explore the API > > Access live OpenAPI documentation for both Runtime and Admin endpoints directly from your LLM. > [card] Link Digital Twins > > Connect multiple Digital Twins so one can query another's knowledge base without duplicating data. *** ## Quick Start — Pria AS an MCP Server Follow these steps to expose your Digital Twin as an MCP server and connect an external client (Claude Desktop, Cursor, your own application). ### Step 1 — Enable MCP on Your Digital Twin Open your Digital Twin's **Configuration and Integrations** tab, tick **MCP Server Enabled**, then save. ![Enable MCP Server switch](https://mintcdn.com/praxisai/DoENNiLE0h3oDtpX/images/integrations/mcp/mcpserver.png?fit=max\&auto=format\&n=DoENNiLE0h3oDtpX\&q=85\&s=cf6ea869930326459617aae8e03279d9) ### Step 2 — Copy Your MCP Server Secret In the same place, copy the **MCP Server Secret**. This token authenticates clients connecting to your MCP server. > [!WARNING] > > The MCP Server Secret is the **only** credential the MCP endpoint accepts. The Digital Twin's **Public ID is not a credential** — it is public by design and will not authenticate an MCP client. Treat it like a password. ![MCP Secret field location](https://mintcdn.com/praxisai/OlIgCFtjM8iwau8J/images/integrations/mcp/mcp_publicid.png?fit=max\&auto=format\&n=OlIgCFtjM8iwau8J\&q=85\&s=76dc47a1abe5f1f578c283003bf6ebb1) ### Step 3 — Configure Your MCP Client Use the following settings in any MCP-compatible client: | Setting | Value | | - | - | | **Server URL** | `https://pria.praxislxp.com/api/mcp` | | **Server Label** | `pria-mcp` | | **Authorization** | `Bearer <your-mcp-server-secret>` | **Description / System Instruction** (optional but recommended): ```text wrap theme={null} Use this tool to run authoritative semantic search against the remote Digital Twin via the MCP server. Invoke search-instance-rag whenever the user's question targets content stored in the Digital Twin (prefer it over local search for remote-scope queries). Input is a natural-language query string; output is a relevance-ordered list of matches containing each item's file title, a concise summary, and a direct URL (include source_id and score when available). If no relevant results exist, return an empty list. Do not infer, synthesize, or modify content — return only what the remote Digital Twin provides. ``` > [!TIP] > > The description tells the AI **when** and **how** to use the MCP tools. Customize it to match your use case. ### Available Tools Once connected, your MCP client can invoke these tools: | Tool | Description | | - | - | | `search-instance-rag` | Semantic search across your Digital Twin's uploaded documents and knowledge base | | `api-admin-docs` | Returns the Admin API OpenAPI specification for the Praxis AI Middleware | | `api-rt-docs` | Returns the Runtime API OpenAPI specification for the Praxis AI Middleware | > [!NOTE] > > Additional tools may be available depending on your Digital Twin's configuration and enabled connectors. *** ## Testing Your MCP Server Use the **MCP Inspector** ([documentation](https://modelcontextprotocol.io/docs/tools/inspector)) to validate your connection, browse available tools, and send test requests. ```bash theme={null} npx @modelcontextprotocol/inspector ``` Connect to `https://pria.praxislxp.com/api/mcp` with your Bearer token and verify that the tools listed above appear. ![MCP Inspector showing available tools](https://mintcdn.com/praxisai/iGbFif-B73zZYR7P/images/integrations/mcp/mcp-inspector.png?fit=max\&auto=format\&n=iGbFif-B73zZYR7P\&q=85\&s=d626afb1a59494523ffdea6e708cb809) ### Protocol Version & Tool Catalog Pria's MCP server runs over plain HTTP at `/api/mcp`, built on the official [MCP TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk) (`@modelcontextprotocol/sdk`). It keeps no session state between calls, and it agrees the protocol version with each client automatically — so you do not have to configure a version anywhere. The currently exposed tools are: | Tool | Input | Purpose | | - | - | - | | `search-instance-rag` | `message` (string), optional `assistantId` | Semantic RAG search over the Twin's documents; optionally scoped to one assistant's collections | | `api-rt-docs` | `asYaml` (boolean) | The Runtime API OpenAPI spec, as JSON or YAML | | `api-admin-docs` | `asYaml` (boolean) | The Admin API OpenAPI spec, as JSON or YAML | Additional tools may be added over time. Use the Inspector's `tools/list` to see the current catalog for your deployment. *** ## Pria CONSUMING an External MCP Server In the other direction, your Digital Twin can call out to any external MCP‑compatible server during a conversation. Once configured, the external server's tools appear in the Twin's toolkit alongside Pria's built‑in tools — the model can decide to invoke them when relevant. Common reasons to add an external MCP server: * A **company knowledge base** running its own MCP server (Notion, internal docs MCP). * A **task / automation hub** like Slack, Zapier, or a workflow engine. * A **custom domain MCP server** you built — for example, a server that exposes your CRM, your ticketing system, or a proprietary scientific database. * A **second Praxis Digital Twin** (see [Linking Digital Twins](#linking-digital-twins-via-connector-mcp) below). ### Where to Wire It Up External MCP servers are configured **per Digital Twin**, on the **Connector MCP and Tools** tab of the Digital Twin editor: **1. Add a connector** Enter its **Name (Label)**, **Server URL** and, if the server needs one, an **Authorization Header**. **2. Test it** Select **Test connection**. Pria asks the server for its tool list with the values in the form, before anything is saved, and says what went wrong if it can't reach it. **3. Pick the tools** Switch **Tools** on and tick the tools to allow under **Tools Choice**. With **Require Approval** on, the person in the conversation approves each call, except the tools you tick under **Ignore Approval for Tools**. Once active, the server's tools are available to every assistant and every user of that Digital Twin, on every conversation model that supports tools — no per-user setup. Servers are deliberately scoped to a single Twin (this keeps credentials isolated). If several Twins need the same upstream MCP server, add it to each one. For the full field reference, tool filters, approvals, and troubleshooting, see [MCP Servers (admin)](/mdx/admin-guide/mcp-servers). ### Authentication to External MCP Servers When Pria connects out to a third‑party MCP server, you supply the credentials Pria should present: * **Authorization header** — most common. Paste the full header value (for example `Bearer xyz123…`) in the connector's **Authorization Header** field. * **No auth** — for open public MCP servers (rare). Pria forwards the configured credential on every tool invocation. The token never appears in any model‑visible content. Outbound tool calls also carry a **verified identity** for the signed-in user that partner servers can check against your **MCP Signing Secret** — a separate key, different from the MCP Server Secret above, that lets the far end prove a request really came from your Pria twin on behalf of a real user — see [MCP Servers (admin)](/mdx/admin-guide/mcp-servers#verified-learner-identity-on-tool-calls) for what this enables, and [Verified identity](/mdx/integrations/mcp/verified-identity) for how a partner server checks it. *** ## Linking Digital Twins via Connector MCP A common use case is connecting two Digital Twins so that **Twin B** can search **Twin A's** knowledge base in real time — without copying or syncing documents between them. **Why link twins?** * Keep source knowledge centralized in one twin while others query it on demand * Updates to Twin A's documents are instantly available to Twin B * Avoid data duplication and keep all twins consistent ### How to Set It Up **1. Enable MCP on Twin A** Follow the [Quick Start](#quick-start--pria-as-an-mcp-server) above to enable MCP and copy Twin A's MCP Server Secret. **2. Add a Connector MCP in Twin B** In Twin B, open the **Connector MCP and Tools** tab and add a new connector: * **Server URL:** `https://pria.praxislxp.com/api/mcp` * **Authorization Header:** `Bearer <Twin A's MCP Server Secret>` Select **Test connection**: `search-instance-rag` and the two API tools should be listed. ![Connector MCP configuration pointing to Twin A](https://mintcdn.com/praxisai/DoENNiLE0h3oDtpX/images/integrations/mcp/connect-twins-configuration.png?fit=max\&auto=format\&n=DoENNiLE0h3oDtpX\&q=85\&s=498cb94350a0379bc5b5bc711ee2df91) **3. Save and Enable** Save the connector and make sure its **Status** is active. ![Connector MCP list showing the enabled connector](https://mintcdn.com/praxisai/DoENNiLE0h3oDtpX/images/integrations/mcp/connect-twins-list.png?fit=max\&auto=format\&n=DoENNiLE0h3oDtpX\&q=85\&s=3dd66c2ee45f4f4922f61d54d35be0fd) **4. Try It in a Conversation** Send a query in Twin B that targets Twin A's knowledge. For example: > Using the pria-mcp, search for information about "onboarding process" ![Testing connectivity through the connector MCP](https://mintcdn.com/praxisai/iGbFif-B73zZYR7P/images/integrations/mcp/connect-twins-interaction.png?fit=max\&auto=format\&n=iGbFif-B73zZYR7P\&q=85\&s=fb83b3a98e2a8b203de0f0678cbde9d4) **5. Review Tool Details** Check the agent details to confirm the tool was invoked correctly and returned results. ![Agent details showing MCP tool invocation](https://mintcdn.com/praxisai/iGbFif-B73zZYR7P/images/integrations/mcp/connect-twins-agent-details.png?fit=max\&auto=format\&n=iGbFif-B73zZYR7P\&q=85\&s=b2f66107ff8915ad9b7824666c68b1ef) > [!NOTE] > > The bearer value you provide in Twin B's connector must be Twin A's **MCP Server Secret** (not its Public ID). This ensures authenticated, secure communication between twins. *** ## MCP in Real-Time Voice Conversations MCP tools are also available during **Convo Mode** — your Digital Twin can invoke MCP tools during live voice conversations, for example searching a connected twin's knowledge base while speaking with a user. **Every voice provider can reach your connectors** — what differs is how, and how a tool that needs approval is asked for. | Provider | How MCP reaches it | When a tool needs approval | | - | - | - | | **OpenAI Realtime** | OpenAI's own native connector | An approval card appears in your browser | | **xAI Realtime**, **Gemini Live** | Pria acts as the MCP client and offers the connector's tools as ordinary tools, with its signed identity | The microphone pauses and a card appears; the twin can't ask out loud, so watch for it — you have 45 seconds | | **Anam**, **Cartesia**, **OpenAI GPT-Live** | Each spoken turn is answered by the twin's own model, so connectors work as in typed chat | Anam and Cartesia say out loud that they need permission; the card appears in the live transcript (GPT-Live shows the card only) | | **ElevenLabs** | The same as typed chat | Not available: the twin says so and asks you to try again from the Pria chat. Tools that need no approval work normally | > [!NOTE] > > A twin's voice turns may run on a different model than its typed turns (the **Anam Response Model** setting, or an assistant's **STS / Voice Conversation Model**). Connectors follow the model the turn actually runs on. See [Convo Mode](/mdx/user-guide/interface/convo-speech) for the provider comparison. *** ## Shared MCP Configuration for a Digital Twin Administrators configure external MCP servers once per Digital Twin on the **Connector MCP and Tools** tab in the Admin dashboard. This makes the server's tools available to all users of that Digital Twin without any individual setup. See [MCP Servers (admin)](/mdx/admin-guide/mcp-servers) for the field reference, and [Configuration](/mdx/admin-guide/configuration) for the inbound MCP Server switch, Secret, and identity-signing settings. *** ## Troubleshooting | Symptom | Solution | | - | - | | **"Unauthorized: MCP Secret is invalid"** (or 401) | Verify your `Authorization: Bearer <token>` header carries the Digital Twin's **MCP Server Secret** exactly. The Twin's Public ID is not accepted as a credential. Invalid-secret errors are returned inside the tool result, so check the tool output text, not just the HTTP status. | | **"MCP Server is disabled for this instance"** | **MCP Server Enabled** is off — tick it and save on **Configuration and Integrations**. | | **Connection refused** | Confirm the server URL is `https://pria.praxislxp.com/api/mcp` and your network allows outbound HTTPS. | | **Tools not appearing** | Ensure **MCP Server Enabled** is on and saved. For a connector in your own twin, select **Test connection** in its editor to see what the server answers. | | **Twin B ignores the connector** | Check that the server label and tool names are correct. Try an explicit prompt: *"Using the pria-mcp, execute search-instance-rag to find information on 'xyz'"* | | **Unexpected results** | Use the [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector) to send the same query directly and compare responses. | *** ## Learn More * [Model Context Protocol specification](https://modelcontextprotocol.io/) — The official MCP documentation and standard *** ## Related * [MCP Servers (admin)](/mdx/admin-guide/mcp-servers) — Digital-Twin-level MCP server configuration * [Configuration](/mdx/admin-guide/configuration) — Where the MCP Server switch and Secret live * [Connectors](/mdx/admin-guide/connectors) — Adding external MCP servers as Twin‑scoped connectors * [Tools](/mdx/admin-guide/tools) — Tool definitions available to your Digital Twin * [Convo Mode](/mdx/user-guide/interface/convo-speech) — Voice conversations with MCP tool support * [API Reference](/mdx/api-reference/introduction) — Runtime and Admin REST APIs that the MCP server mirrors * [API Keys](/mdx/user-guide/profile-settings/api-keys) — Personal API keys for programmatic access to Pria # Verified identity Source: https://docs.praxis-ai.com/mdx/integrations/mcp/verified-identity Check the signed x-pria-* headers Pria sends to your MCP server, so your tools can trust which user a call is for. When a Digital Twin calls your MCP server, Pria adds headers that say which signed-in user the call is for, and signs them with the twin's **MCP Signing Secret**. The identity comes from the user's login session, not from anything the AI wrote, so a crafted prompt cannot change it. Check the signature on your server and you can safely answer per-user questions: a learner's own progress, their quiz results, their tutor's notes. This page is the complete contract: the headers, the rule that produces the signature, verifiers for Node and Python, and a worked example you can check your own code against. ## The headers | Header | Value | | - | - | | `x-pria-user-email` | The user's email. Sent **only when the user has one**; guest and embed identities may have none. When absent, it is left out of the signature too. | | `x-pria-user-id` | The user's Pria id. | | `x-pria-institution-id` | The Digital Twin's id. | | `x-pria-server-label` | The name you gave this connector in the Digital Twin's admin settings. It binds the signature to your server: a signature made for another connector does not verify on yours. | | `x-pria-timestamp` | When the headers were signed, in epoch **milliseconds** (for example `1758000000000`). | | `x-pria-nonce` | A UUID, new each time Pria builds the twin's tool list. | | `x-pria-key-id` | The first 8 hex characters of the SHA-256 of the signing secret. It tells you which secret signed the call, without revealing it. | | `x-pria-signature` | 64 lowercase hex characters: the HMAC-SHA256 described below. | Header names can arrive in any letter case, so match them case-insensitively. > [!NOTE] > > A nonce and timestamp identify one build of the twin's tool list, not one request: > > * **When Pria calls your server itself** (every conversation model except OpenAI models with native MCP support), the tool-list request and every tool call of the same reply carry the same nonce and timestamp. On xAI and Gemini Live voice, each tool call is signed on its own. > * **On OpenAI models with native MCP support**, the headers are fixed when the tool list is built and reused for every call it serves: once per reply in chat, and for the life of the session in OpenAI Realtime voice, so a long voice session can reach the 60-minute window. > > Several calls can therefore carry the same nonce, so **do not reject a repeated nonce as a replay**. ## The rule 1. Take the seven headers listed above that are present, **except** `x-pria-signature`: six fields, or seven when the email is sent. Ignore any other `x-pria-*` header. 2. Lowercase each header name and sort the fields by that name. 3. Write each field as `name=value` and join them with a single newline (`\n`). No trailing newline. 4. Compute HMAC-SHA256 of that string (UTF-8) with the **MCP Signing Secret** as the key. Use the secret exactly as the text shown in the admin screen: do not hex-decode it. 5. Accept the call only if `|now − x-pria-timestamp| ≤ 60 minutes`, and the lowercase hex digest equals `x-pria-signature` (compared in constant time). `x-pria-user-id`, `x-pria-institution-id`, `x-pria-server-label`, `x-pria-timestamp` and `x-pria-nonce` must all be present. A request that carries only the email, user id and Digital Twin id, with no signature, was sent unsigned, for example because the twin has no signing secret yet. Treat it as unverified. ## Verifiers Both check staleness first and the signature second, the same order Pria's own verifier uses, so the reason codes match. Each returns `{ ok: true, keyId }` or `{ ok: false, reason }`. ```js verify-pria-identity.js theme={null} const crypto = require('crypto') const NAMES = ['x-pria-user-email', 'x-pria-user-id', 'x-pria-institution-id', 'x-pria-server-label', 'x-pria-timestamp', 'x-pria-nonce', 'x-pria-key-id'] function verifyPriaIdentity(signingSecret, headers, { maxAgeMs = 60 * 60 * 1000, now = Date.now() } = {}) { const h = {} for (const [k, v] of Object.entries(headers)) h[k.toLowerCase()] = String(v) const fields = {} for (const n of NAMES) if (h[n] != null) fields[n] = h[n] for (const r of ['x-pria-user-id', 'x-pria-institution-id', 'x-pria-server-label', 'x-pria-timestamp', 'x-pria-nonce']) if (fields[r] == null) return { ok: false, reason: 'missing-field' } const canonical = Object.keys(fields).sort().map((k) => `${k}=${fields[k]}`).join('\n') // Same order as Pria's own verifyIdentity: staleness first, then the signature — so the reason codes match. const ts = Number(fields['x-pria-timestamp']) if (!Number.isFinite(ts) || Math.abs(now - ts) > maxAgeMs) return { ok: false, reason: 'stale' } const expected = Buffer.from(crypto.createHmac('sha256', String(signingSecret)).update(canonical, 'utf8').digest('hex')) const got = Buffer.from(String(h['x-pria-signature'] || '').toLowerCase()) // Compare byte lengths, not string lengths: timingSafeEqual throws on unequal buffers. if (expected.length !== got.length || !crypto.timingSafeEqual(expected, got)) return { ok: false, reason: 'bad-signature' } return { ok: true, keyId: fields['x-pria-key-id'] } } // In an Express handler (Node already lowercases req.headers): // const result = verifyPriaIdentity(process.env.PRIA_MCP_SIGNING_SECRET, req.headers) // if (!result.ok) return res.status(401).json({ error: result.reason }) ``` ```python verify_pria_identity.py theme={null} import hashlib import hmac import time NAMES = ['x-pria-user-email', 'x-pria-user-id', 'x-pria-institution-id', 'x-pria-server-label', 'x-pria-timestamp', 'x-pria-nonce', 'x-pria-key-id'] REQUIRED = ['x-pria-user-id', 'x-pria-institution-id', 'x-pria-server-label', 'x-pria-timestamp', 'x-pria-nonce'] def verify_pria_identity(signing_secret, headers, max_age_ms=60 * 60 * 1000, now_ms=None): h = {str(k).lower(): str(v) for k, v in headers.items()} fields = {n: h[n] for n in NAMES if n in h} if any(r not in fields for r in REQUIRED): return {'ok': False, 'reason': 'missing-field'} canonical = '\n'.join(f'{k}={fields[k]}' for k in sorted(fields)) # Same order as Pria's own verifier: staleness first, then the signature. now_ms = int(time.time() * 1000) if now_ms is None else now_ms try: ts = float(fields['x-pria-timestamp']) except ValueError: return {'ok': False, 'reason': 'stale'} if ts != ts or abs(now_ms - ts) > max_age_ms: # ts != ts rejects NaN return {'ok': False, 'reason': 'stale'} expected = hmac.new(str(signing_secret).encode('utf-8'), canonical.encode('utf-8'), hashlib.sha256).hexdigest() got = h.get('x-pria-signature', '').lower() # Compare bytes: compare_digest raises TypeError on a non-ASCII str. if not hmac.compare_digest(expected.encode('utf-8'), got.encode('utf-8')): return {'ok': False, 'reason': 'bad-signature'} return {'ok': True, 'keyId': fields.get('x-pria-key-id')} ``` | Reason | Meaning | | - | - | | `missing-field` | One of the five required headers is absent. The call is unsigned or was stripped in transit. | | `stale` | The timestamp is more than 60 minutes from your clock, or is not a number. Check your server's clock first. | | `bad-signature` | The signature does not match: a header was changed, the wrong secret is configured, or the secret was regenerated. Compare `x-pria-key-id` with the key id of the secret you hold. | ## Worked example Run your verifier on this input before you point it at real traffic. The secret is a dummy: never use it for anything else. Signing secret (64 characters, used as text): ```text theme={null} 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef ``` Headers received: ```text theme={null} x-pria-user-email: learner@example.com x-pria-user-id: 64b000000000000000000001 x-pria-institution-id: 64b000000000000000000002 x-pria-server-label: catalog x-pria-timestamp: 1758000000000 x-pria-nonce: 11111111-2222-4333-8444-555555555555 x-pria-key-id: a8ae6e6e x-pria-signature: 856beaf60e86b85ebff5785af750ba845b5a55559400115c172ab1bfd1d92e5f ``` The string that is signed, the seven fields sorted by name and joined by newlines: ```text theme={null} x-pria-institution-id=64b000000000000000000002 x-pria-key-id=a8ae6e6e x-pria-nonce=11111111-2222-4333-8444-555555555555 x-pria-server-label=catalog x-pria-timestamp=1758000000000 x-pria-user-email=learner@example.com x-pria-user-id=64b000000000000000000001 ``` The expected signature is `856beaf60e86b85ebff5785af750ba845b5a55559400115c172ab1bfd1d92e5f`, and the key id of this secret is `a8ae6e6e`. The timestamp is September 16, 2025, so checked against today's clock the example returns `stale`. That is correct. To reproduce the pass, give the verifier a clock one second after the timestamp: `now: 1758000001000` in Node, `now_ms=1758000001000` in Python. It then returns `ok` with key id `a8ae6e6e`. Change any header value and it returns `bad-signature`. ## Which secret > [!WARNING] > > Two secrets sit side by side in the Digital Twin's settings, and only one of them verifies these headers. > > * **MCP Signing Secret**: what Pria signs the identity headers with when it calls your connector (outbound). **Use this one.** > * **MCP Server Secret**: what an MCP client sends to call the Digital Twin's own MCP server (inbound). It is not used for signing, and verifying with it always fails with `bad-signature`. Ask the Digital Twin's administrator to share the MCP Signing Secret through a secure channel, not email. ## Rotation Regenerating the MCP Signing Secret takes effect immediately. Pria never signs with the old and new secrets at the same time, so plan the change together with the twin's administrator: 1. Pick a quiet hour and have the administrator regenerate the secret and send you the new value. 2. Install the new secret. The new `x-pria-key-id` tells you which calls it signed. 3. A realtime voice session that started before the change keeps the headers it began with. For the next 60 minutes, accept either secret, choosing by `x-pria-key-id`, then remove the old one. The key id of a secret is the first 8 hex characters of its SHA-256, so you can compute it yourself: in the worked example, the dummy secret's key id is `a8ae6e6e`. ## Related * [MCP Servers (admin)](/mdx/admin-guide/mcp-servers#verified-learner-identity-on-tool-calls): what the signed identity enables * [Connectors](/mdx/admin-guide/connectors): connector configuration reference * [MCP Server](/mdx/integrations/mcp/introduction): both MCP roles in Pria # Moodle Source: https://docs.praxis-ai.com/mdx/integrations/moodle/introduction Integrate Praxis AI with Moodle using LTI Advantage 1.3 ## Integrate Your Digital Twins with Moodle Pria integrates with **Moodle** using the **LTI Advantage (v1.3)** standard, making AI-powered digital twins available directly inside your courses. > [card] LTI Advantage > > **Standard Integration** > > Deploy Pria as an external (LTI 1.3) tool so teachers and students reach AI assistance from within Moodle. > [card] Course-Aware AI > > **Contextual Learning** > > Digital twins understand course context and materials to deliver personalized support. *** ## Prerequisites Before you begin, ensure you have: * [ ] Moodle site administrator access * [ ] Permission to manage external tools (LTI) * [ ] A Praxis AI Digital Twin (create one at [pria.praxislxp.com](https://pria.praxislxp.com)) * [ ] Your Digital Twin's Public ID (found in Configuration & Integrations) *** ## Installation Overview **1. Add Pria as an External Tool** In Moodle, go to **Site administration** → **Plugins** → **Activity modules** → **External tool** → **Manage tools**, then **configure a tool manually**. > [!TIP] > > Moodle also supports **LTI Dynamic Registration**: paste `https://prialti.praxislxp.com/register` into the **Tool URL** box on the Manage tools page and choose **Add LTI Advantage**. This registers and activates Pria automatically, replacing the manual settings below. **2. Configure Tool Settings** Set **LTI version** to *LTI 1.3* and enter the Pria registration details: | Setting | Value | | - | - | | **Tool name** | Pria - Praxis AI | | **Tool URL / Domain** | `prialti.praxislxp.com` | | **Redirect URLs** | `https://prialti.praxislxp.com` `https://prialti.praxislxp.com/launch` `https://prialti.praxislxp.com/resources` | | **Initiate login URL** | `https://prialti.praxislxp.com/login` | | **Target Link URI** | `https://prialti.praxislxp.com/launch` | | **Public keyset URL** | `https://prialti.praxislxp.com/keys` | **3. Enable LTI Services** Under the tool's services and privacy settings, enable: * **IMS LTI Names and Role Provisioning** — lets Pria see who is in the course * **IMS LTI Assignment and Grade Services** — lets Pria read and write grades (only needed if you use grading features) * **Deep Linking** (content selection) — lets faculty add Pria to a course from inside the course editor * **Share the launcher's name and email with the tool** — Pria needs them to match the launch to the right person **4. Complete the registration with Praxis AI** If you configured the tool manually (rather than via Dynamic Registration), the registration must also be activated on the Pria side. Send your Moodle site URL, **Client ID**, and **Deployment ID** to the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) so your platform can be linked to your Digital Twin. **5. Deploy to Courses** Add Pria to a course by adding an **External tool** activity and selecting the preconfigured Pria tool. *** ## Troubleshooting | Issue | Solution | | - | - | | **Tool not selectable in a course** | Set the tool's state to **Show in activity chooser** under Manage tools. | | **Authentication failures** | Verify the Client ID and Deployment ID match between Moodle and Pria. | | **"Invalid redirect" errors** | Ensure every redirect URL is registered exactly as shown above. | | **Missing user name/email** | Enable sharing the launcher's name and email in the tool's privacy settings. | > [!NOTE] > > If issues persist, contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) with your Moodle version and error screenshots. *** ## What's Next? After installation, configure your Digital Twin for course-aware interactions: > [card] [Configure Your Digital Twin](/mdx/admin-guide/configuration) > > Set up system prompts, AI models, and behavior for your Moodle deployment. > [card] [Enable Tools](/mdx/admin-guide/tools) > > Activate tools for calendar integration, content search, and more. ## Related * [Canvas LTI 1.3](/mdx/integrations/canvas/lti-1-3) — the LTI 1.3 standard as configured for Canvas * [D2L Brightspace](/mdx/integrations/d2l/introduction) — LTI Advantage for Brightspace * [Blackboard Learn](/mdx/integrations/blackboard/introduction) — LTI Advantage for Blackboard # Overview Source: https://docs.praxis-ai.com/mdx/integrations/overview Integrate your Digital Twins seamlessly in your LMS, web applications, or any LLM-powered environment > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. ## Integration Capabilities at a Glance This section is for the person connecting Pria to something else — an LMS, a website, a voice product, or your own code. Each path below says who it is for and links to its setup guide. ## Supported Integration Paths ### **LMS Plug-and-Play with LTI** Seamlessly connect Pria to leading platforms like **Moodle**, **Canvas**, **D2L (Brightspace)**, and **Blackboard Learn** via the industry-standard **Learning Tools Interoperability (LTI)** protocol. This ensures consistent user experiences, easy provisioning, and scalable rollouts across schools and organizations. ### **Deep Canvas Integration** For organizations using **Canvas**, Pria enables a premium, branded experience with **Custom Theme** integrations—unlocking UI customization, direct navigation, and native workflows for optimal engagement. ### **Universal Web SDK Integration** Extend Pria into any web or mobile application using the robust **Web SDK**. Leverage flexible components, secure authentication, and event hooks to power personalized learning journeys or embed AI assistants with minimal engineering overhead. ### **AI Middleware & Model Context Protocol (MCP) Server** Pria can also act as an **MCP server**. Model Context Protocol is an open standard that lets an AI application borrow tools from another system. Pria offers a `search-instance-rag` tool, which searches the documents uploaded to a Digital Twin and returns the passages that match a plain-language question — so a coding assistant or agent you run elsewhere can consult your twin's knowledge without you copying the documents into it. The **Praxis AI Middleware** is the layer that makes this possible: it sits between your systems and the AI models and handles sign-in, retrieval, tools and conversation state. ### **Voice & Avatar Providers** Give your Digital Twin a voice — or a face. Pria's Convo Mode supports **OpenAI Realtime**, **OpenAI GPT-Live** (listens and speaks at the same time while your twin's own model answers), **Gemini Live** (30 voices, live transcription, ephemeral token security), **xAI Grok voice**, **ElevenLabs Conversational AI** (connect an agent to Pria's Chat Completions API as a Custom LLM, with embeddable voice widgets), **Cartesia** expressive voices, and the **Anam** talking avatar. Compare them all in [Voice & Realtime Providers](/mdx/integrations/voice-providers/overview). ### **Sign-in** People reach Pria with an email and password, social login (Google, Microsoft, Apple, GitHub, Facebook), your organization's single sign-on, or a launch from their LMS. See [Authentication Overview](/mdx/integrations/authentication/overview). ### **Avatar Embed Widget** Put your Digital Twin's talking avatar directly on an **external website** with a single script tag (or React component). Visitors converse with the avatar anonymously — no Pria login — while your Twin's knowledge and instructions drive every answer. See [Avatar Embed Widget](/mdx/integrations/web/avatar-widget). *** ## The choice is yours > [card] [Chat Completions](/mdx/integrations/chat-completions/introduction) > > **Best Use Case:**\ > Connect any OpenAI SDK app to a Digital Twin in minutes — minimal setup, full compatibility. > [card] [Web App](/mdx/sdk/javascript) > > **Best Use Case:**\ > Rapidly add AI-powered learning, support bots, or AI assistants to your own platform—no LMS required. > [card] [MCP Server](/mdx/integrations/mcp/introduction) > > **Best Use Case:**\ > Integrate Pria's context-aware AI into custom LLM stacks, workflow engines, or analytic tools. > [card] [Canvas](/mdx/integrations/canvas/overview) > > **Best Use Case:**\ > Deliver a unified, branded learning experience, automate class operations, or deploy digital twins natively in Canvas. > [card] [D2L](/mdx/integrations/d2l/introduction) > > **Best Use Case:**\ > Empower instructors and students with AI-driven feedback and smart assistance within your Brightspace environment. > [card] [Moodle](/mdx/integrations/moodle/introduction) > > **Best Use Case:**\ > Bring course-aware AI assistance into Moodle classrooms with a standard LTI Advantage tool. > [card] [Blackboard](/mdx/integrations/blackboard/introduction) > > **Best Use Case:**\ > Deploy digital twins across Blackboard Learn courses via LTI Advantage, and let them read each learner's own course: contents, announcements, grades and the calendar. > [card] [ElevenLabs](/mdx/integrations/elevenlabs/introduction) > > **Best Use Case:**\ > Give your Digital Twin a voice — deploy real-time voice widgets powered by ElevenLabs and your Twin's knowledge. > [card] [Gemini Live](/mdx/integrations/gemini-live/introduction) > > **Best Use Case:**\ > Native Google multimodal audio for real-time voice conversations with tool calling support. > [card] [Avatar Embed Widget](/mdx/integrations/web/avatar-widget) > > **Best Use Case:**\ > Put your Twin's talking avatar on any external website — anonymous visitors converse with it instantly. > [card] [Javascript APIs](/mdx/sdk/javascript) > > **Best Use Case:**\ > Programmatically control Pria, trigger specific actions, or enrich your own UIs with targeted AI features. *** > [!NOTE] > > **Tip:** Every integration path is fully documented — with code samples, diagrams, and accessibility guidance — to ensure a smooth rollout regardless of technical skill level. # Voice & Realtime Providers Source: https://docs.praxis-ai.com/mdx/integrations/voice-providers/overview Compare the realtime voice and avatar providers Pria supports — OpenAI Realtime, OpenAI GPT-Live, ElevenLabs, Gemini Live, xAI, Cartesia, Anam. Pria's **Convo Mode** lets users talk to a Digital Twin in real time — speech in, speech (and optionally an animated avatar) back out. Under the hood, several different vendors can power that experience. This page compares them so you can pick the right one for each Digital Twin. > [!TIP] > > You don't have to pick just one. Different Digital Twins can use different voice providers, and on the providers that offer a voice list, each user can pick their own voice — unless you fix one for everyone. *** ## What Realtime Voice Is Realtime voice is a live, two-way audio conversation between a user and the Digital Twin. Unlike recording a clip and waiting for a transcript, realtime voice streams audio in both directions: ``` User speaks → streaming STT → LLM → streaming TTS → User hears ``` In words: you speak → your words are transcribed as you say them (speech-to-text, **STT**) → the AI works out a reply → the reply is spoken back as it is generated (text-to-speech, **TTS**) → you hear it. A few vendors (Gemini Live, OpenAI Realtime, xAI Realtime) handle listening, thinking and speaking inside one voice model, which responds fast and sounds natural. Others (ElevenLabs, Cartesia) chain separate listening and speaking components around your Digital Twin's own model for premium voice quality. **OpenAI GPT-Live** listens and speaks at the same time, so interruptions feel smooth, and hands every real question to your Digital Twin's own model, files and tools. The avatar provider (Anam) adds an animated, lip-synced video on top of the voice. In every case the audio itself travels **straight between the listener's browser and the voice vendor**. Pria sets up each call, never handing your vendor key to the browser, and then stays out of the audio path, so sound never queues behind Pria's servers. *** ## Provider Matrix | Provider | Best For | Audio Quality | Latency | Avatar | Voices | | - | - | - | - | - | - | | **OpenAI Realtime** | Broad coverage, lowest latency | High | Lowest | No | Multiple stock voices | | **OpenAI GPT-Live** | Natural back-and-forth, answers from your twin's own model | High | Low | No | 12 (Quartz unless chosen) | | **ElevenLabs** | Premium voice, brand persona | Highest | Low | No | Hundreds + cloned | | **Gemini Live** | Multilingual, thinking models | High | Low | No | 30 named voices | | **xAI Realtime** | Grok models, conversational | High | Low | No | 5 (Eve, Ara, Rex, Sal, Leo) | | **Cartesia Voice** | Expressive, tunable brand voices | Highest | Low | No | Cartesia catalog + cloned | | **Anam Avatar** | Engagement, demos, training | High | Low | Yes | Anam voice catalog | *** ## Choosing a Provider > [accordion] Classroom / tutoring > > **Recommendation:** Gemini Live or OpenAI Realtime. > > Native audio models give the lowest latency, which matters most for back-and-forth dialogue with learners. Gemini Live shines for multilingual classrooms; OpenAI Realtime has the broadest model coverage and stock voices. > [accordion] Customer support > > **Recommendation:** ElevenLabs. > > Premium voice quality is what customers remember. ElevenLabs also supports a published voice agent that can be embedded in support widgets via the [Chat Completions API](/mdx/integrations/chat-completions/introduction) bridge. > [accordion] Sales demos / training > > **Recommendation:** Anam Avatar. > > A lifelike animated avatar dramatically raises perceived presence — useful for product demos, role-play training, and onboarding videos. Pair it with your conversation model of choice for the brains, and Anam handles voice + lipsync + video. > [accordion] Accessibility > > **Recommendation:** Anam Avatar or OpenAI Realtime with transcripts enabled. > > For users who benefit from a visible speaking face (lip-reading, comprehension support), Anam adds an avatar. For audio-only accessibility, enable the live transcript so users can read along. > [accordion] Coding assistant or technical content > > **Recommendation:** OpenAI Realtime or Gemini Live. > > Native-audio models handle code-heavy content and technical terms well. An avatar can struggle to render code snippets in spoken form. *** ## Tradeoffs **Voice quality** is highest with ElevenLabs and Cartesia (dedicated TTS engines) and with the Anam avatar when paired with a quality voice. Native-audio models (Gemini Live, OpenAI Realtime, xAI Realtime) sound natural and conversational but don't expose voice cloning. **Latency** is lowest with OpenAI Realtime via WebRTC, followed closely by Gemini Live and xAI Realtime over WebSocket. ElevenLabs adds a small additional hop because Pria acts as the brain via Custom LLM. The avatar provider adds video rendering on top. **Cost** depends on whether you bring your own vendor key (BYOK) or use Pria-included credits. In Convo Mode every provider is charged for the model that answers; **GPT-Live** adds a per-second charge for the conversation time. An Anam avatar adds no per-minute charge in Convo Mode, but sent into a meeting it is billed per minute — see [Anam Avatar](/mdx/integrations/anam/introduction#cost-notes). **Tools during a call.** On Anam, Cartesia, GPT-Live, OpenAI Realtime and xAI, the twin waits at most about 6 seconds for a tool; a longer job keeps running in the background and the twin tells you the result on your next turn. Gemini Live waits for the tool to finish. How each provider asks before a connector tool runs is in [MCP in Real-Time Voice Conversations](/mdx/integrations/mcp/introduction#mcp-in-real-time-voice-conversations). *** ## Where Avatars Matter Avatars are not always the right answer — they add cost and a layer of visual polish that can distract from purely informational use cases. Consider an avatar when: * **Sales demos** — a face on screen makes the product feel "alive" and quotable in marketing. * **Training & onboarding** — embodied presence raises engagement and retention for long-form content. * **Accessibility** — visible mouth movement supports lip-reading and comprehension. * **Marketing landing pages** — a greeter avatar is more memorable than a chat widget. Skip the avatar for fast Q\&A, code help, or text-heavy conversations where users want to read along. > [!TIP] > > You can also put an Anam-powered avatar on an **external website** — visitors talk to it without signing in to Pria. See the [Avatar Embed Widget](/mdx/integrations/web/avatar-widget). *** ## Setup Overview Each provider has its own setup page with detailed steps: > [card] [ElevenLabs Voice Agent](/mdx/integrations/elevenlabs/introduction) > > Connect an ElevenLabs ConvAI agent to Pria as a Custom LLM, deploy embeddable widgets. > [card] [Gemini Live Voice](/mdx/integrations/gemini-live/introduction) > > Google's native-audio WebSocket API for low-latency multilingual voice. > [card] [Anam Avatar](/mdx/integrations/anam/introduction) > > Lifelike animated avatar driven by your choice of conversation model. > [card] [OpenAI Realtime, GPT-Live and xAI](/mdx/admin-guide/realtime-voice) > > Configure built-in realtime providers from the Admin guide. > [card] [Cartesia Voice](/mdx/admin-guide/realtime-voice) > > Expressive voices (including clones) with Pria doing the listening and thinking — configured from the Admin guide. At a high level, every setup follows the same order: 1. **Turn Convo on** — on **Configuration and Integrations**, under **Realtime / Convo**, tick **Enable Convo (Speech-to-Speech)**. 2. **Choose the provider** — on **Personalization and AI Models**, set **Speech-to-Speech Model** to one of that provider's models. The provider-specific settings appear only after this. 3. **Fill in what that provider needs** — nothing extra for OpenAI (Realtime or GPT-Live), Gemini or xAI when Praxis AI's platform keys are in use (add your own key under **API Keys** if you want the usage on your own account); an agent ID and key for ElevenLabs, plus **Enable Chat Completion endpoint**; a voice for Cartesia; the avatar for Anam (see [Anam Avatar](/mdx/integrations/anam/introduction)). 4. **Decide on the voice** — leave it to each user, or fix one for everyone, where the provider offers a choice. *** ## Multi-Provider Strategy Pria does not force a single voice provider per organisation. Common patterns: * **One provider per Digital Twin, per-assistant model overrides.** The voice provider is a Twin-level choice, but on the providers where Pria does the thinking — ElevenLabs, Cartesia, GPT-Live and Anam — each assistant can override the **model** used for its voice turns with **STS / Voice Conversation Model**: a fast model for a snappy Sales assistant, a deeper one for a Research Tutor. (OpenAI Realtime, Gemini and xAI think inside their own voice model, so there's nothing to override.) * **Different Digital Twins, different providers.** A K-12 tutoring Twin uses Gemini Live for multilingual support; a corporate training Twin uses Anam for an avatar-led experience. * **Per-user voice choice.** Where the provider offers a voice list, users can pick a voice in the Convo widget without changing the provider. This flexibility lets you optimize for the right tradeoff per use case rather than locking the whole organisation into one vendor's strengths and weaknesses. *** ## Per-User Voice Preferences On **OpenAI Realtime**, **OpenAI GPT-Live**, **Gemini Live** and **xAI Realtime**, each user picks a voice in Convo Mode, and Pria remembers their pick. It belongs to the person, so it follows them to every Digital Twin that uses the same provider. The provider itself is an admin decision. Two things turn the selector off: * **The admin fixed a voice.** Setting the Digital Twin's voice to anything other than *User's Choice* gives everyone that voice and hides the selector. * **The provider carries its own voice.** ElevenLabs uses the voice of its agent, Cartesia the voice set on the Digital Twin, and the Anam avatar its own voice — none offers a per-user choice. This is useful when: * Different team members have different voice preferences for accessibility or focus. * Users want a male/female/neutral voice without affecting the rest of the Digital Twin. * A user is testing voices before recommending a new default to their admin. *** ## Related * [ElevenLabs Voice Agent](/mdx/integrations/elevenlabs/introduction) — Premium voice via ConvAI + Custom LLM bridge * [Gemini Live Voice](/mdx/integrations/gemini-live/introduction) — Google native-audio WebSocket API * [Anam Avatar](/mdx/integrations/anam/introduction) — Lifelike animated avatar for Convo Mode * [Avatar Embed Widget](/mdx/integrations/web/avatar-widget) — Embed the talking avatar on external websites * [Realtime Voice & Avatars (Admin Guide)](/mdx/admin-guide/realtime-voice) — Per-Digital-Twin configuration * [Convo Mode (User Guide)](/mdx/user-guide/interface/convo-speech) — End-user guide for voice conversations # Avatar Embed Widget Source: https://docs.praxis-ai.com/mdx/integrations/web/avatar-widget Put your Digital Twin's talking avatar on any external website — visitors converse with it without signing in to Pria. The **Avatar Embed Widget** lets you drop your Digital Twin's animated, talking avatar onto any website. Visitors click the launcher, grant microphone access, and speak with the avatar — no Pria account, no sign-in. Your Digital Twin stays the brain (instructions, knowledge vault, tools); the avatar handles voice and video. > [!NOTE] > > The widget requires an **Anam avatar** configured on the Digital Twin (avatar, voice, intro message). The widget always uses it, whatever voice provider the twin uses in Convo Mode. Set it up first — see [Anam Avatar](/mdx/integrations/anam/introduction). > [!WARNING] > > **Cost warning.** Every visitor conversation consumes the Digital Twin's **pooled credits**. Built-in rate and session limits bound worst-case spend, but always keep the origin allowlist tight before going live. *** ## How it works ``` Visitor's browser → widget loader → Pria public embed endpoint → avatar session (embed key only) (origin-checked) (your Twin answers) ``` * The browser only ever holds a **public embed key** and a short-lived session token kept **in memory** — nothing is written to cookies or local storage, and no server API keys or Pria app credentials are involved. * Each visit gets its own **visitor account**, created automatically. Memory is off for visitors, and they cannot pick an assistant. * Every conversation is **recorded and billed like any other**: it appears in the twin's history with the credits each exchange used. Visitors who open the widget but never speak are removed automatically. * The avatar answers with your Digital Twin's own model, knowledge and tools. Visitors are anonymous, so turn off any tool they should not be able to trigger (**Instance Settings → Tools**). ## Privacy policy If the Digital Twin's account has a privacy policy, the widget shows it before the conversation starts. The visitor selects **I accept** to talk, or **Not now** to close. Because every visit is a new visitor, each visit asks again, and an updated policy is shown with a note. *** ## Enable the embed (admin) **1. Configure the Anam avatar** Make sure the Digital Twin has an Anam avatar and voice configured — see [Anam Avatar](/mdx/integrations/anam/introduction). Without it, embed sessions cannot connect. **2. Turn on the embed** In the admin area, edit your Digital Twin and turn on **Allow React Component Embed** (Configuration → **Access & Membership**). Embedding is **off by default** — while it's off, every widget request is refused. **3. Make sure the twin pools credits** Visitors have no credits of their own, so **Pool Credits** must be on. A twin that does not pool credits refuses widget sessions. **4. Allow your site's origin** Add your site to the twin's **Public Authorized URLs** (under **Integrations**) as an exact `scheme://host[:port]` origin (e.g. `https://example.com`, `http://localhost:3000`). **No wildcards, no paths.** Unlike the Web SDK, the widget does not accept subdomains of a listed site. Only pages served from listed origins can start widget sessions — requests from anywhere else get a `403`. **5. Generate the install snippet** Open the **Integration Wizard** (Instance Settings → **Integration**, or the **Integration** button above the admin **Instances List**), pick the **Avatar widget** target, and copy or download the generated code. It comes preconfigured with your twin's embed key and display options, and warns you while the embed is off. > [!NOTE] > > The **embed key is the Digital Twin's Public ID** — a public identifier, not a secret. The security boundary is the origin allowlist plus the built-in usage limits, so keep the allowlist tight. *** ## Install the widget ### Script tag (any site) ```html theme={null} <div id="pria-avatar"></div> <script src="https://pria.praxislxp.com/avatar-widget/v1/loader.js" data-embed-key="YOUR_TWIN_PUBLIC_ID" data-mount="#pria-avatar" data-api-base-url="https://pria.praxislxp.com/api/public/avatar/embed" data-theme="light" data-mode="launcher" data-title="Your Twin's Name" async></script> ``` Options via `data-*` attributes: `data-theme` (`light` | `dark`), `data-mode` (`launcher` for a floating button, `inline` for an embedded panel), `data-title` (header text), and `data-skip-mic-prompt="true"` to skip the microphone pre-prompt. The loader adds a single `window.PriaAvatar` global and one scoped stylesheet. Multiple widgets per page are supported when each has its own mount element. ### JavaScript / React apps (imperative mount) In a single-page app, load the same script (without the `data-*` attributes) and mount when your component is ready. `mount()` returns a function that unmounts the widget — call it when your component goes away: ```javascript theme={null} const unmount = window.PriaAvatar.mount({ embedKey: 'YOUR_TWIN_PUBLIC_ID', mount: '#pria-avatar', apiBaseUrl: 'https://pria.praxislxp.com/api/public/avatar/embed', theme: 'light', // 'light' | 'dark' mode: 'launcher', // 'launcher' (floating button) | 'inline' (embedded panel) title: "Your Twin's Name", onSessionStart: () => {}, onSessionEnd: () => {}, onError: (err) => console.error('Pria avatar error', err), }); ``` > [!TIP] > > The [Integration Wizard](/mdx/integrations/web/introduction#fastest-path-the-integration-wizard) generates both variants for you, prefilled with your twin's embed key. *** ## Lifecycle controls You control the embed through the Digital Twin's own settings: | Action | Effect | | - | - | | **Turn Allow React Component Embed off** | Stops all new widget sessions for the twin | | **Remove an origin from Public Authorized URLs** | Blocks pages on that origin from starting sessions | | **Deactivate the Digital Twin or its account** | Disables the embed along with everything else | Every change is checked on the visitor's **next request** — fail-closed. *** ## Built-in limits Every embed is protected by automatic platform limits — no configuration required: * **Session creation rate** — 30 per minute per visitor address * **Sessions per day** — 500 per Digital Twin * **Concurrent sessions** — 25 per Digital Twin * **Turns** — 50 per session, at most 30 per minute, one at a time * **Session duration** — 30 minutes, plus a 5-minute idle timeout * **Credit check** — every turn is checked against the twin's pooled credit balance before it runs *** ## Billing behavior Each completed voice turn is billed against the Digital Twin's pooled credits the moment the turn finishes, under the same rules as any conversation: the twin's balance, automatic top-ups from its account, and any credit limits you set (per user, per twin or per 24 hours). If a visitor closes the tab mid-conversation, completed turns are already accounted for and abandoned sessions are closed automatically — nothing is double-charged. *** ## Troubleshooting | Symptom | Fix | | - | - | | Widget shows an error immediately | Check the embed key matches the twin's Public ID, **Allow React Component Embed** is on, and the twin pools credits | | `403 Forbidden` in the network tab | The page's origin isn't in the twin's **Public Authorized URLs** — entries must match exactly (scheme, host, port) | | "Please accept the privacy policy…" | The visitor closed the policy; it must be accepted before talking | | Avatar never connects | Verify the Anam avatar/voice binding on the Digital Twin and the Anam account status | | Sessions end abruptly | You may be hitting the built-in limits (turns per session, session duration, idle timeout) or the twin is out of credits | *** ## Related * [Anam Avatar](/mdx/integrations/anam/introduction) — Configure the avatar the widget displays * [Embed your Digital Twin (Web SDK)](/mdx/integrations/web/introduction) — Full chat UI embed for signed-in or identified users * [Voice & Realtime Providers](/mdx/integrations/voice-providers/overview) — Compare avatar and voice options # Websites Examples Source: https://docs.praxis-ai.com/mdx/integrations/web/examples Take a look at our partner sites featuring integration through the Web SDK. ## Example Sites Explore how partner organizations embed Digital Twins using our Web SDK. Each site demonstrates a unique integration scenario, leveraging the flexibility of the SDK for varied user experiences. > [card] [Mary](https://www.visionloftevents.com/) > > ![Screenshot of the 'Mary' Digital Twin integration at Vision Loft Events, showing chatbot embedded on the site.](https://mintcdn.com/praxisai/kykHd4cobeHLACGX/images/sdk/visionloftevents.jpg?fit=max\&auto=format\&n=kykHd4cobeHLACGX\&q=85\&s=d71001daf4220ef5f9879f86297847cf) > [card] [Praxis Powered](https://praxis-ai.com) > > ![Screenshot of Praxis Powered partner website with Digital Twin integration using the Web SDK.](https://mintcdn.com/praxisai/kykHd4cobeHLACGX/images/sdk/praxispowered.jpg?fit=max\&auto=format\&n=kykHd4cobeHLACGX\&q=85\&s=5adaddece89680ad6fdef76c417a6639) > [card] [HoloLife](https://hololife.ai/) > > ![Screenshot of the HoloLife site.](https://mintcdn.com/praxisai/YSX5NViwiRnf9PcY/images/sdk/hololife.jpg?fit=max\&auto=format\&n=YSX5NViwiRnf9PcY\&q=85\&s=799baab05950841a60eb4d978acaf887) ## How Integration Works All the showcased sites above leverage the flexibility of our Web SDK for Digital Twin deployment. Review the [integration guide](/mdx/integrations/web/introduction) for further technical details or see the [SDK Playground Example](https://pria.praxislxp.com/pria-sdk-web-sample.html) for live demonstrations. > [!TIP] > > The fastest way to embed a Digital Twin is the built-in **Integration Wizard** — it generates ready-to-use code (web page, React, Flask, Canvas, and more) with a live preview. Find it under **Instance Settings → Integration**. See the [integration guide](/mdx/integrations/web/introduction#fastest-path-the-integration-wizard). ## Accessibility Note Each example includes an image description for users utilizing screen readers or requiring more accessible content. *** # Guest Twin Links Source: https://docs.praxis-ai.com/mdx/integrations/web/guest-links Give a Digital Twin a public web address anyone can open — no sign-in, no embedding code A **guest twin link** is a short public web address that opens one Digital Twin in a clean, full-screen page. Anyone who has the link can talk to the twin immediately — no Pria account, no sign-in, and nothing to install on your own website. ``` https://pria.praxislxp.com/twins/your-twin-name ``` Use it for a conference booth, a QR code on a poster or badge, a link in an email or slide deck, or any moment where asking someone to create an account would lose them. > [!NOTE] > > This is different from the [Web SDK](/mdx/integrations/web/introduction), which embeds a twin **inside your own site** and can carry your users' identities. A guest link is a standalone page hosted by Pria, and everyone who opens it is anonymous. ## What a working guest link needs A guest link has four requirements, and a twin missing any one of them looks published while visitors can't actually talk to it. Check all four before you share an address: | Requirement | Where | Why | | - | - | - | | **A web address** | **Convo Web Access Link** | Makes `…/twins/<name>` open at all | | **`https://pria.praxislxp.com` in the authorized web addresses** | **Public Authorized URLs** for the twin (under **Integrations**) | Lets the page sign the visitor in as a guest | | **Convo switched on, and not limited to administrators** | **Enable Convo (Speech-to-Speech)** on, **Convo Admin Only** off | A visitor is never an administrator | | **An avatar and a voice** | Anam avatar settings | There is nothing to speak with otherwise | > [!WARNING] > > **The second one is the trap.** With the web address set but `https://pria.praxislxp.com` missing from the authorized addresses, a visitor sees the avatar's picture, waits about thirty seconds, and gets "Having trouble connecting. Tap to retry" — with nothing naming the cause. The link looks live and is not. If a guest link stalls on that message, check this first. ## Setting it up **1. Open your Digital Twin's settings** In the admin area, edit the Digital Twin and go to the **Configuration and Integrations** tab, then the **Realtime / Convo** section. **2. Make sure guests are allowed to start a conversation** **Enable Convo (Speech-to-Speech)** must be on, and Convo must not be limited to administrators. If either is wrong, the address field refuses the entry and tells you which switch to change — a guest could never use the link anyway. **3. Choose a web address** In **Convo Web Access Link**, enter a short name — letters, numbers, and hyphens. For example `nova` produces `…/twins/nova`. Names are at least two characters, can't be all digits, and a few reserved words are refused. **4. Add the site to the twin's authorized addresses** Add `https://pria.praxislxp.com` to the twin's **Public Authorized URLs** (under **Integrations**), so the guest page can sign visitors in. Without it the link opens but never connects. **5. Save, then share the link or the QR code** Once saved, the full link appears with a **copy** button and a **QR code** beside it. Copy the link for email and slides, or let people scan the QR from a screen, poster, or badge. > [!NOTE] > > **If you later switch Convo off, or limit it to administrators**, an existing link is flagged so you can see it has stopped working for guests — and you can still clear the address to take it down. > [!WARNING] > > **The link is public by design.** Anyone who has it — or scans the QR — can talk to the twin and consume credits from whichever pool the twin bills to. There is no separate "publish" switch: setting the address makes the twin reachable. Clear the field to take it offline again. ## What visitors experience Visitors land on a full-screen page carrying your twin's name, picture, and background, with a light/dark toggle. * **It opens straight into a live voice conversation** when **Start Immersive Mode by Default** is on for the twin (same section, just above the link). The page shows a single **Tap to start talking** button — visitors are never asked to choose between voice and text. That one tap is required by the browser itself: no site can open a microphone or play audio without a deliberate gesture. * **If voice isn't available** — no microphone, a denied permission prompt, or voice not enabled for the twin — the page falls back to the familiar text chat, so it is never a dead end. * **Visitors are never asked for their location.** Location-aware answers are a signed-in feature; guests are never prompted. * **A privacy policy comes first.** If the twin's account has a privacy policy, visitors read and accept it before they can chat or talk. * **Visitors stay anonymous.** Each browser gets its own guest identity, with no profile or account to manage, and nothing is added to a personal vault. Reloading the page keeps the visitor on the guest page. ## Choosing what guests can do The guest page shows the twin exactly as configured, so the settings that shape it are the twin's own: | Setting | Where | Effect on the guest page | | - | - | - | | **Convo Web Access Link** | Configuration and Integrations → Realtime / Convo | Creates (or removes) the public address and its QR code | | **Start Immersive Mode by Default** | Same section | Whether the page opens into voice or into text chat | | **Enable Convo (Speech-to-Speech)** | Same section | Whether a voice conversation is possible at all | | **Lock full-screen conversation** | Same section | Keeps kiosk visitors in the conversation until the call ends | | **Guest UI (Minimum screen)** | Personalization and AI Models → UI & Appearance | Trims the interface to the minimum for guests | ## Good practice * **Pick a memorable address.** `…/twins/nova` reads better on a badge than a long identifier, and it is what people will type from a slide. * **Watch the credit pool.** A public link means public spend. Keep an eye on usage during an event, and clear the address when the event is over. * **Test the QR before you print it.** Scan it from the admin screen with a phone on a different network to be sure the page loads the way you expect. * **Retire it deliberately.** Clearing the field takes the page offline immediately; anyone who kept the old link gets a not-found page. * **Cloned twins get their own link.** A copy of the Digital Twin never shares the original's address: it gets a new one derived from it. Rename it before you share the clone. # Embed your Digital Twin Source: https://docs.praxis-ai.com/mdx/integrations/web/introduction Embed your Digital Twin in any Web application using the Web SDK. > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. ## Fastest path: the Integration Wizard The quickest way to embed your Digital Twin is the built-in **Integration Wizard** — a visual configurator that generates ready-to-use embed code for you. You pick where the twin will run, configure how the widget looks and behaves with a live preview, then copy or download the finished file. No hand-editing of SDK templates required. > [!NOTE] > > The wizard replaces the old copy-and-edit-a-template workflow for most integrations. The manual [Installation](#installation), [Integration](#integration), and [Configuration](#configuration-parameters) steps below are still fully supported for when you want complete control or to understand what the generated code does. ### Where to find it > [card] Instance Settings → Integration > > Open your Digital Twin's **Instance Settings** and select the **Integration** tab. The wizard is preset to the current twin, so you go straight to choosing a target. > [card] Admin Instances List → Integration > > Admins can open the wizard from the **Integration** button above the admin **Instances List** and pick which Digital Twin to generate code for. To open Instance Settings from a conversation, open the **+** options menu in the message bar, choose **Settings**, then the row with your Digital Twin's picture and name (it reads **Instance** when the twin has no AI name), and select the **Integration** screen. Every screen of that panel is described in [Instance Settings](/mdx/user-guide/profile-settings/instance-settings#integration). ![Digital Twin home screen with the plus options button in the message bar highlighted.](https://mintcdn.com/praxisai/GPVWVmtUUrjWVH4C/images/integrations/web/wizard-open-options.webp?fit=max\&auto=format\&n=GPVWVmtUUrjWVH4C\&q=85\&s=7306812f075082f06c9270c61b45e6b6) Open the + options menu in the message bar. ![Options menu open with the Settings item highlighted.](https://mintcdn.com/praxisai/GPVWVmtUUrjWVH4C/images/integrations/web/wizard-open-settings.webp?fit=max\&auto=format\&n=GPVWVmtUUrjWVH4C\&q=85\&s=6f48d99ada73254d0580a00076f24a17) Select Settings from the options menu. ![Settings submenu with the Instance item highlighted.](https://mintcdn.com/praxisai/GPVWVmtUUrjWVH4C/images/integrations/web/wizard-settings-instance.webp?fit=max\&auto=format\&n=GPVWVmtUUrjWVH4C\&q=85\&s=b7a17e7235d61b4f830806ad53f3fabc) Choose your Digital Twin's row to open Instance Settings. ### How it works **1. Choose your Digital Twin** From the admin Instances list, select the twin to embed. (Skipped when you launch from Instance Settings — it uses the current twin.) The wizard warns you if the twin has no picture, since the widget button would otherwise show Pria's default logo. **2. Pick a target** On the **Integration** tab, choose where the twin will run: | Target | Generates | | - | - | | **Web page (JavaScript)** | A single script for any website — loads on page ready, or wires up your own button. | | **React component** | A drop-in `<PriaWidget />` with mount/unmount lifecycle handled. | | **Python-served page (Flask)** | A minimal Flask app serving a page with the widget pre-configured. | | **Canvas LMS theme** | Custom JavaScript for your Canvas theme — every course page gets the twin. | | **Claude (LLM instructions)** | A drop-in `CLAUDE.md` that teaches Claude to drive the twin through the REST API, and to search its knowledge over MCP with the **MCP Server Secret**. | | **Avatar widget** | The two-tag [talking-avatar embed](/mdx/integrations/web/avatar-widget) for any website. | ![Instance Settings Integration tab showing the target picker with Web page, React, Flask, Canvas, Claude and Avatar options.](https://mintcdn.com/praxisai/GPVWVmtUUrjWVH4C/images/integrations/web/wizard-integration-tab.webp?fit=max\&auto=format\&n=GPVWVmtUUrjWVH4C\&q=85\&s=d5a05b5c4c65e927363978dd4b1cc72f) The Integration tab with the target picker. **3. Configure appearance & behavior** Use the visual configurator (with a live preview) to set the button position, button size, and toggles such as **full screen**, **open on load**, and **Start in Convo mode** (voice). **Show advanced options** adds **Allow pop-out**, **Headless (no UI)** and custom container IDs. Headless loads the twin with no visible panel, for pages whose own code drives it. Don't use it when the Digital Twin's account asks people to accept a privacy policy: without the panel nobody can accept it, and the twin will not answer. ![Integration wizard appearance step showing position presets, button size, and behavior toggles.](https://mintcdn.com/praxisai/GPVWVmtUUrjWVH4C/images/integrations/web/wizard-appearance.webp?fit=max\&auto=format\&n=GPVWVmtUUrjWVH4C\&q=85\&s=7c4251981dc22897116d0013f5fbb24f) Configure the widget's position, size and behavior with a live preview. **4. Get the code** Preview the generated file, then **copy it to your clipboard** or **download it**. Paste it into your site — it works as-is once your site is allowed (next section). Above the code, the wizard shows the sites this Digital Twin accepts. ![Integration wizard code step showing the generated snippet with copy and save controls.](https://mintcdn.com/praxisai/GPVWVmtUUrjWVH4C/images/integrations/web/wizard-get-code.webp?fit=max\&auto=format\&n=GPVWVmtUUrjWVH4C\&q=85\&s=0bac368301d8a96022de33f5488e7a34) Preview the generated code, then copy or download it. ### Allow your site first > [!WARNING] > > The web page, React, Flask and Canvas code only starts on a site listed in the Digital Twin's **Public Authorized URLs**. On any other site, Pria refuses to open, and the browser console shows `Pria SDK: Failed to sign launch parameters Unauthorized origin`. Before you paste the code, add the address of each site that will run it: * **A website or app:** its address, such as `https://www.example.edu`. An entry also covers the site's subdomains. * **Canvas:** your Canvas address, such as `https://school.instructure.com`. * **The Flask app on your own computer:** `http://localhost` as well, while you try it. The list is in the Digital Twin's full editor, under **Integrations** — see [Public Authorized URLs](/mdx/admin-guide/branding-and-domains#public-authorized-urls). The generated file repeats this requirement at the top, and the wizard warns you when the list is empty. The [avatar widget](/mdx/integrations/web/avatar-widget) has its own rule on its page, and the Claude target calls the API directly, so it needs no entry. ### Visitor identity The wizard offers a **Visitor mode** toggle that decides how users are identified: * **On (default):** the generated code gives each visitor a reusable guest identity (kept in a cookie) — no sign-in required. Dormant guests are cleaned up automatically, except on a Digital Twin that pools credits, where they accumulate (the wizard warns you). Ideal for public, anonymous embeds. * **Off:** the generated code leaves a clearly marked gap where you plug in your own sign-in, so you can pass real user details (email, name, course, etc.) from your application. > [!TIP] > > Prefer to hand-code your integration, or want to understand exactly what the wizard produces? Keep reading — the sections below walk through installing the SDK and configuring it manually. *** ## Integration Process The integration process is straightforward: * Download and install the Web SDK, * Choose between Limited or Standard Integration * Further configure your integration (digital twin, user identity, display options) > [!NOTE] > > Looking for a **voice avatar** instead of the full chat UI? The [Avatar Embed Widget](/mdx/integrations/web/avatar-widget) puts your Digital Twin's talking avatar on any website with a single script tag — visitors converse with it anonymously, no user identity required. > [card] [Installation](#installation) > > Download the Web SDK and install the Javascript file in your website. > [card] [Integration](#integration) > > Choose between limited or standard integration option to integrate into your website. > [card] [Configuration](#configuration-parameters) > > Customize the setup to specify which Digital Twin to connect to, User Identity and various display options. *** ## Prerequisites Before you begin, ensure you have: * [ ] **Web development access** to your target website or application * [ ] **A Praxis AI Digital Twin** created at [pria.praxislxp.com](https://pria.praxislxp.com) * [ ] **Your Digital Twin's Public ID** (shown with a copy button in **Instance Settings → General**) * [ ] **HTTPS enabled** on your website (required for secure SDK communication) * [ ] **Your site's address added to Public Authorized URLs** in the Digital Twin's settings — every embed needs it, not only public twins (see [Allow your site first](#allow-your-site-first)) > [!TIP] > > **Estimated setup time:** 10-15 minutes for Limited Integration, 30+ minutes for Standard Integration with custom logic. *** ## Installation Download the Pria Web SDK file and save it locally on your website under the name `pria-sdk-web.js` ``` https://pria.praxislxp.com/pria-sdk-web.js ``` This SDK provides all routines for secure initialization and integration with your Digital Twin in a web application. > [!NOTE] > > For Canvas LMS integration, refer to [Custom Theme Canvas Install Guide](/mdx/integrations/canvas/theme) > [!WARNING] > > **Public Digital Twin Security Considerations** > > When making a Digital Twin publicly accessible (without user authentication), you must take the following precautions: > > 1. **Credit Management** (in the Digital Twin's editor) > * Turn off **Pool Credits**, so each guest spends their own credits instead of the twin's shared balance > * Set **Credits Awarded to New Users** to a small amount (e.g., 50 credits) > * Turn on **Guest UI (Minimum screen)** for anonymous access > * Turn off **Use Location** to prevent unwanted pop-ups > 2. **Access Control** > * Add your domain (e.g., `https://your-domain.com`) to the list of **Public Authorized URLs** > * Only domains in this list will be able to embed and access the Digital Twin > 3. **Tool Restrictions** > * In **Instance Settings → Tools**, keep only the tools guests need (the **Minimal** preset is a good start) and turn off tools that act on the outside world, such as `call_rest`, `send_email`, `call_canvas` and `save_to_file` > * This reduces token usage and prevents malicious use of system capabilities > 4. **Prompt Engineering** > * Carefully craft your system prompt to keep conversations on-topic > * Include guardrails to prevent users from repurposing the Digital Twin for unrelated queries > > Public-facing Digital Twins are inherently more vulnerable to abuse. Users may attempt to exploit the credit system or use the AI for purposes beyond its intended scope. ## Integration Choose the integration approach that matches your JavaScript skill level and requirements — **Limited** embeds the UI with minimal code, the **Starter Kit** ships two ready-to-use examples, and **Standard** gives you full programmatic control. > [tab] Limited > > Embed the Digital Twin UI in your website header with: > > ```html theme={null} > <script src="pria-sdk-web.js"></script> > ``` > > > [!NOTE] > > > > The `pria-sdk-web.js` file is the SDK you downloaded. Optionally, place this in a directory, e.g., `/assets/js/pria-sdk-web.js`. > > Basic initialization for DOM-ready load: > > ```javascript theme={null} > window.addEventListener('DOMContentLoaded', (event) => { > // loading logic > }) > ``` > > Adjust parameters in the SDK for your Digital Twin, user identity, and display preferences: > > ```javascript theme={null} > const instanceConfig = { > publicId: 'f831501f-b645-481a-9cbb-331509aaf8c1', > pictureUrl: 'https://cdn.domain.com/pics/dt_1.png' > } > > const userConfig = { > email: `john@doe.com`, > profilename: `John Doe`, > } > > const displayOptions= { > buttonPositionRight: 'calc(50% - 40px)', > buttonPositionBottom: '80px' > } > > PriaIntegration.loadSdk('https://pria.praxislxp.com', displayOptions, instanceConfig, userConfig); > > ``` > > > [!WARNING] > > > > For security, retrieve these values from a secure, asynchronous source to avoid exposing sensitive data. > [tab] Starter Kit > > Download the [Example Starter Kit](https://pria.praxislxp.com/integration-samples.zip) to get started with two ready-to-use integration examples. > > > [card] [PriaIntegration Class](#integration-sample) > > > > Easy Setup Text interface: Use the helper class for quick setup with minimal code. > > > [card] [Direct SDK Control](#sdk-sample) > > > > Initialize and start Convo Mode: Load the SDK directly for full control over events and behavior. > > #### Integration Sample (integration-sample.html) > > This example demonstrates using the `PriaIntegration` class from `pria-sdk-web.js` for a streamlined integration: > > ```javascript theme={null} > // Load SDK with PriaIntegration helper class > PriaIntegration.loadSdk(baseUrl, displayOptions, instanceConfig, userConfig); > > // Wait for SDK to be ready > const timer = setInterval(() => { > if (window.pria && window.pria.isReady && window.pria.isReady()) { > clearInterval(timer); > // SDK is ready - user can interact with the button > } > }, 100); > > // Clean termination > PriaIntegration.destroySdk(); > ``` > > **Best for:** Quick integrations where you want the Digital Twin button to appear and let users click to start conversations naturally. > > #### SDK Sample (sdk-sample.html) > > This example loads the remote `pria-sdk.js` directly — the core SDK that `pria-sdk-web.js` wraps and loads for you — giving you full control over events and conversation flow: > > ```javascript theme={null} > // Load SDK script directly > const script = document.createElement('script'); > script.src = `${BASE_URL}/pria-sdk.js`; > script.onload = () => { > window.priasdk(BASE_URL, userConfig, PUBLIC_ID, pictureUrl, displayOptions); > waitForReady(setupPria); > }; > > // Subscribe to events for granular control > window.pria.subscribe((response) => { > const command = response?.response?.command; > > if (response.type === 'pria-response' && command === 'convo.start') { > // Conversation started - show the UI > window.pria.setVisible(true); > } > }); > > // Programmatically start conversation > window.pria.send({ command: 'convo.start' }); > ``` > > **Best for:** Advanced integrations requiring: > > * Custom loading indicators while connecting > > * Automatic conversation start on button click > > * Error handling with retry logic > > * Visibility control based on connection state > > > [!TIP] > > > > The SDK Sample hides the Digital Twin UI until the conversation is confirmed started, providing a smoother user experience with loading feedback. > [tab] Standard > > For full control, use JavaScript to configure and load the SDK. > > Configuration object example: > > ```javascript theme={null} > > // Configuration > let config = { > displayOptions: { > buttonPositionRight: 'calc(50% - 40px)', > buttonPositionBottom: '80px' > }, > instanceConfig: { > publicId: 'f831501f-b645-481a-9cbb-331509aaf8c1', > pictureUrl: 'https://cdn.domain.com/pics/dt_1.png' > }, > userConfig: { > email: 'john@doe.com', > profilename: 'John Doe', > usertype: 1, > userid: 110, > roleid: 123, > rolename: "Course ABC", > partnerid: 1, > partnername: "ABC Global Inc." > }, > ... other useful configuration objects > }; > ``` > > > [!NOTE] > > > > This object configures display, which Digital Twin to use, and user identity. > > Load the SDK: > > ```javascript theme={null} > /** > * Load the Pria SDK > */ > loadPriaSDK() { > return new Promise((resolve, reject) => { > > const script = document.createElement('script'); > script.src = 'pria-sdk-web.js'; > script.async = true; > > script.onload = () => { > > PriaIntegration.loadSdk( > 'https://pria.praxislxp.com', > config.displayOptions, > config.instanceConfig, > config.userConfig > ); > > resolve(); > }; > > script.onerror = (error) => { > reject(new Error('Web SDK loading failed')); > }; > > document.body.appendChild(script); > }); > } > > // usage > await loadPriaSDK(); > ``` > > > [!NOTE] > > > > The SDK file should be the copy you installed. You can organize includes under `/assets/js/` as needed. > > For a full example, see [SDK Playground Example](/mdx/sdk/javascript-examples#sdk-playground-example). ## Configuration Parameters The SDK requires three objects: `displayOptions`, `instanceConfig`, and `userConfig`. ### Display Options The `displayOptions` object controls the display and behavior of your digital twin on screen. ```javascript theme={null} let displayOptions = { fullScreen: false, // Expand in full screen mode openOnLoad: false, // Open Pria immediately when loaded buttonWidth: '80px', // Size of the Pria logo button buttonPosition: 'fixed', // Button position type (fixed, relative, sticky) buttonPositionRight: '20px', // Distance from right edge buttonPositionBottom: '20px', // Distance from bottom edge buttonNoBounce: true, // Disable button bounce animation priaContainerId: '', // Container ID for Pria window (default: BODY) buttonContainerId: '', // Container ID for button (default: BODY) allowPop: false, // Allow popping out of containing iframe noUI: false, // Disable UI for headless operation convoMode: false, // Auto-start convo (voice) mode when ready assistantId: '', // Pre-select an assistant for TEXT mode at load transcripts: false, // Receive live voice transcripts (see the JavaScript SDK page) onAuthRequired: null // Called when Pria asks the person to confirm it's them (see below) } ``` > [!TIP] > > Set `noUI: true` to use Pria programmatically without the visual interface > [!TIP] > > Adjust `buttonPositionRight` with CSS for positioning, e.g., `calc(50% - 40px)` for center alignment. ### Convo Mode (`convoMode`) The `convoMode` display option lets you auto-start real-time voice (speech-to-speech) mode as soon as the Digital Twin determines that voice is available for the current user. This is useful when you want your application to launch directly into a voice experience without requiring the user to navigate through the text interface first. **How it works:** After the user authenticates, the SDK receives a `convo.ready` event from the Digital Twin indicating whether real-time voice is authorized. When `convoMode` is enabled, the SDK automatically sends a `convo.start` command and opens the UI panel. **Values:** | Value | Behavior | | - | - | | `false` (default) | No auto-start. Voice mode must be started manually. | | `true` | Auto-start voice mode with the default assistant in a new conversation. | | `{ conversationId, conversationName, assistantId }` | Auto-start voice mode targeting a specific conversation and/or assistant. All fields are optional. | **Simple auto-start:** ```javascript theme={null} let displayOptions = { convoMode: true, fullScreen: true, openOnLoad: true } ``` **Targeted auto-start with a specific assistant and conversation:** ```javascript theme={null} let displayOptions = { convoMode: { conversationId: 123, // maps to course_id conversationName: 'Customer Onboarding', // maps to course_name assistantId: '6bec24be-4e86-4071-b90f-d588' // target assistant _id }, fullScreen: true, openOnLoad: true } ``` > [!NOTE] > > `convoMode` requires that real-time voice (convo) is enabled for the user on this Digital Twin. If voice is not authorized, the flag is silently ignored and the text interface loads normally. ### Assistant pre-select (`assistantId`) Open the embedded Digital Twin in normal **text mode** with a specific assistant already selected — no opening message is injected, and the user's first typed message is routed to that assistant. ```js theme={null} PriaIntegration.loadSdk(BASE_URL, { assistantId: 'YOUR_ASSISTANT_ID', // the assistant's _id (see assistants.list) openOnLoad: true }, instanceConfig, userConfig); ``` **How it works:** once the session is ready, the SDK sends a single `assistant.select` command. The chat shows the assistant as the pending choice; the conversation itself is only created when the user sends their first message, which carries the selection. After that first exchange the conversation keeps the assistant automatically. > [!NOTE] > > * Works for text-only Digital Twins — voice does not need to be enabled. > * If both `assistantId` and `convoMode` are supplied, `convoMode` (voice) takes precedence and the text-mode pre-select is skipped — including when voice turns out not to be authorized on that Digital Twin, in which case neither applies and the twin opens normally. Supply only `assistantId` if you want the pre-select to be the fallback. > * An unknown or out-of-scope `assistantId` is rejected with an error response and the twin opens on its normal default assistant. > * The pre-select fires once per session; if the user manually switches assistants afterwards, their choice is never overridden. ### Voice transcripts (`transcripts`) Set `transcripts: true` to receive the conversation's live transcript (`convo.transcript` messages) on your page while a voice call runs. The Digital Twin must allow it (**Share voice transcripts with the embedding page** in its settings); otherwise the option is silently ignored. See [Live voice transcripts](/mdx/sdk/javascript#live-voice-transcripts-convotranscript). ### Confirm it's you (`onAuthRequired`) When an admin account opens Pria from your page (for example a Canvas course page), Pria may first show **Confirm it's you** inside its panel and ask for a 6-digit code. Until the person enters it, Pria refuses commands. The SDK calls your `onAuthRequired` function once, so you can bring the panel into view: ```javascript theme={null} PriaIntegration.loadSdk(BASE_URL, { onAuthRequired: () => window.pria.display(true) }, instanceConfig, userConfig); ``` If you hide the launcher (`noUI`, a hidden button container, or `setVisible(false)`), you must handle this — call `window.pria.setVisible(true)` and then `display(true)`, or tell the person where to confirm — or nobody can reach the code screen. See [Confirm it's you](/mdx/sdk/javascript#confirm-its-you) for how commands behave meanwhile. ### Digital Twin configuration (`instanceConfig`) The `instanceConfig` object configures which Digital Twin to use along with the picture rendered in the start button. ```javascript theme={null} let instanceConfig = { publicId: '41407647-248c-4f0e-a317-71fc151ba8fb', // Public ID identifying your Digital Twin pictureUrl: 'https://cdn.domain.com/pics/dt_1.png', // Picture to use for the on-screen icon of your Digital Twin }; ``` The `publicId` value supports three modalities: | Value | Behavior | | - | - | | A specific Public ID | All connections route to that Digital Twin, regardless of the page URL. | | `''` (empty string) | **Pick on first use** — the first administrator (or teacher) to open the widget on a given page is asked to choose an existing Digital Twin or create one. Pria remembers which twin belongs to that web address, and every later visitor to it reaches the same twin. | | `undefined` | The Digital Twin does not start. | Leave `pictureUrl` empty for Pria's default picture, or point it to a CORS-accessible image on a CDN. > [!WARNING] > > Load these values securely and asynchronously—never expose sensitive data in your HTML. ### User identity Set the user identity in the `userConfig` object ```javascript theme={null} let userConfig = { email: 'john@doe.com', // Required profilename: 'John Doe', profilepicture: '', // Leave empty for user's default picture userid: '123', // Optional user identifier on your site roleid: 123, // Optional conversation/course ID rolename: 'Course ABC', // Optional conversation/course name partnerid: 1, // Optional customer/account ID partnername: 'ABC Global Inc.' // Optional customer/account name }; ``` > [!NOTE] > > The `email` is required and serves as the main identifier in Praxis AI Middleware. > [!TIP] > > For education, set `roleid` and `rolename` to specify the course. > [!TIP] > > Use `partnerid` and `partnername` to identify an Account or Customer when you create a multi tenant solution > [!WARNING] > > For enhanced security, always retrieve these values asynchronously from a secure source to prevent exposure of plaintext data in the page. ### Wait for Pria and Start Convo mode Here is an example demonstrating how to Wait for Pria to be fully ready, then start Convo mode ```javascript theme={null} /** * Start a conversation with optional assistant and course selection */ const startConversation = async (assistantId, conversationId, conversationName) => { let request = { command: 'convo.start' }; // Optionally specify an assistant if (assistantId) { request.assistantId = assistantId; } // Optionally specify an existing conversation if (conversationId && conversationName) { request.selectedCourse = { course_id: conversationId, course_name: conversationName }; } console.log("Starting convo mode"); window.pria.send(request); } /** * Handle responses from Pria */ const handleResponse = async (data) => { console.log("Got response from Pria", data); const command = data?.response?.command; const content = data?.response?.content; if (data.type === 'pria-response') { console.log("Processing command:", command); // Handle convo.start success - show UI if (command === 'convo.start') { // Use SDK's display function to show the UI panel window.pria.display(true); } else if (command === 'assistants.list' && content) { // Handle assistants list response console.log("Assistants loaded:", content); } else if (command === 'conversations.list' && content) { // Handle conversations list response console.log("Conversations loaded:", content); } } else if (data.type === 'pria-error') { const errorContent = data?.response?.content; if (errorContent && errorContent.indexOf("not connected") > -1) { // Retry after delay if not connected setTimeout(() => startConversation(), 2000); } else { console.error("Pria error:", errorContent); } } } /** * Wait for Pria to be fully loaded and ready */ const waitForPria = () => { // Use isReady to check if Pria is fully initialized if (!window?.pria?.isReady()) { console.log("Waiting for Pria to load..."); return; } console.log('Pria loaded and ready'); clearInterval(waitForPriaTimer); // Subscribe to Pria responses window.pria.subscribe(handleResponse); // Start conversation after a brief delay setTimeout(() => startConversation(), 2000); // Clean up on page unload window.addEventListener('beforeunload', () => { window.pria.unsubscribe(handleResponse); window.pria.destroy(); // Clean up Pria resources }); } let waitForPriaTimer = setInterval(waitForPria, 1000); ``` > [!TIP] > > Use `window.pria.isReady()` to check if Pria is fully initialized before sending commands. ## Integration Class Sample This example is provided AS IS to demonstrate how you can cleanly integrate a Digital Twin in your Web Application. It is extracted from the playground example code. ```javascript theme={null} /** * Javascript Class integration example * Demonstrates modern patterns for Pria SDK integration */ class PriaTestHarness { constructor() { this.pria = null; this.waitForPriaTimer = null; this.isConnected = false; this.conversationMode = 'existing'; // 'existing' or 'new' this.assistantsCache = []; // Cache assistants for lookup // Configuration this.config = { displayOptions: { buttonPositionRight: 'calc(50% - 40px)', buttonPositionBottom: '80px' }, instanceConfig: { publicId: 'f831501f-b645-481a-9cbb-331509aaf8c1', pictureUrl: 'https://cdn.domain.com/pics/dt_1.png' }, userConfig: { email: 'john@doe.com', profilename: 'John Doe', usertype: 1, userid: 110, roleid: 123, rolename: "Course ABC", partnerid: 1, partnername: "ABC Global Inc." }, localhost: true }; this.init(); } /** * Initialize the application */ async init() { try { await this.loadPriaSDK(); } catch (error) { console.error('Failed to initialize application:', error); } } /** * Load the Pria SDK */ loadPriaSDK() { return new Promise((resolve, reject) => { const script = document.createElement('script'); script.src = 'pria-sdk-web.js'; script.async = true; script.onload = () => { console.log('Web SDK Script loaded'); const url = 'https://pria.praxislxp.com'; PriaIntegration.loadSdk( url, this.config.displayOptions, this.config.instanceConfig, this.config.userConfig ); this.waitForPriaTimer = setInterval(() => this.waitForPria(), 1000); resolve(); }; script.onerror = (error) => { console.error('Failed to load Web SDK:', error); reject(new Error('Web SDK loading failed')); }; document.body.appendChild(script); }); } /** * Wait for Pria to be available and set up subscriptions */ waitForPria() { // Use isReady() to check if Pria is fully initialized if (!window.pria?.isReady()) { console.log("Waiting for Pria to load..."); return; } clearInterval(this.waitForPriaTimer); this.pria = window.pria; this.isConnected = true; // Subscribe to Pria responses this.pria.subscribe(this.handlePriaResponse.bind(this)); // Load assistants and conversations on connection this.loadAssistants(); this.loadConversations(); // Clean up on page unload window.addEventListener('beforeunload', () => { this.pria.unsubscribe(this.handlePriaResponse); this.pria.destroy(); // Clean up Pria resources }); } /** * Handle responses from Pria */ handlePriaResponse(response) { const command = response?.response?.command; const content = response?.response?.content; if (response.type === 'pria-response') { console.log("Processing command:", command); // Handle convo.start success - show UI if (command === 'convo.start') { this.showPria(); } else if (command === 'assistants.list' && content) { this.assistantsCache = content; console.log("Assistants loaded:", content.length); } else if (command === 'conversations.list' && content) { console.log("Conversations loaded:", content.length); } } else if (response.type === 'pria-error') { console.error("Pria error:", content); } } /** * Start a conversation */ startConversation(assistantId, conversationId, conversationName) { if (!this.isConnected) return; let request = { command: 'convo.start' }; if (assistantId) { request.assistantId = assistantId; } if (conversationId && conversationName) { request.selectedCourse = { course_id: conversationId, course_name: conversationName }; } this.pria.send(request); } /** * Load assistants list */ loadAssistants() { if (!this.isConnected) return; this.pria.send({ command: 'assistants.list' }); } /** * Load conversations list */ loadConversations() { if (!this.isConnected) return; this.pria.send({ command: 'conversations.list' }); } /** * Toggle Pria visibility (show/hide entirely) */ togglePriaVisibility(visible) { if (!this.isConnected) return; this.pria.setVisible(visible); } /** * Toggle Pria panel display (expand/collapse) */ togglePriaDisplay() { if (!this.isConnected) return; // Use SDK's isDisplayed() to check current state const isCurrentlyDisplayed = this.pria.isDisplayed(); this.pria.display(!isCurrentlyDisplayed); } /** * Show Pria interface */ showPria() { if (!this.pria) return; // Check if UI is already shown using SDK's isDisplayed() if (!this.pria.isDisplayed()) { this.pria.display(true); } } } // Initialize the application when DOM is loaded document.addEventListener('DOMContentLoaded', () => { new PriaTestHarness(); }); ``` ### Key SDK Methods Used | Method | Description | | - | - | | `pria.isReady()` | Check if Pria is fully initialized and ready to receive commands | | `pria.subscribe(callback)` | Listen for responses from Pria | | `pria.unsubscribe(callback)` | Remove a response listener | | `pria.send(request)` | Send a command to Pria | | `pria.setVisible(visible)` | Show or hide Pria entirely (removes from DOM view) | | `pria.isVisible()` | Check if Pria is currently visible | | `pria.display(show)` | Expand or collapse the Pria UI panel | | `pria.isDisplayed()` | Check if the UI panel is currently expanded | | `pria.destroy()` | Clean up and remove Pria from the page | ### Checking Ready State Always verify Pria is ready before sending commands: ```javascript theme={null} /** * Check if Pria SDK is ready to receive messages * @returns {boolean} True if SDK is fully connected and ready */ function isPriaReady() { return window.pria && typeof window.pria.isReady === 'function' && window.pria.isReady(); } // Usage in your application if (isPriaReady()) { window.pria.send({ command: 'convo.start' }); } ``` > [!TIP] > > The `isReady()` method returns `true` only when the SDK is fully connected to the middleware and ready to send/receive messages. ### Cleanup and Reload When you need to remove Pria or reload it with new configuration: ```javascript theme={null} // Destroy SDK completely (removes all UI, event listeners, and references) PriaIntegration.destroySdk(); // Reload with new or existing configuration PriaIntegration.reloadSdk( 'https://pria.praxislxp.com', displayOptions, instanceConfig, userConfig ); ``` > [!WARNING] > > After calling `destroy()` or `destroySdk()`, all existing references to `pria` become invalid. The SDK must be fully reloaded before use. ## SDK Playground Example See a live demo: at [SDK Playground Example](https://pria.praxislxp.com/pria-sdk-web-sample.html). ``` https://pria.praxislxp.com/pria-sdk-web-sample.html ``` ![SDK Playground Example](https://mintcdn.com/praxisai/kykHd4cobeHLACGX/images/sdk/websdk-playground.jpg?fit=max\&auto=format\&n=kykHd4cobeHLACGX\&q=85\&s=773248be55101ce3bfc784de3cd1c310) This demo covers integration, connection detection, command execution, and more. ## Automation Refer to the [Javascript APIs](/mdx/sdk/javascript) for interacting with your Digital Twin programmatically using Javascript ## Related * [JavaScript SDK](/mdx/sdk/javascript) — full SDK method reference * [JavaScript SDK Examples](/mdx/sdk/javascript-examples) — the SDK Playground and API class walkthroughs * [Web Examples](/mdx/integrations/web/examples) — copy-paste snippets for common frameworks * [Streaming Responses](/mdx/api-reference/streaming) — stream model output token-by-token # Digital Twin Loading Sequence Source: https://docs.praxis-ai.com/mdx/integrations/web/loading-sequence Step-by-step guide to the SDK initialization lifecycle — from script injection to conversation start. ## Overview Loading a Digital Twin follows a strict sequence: inject the SDK script, initialize with credentials, poll for readiness, subscribe to events, then start the conversation. Skipping or reordering these steps causes silent failures. This guide walks through each phase using the [sdk-sample.js](https://pria.praxislxp.com/integration-samples/sdk-sample.html) reference implementation. ``` DOM Ready └─ init() └─ Inject <script src="pria-sdk.js"> └─ onload → priasdk(url, user, publicId, '', display) └─ waitForReady() [poll 100ms] └─ isReady() === true └─ setupPria() ├─ subscribe(handleResponse) └─ button.click → ├─ setVisible(false) ├─ showLoading() ├─ setTimeout(5s fallback) └─ send({ command: 'convo.start' }) │ ┌─────┴──────┐ ▼ ▼ pria-response pria-error ├─ hideLoading ├─ reset timer └─ setVisible └─ retry convo.start (true) (loops until success or timeout) ``` *** ## Phase 1: Script Injection Wait for the DOM, then dynamically load the SDK script from your Pria server. ```javascript theme={null} function init() { // Guard against double-initialization if (typeof window.priasdk === 'function') return; const script = document.createElement('script'); script.src = 'https://pria.praxislxp.com/pria-sdk.js'; script.async = true; script.onload = () => { // Phase 2 starts here }; document.body.appendChild(script); } // Trigger on DOM ready if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', init); } else { init(); } ``` > [!TIP] > > You can inject optional CSS **before** loading the script to constrain the Pria UI dimensions: > > ```javascript theme={null} > const style = document.createElement('style'); > style.textContent = '#pria_ui { max-width: 380px!important; max-height: 480px!important; }'; > document.head.appendChild(style); > ``` *** ## Phase 2: SDK Initialization Inside the `script.onload` callback, call `window.priasdk()` with five arguments. It drops the Pria window into your page as an iframe and signs the user in against Pria's servers (the *launch handshake*). Once that succeeds, the twin opens its own live connection for streaming replies and voice. ```javascript theme={null} script.onload = () => { // 1. User identity (persistent via cookies) const userConfig = { email: 'user123@example.com', profilename: 'User 123', lticontextid: document.URL }; // 2. Display options const displayOptions = { buttonWidth: '320px', buttonPosition: 'initial', buttonContainerId: 'my-button-container', openOnLoad: false // Keep hidden until conversation starts }; // 3. Initialize — PUBLIC_ID is your Digital Twin's Public ID window.priasdk( 'https://pria.praxislxp.com', // Base URL userConfig, // User identity PUBLIC_ID, // Digital Twin public ID '', // Twin picture URL ('' = default picture) displayOptions // Display configuration ); // 4. Begin polling for readiness waitForReady(setupPria); }; ``` > [!WARNING] > > **`openOnLoad: false` is critical.** Without it, the user sees a blank chat panel while the backend is still connecting. The UI should only appear after `convo.start` succeeds. ### Persistent User Identity The reference implementation uses cookies to maintain a stable user identity across visits, which preserves conversation history: ```javascript theme={null} function getUserIdentity() { const now = Math.floor(Date.now() / 1000); let userId = getCookie('pria-web-user'); if (!userId) { setCookie('pria-web-user', now, 365); userId = now; } return { email: `${userId}@your-domain.com`, profilename: `${userId} WebUser`, lticontextid: document.URL }; } ``` *** ## Phase 3: Poll for Readiness The SDK needs time to load the iframe and complete the launch handshake with the Pria middleware. Poll `isReady()` until it returns `true`. ```javascript theme={null} function waitForReady(callback) { const timer = setInterval(() => { if (window.pria && window.pria.isReady && window.pria.isReady()) { clearInterval(timer); callback(); } }, 100); // Check every 100ms } ``` > [!NOTE] > > `isReady()` returns `true` only after the iframe is in place and the launch handshake with the middleware has completed. **Never send commands before this returns `true`.** *** ## Phase 4: Subscribe and Setup Once the SDK is ready, subscribe to response events and wire up your UI trigger. ```javascript theme={null} function setupPria() { // 1. Subscribe to all Pria responses window.pria.subscribe(handlePriaResponse); // 2. Clean up on page unload window.addEventListener('beforeunload', () => { if (window.pria && typeof window.pria.destroy === 'function') { window.pria.destroy(); } }); // 3. Wire the launch button const button = document.getElementById('my-launch-button'); if (button) { button.addEventListener('click', () => { window.pria.setVisible(false); // Hide UI during connection showLoading(); // Show spinner overlay startResponseTimer(); // Safety timeout window.pria.send({ command: 'convo.start' }); }); } } ``` The button click triggers four actions in sequence: 1. **Hide the Pria UI** — prevents showing an empty chat window 2. **Show a loading overlay** — gives the user visual feedback 3. **Start a safety timer** — so the page can recover if the session never comes up (see Phase 5) 4. **Send `convo.start`** — tells the backend to initialize the AI session *** ## Phase 5: Response Handling with Retry The response handler manages two scenarios: successful start and transient connection errors. ```javascript theme={null} const RESPONSE_TIMEOUT = 5000; // 5 seconds let responseTimer = null; function startResponseTimer() { clearResponseTimer(); responseTimer = setTimeout(() => { hideLoading(); window.pria.setVisible(true); // Show UI as fallback }, RESPONSE_TIMEOUT); } function clearResponseTimer() { if (responseTimer) { clearTimeout(responseTimer); responseTimer = null; } } function handlePriaResponse(response) { const command = response?.response?.command; const type = response?.type; const content = response?.response?.content; const isError = response?.response?.isError; // SUCCESS — conversation started if (type === 'pria-response' && command === 'convo.start') { clearResponseTimer(); hideLoading(); window.pria.setVisible(true); return; } // TRANSIENT ERROR — backend not ready yet, retry if (type === 'pria-error' && command === 'convo.start' && isError) { if (content && (content.includes('NO-SESSION') || content.includes('not connected'))) { // Reset the timeout to give more time startResponseTimer(); // Retry immediately window.pria.send({ command: 'convo.start' }); return; } } } ``` ### How the Retry Loop Works | Event | Action | | - | - | | `convo.start` sent | 5-second timeout starts | | `pria-response` with `convo.start` | Timer cleared, loading hidden, UI shown | | `pria-error` with `NO-SESSION` | Timer reset (another 5s), `convo.start` retried | | Timeout fires (no response) | Loading hidden, UI shown as fallback | > [!TIP] > > The `NO-SESSION` error means the person is not signed in to the Digital Twin yet. The SDK now holds commands until the twin is listening, so this error is rare; the retry stays as a backstop and resolves it within 1-2 attempts. *** ## Loading Overlay Provide visual feedback while the Digital Twin connects. The reference implementation uses a full-screen overlay with a spinner: ```javascript theme={null} function createLoadingOverlay() { const overlay = document.createElement('div'); overlay.id = 'pria-loading-overlay'; overlay.innerHTML = ` <div class="pria-loading-content"> <div class="pria-loading-spinner"></div> <span>Connecting to your Digital Twin...</span> </div> `; overlay.style.cssText = ` position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 99999; `; return overlay; } ``` ```css theme={null} .pria-loading-content { background: white; padding: 24px 32px; border-radius: 12px; display: flex; align-items: center; gap: 16px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); } .pria-loading-spinner { width: 24px; height: 24px; border: 3px solid #e0e0e0; border-top-color: #3B82F6; border-radius: 50%; animation: pria-spin 1s linear infinite; } @keyframes pria-spin { to { transform: rotate(360deg); } } ``` *** ## Complete Minimal Example Putting it all together — a minimal working integration: ```html theme={null} <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Digital Twin
``` *** ## Common Pitfalls > [!WARNING] > > **Sending commands before `isReady()`** > > If you call `pria.send()` before the SDK has connected, it throws "Connect Pria first, then retry." Always gate on `isReady()`. After that, commands sent before the twin is listening are held (up to 20, for 30 seconds each) and replayed in order — see [Knowing when the twin is ready](/mdx/sdk/javascript#knowing-when-the-twin-is-ready). > [!WARNING] > > **Hiding the UI while an admin must confirm it's them** > > This sample hides Pria while it connects. When an admin account opens Pria, the panel may ask for a code first (**Confirm it's you**), and commands are refused until it is entered. Use the `onAuthRequired` display option to show the panel — see [Confirm it's you](/mdx/integrations/web/introduction#confirm-its-you-onauthrequired). > [!WARNING] > > **Missing `subscribe()` before `convo.start`** > > If you send `convo.start` without subscribing first, you won't receive the success response and your UI will never transition from the loading state. > [!WARNING] > > **Not handling page unload** > > Call `pria.destroy()` on `beforeunload` to cleanly disconnect the Socket.io session. Without this, the server may hold stale sessions. # AI-Generated Content Transparency Source: https://docs.praxis-ai.com/mdx/introduction/ai-content-transparency How Praxis AI and its model providers disclose AI interaction and mark AI-generated content under the EU AI Act (Article 50). ## Overview Since **2 August 2026**, Article 50 of the EU Artificial Intelligence Act requires generative AI to be transparent about what it is. Three obligations matter for a Digital Twin: | Obligation | What the Act requires | How it is met on Pria | | - | - | - | | **AI disclosure** — Art. 50(1) | People must be told they are interacting with an AI system, unless it is obvious. | Every Digital Twin is presented as an AI-powered expert, and the conversation interface reminds users they are talking to an AI. See [AI disclosure in the interface](#ai-disclosure-in-the-interface). | | **Machine-readable marking** — Art. 50(2) | Generated text, images, audio and video must carry a machine-readable mark that identifies them as AI-generated. | The mark is applied **inside the model** by each AI provider. Praxis AI relays outputs unchanged, so the mark reaches your conversations and your vault. See [How marking reaches your Digital Twin](#how-marking-reaches-your-digital-twin). | | **Labelling** — Art. 50(4) | Deployers must clearly label deepfakes, and AI-generated text published on matters of public interest. | Your responsibility as the organization deploying the twin. See [What your organization should do](#what-your-organization-should-do). | Systems already on the market before 2 August 2026 have until **2 December 2026** to complete machine-readable marking. Praxis AI's main model providers — Anthropic, OpenAI, Google, Microsoft and Mistral among them — signed the European Commission's *Code of Practice on Transparency of AI-Generated Content* in July 2026 and are rolling the marking out across their models ahead of that date. > [!NOTE] > > This page describes how the platform behaves as of **September 2026** and is updated as providers extend their marking. It is not legal advice: your own obligations depend on where and how you deploy your Digital Twin. ## How marking reaches your Digital Twin Praxis AI is a multi-model platform: every reply is produced by a model from one of the providers in the [platform catalog](/mdx/admin-guide/platform-models). Content marking is applied **by the provider, inside the model**, so it is already in the output before it reaches Praxis AI — on every channel: web, mobile, Canvas and other LMS launches, the Web SDK, embedded avatars and the REST API. Praxis AI's part is to keep those marks intact: * **Text is relayed word for word.** Pria streams the model's words to you exactly as they are generated. What Pria adds around a reply — citations, the Search Results row, the Memory row, Tool Details — is attached to the message, not written into the model's sentences. Copying, downloading, exporting or sharing a reply carries the mark with the text. * **Generated images and videos are stored as delivered.** Image and video generation results are saved to your vault byte for byte as the provider returned them, so the invisible watermark and any Content Credentials (C2PA metadata) they carry stay with the file. * **Praxis AI never removes, alters or hides a provider's mark**, and adds no mark of its own. * **Nothing changes for you.** The marks are imperceptible: a text watermark adds no characters, tokens or metadata, does not change the meaning, quality or readability of a reply, and has no effect on credits, latency or API formats. It contains no information about you, your organization or your conversations. There is nothing to configure and nothing to turn on. > [!NOTE] > > **Bring Your Own Model.** A [custom model endpoint](/mdx/admin-guide/ai-models#bring-your-own-ai-model-byom) carries whatever marking its own provider applies. Praxis AI relays its output unchanged in the same way, but cannot add a mark the model does not produce. ## AI disclosure in the interface Praxis AI presents every Digital Twin as what it is: an AI-powered version of an expert, trained on that expert's knowledge and style. In the 2026 interface a standing reminder sits under every conversation — *"\ can make mistakes — verify important info."* — and Digital Twins, Assistants and voice avatars are described as AI throughout the product and this documentation. When you embed a twin in your own page or LMS course, keep that context visible: introduce it as an AI Digital Twin, and do not present it as a person. ## Provider status Which marks your twin's output carries depends on the models selected under [Personalization](/mdx/admin-guide/personalization) for each Model Use. Status as of September 2026: | Provider | Text | Images, audio, video | Code of Practice | | - | - | - | - | | **Anthropic** (Claude — direct and through Amazon Bedrock) | **Text watermark.** Claude Fable 5.1 and every model released after 2 August 2026 carry it from launch. **Claude Opus 5 from 9 September 2026**; remaining Claude models over the following weeks. Applied at the model layer, so it is present on every platform where Claude is served, including Amazon Bedrock. | Content Credentials (C2PA) on generated images. | Signatory | | **OpenAI** (GPT, image and audio models) | Not yet. OpenAI has stated its goal to extend provenance signals to text as standards and tooling mature. | Content Credentials (C2PA) plus a SynthID watermark on generated images (since May 2026) and audio (since July 2026), across ChatGPT, the API and Codex. | Signatory | | **Google** (Gemini) | SynthID text watermark on Gemini output. | SynthID on generated images, audio and video. | Signatory | | **Mistral AI** | Signatory to the Code's provider section; per-model marking status is published by Mistral. | — | Signatory | | **Amazon** (Nova models on Bedrock) | — | Invisible watermark plus Content Credentials on Nova Canvas images and Nova Reel videos. Claude models on Bedrock carry Anthropic's marks. | Not confirmed | | **xAI** (Grok) | No text marking announced. xAI has not signed the Code but remains subject to the Act. | — | No | | **Stability AI** | — | Invisible watermark plus Content Credentials on Stable Image output. | Not confirmed | | **Kimi** (Moonshot AI) | No public statement. | — | Not confirmed | > [!TIP] > > If your organization needs marked text today, pick a Claude model (Fable 5.1 now, Opus 5 from 9 September 2026) or a Gemini model for **Conversation** under Personalization. Assistants can [override the conversation model](/mdx/admin-guide/ai-models#specific-to-each-assistants) individually. ## Checking whether content was generated by AI Praxis AI does not offer a detector. Detection belongs to the provider that holds the watermark key: * **Anthropic** runs a **Detection API in private preview** for organisations with a role under EU law — regulators, law enforcement, media, fact-checkers, independent researchers, **educational organisations** and EU civil society groups — and for enterprises that must verify marking for their own compliance with the Act. Request access through Anthropic; see [How Claude marks AI-generated content](https://support.claude.com/en/articles/16266773-how-claude-marks-ai-generated-content). * **Google** offers the **SynthID Detector** portal to a limited set of partners. * **Content Credentials** on images and videos (OpenAI, Amazon, Stability AI, Anthropic) can be read with any C2PA-compatible tool, such as the [Content Credentials verifier](https://contentcredentials.org/verify). > [!WARNING] > > A detected mark is a **signal**, not proof. Providers state that a mark shows content was processed by their model, not who wrote it or where the source material came from; short passages and highly factual text may carry too little signal, and heavy rewriting or translation weakens it. Do not treat the presence or absence of a watermark as evidence in an academic-integrity or authorship decision on its own. ## What your organization should do Provider marking covers the machine-readable side. The obligations that fall on you as the deployer of a Digital Twin are about **labelling** what people see: 1. **Keep the AI disclosure visible** wherever the twin appears — your website, an LMS course, an embedded avatar, a guest link. Do not strip or hide the twin's AI identity. 2. **Label real-person likenesses.** If your twin uses the avatar, image or cloned voice of a real person, make clear that the audio and video are AI-generated. The Act treats undisclosed synthetic likenesses of real people as deepfakes. 3. **Label public-interest publications.** If you publish AI-generated text on matters of public interest (politics, justice, health, fundamental rights) without a human editorial review, say that it was AI-generated. 4. **Know your models.** The [Provider status](#provider-status) table tells you which marks apply to the models your twin uses; review it when you change a model under Personalization. 5. **Ask counsel** about your specific deployment. Praxis AI will answer questions about how the platform behaves at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Related * [AI Models](/mdx/admin-guide/ai-models) — Model selection, Zero Data Retention, Bring Your Own Model * [Platform Models & Providers](/mdx/admin-guide/platform-models) — The full provider and model catalog * [Student Data Privacy](/mdx/introduction/privacy-edu-consent) — Data handling commitments for education deployments * [WCAG Compliance](/mdx/introduction/wcag-compliance) — Accessibility conformance ## Sources * Anthropic — [How Claude marks AI-generated content](https://support.claude.com/en/articles/16266773-how-claude-marks-ai-generated-content) and [How Claude's text watermarking works](https://www.anthropic.com/news/claude-text-watermark) * OpenAI — [EU AI Act: OpenAI resources and customer guidance](https://help.openai.com/en/articles/12141645-eu-ai-act-openai-resources-and-customer-guidance) and [Supporting Europe's work in ensuring a trustworthy AI ecosystem](https://openai.com/index/supporting-eu-trustworthy-ai-ecosystem/) * Google DeepMind — [SynthID](https://deepmind.google/models/synthid/) * AWS — [Amazon Nova Canvas](https://docs.aws.amazon.com/ai/responsible-ai/nova-canvas/overview.html) and [Amazon Nova Reel](https://docs.aws.amazon.com/ai/responsible-ai/nova-reel/overview.html) AI Service Cards * European Commission — [Transparency obligations under Article 50 of the AI Act](https://digital-strategy.ec.europa.eu/en/faqs/transparency-obligations-under-article-50-ai-act), [Code of Practice on Transparency of AI-generated Content](https://digital-strategy.ec.europa.eu/en/policies/code-practice-ai-generated-content) and the [31 July 2026 signatories announcement](https://digital-strategy.ec.europa.eu/en/news/strong-backing-code-practice-transparency-ai-generated-content) # Switching to Praxis AI Middleware Source: https://docs.praxis-ai.com/mdx/introduction/byot Unlock the full power of AI orchestration with enterprise-grade flexibility ## Why Switch to Praxis-AI Middleware? Praxis-AI middleware transforms how organizations leverage AI by providing a sophisticated orchestration layer that connects your existing systems with multiple AI models while maintaining complete control, security, and flexibility. > [card] Bring Your Own Token (B.Y.O.T.) > > Seamlessly switch between AI models such as OpenAI, Anthropic Claude, and Google Gemini without vendor lock-in. Use your existing API keys and credit pools across all major AI platforms. > [card] Enterprise Security > > Bank-level encryption, SOC 2 Type 1 completed (Type 2 expected December 2026), FERPA & COPPA adherence, complete data sovereignty with zero proprietary data exposure > [card] One Knowledge Base, Every Model > > Your IP Vault documents, assistants, tools, and conversation history work the same no matter which AI model answers — switch providers without rebuilding anything > [card] Cost Optimization > > Prompt caching discounts (cached input tokens are billed at a reduced rate), per-task model choices, and transparent credit accounting help you control AI costs *** ## Bring Your Own Token (B.Y.O.T.) > [!NOTE] > > Switching to Praxis-AI middleware is seamless. Use your existing API keys and credit pools across all major AI platforms. ### Supported AI Platforms Praxis-AI middleware provides native integration with industry-leading AI platforms: > [accordion] OpenAI Models > > Connect your OpenAI API key to access: > > * The GPT-6 family (GPT-6.1 Sol, GPT-6 Astra, GPT-6 Sol, GPT-6 Luna) and the GPT-5 family (GPT-5.6, GPT-5.5, GPT-5.4, GPT-5.2, GPT-5-mini) for generation > * o4-mini and deep-research models for reasoning > * GPT Image 2.5 for image generation, Sora 2 for video > * Whisper and GPT-4o Transcribe for speech-to-text > * GPT-Realtime and GPT-Live for real-time voice conversations > > **Configuration:** Simply add your API key in Edit → Configuration and Integrations > [accordion] AWS Bedrock Platform > > Leverage your AWS Bedrock access for: > > * **Anthropic**: the Claude 5 family (Claude Sonnet 5.5 — the recommended default — Sonnet 5, Opus 5.5, Opus 5, Fable 5.1) plus Claude Sonnet 4.6 and Claude Haiku 4.5 > * **Amazon Nova Reel**: video generation > * **Meta Llama**: Llama 4 (Maverick, Scout) and Llama 3.x > * **Mistral AI**: Mistral Large, Devstral, Magistral, Pixtral Large > * **Cohere**: Command R > * **DeepSeek**: DeepSeek R1 > * **Amazon Titan**: Embeddings > > **Configuration:** Authenticate via AWS IAM credentials or access keys. AWS keys set on an Account cover every Digital Twin in it that has no keys of its own; a Digital Twin's own keys still win. > [accordion] Google Gemini > > Integrate with Google's AI ecosystem: > > * Gemini 3.1 Pro and the Gemini Flash family (3.8, 3.7, 3.6, 3.5, 2.5) > * Gemini native image generation > * Gemini Live (real-time voice), including Gemini 3.8 Live > * Gemini embedding models > * Gemini 3.8 Flash through the **Google AI Platform** provider (Vertex AI) > > **Configuration:** Add your Google AI API key in Edit → Configuration and Integrations > > Two kinds of Google key exist, and they are not interchangeable: a **Gemini API Key** (Google AI Studio / the Gemini Developer API) drives the *Google Gemini* models; a **Google AI Platform API Key** (a Google Cloud API key created for Vertex AI — the "Gemini Enterprise Agent Platform") drives the *Google AI Platform* models. If a Cloud key answers "Requests to this API generativelanguage.googleapis.com … are blocked", it belongs in the Google AI Platform field. > [accordion] Mistral AI > > Access Mistral's high-performance models: > > * Mistral Large, Mistral Medium 3.5, Mistral Small 4 > * Codestral (code-focused) > * Voxtral (voice TTS/STT) > > Models Mistral has retired are moved automatically to their current equivalent (usually Medium 3.5 or Small 4). > > **Configuration:** Add your Mistral API key in Edit → Configuration and Integrations > [accordion] xAI (Grok) > > Access xAI's Grok models: > > * Grok 4.7, Grok 4.6, Grok 4.5, Grok 4.3 and Grok 4.20 for conversation and vision > * Grok Code Fast and Grok Build for code-focused tasks > * Grok Imagine for image generation > * Text-to-Speech (5 voices: Eve, Ara, Rex, Sal, Leo) > * Real-time voice conversations (Grok-3 Fast) > > **Configuration:** Add your xAI API key in Edit → Configuration and Integrations > [accordion] Kimi (Moonshot AI) > > Access Moonshot AI's Kimi models: > > * Kimi K3 — the flagship reasoning model > * Kimi K2.7 Code (standard and high-speed) for code-focused tasks > * Kimi K2.6 for fast, cost-efficient conversation > > **Configuration:** Add your Moonshot API key in Edit → Configuration and Integrations > [accordion] OpenRouter > > Reach many providers through one OpenRouter account: > > * Open-weight models such as DeepSeek V4 (Flash and Pro), Qwen, GLM, MiniMax and Gemma > * Claude, Gemini and Grok models, which behave like their native versions > > DeepSeek V4 models are offered through OpenRouter. > > **Configuration:** Add your OpenRouter API key in Edit → Configuration and Integrations > [accordion] Stability AI > > Access Stability AI's generative media models: > > * **Image Generation:** Stable Image Ultra, Stable Image Core, SD 3.5 Large > * **Audio Generation:** Stable Audio 2 (text-to-audio, up to 190 seconds) > > Stability AI is a dedicated media-generation provider — conversation models from other providers invoke the `generate_image` and `generate_audio` tools that route to Stability automatically. (Video generation routes to Amazon Nova Reel or OpenAI Sora.) > > **Configuration:** Add your Stability AI API key in Edit → Configuration and Integrations > [accordion] Custom Models & Endpoints > > Connect to any AI model via REST API: > > * Self-hosted models (Ollama, vLLM, TGI) > * LiteLLM proxy endpoints > * Azure OpenAI Service > * Custom fine-tuned models > > **Configuration:** Provide endpoint URL + API key/bearer token *** ## How It Works **1. Configure Your Models** Navigate to **Configuration → Personalization and AI Models** and add your API credentials for each platform you want to use. > [!TIP] > > You can configure multiple models simultaneously and switch between them based on use case, cost, or performance requirements. **2. Set Model Preferences** Define which models to use for different Digital Twins or conversation types: * **High-reasoning tasks**: Claude Sonnet 5.5, GPT-5.6, Gemini 3.1 Pro, Kimi K3 * **Fast responses**: Claude Haiku 4.5, Gemini Flash * **Cost-sensitive operations**: GPT-5-mini, Gemini Flash-Lite * **Specialized domains**: Custom fine-tuned models **3. Assign Models per Task** Each Digital Twin can use a different model for each kind of work — conversation, summaries, image generation, image analysis, audio transcription, video analysis, embeddings, and real-time voice. Assistants can also pin their own conversation model, overriding the Twin's default. **4. Monitor & Optimize** Track usage, token consumption, and credit spend across all models through the admin Analytics and Histories dashboards, then adjust your model assignments to optimize for your specific needs. *** ## Key Advantages Over Direct API Integration > [card] Unified Interface > > A single API and a single admin console for all AI models — no per-provider integration work > [card] Easy Model Switching > > If a model is deprecated, unavailable, or too expensive, switch to an alternative in the admin console — no code changes > [card] Context Management > > Persistent conversation memory and RAG vector search across all models with institutional knowledge prioritization > [card] Token Optimization > > Prompt caching discounts on supported models and per-task model choices reduce the cost of repeated context > [card] Compliance Built-In > > Content moderation, conversation audit history, and granular access controls support your regulatory obligations > [card] No Vendor Lock-In > > Switch models instantly without code changes or data migration ## Migration Path > [!NOTE] > > Switching from direct API integration to Praxis-AI middleware requires minimal changes to your existing infrastructure. ### Three-Step Migration 1. **Add Praxis-AI SDK**: Install the middleware SDK alongside your existing AI integrations 2. **Configure Models**: Import your existing API keys into Praxis-AI's model configuration 3. **Update Endpoints**: Point your application to Praxis-AI's unified API endpoint ### Zero Downtime Migration Run Praxis-AI middleware in parallel with your existing integration during the transition period. Gradually shift traffic to validate performance before full cutover. *** ## Enterprise Features > [accordion] Model Context Protocol (MCP) Integration > > Praxis-AI implements the Model Context Protocol standard both ways: expose your Digital Twin as an MCP server to Claude Desktop, Cursor, or any MCP-compatible client, and connect your Twin to remote MCP servers to extend its tool set. See [MCP Server](/mdx/integrations/mcp/introduction). > [accordion] IP Vault & Knowledge Management > > Secure storage for institutional knowledge with hierarchical access: > > 1. LMS Content such as Canvas > 2. IP Vault proprietary content > 3. Trusted external sources > > All content is encrypted and access-controlled with role-based permissions. > [accordion] Digital Twin Architecture > > Create sophisticated AI experts that preserve human reasoning patterns and institutional knowledge. Each Digital Twin can use different models optimized for their specific domain. > [accordion] Advanced Analytics > > Comprehensive admin dashboards tracking: > > * Token usage and credit spend, broken down per model > * Conversation activity, sessions, and engagement over time > * Per-user usage statistics with CSV export > * User feedback with admin responses *** ## Pricing & Cost Optimization > [!TIP] > > Praxis-AI middleware adds minimal overhead while providing significant cost savings through intelligent routing and token optimization. ### Cost Structure * **Middleware Fee**: Credit-based system — pay as you go, or buy bundles and save * **AI Model Costs**: Customers who bring their own API keys (BYOK) buy credits at a 40% discount on standard pricing through our sales team * **No Hidden Fees**: Transparent pricing with volume discounts available ### Where the Savings Come From * **Bring Your Own Keys** — a 40% discount on standard pricing when you supply your own provider credentials (see [Plans and Credits](/mdx/introduction/plans-and-credits)) * **Prompt caching** — cached input tokens are billed at a reduced rate on models that support caching, with the realized discount shown on each conversation's report card * **Right-sized models** — assign inexpensive models to high-volume background work (summaries, embeddings) and reserve premium models for conversation * **No charges for failed or canceled requests** — a call that fails before the AI does any work is not billed, and canceling a response never incurs a charge *** ## Getting Started **1. Sign Up** Create your Praxis-AI account at [https://pria.praxislxp.com](https://pria.praxislxp.com) or through AWS Marketplace **2. Create Digital Twin** Set up your first Digital Twin and run the personalization assistant in Configuration → Personalization and AI Models **3. Configure First Model** Configure your Digital Twin to use your API Token **4. Test & Deploy** Test conversations and deploy to your organization via LMS integration, Web SDK, or REST APIs > [card] [Need Help?](/mdx/contact-support) > > Contact our team for personalized onboarding assistance and technical support *** ## Additional Resources > [card] [Choose a model](/mdx/admin-guide/ai-models) > > Personalize your Digital Twin models > [card] [Configure your API Keys](/mdx/admin-guide/configuration) > > API Keys Configuration for your Digital Twin > [card] [Integrate your Digital Twin](/mdx/integrations/overview) > > Integrate your Digital Twin > [card] [Connect via our APIs](/mdx/api-reference/introduction) > > Complete API reference and integration guides > [card] [Adding Credits](/mdx/user-guide/credits) > > Adding credits in 3 steps # FAQ Source: https://docs.praxis-ai.com/mdx/introduction/faq Frequently asked questions about Praxis AI > [accordion] What is a digital twin? > > A Digital Twin is an AI-powered version of a real expert — trained on their knowledge, voice, values, and communication style — so their expertise is available 24/7, in 100+ languages, at scale. > > Unlike a generic chatbot, a Praxis AI Digital Twin delivers personalized, trusted guidance grounded in your content, helping organizations amplify human expertise instead of replacing it. > > High tech. Human touch. Your best expert, everywhere. > [accordion] Is my data secure? > > Yes. Praxis AI protects your data in a secure, encrypted [IP Vault](/mdx/user-guide/files-documents/ipvault), with enterprise-grade security, strict access controls, and compliance with FERPA and COPPA. Praxis AI has completed its **SOC 2 Type 1** audit, and **SOC 2 Type 2** is in progress (expected December 2026). > > Your conversations are not sold, not shared without permission, and not used to train other AI systems. > > Your expertise stays yours. Your data stays protected. > [accordion] Is what my Digital Twin writes watermarked? > > Increasingly, yes. To meet the EU AI Act's transparency rules, AI providers now embed an imperceptible, machine-readable mark in what their models generate — Anthropic's text watermark on Claude, SynthID on Gemini text, Content Credentials on generated images. The mark is applied inside the model, adds no characters or tokens, does not change the meaning or quality of a reply, carries no information about you, and costs nothing extra. Praxis AI relays every reply unchanged so the mark travels with the text, and never adds or removes marks of its own. > > Which marks apply depends on the models your Digital Twin uses. See [AI-Generated Content Transparency](/mdx/introduction/ai-content-transparency) for the provider-by-provider status and what it means for your organization. > [accordion] What is middleware? > > Middleware is the intelligent connection layer that makes all your systems work together — your AI tools, data, workflows, LMS, apps, and human experts. > > For Praxis AI, middleware is the magic beneath the surface: it securely orchestrates everything so your Digital Twins can deliver trusted, personalized answers using the right knowledge at the right time. > > Less fragmentation. More intelligence. Human expertise, beautifully connected. > [accordion] Why should I enable location settings? > > Sharing your location lets your digital twin give answers that take where you are into account — for example maps and directions, nearby places, local search results, and time-zone-aware scheduling. Location is strictly opt-in: Pria asks before using it, your location is only used to improve your answers, and you can turn it off at any time from your profile's Personalization settings while keeping full platform functionality. > [accordion] How to add credits? > > Credits power every AI interaction on the platform. As an individual, open the **Gallery** (or **My Profile → Billing → Add Credits**; in the Studio UI, **Settings › Billing & Credits**) and pick a credit package — purchases are processed securely through Stripe, and credits never expire. Organizations can buy larger volume packages for a Digital Twin so all members draw from a pooled balance, and manage transfers between an Account and its Digital Twins from the admin console. For volume pricing and named-user subscriptions, contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com). See [Plans and Credits](/mdx/introduction/plans-and-credits) for the full pricing tables. > [accordion] What is an instance? Is it the same as a Digital Twin? > > Yes — an *instance* is just another name for a Digital Twin. You will see the word on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`), but it is the same thing: one assistant with its own knowledge, voice, members and settings. (Our software and API call it an *institution*.) > > Your organization's private, branded home for *several* Digital Twins — with shared billing and administrators — is called an **Account**. Both are defined in the [glossary](/mdx/introduction/glossary). > [accordion] Who should I contact if I have questions? > > Reach out to [humans@praxis-ai.com](mailto:humans@praxis-ai.com). Our support team is ready to assist you with technical issues, account questions, implementation guidance, and any other inquiries about the Praxis AI platform. > [accordion] How accurate is the information my digital twin provides? > > Your digital twin is designed to be highly accurate, but not magically omniscient. > > Praxis AI prioritizes information from your approved content first — uploaded documents, organizational knowledge, course materials, policies, and other verified sources in the [IP Vault](/mdx/user-guide/files-documents/ipvault). When needed, it can also use broader knowledge or real-time tools, but the goal is always to ground responses in trustworthy material rather than "winging it." > > Accuracy is supported through: > > * **Source-based responses** grounded in uploaded or approved content > * **Citation and traceability** so users can see where answers came from > * **Content prioritization** based on your organization's materials and expertise > * **No-fabrication behavior**, meaning the twin should say when it does not know > * **Ongoing improvement** as you upload better content and refine instructions > > The best way to improve accuracy is simple: keep your digital twin's knowledge base current, upload high-quality source materials, and ask specific questions. Think of it like training a brilliant colleague — the better the briefing, the sharper the answer. > > So: very accurate when grounded in strong content, transparent when uncertain, and always improving over time. High-tech, human touch — with guardrails. > [accordion] How many Twins and Assistants can I have? > > You can have multiple Digital Twins and Assistants, based on your account, role, and entitlements. > > Everyone starts with a personal Pria. If you registered your account yourself, you can create your own Digital Twin once your personal Pria has answered 5 of your questions — up to 3 per account. In a school or organization, its administrators create Digital Twins. See [Create a Digital Twin](/mdx/user-guide/create-digital-twin). > > From there, scale across teams, courses, departments, or entire organizations — each Twin bringing expert knowledge, personality, and purpose-built Assistants to the people who need them. > > Your expertise, multiplied. Your support, always on. # Glossary Source: https://docs.praxis-ai.com/mdx/introduction/glossary Plain-language definitions of the terms used across the Praxis AI documentation > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. > [!NOTE] > > Can't find a term? Contact our team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to suggest additions to this glossary. ## Key Definitions > [card] Pria > > The flagship Digital Twin created by Praxis AI. Pria serves as both a demonstration of platform capabilities and a practical AI assistant designed to teach prompt engineering skills. > [card] Praxis AI > > A human-first AI platform for creating, managing, and using Digital Twins, Assistants, knowledge sources, and integrations. It helps organizations scale expertise, personalize interactions, and support AI-powered workflows. > [card] Digital Twin > > An AI assistant configured with its own knowledge, personality, voice, tools, and instructions — a representation of a person, an expert, a brand, or a role. Digital Twins let people interact with expertise in a personalized, scalable way. > [card] Assistant > > A reusable set of instructions layered on top of a Digital Twin for one kind of task — a tutor, a grader, a report writer. An assistant adds to the twin; it never replaces it. > [card] Files > > Documents or media uploaded to Praxis AI so they can be stored, searched, analyzed, or quoted during conversations. They give the Digital Twin source material for more accurate answers. > [card] Memory > > Saved information that helps personalize future interactions, such as your preferences, relevant context, or recurring details. Memory lets Praxis AI give more consistent, context-aware help over time. > [card] RAG > > Retrieval-Augmented Generation — Praxis AI searching *your* uploaded files and answering from what it finds there, instead of only from what the AI learned during training. > [card] Credits > > The usage units Pria bills in. Credits let users and administrators see and manage consumption across Digital Twins and services. > [card] Workspace > > Your operating environment within Praxis AI, where you access and manage conversations, Digital Twins, files, Assistants, settings, and related resources. (An *Agent Workspace* is something different — see below.) > [card] Integrations > > Connections between Praxis AI and external systems, tools, or services so information and workflows can move between platforms — accessing connected data, automating actions, or extending a Digital Twin's capabilities. *** ## A > [accordion] Account > > The top-level organisation in Praxis AI — a university, a company, a school district. An Account groups one or more Digital Twins, holds the shared credit balance, and lets one set of administrators oversee users across all of them. An Account is *not* the same thing as an Institution (see [I](#i)). > [accordion] Account Manager > > A role that gives someone access to manage several Digital Twins within an Account. Account Manager access is configured by the Praxis AI team. Contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com) to request this role. > [accordion] Act As (Impersonation) > > An admin tool for reproducing user-reported issues. An administrator with the right permissions can temporarily see the product as a user after stating a reason; the session is fully audited, capped at one hour, and the rest of the admin console is locked until the admin clicks Stop. See [Memory Parameters & Act As](/mdx/admin-guide/memory-and-impersonation). > [accordion] Action Menu (\[+]) > > The **+** button at the left of the message box. It opens the menu where you attach files, pick an assistant, choose which knowledge sources and memory Pria may use, and reach other per-conversation settings. Several pages refer to it as "the **\[+]** menu". > [accordion] Agent Mode (Subagents) > > An opt-in mode in which a Digital Twin answers with a **team** instead of a single model: a manager model (the *conductor*) plans the work and hires temporary helpers — such as a coder, a tester, or a researcher — that run in parallel and report back. The helpers are separate model instances that share no memory, so each works only from the brief the manager writes for it. Because one request can become dozens of model calls, agent-mode turns cost more than single-model turns. An administrator makes subagents available on a Digital Twin; each member then turns **Subagents** on for themselves in the **\[+]** menu. The **Mode** picker (Auto / Basic / Advanced / Expert / Mythical) controls how much team may be hired. See [Single Model vs Agent Mode](/mdx/user-guide/interface/single-model-vs-agent-mode). > [accordion] Agent Workspace > > A private, isolated cloud desktop that can be switched on for autonomous agent work when enabled for your Digital Twin — its own home directory, configurable CPU, memory, and storage, and an in-browser desktop view. Idle workspaces go to sleep with files preserved and wake on demand. > [accordion] AI Tool > > A capability that extends what a Digital Twin can do beyond writing text — searching Canvas, sending emails, generating images, calling an API, connecting to an external service. Tools are switched on or off per Digital Twin by administrators. > [accordion] API Key (Personal) > > A long secret string (it starts with `pria_`) that lets your own software sign in to Pria as you, without a browser. It is shown once when created — store it safely. A program exchanges it for a short-lived sign-in token (a [JWT](#j)) before making calls. See [Personal API Keys](/mdx/user-guide/profile-settings/api-keys). > [accordion] Assistant > > A reusable set of instructions layered on top of a Digital Twin for one kind of task — a tutor, a grader, a report writer. An assistant adds to the twin; it never replaces it: everything the twin already knows — its files, its personality, its connections — still applies. Assistants can be personal (yours), shared with everyone on a Digital Twin, or shared across every Digital Twin in an Account. See [Assistants](/mdx/user-guide/assistants-personalization/assistants). > [accordion] Audio Notes > > Voice memos recorded from the Pria toolbar. Record one or more segments, save, and Pria transcribes them in the background into an **Audio Notes** collection in your personal vault, replacing the filename with a short AI-generated title. See [Audio Notes](/mdx/user-guide/files-documents/audio-notes). *** ## B > [accordion] BYOK (Bring Your Own Keys) > > An enterprise pricing option where organizations supply their own API keys for AI providers (OpenAI, Anthropic, Google, etc.). BYOK customers buy credits at a 40% discount on standard pricing through the Praxis AI sales team, while keeping direct control over provider usage through their existing provider agreements. See [Plans and Credits](/mdx/introduction/plans-and-credits) for details. > [accordion] BYOT (Bring Your Own Token) > > An advanced enterprise feature that lets organizations connect their own API keys for multiple AI providers — OpenAI, Anthropic, AWS Bedrock, Google (the Gemini Developer API and Google AI Platform / Vertex AI), Mistral, xAI, Moonshot AI (Kimi), and Stability AI — or point Pria at custom endpoints (Azure OpenAI, OpenRouter, RunPod, LiteLLM proxies, self-hosted vLLM). Pria's [Neural Engine](#n) then routes each request to the model your configuration selects. See [Switch to Praxis-AI Middleware](/mdx/introduction/byot) for setup details. *** ## C > [accordion] Canvas Integration > > The connection between Praxis AI and Instructure Canvas LMS. Available via [LTI 1.3](/mdx/integrations/canvas/lti-1-3) protocol or [Theme injection](/mdx/integrations/canvas/theme), allowing Digital Twins to appear directly within Canvas courses for seamless student and faculty access. Supports two-tier OAuth — a Student Access Token (read-only course data) and a Faculty Access Token (read/write for assignments, announcements, and grades). > [accordion] Chat Completions API > > An OpenAI-compatible REST endpoint that lets external applications interact with Digital Twins using the standard OpenAI SDK. Point any OpenAI-based app to Pria's endpoint, use your Digital Twin's Public ID as the model, and authenticate with a JWT — no other code changes required. See the [Chat Completions](/mdx/integrations/chat-completions/introduction) guide. > [accordion] Chunk (Segment) > > One passage of an uploaded file. Pria cuts every file into passages so it can find and quote the right part instead of the whole document. How long the passages are, and how much they overlap, are administrator settings — see [Knowledge & RAG Configuration](/mdx/admin-guide/knowledge-rag-config). The docs use "chunk" and "segment" for the same thing. > [accordion] Classic interface / New interface > > Pria has two looks. The **classic interface** is the original one. The **new interface**, called **Studio UI** (Beta) on screen, is the redesigned look. An administrator can turn it on for your account (**Allow new UI access** in **Users**); inside Canvas it is offered to the Digital Twin's admins only. Once it is on, the **Studio UI** button in the top bar switches to it and **Classic UI** switches back. A few settings live in different menus in each; where the docs give two paths, use the one that matches what you see. > [accordion] Collections > > Folder-like groupings for organizing files in your vault, with nesting, drag-and-drop, accent colors, and bulk actions (include/exclude from retrieval, reprocess, download as ZIP). See [Organizing Files into Collections](/mdx/user-guide/files-documents/collections). > [accordion] Compaction > > Pria shortening the older part of a long conversation into a summary while keeping the most recent exchanges word for word, so the twin can remember more without every message costing more. Only what is sent to the AI is shortened — the saved conversation itself is never changed. See [Conversation History](/mdx/user-guide/memory/conversation-history). > [accordion] Confirm it's you > > A short check Pria shows when it opens inside Canvas for an admin account: enter the 6-digit code sent to the account's email address (or from an authenticator app). Students are not asked, and a verified browser is remembered for 24 hours. See [More security for LMS login](/mdx/user-guide/lms/canvas-login-security). > [accordion] Connector > > A saved link from a Digital Twin to an external service or an MCP (Model Context Protocol) server, so the twin's tools can reach that service's data and actions. See [Connectors](/mdx/admin-guide/connectors). > [accordion] Content Credentials (C2PA) > > Provenance metadata attached to a generated image or video, following the Coalition for Content Provenance and Authenticity (C2PA) standard, that records which AI model and platform produced it. OpenAI, Amazon, Stability AI and Anthropic attach Content Credentials to the images their models generate; Praxis AI stores generated files as delivered so the credentials stay with the file. See [AI-Generated Content Transparency](/mdx/introduction/ai-content-transparency). > [accordion] Conversation > > A session of back-and-forth dialogue between a user and a Digital Twin. Conversations maintain context and history, can be named for easy reference, and are stored for future retrieval. > [accordion] Convo Mode > > Real-time speech-to-speech conversation with a Digital Twin, in many languages: you speak, and the twin speaks back. Powered by a choice of voice providers: **OpenAI GPT-Realtime** (low-latency, client-side voice selection, tool calling and MCP support), **Gemini Live** (Google's native multimodal audio with real-time tool calling and noise reduction), **xAI Voice Agent** (Grok-powered voice with tool calling and 5 built-in voices), **ElevenLabs** (custom voice clones, dashboard-managed voices), **Cartesia** (expressive, tunable voices including clones), **OpenAI GPT-Live** (listens and speaks at the same time while your Digital Twin's own model answers), or **Anam** (a lip-synced video avatar with its own voice catalogue). The voice provider is chosen per Digital Twin in [Configuration](/mdx/admin-guide/configuration). Some settings abbreviate it to **STS** (speech-to-speech). See [Convo Mode](/mdx/user-guide/interface/convo-speech) for usage details. > [accordion] Credits > > **Praxis Unified Credits** — the currency that powers AI interactions on the Praxis platform. Credits are consumed with each request based on the [tokens](#t) processed (roughly 1 credit per 10,000 tokens, with a 1-credit minimum per call) and **never expire**. Credits can be pooled at the Digital Twin level or managed individually per user. Models that support caching (such as the Claude and GPT-5 families) can reduce credit consumption by reusing previously processed context — the saving is shown in the [Usage Details](#u) panel under the reply. See [Plans and Credits](/mdx/introduction/plans-and-credits) for pricing and [Credit Optimization](/mdx/user-guide/credits-optimization) for saving tips. *** ## D > [accordion] Deep Linking (LTI) > > The part of the LTI standard that lets a teacher add Pria to a course from inside the LMS's own editor — for example as a module item — rather than pasting a link by hand. > [accordion] Dialogue > > One exchange in a conversation: your message and the reply to it. A conversation is a series of dialogues. Settings such as **Remember History** count dialogues. > [accordion] Digital Expert > > A Digital Twin built around a *subject* rather than a *person* — a specialist with expert knowledge that is not modelled on anyone in particular. Digital Experts and Digital Twins are created and managed in exactly the same way; only the personality you give them differs. Everything in these docs applies to both, and we say "Digital Twin" throughout. > [accordion] Digital Twin > > An AI-powered assistant with its own personality, knowledge base, voice, and appearance. Digital Twins are the core product of Praxis AI — intelligent consultants available 24/7 to answer questions, perform tasks, and provide personalized support. If you registered your own account, you can create a Digital Twin once your personal Pria has answered 5 of your questions (up to 3 per account) — see [Create a Digital Twin](/mdx/user-guide/create-digital-twin). You will also see a Digital Twin called an **Instance** or an **Institution** — see those entries under [I](#i). All three names mean the same thing. > [accordion] Dynamic Registration (LTI) > > A one-step way to register Pria (or the LXP) with your LMS: instead of typing each setting by hand, the LMS fetches them from a registration link. Available on the LMS platforms that support it. *** ## E > [accordion] Embeddings > > Numeric fingerprints of what a passage *means*. When a document is uploaded to the IP Vault, each passage is turned into one, so Pria can compare your question against all of them at once and find the closest matches by meaning rather than by exact words. This is what powers [RAG](#r). > [accordion] ElevenLabs > > A third-party voice AI provider integrated with Praxis AI as an alternative real-time conversation provider. ElevenLabs supports custom voice clones and branded voice experiences for Digital Twins in [Convo Mode](/mdx/user-guide/interface/convo-speech). Selected per Digital Twin via the Convo Voice Provider setting. > [accordion] Enrollment > > The process of adding people to a Digital Twin. Users can be enrolled individually, via CSV bulk import, or automatically through Canvas, Google Workspace, or API integrations. When integrated with Canvas or other LMS platforms, users are auto-enrolled on first access. See the [Users](/mdx/admin-guide/users) admin guide for enrollment workflows. > [accordion] Entitlements > > Named permissions that decide what a person may do within a specific Digital Twin — upload files, create assistants, change admin settings, and so on. Each one is written as *area.action*, for example `assistants.edit` means "may change assistants" and `institutions.edit` means "may change this Digital Twin's settings". See [Entitlements](/mdx/admin-guide/entitlements) for the full permission reference. > [accordion] Ephemeral Token (Session Token) > > A short-lived pass Pria hands to your browser to start one voice conversation directly with the voice provider. It expires with the call, so no long-lived API key ever reaches the browser. > [accordion] Extended Context > > A premium 1-million-token context window available for select Claude models (Sonnet 5, Sonnet 4.6). The standard context window — how much text a model can take in at once — is 200K tokens. Extended context allows longer conversations and larger document processing but incurs premium pricing from Anthropic. Configured per AI model in [Personalization and AI Models](/mdx/admin-guide/personalization). *** ## G > [accordion] Gallery > > The page that lists every Digital Twin you have access to. From the Gallery, you can open one, switch between them, mark favourites, start conversations, and — if you are an administrator — add new ones and invite people. See the [Digital Expert Gallery](/mdx/user-guide/interface/digital-expert-gallery) guide. > [accordion] Gemini Live > > Google's native multimodal audio streaming technology for real-time voice conversations. Supports 30 built-in voices (Puck, Charon, Kore, Fenrir, Aoede, and more), real-time tool calling, noise reduction, and transcription. Uses WebSocket-based streaming with ephemeral token security. Available as a voice provider option in [Convo Mode](/mdx/user-guide/interface/convo-speech). > [accordion] Guardrail > > A rule about what a Digital Twin must refuse, avoid, or handle with care — written into its instructions. > [accordion] Guest UI > > A simplified version of the interface, with fewer menus, shown to visitors and to newly joined members when an administrator turns it on (**Guest UI (Minimum screen)** in the Digital Twin's settings). *** ## I > [accordion] Identity Provider (IdP) > > The system that holds your organisation's logins — Okta, Microsoft Entra ID, Auth0, Google Workspace and similar. With [SSO](#s), Pria sends people there to sign in and trusts the answer. > [accordion] Incident (Praxis Shield) > > A record created when [Praxis Shield](#p) flags potentially concerning activity in a Digital Twin's conversations. Each incident carries a severity, status, and categories, plus a detail report with reviewer notes and an action history. Admins triage incidents — including marking false positives — and nothing is ever enforced automatically. > [accordion] Included / Excluded (file status) > > A file's status in your vault. **Included** files are ones your Digital Twin may read and quote. **Excluded** files are stored but never used in answers. Switch a file either way from the Files panel. > [accordion] Instance > > An older name for a Digital Twin. It still appears on some screens — the **Instance Settings** panel and the admin **Instances** list — and in your web address (`your-instance.praxislxp.com`). It means exactly the same thing as Digital Twin. Each Digital Twin has a unique [Public ID](#p) for integrations. > [accordion] Institution > > The name our software uses behind the scenes for a Digital Twin. You will meet it in API fields such as `institution`, in the admin API reference, and in a few admin screens. It means exactly the same thing as Digital Twin. It is *not* an organisation or a school in its own right — one organisation typically runs several Digital Twins, each of which is one "institution" in the API. The organisation itself is the [Account](#a). > [accordion] IP Vault > > Where you upload files so your Digital Twin can read them. Documents in the IP Vault are cut into passages, indexed, and made searchable, so the twin can answer from your own material and quote it. See [IP Vault](/mdx/user-guide/files-documents/ipvault). *** ## J > [accordion] JWT > > A short-lived, signed sign-in token that proves who you are on each request. Your browser gets one when you sign in; a program gets one by exchanging an [API key](#a). Not to be confused with the [tokens](#t) that measure text and cost. *** ## K > [accordion] KAG (Knowledge-Augmented Generation) > > An extra search layer on top of [RAG](#r). When a file is processed, Pria can also build a *knowledge graph* — a map of the people, places, things and ideas the file mentions and how they connect. With KAG on, Pria searches that map as well as the passages themselves and merges the two sets of results into one ranked list (using a method called Reciprocal Rank Fusion). This recovers passages the ordinary search can miss when your wording differs from the document's. KAG is **always an addition to RAG, never a replacement** — the ordinary search always runs; there is no "KAG without RAG". Wherever a knowledge graph is available, Pria uses **RAG + KAG Fusion** unless you choose **RAG**, and it remembers that choice. > [accordion] Knowledge Modes > > The settings that control whether, and how, Pria uses your files before answering. There are two: **File Vault** (formerly *Sources*) — **Disabled** (Pria answers without your files), **RAG** (Pria searches your files by meaning) or, when a knowledge graph is available, **RAG + KAG Fusion** (Pria also searches the graph and merges the results; used unless you choose **RAG**). The second setting is the separate **Search Only** switch, which returns the matching passages as they are instead of an AI-written answer (it has no effect when File Vault is Disabled). Found under *Your Profile → Knowledge* and in the **\[+]** menu's **Knowledge** submenu. See [Knowledge Modes](/mdx/user-guide/interface/knowledge-modes). *** ## L > [accordion] LLM (Large Language Model) > > The AI that reads your message and writes the reply. Pria can use models from several [providers](#p); your administrator chooses which one each Digital Twin uses for each job. > [accordion] LMS (Learning Management System) > > Educational platforms like Canvas, Moodle, Blackboard, and D2L Brightspace. Praxis AI integrates with LMS platforms to provide in-context AI assistance for students and faculty. > [accordion] Long-term Memory > > The part of Twin Memory a Digital Twin builds on its own: when a conversation changes how it should help you later, it keeps that and shows a **Memory** row under the answer (Recalled, Saved, Updated, Forgotten). Private to you on that twin, managed in **Settings → Memory** (new interface) or **Manage Memory… → Long-term Memory** from the **\[+]** menu's **Knowledge** submenu (classic interface), and enabled per twin by its administrators. See [Twin Memory](/mdx/user-guide/memory/twin-memory). > [accordion] LTI (Learning Tools Interoperability) > > The industry standard that lets an LMS open an outside tool — such as Pria — with the user and course already identified. Praxis AI supports LTI 1.3 (also called LTI Advantage) for Canvas, Moodle, Blackboard and D2L. > [accordion] LXP (Learning Experience Platform) > > The Praxis Learning Experience Platform — a learner-centric system for delivering personalized, adaptive learning experiences. Features include curated learning paths organized in tracks and lessons, progress tracking, leaderboards, badges, and integrated tools (WordPress, GitLab, Discord). Digital Twins are embedded directly within the LXP to provide AI-powered assistance. See [Navigating the LXP](/mdx/lxp/introduction). *** ## M > [accordion] MCP (Model Context Protocol) > > An open standard that lets an AI application borrow tools and data from another system. Pria uses MCP in two ways: as a **server** (offering Digital Twin capabilities to Claude Desktop, Cursor, or any MCP-compatible client) and as a **client** (connecting to remote MCP servers via [Connectors](/mdx/admin-guide/connectors)). Connector tools work with every conversation model that supports tools, in typed and voice conversations. See [MCP Server](/mdx/integrations/mcp/introduction) for setup. > [accordion] Meeting Agent > > A Digital Twin sent into a live video call — Zoom, Google Meet, Microsoft Teams or Webex — where it joins as a visible participant with its avatar and voice, listens, answers when addressed, and writes up what happened afterwards. You invite it in conversation ("join \, and review the Q3 report"), and the instructions you give in that invitation travel with it into the call. Meetings bill per minute of the bot's time in the call on top of the usual per-turn cost. See [Meeting Agent](/mdx/admin-guide/meeting-agent). > [accordion] Membership > > The record that links one person to one Digital Twin, carrying their role (User or Admin), their status, and their entitlements. One person can be a member of several Digital Twins. > [accordion] MFA (Multi-Factor Authentication) > > Two-step verification (also called two-step sign-in) for Pria accounts. When it is on, signing in from a new browser needs your password (or social sign-in) **and** a 6-digit code — emailed to the account address (valid 5 minutes) or from an authenticator app. A verified browser becomes a **trusted device** for 7 days on the same network (24 hours inside Canvas). Admin accounts are asked to turn it on with **Strengthen your account security**: one that signs in directly must do so, while one that opens Pria from a Canvas course page can select **Remind me in 7 days**. See [Two-Step Verification](/mdx/user-guide/profile-settings/two-step-verification) (user) and [MFA Administration](/mdx/admin-guide/mfa) (admin). > [accordion] Memory > > Information that a Digital Twin retains about users and conversations. There are four systems: > > * **Conversation History**: Past messages in a specific conversation > * **User Memory**: Personal preferences and facts an individual user saves by hand > * **Long-term Memory**: What the twin notices and keeps on its own, shown with a receipt in the conversation > * **Shared Memory**: Information accessible across all users of a Digital Twin > > Long-term Memory and Shared Memory together are called **Twin Memory**. See [Memory Systems](/mdx/user-guide/memory/memory-systems). > [accordion] Middleware > > Pria's backend — the layer that sits between your organisation and the AI models. It handles sign-in, routes each request to the right model, searches your files, runs tools, and keeps track of conversations, so you don't have to wire up each AI provider yourself. > [accordion] Mistral AI > > A French AI company providing large language models. Pria integrates Mistral via native SDK, supporting conversation (Mistral Large, Medium 3.5, Small 4), code generation (Codestral), text-to-speech (Voxtral TTS), speech-to-text (Voxtral), and embedding models. Models Mistral has retired are replaced automatically by their current equivalent. > [accordion] Model Catalog > > The list of AI models Praxis AI supports and keeps up to date, with each model's abilities and prices. Every Digital Twin picks its models from this shared list. See [Platform Models](/mdx/admin-guide/platform-models). > [accordion] Model Use > > One of the jobs a Digital Twin gives to an AI model — conversation, summaries, image generation, embeddings, voice, video analysis, and so on. Each job can be assigned its own model. See [AI Models](/mdx/admin-guide/ai-models). > [accordion] Moderation > > Automatic content monitoring that screens user messages and flags inappropriate interactions before they reach the AI model. When enabled, moderation alerts are sent to designated administrators when violations occur. For reviewing and triaging flagged activity after the fact, see [Praxis Shield](#p). *** ## N > [accordion] Neural Engine > > Pria's model routing layer. The Neural Engine dispatches every AI request — conversation, summaries, image generation, embeddings, voice — to the model your configuration selects, from the assistant's pinned model down through the Digital Twin's defaults. With [BYOT (Bring Your Own Token)](#b) it routes those requests through your own provider credentials and custom endpoints. See [Switch to Praxis-AI Middleware](/mdx/introduction/byot). *** ## O > [accordion] OAuth > > Signing in with an account you already have — Google, Microsoft, Apple, GitHub or Facebook — instead of a separate Pria password. Your password is only ever typed at that provider, never at Pria. See [Social Sign-In](/mdx/integrations/authentication/social-oauth). > [accordion] OCR (Optical Character Recognition) > > Reading the text out of a picture or a scanned page so that it can be searched and quoted like any other document. > [accordion] OIDC (OpenID Connect) > > The identity layer on top of OAuth 2.0 that lets an organisation's [identity provider](#i) tell Pria who just signed in (name, email). This is the standard Pria's enterprise [SSO](#s) uses. > [accordion] Onboarding Questions > > A guided questionnaire in the admin panel that helps personalize a Digital Twin. By answering questions about communication style, expertise, and preferences, administrators generate an AI prompt that makes the twin mirror a specific person's voice and approach. See [Onboarding Questions](/mdx/admin-guide/onboarding-questions). *** ## P > [accordion] Persona > > The character a Digital Twin or an assistant plays — its voice, its focus, and how it answers. For a twin it is shaped by its instructions and the Onboarding Questions; for an assistant, by its instructions. > [accordion] Placement (LTI) > > A spot in your LMS where Pria can be opened from — a course navigation link, a module item, and so on. > [accordion] Poke / Hold (meetings) > > Two words you can type in a meeting's chat to steer your Digital Twin. **`poke`** asks it for one ordinary spoken answer without a wake word — it waits for the normal turn boundary rather than talking over anyone. **`poke \`** also tells it who is speaking to it, which matters when several people share one screen or profile. **`hold`** cancels a pending poke and keeps the twin quiet. See [Meeting Agent](/mdx/admin-guide/meeting-agent). > [accordion] Pool Credits > > A setting that lets everyone using a Digital Twin draw from one shared credit balance rather than from their own personal credits. When the pool is empty, conversations pause until it is topped up. > [accordion] Praxis Shield > > Pria's threat-monitoring capability for Digital Twin administrators. Conversations are scanned in the background; potentially abusive or concerning activity surfaces as [incidents](#i) in the admin Threats panel, where admins review the report, add notes, progress the status, mark false positives, and share a read-only incident report with another admin of the same Digital Twin. Scanning is invisible to end users and never blocks or alters their experience — admins decide every action. See [Praxis Shield](/mdx/admin-guide/praxis-shield). > [accordion] Pria > > The flagship Digital Twin created by Praxis AI. Pria serves as both a demonstration of platform capabilities and a practical AI assistant designed to teach prompt engineering skills. > [accordion] Prompt / System Prompt > > The standing instructions that define a Digital Twin's (or an assistant's) personality, behaviour, knowledge focus, and response style. They are handed to the AI at the start of every conversation, which is why they are sometimes called the *system prompt*. "Prompt" is also used for a message you send to a Digital Twin. > [accordion] Provider > > The company whose AI models Pria calls for a given job — OpenAI, Anthropic, Google, Amazon (Bedrock), xAI, Mistral, Moonshot AI, Stability AI for text, images and audio; OpenAI, Google, xAI, ElevenLabs, Cartesia and Anam for voice and avatars. > [accordion] Public ID > > A short identifier for a Digital Twin, used to point integrations at it — the Web SDK, Canvas, the Chat Completions API. It is public by design: it appears in embed code and in web addresses, so it is safe to share. It is not a password and grants no access on its own; who may use the twin is controlled by sign-in, entitlements, and the twin's list of authorized URLs. Find it in the Digital Twin's settings. *** ## R > [accordion] RAG (Retrieval-Augmented Generation) > > Pria searching *your* uploaded files before it answers, and grounding the reply in what it finds there instead of only in what the AI learned during training. The search works by meaning, not by exact words, so it finds the right passage even when you phrase things differently from the document. In Pria, RAG searches your personal vault and the Digital Twin's shared vault. You can add [KAG](#k) on top, or switch retrieval off entirely — see *Knowledge Modes* under [K](#k). See [IP Vault](/mdx/user-guide/files-documents/ipvault). > [accordion] RAG Chunk Enrichment > > An advanced setting that adds a short summary and keywords to each passage before it is indexed, so that searches find it more reliably in long or complex documents. > [accordion] Reasoning Effort > > A setting that controls how long the AI works on a problem privately before it answers. Praxis AI supports five levels: None, Low, Medium, High, and Max. More effort tends to mean better answers to hard questions, but slower and dearer ones. Configured per Digital Twin in [Configuration](/mdx/admin-guide/configuration) and optionally overridden per AI model. See [AI Models](/mdx/admin-guide/ai-models#reasoning-effort--thinking) for provider-specific details. > [accordion] Remember History > > How many recent dialogues Pria carries into each new message, so the twin remembers what was just said (0–15; default 3). More history means better continuity and a higher cost per message. See [Conversation History](/mdx/user-guide/memory/conversation-history). > [accordion] Role > > A person's permission level within a Digital Twin. Common roles include: > > * **User**: Standard access to converse and use basic features > * **Admin**: Full access to configure settings, manage users, and view analytics *** ## S > [accordion] Sanitize (chunks) > > Having the AI clean junk out of each passage — menus, headers, footers, scanning errors — before it is filed, so searches find the real content. > [accordion] SDK (Software Development Kit) > > Ready-made code for putting a Digital Twin into your own app or website. The JavaScript SDK enables web applications to embed Digital Twins with features like messaging, UI control, and event handling. > [accordion] Search Only > > A Knowledge setting that returns the matching passages from your files as they are, with no AI-written answer on top. Useful when you want to see exactly what your documents say. > [accordion] Session > > A time-bounded period of user activity with a Digital Twin. Sessions track when users are actively engaged and provide analytics on usage patterns. > [accordion] Shared Memory > > A type of memory that stores information accessible to all users of a Digital Twin. Useful for institutional knowledge, FAQs, or data that should be consistent across all interactions. > [accordion] Skip Indexing > > An upload option that stores a file without making it searchable — no processing, no processing cost, and your Digital Twin will not answer from it. > [accordion] Slug > > The short, URL-safe name you choose for an SSO connection — `my-university` in `https://your-domain.com/sso/my-university`. Lowercase letters, numbers and hyphens only. > [accordion] Speech-to-Speech (STS) > > Another name for [Convo Mode](#c): you speak, and the twin speaks back. Some settings and messages abbreviate it to STS — for example **Enabled in Convo (STS)** on an assistant. > [accordion] SSO (Single Sign-On) > > Signing in to Pria with the account your school or employer already gives you, through your organisation's [identity provider](#i). Set up per Digital Twin by an administrator; each connection gets its own sign-in address. See [Enterprise SSO](/mdx/integrations/authentication/enterprise-sso). > [accordion] Stability AI > > Stability AI is a generative-media company focused on image and audio synthesis. Pria integrates Stability AI as a dedicated media-generation provider — powering the `generate_image` and `generate_audio` tools available in both chat and convo modes (video generation routes to Amazon Nova Reel or OpenAI Sora instead). Models include Stable Image Ultra / Core, SD 3.5 Large, and Stable Audio 2 (up to 190 seconds). Configured with a platform-provided key or a per-Digital-Twin API key override. > [accordion] STT / TTS > > **Speech-to-text (STT)** turns what you say into written words — dictation, voice transcripts. **Text-to-speech (TTS)** reads a reply aloud. > [accordion] System Context > > The standing, platform-wide guidance Pria sends to the AI with every request, alongside your Digital Twin's and assistant's own instructions: how to use tools, which sources to trust first, safety guardrails, formatting rules, and the personality framework. An assistant can be set to bypass it and run on its own instructions alone. *** ## T > [accordion] Text Watermark > > An imperceptible statistical pattern in an AI model's word choices that lets the model's provider recognise text the model generated. It adds no characters or tokens, does not change meaning or quality, and carries no information about the user. Anthropic applies one to Claude output (Fable 5.1 now, Opus 5 from 9 September 2026) and Google applies SynthID to Gemini text, to meet the EU AI Act's transparency rules; Praxis AI relays replies unchanged so the mark travels with the text. See [AI-Generated Content Transparency](/mdx/introduction/ai-content-transparency). > [accordion] Theme Integration > > A method of embedding Praxis AI into Canvas by injecting code via the Canvas Theme Editor. This approach provides a branded, always-available Digital Twin experience without requiring LTI configuration. > [accordion] Token > > A small piece of text — roughly four characters, so a little under one word. AI models read and write in tokens, and AI cost and size limits are measured in them. Not to be confused with a sign-in token ([JWT](#j)) or the `${...}` placeholders in assistant instructions ([Variables](#v)). > [accordion] Tools > > Capabilities that Digital Twins can invoke to perform actions beyond text generation. Examples include web search, image generation, code execution, Canvas operations, and memory management. > [accordion] Trash > > Where deleted files wait before they are gone for good. You can restore a file from the Trash or delete it permanently from there. Deleting a collection moves its files to the Trash too. > [accordion] Tree of Knowledge > > A visual map of your knowledge graph in the Files panel — browse the pillars, entities, and relationships extracted from your documents, down to the source files behind them. Available for any vault that has a knowledge graph: switch the Files display from **Files** to **Tree**. > [accordion] Turn > > One exchange — a message and its reply. Voice conversations and Agent Mode are billed per turn. > [accordion] Twin Memory > > Everything a Digital Twin remembers between conversations: **Long-term Memory** (what it keeps on its own) plus **Shared Memory** (what everyone using the twin can draw on). Additional to User Memory. See [Twin Memory](/mdx/user-guide/memory/twin-memory). *** ## U > [accordion] Usage Details (Dialogue Report Card) > > The panel you open from the **Usage Details** button under a reply. It shows what that one answer used — tokens, credits, time, and which models ran — including any caching discount. Some pages call it the Dialogue Report Card. > [accordion] User Memory > > Personal information and preferences that a Digital Twin remembers about an individual user. User memory enables personalized responses that adapt to each user's communication style and needs over time. *** ## V > [accordion] VAD (Voice Activity Detection) > > How Convo Mode works out that you have finished speaking, so it knows when to reply — and, for some voice providers, how readily the twin stops talking when you speak over it. Administrators can tune this per Digital Twin. > [accordion] Variables > > Placeholders in assistant instructions, written `${like_this}`, that Pria fills in with real values at the moment the assistant runs — for example `${user_name}` or `${course_id}`. They let one assistant adapt to many situations. See [Variables](/mdx/admin-guide/variables). > [accordion] Vault > > Where uploaded files live in Praxis AI. There are three areas: your **personal vault** (your own files), the **Digital Twin's vault** (shared with everyone on that twin — the **Instance Files** tab in the Files panel), and the **Account vault** (shared across all Digital Twins in an Account — the **Account Files** tab). Also called the IP Vault. See [IP Vault](/mdx/user-guide/files-documents/ipvault). > [accordion] Vault Health > > An A–F quality grade for the files in your vault, with categorized follow-ups such as errors, never-used files, stale files, and files that need reprocessing. The Vault Health panel in Files doubles as a filter — click a category to see just those files — and includes a knowledge-graph coverage check. See [File Processing Status](/mdx/user-guide/files-documents/file-processing). > [accordion] Vector Search > > Finding text by meaning rather than by matching words. Vector search is how RAG finds the right passages even when your question uses different terminology from the source material. > [accordion] Video Analysis Model > > The model used to describe the **visual** content of an uploaded video — the scenes and on-screen content (slides, diagrams, demos, on-screen text). The resulting scene description is fused with the video's spoken transcript into a single ingested document, so on-screen content becomes searchable in RAG and is captured in the knowledge graph. It is a separate Model Use (independent of the Conversation model), currently limited to video-capable models such as the Gemini Flash and Pro families (`gemini-3.8-flash`, `gemini-3.7-flash`, `gemini-3.5-flash`, `gemini-2.5-pro`); the platform default is set under System Models and can be overridden per Digital Twin. Runs at low media resolution for cost control and is failure-isolated — a failure never blocks the transcript. See [AI Models](/mdx/admin-guide/ai-models#video-analysis-model). > [accordion] Voice Cloning > > A feature (through the ElevenLabs or Cartesia voice providers) that allows Digital Twins to speak with custom, cloned voices. Organizations can create unique voice identities for their twins. > [accordion] Voice Preview > > A feature allowing administrators to audition AI voices before selecting them. Links to OpenAI TTS Playground and Google AI Studio let admins hear voice samples directly. *** ## W > [accordion] Web SDK > > The integration method for embedding Digital Twins into custom web applications. The Web SDK provides authentication, UI components, and APIs for full programmatic control. > [accordion] WebRTC / WebSocket > > Two ways your browser can hold a live audio connection open with a voice provider during Convo Mode. Which one is used depends on the provider; WebSocket connections tend to get through strict school and office networks more easily. *** ## X > [accordion] xAI / Grok > > xAI is an AI company founded by Elon Musk. Pria integrates xAI via native API, supporting conversation (Grok 4.7, Grok 4.6, Grok 4.5, Grok 4.3, Grok 4.1 Fast), vision, image generation (Grok Imagine), code generation (Grok Code Fast, Grok Build), text-to-speech (5 voices: Eve, Ara, Rex, Sal, Leo), and real-time voice conversations (Grok-3 Fast via WebSocket). Configured per Digital Twin with a dedicated xAI API key. *** ## Z > [accordion] Zero Data Retention (ZDR) > > A guarantee that the AI model provider does not store prompts or model responses after a request completes — nothing is retained on the provider's servers, used for training, or available for later review. Praxis AI middleware ships only with models that comply with ZDR. The one exception is Anthropic's Mythos-class models (e.g., Claude Fable 5), which are subject to a mandatory 30-day data retention that overrides ZDR agreements; these models are flagged with a warning in the model selector. See [Anthropic's retention notice](https://support.claude.com/en/articles/15425996-data-retention-practices-for-mythos-class-models). *** > [!NOTE] > > **Can't find a term?** [Contact our team](mailto:humans@praxis-ai.com) to suggest additions to this glossary. # Plans and credits Source: https://docs.praxis-ai.com/mdx/introduction/plans-and-credits Understanding plans, credit usage and credit rollovers in Praxis AI ## Choose How You Pay Credits in Pria are **Praxis Unified Credits**. Each new user receives **50 free credits** to explore the platform when they get started with their Digital Twin. Once you are ready for more credits, you can set up a subscription plan or purchase a discounted credit bundle. ![Credit Bundle Dashboard in the Digital Twin Gallery](https://mintcdn.com/praxisai/sHBvhGRqIiNsnDg9/images/introduction/plans/credit-bundle-dashboard.png?fit=max\&auto=format\&n=sHBvhGRqIiNsnDg9\&q=85\&s=062cf892c57cc2d0462f6c03ce911d0f) Credit Bundle Dashboard in the Digital Twin Gallery You can browse credit bundles by scrolling to the bottom of your [Digital Twin gallery](/mdx/user-guide/interface/digital-expert-gallery) and clicking on **Add Credits**. These bundles can be purchased either individually or through your organization, ensuring uninterrupted access to AI-powered learning and productivity tools. > [!TIP] > > When considering which credit bundle is right for you, keep in mind that credits NEVER expire! ## Per Credit Usage The **Per Credit Usage** model allows you to buy bundles of credits and apply them to your personal account or to the Digital Twins you manage for your school or organization. Each interaction consumes credits based on the tokens it processes (a *token* is a small piece of text, roughly four characters). Approximately **1 credit is used per 10,000 tokens** of combined input and output, with a 1-credit minimum per AI call. Requests that fail before the AI does any work are never billed, and canceling a response never incurs a charge. > [!NOTE] > > **Bring Your Own Keys (BYOK):** Customers who provide their own AI provider credentials (OpenAI, Anthropic, Gemini, Mistral, etc.) buy credits at a substantial 40% discount on standard pricing through our sales team, keeping direct control over provider usage while leveraging existing provider relationships and enterprise agreements. Standard setup and support charges remain unchanged. For details on connecting your own models, see [Bring Your Own Model](/mdx/introduction/byot). ## Credit Bundles All credit packages are one-time purchases and **credits never expire**. Pricing starts at 11 cents per credit for the base tier, with increasing discounts as you purchase larger bundles. Savings percentages are calculated relative to the base rate of 11¢/credit. > [tab] Personal Credits > > **Standard Packages for Personal Use** > > | **Package** | **Price** | **Credits** | **Per Credit** | **Savings** | > | - | - | - | - | - | > | Silver | \$10 | 90 | 11.00¢ | — | > | Premium | \$25 | 238 | 10.50¢ | Save 5% | > | Pro | \$50 | 500 | 10.00¢ | Save 9% | > | Gold | \$120 | 1,263 | 9.50¢ | Save 14% | > | Diamond | \$300 | 3,333 | 9.00¢ | Save 18% | > > **Select in the Gallery** > > ![Personal Credits](https://mintcdn.com/praxisai/CUqUj-DEie3yZ1BD/images/user-guide/interface/gallery-add-credits-personal.png?fit=max\&auto=format\&n=CUqUj-DEie3yZ1BD\&q=85\&s=19af122a36f36baa86a2e1e8cfcb8980) > > Packages for Personal Credits > > **Personal Use** > Each user receives a default personal account called Pria, which serves as your dedicated digital assistant for handling personal tasks and inquiries. This account is designed specifically for your individual needs and can be managed independently by purchasing and adding credits directly to maintain its functionality and access to various services. > > > [!NOTE] > > > > By default your personal account is awarded 50 credits to start. > > **Create your own Digital Twin** > If you registered your account yourself, a **Create your own Digital Twin** card under your personal credits in the Gallery (in the Studio UI: **Settings › Billing & Credits**) counts your questions. Once your personal Pria has answered 5 of them, select **Upgrade and create a Digital Twin** — you'll be asked to turn on two-step sign-in, then the creation wizard opens. Your Pria, its conversations and your credits stay as they are, and your account can create up to 3 Digital Twins. See [Create a Digital Twin](/mdx/user-guide/create-digital-twin). > > > [!TIP] > > > > If a public or shared Digital Twin does not provide a shared credit pool, your requests there are paid for from your own personal credits — so keep your personal balance topped up to keep using them. > [tab] Digital Twin Credits > > **Volume Packages for your Digital Twin** > > | **Package** | **Price** | **Credits** | **Per Credit** | **Savings** | > | - | - | - | - | - | > | Level 1 | \$1,000 | 11,428 | 8.75¢ | Save 20% | > | Level 2 | \$2,750 | 32,352 | 8.50¢ | Save 23% | > | Level 3 | \$5,000 | 60,606 | 8.25¢ | Save 25% | > | Level 4 | \$9,500 | 117,283 | 8.10¢ | Save 26% | > | Level 5 | \$41,500 | 518,750 | 8.00¢ | Save 27% | > > Larger volumes (Level 6 and beyond) are available by arrangement — contact [humans@praxis-ai.com](mailto:humans@praxis-ai.com). > > **Select in the Gallery** > > ![Digital Twin Twin](https://mintcdn.com/praxisai/CUqUj-DEie3yZ1BD/images/user-guide/interface/gallery-add-credits-dt.png?fit=max\&auto=format\&n=CUqUj-DEie3yZ1BD\&q=85\&s=aff2960bbc0663b01c63dacba6350235) > > Packages for Digital Twins > > **Digital Twin Use** > Credits added to your digital twin can be pooled and shared among all members of the digital twin community. When the **Pool Credits** setting is enabled in the [Configuration](/mdx/admin-guide/configuration), users will automatically draw from the pooled credit balance instead of consuming their individual personal credits, creating a collaborative resource system that benefits the entire group. > > **Account-Level Credits** > For organizations managing multiple Digital Twins, credits can also be managed at the **Account** level. An Account groups several Digital Twins together, so credits can be distributed centrally across all of them. Contact your administrator for account-level credit management. > > > [!TIP] > > > > Digital twins can be configured to either pool credits on behalf of their members or operate without credit pooling, requiring members to rely on their own personal credit balances. When pooling is disabled, each user must maintain and consume their individual credits for accessing services and features within the digital twin environment. ## Caching Discounts "Caching" is essentially the AI "remembering" parts of your conversation to work faster and more efficiently the next time. **How it saves you money:** When the AI uses this "memory" instead of processing everything from scratch, it costs you less — the cached portion is billed at a discount — Pria passes part of the provider's own caching saving on to you, so the exact rate depends on the model provider. When you use models that support caching (for example, the OpenAI GPT‑5 family, GPT‑Realtime, or the Claude family, which provide strong caching behavior), you will benefit from these savings. These savings also apply in Convo Mode. **How to see savings:** You don't have to guess if you're saving money. You can view your actual savings in the **Dialogue Report Card** (the **Usage Details** panel under a reply) or the **Admin → History** section of your account, so administrators can review and validate the realized credit reductions. ### Token and Credit Calculation When an interaction runs, several token metrics are tracked and used to determine the final number of credits billed. ![Dialogue Report Card](https://mintcdn.com/praxisai/CUqUj-DEie3yZ1BD/images/user-guide/interface/dialogue-report-card.png?fit=max\&auto=format\&n=CUqUj-DEie3yZ1BD\&q=85\&s=a80b342cbf4fba597eea5f6f930ead71) ### Definitions **Tokens**\ Total number of tokens processed by the model, including both input and output. **Input Tokens**\ Number of tokens sent *to* the model for the interaction (prompt, system instructions, tools, etc.). **Input Cached Discount**\ Portion of the input tokens that are recognized as cached and therefore discounted from the billable input. These tokens still count toward usage, but not fully toward cost. **Discount Ratio**\ Percentage discount applied to the cached portion of the input tokens. A higher ratio means a larger cost reduction from caching. **Baseline Tokens**\ Final effective token count used to compute credits after applying the caching discount. This is the value that is converted into credits. ### Example In the example below, without any caching benefit, the interaction would have cost **5 credits**. With caching enabled: * Some of the input is recognized as cached * The **Input Cached Discount** is applied * The **Discount Ratio** determines how much of those cached tokens are discounted After applying the discount, the effective cost drops by **24%** compared to the original 5-credit price, and the final (rounded) charge is only **4 credits**. ### Completion Content generated by the LLM counts toward **Completion tokens** (output). For most models, these completion tokens are priced by the providers at **roughly 4–10× the input-token rate**. It is important to note that caching is applied **only to input tokens**—completion tokens are **never cached** by the underlying models. To your direct benefit, Praxis AI does **not** introduce any surcharge or special markup for completion tokens: * Completion tokens are billed using the **same pricing curve** as input tokens. * **Caching discounts apply only to input tokens** when the underlying model supports input caching. * As a result, you get transparent, predictable pricing for all generated output, without hidden multipliers or extra completion-specific fees. ### Single-Shot Pricing A standard question-and-answer turn (one conversation model answering directly) costs **1 credit per 10,000 tokens** of text handled, after any caching discount, rounded up to the next whole credit — once per turn. ### Subagent (Agent Mode) Pricing Some Digital Twins can answer with a team of models instead of one (**Agent Mode**). When that happens, several models contribute to one answer — the conversation model, the manager coordinating the work, and the helpers it brings in. These turns **do not use the flat 1-credit-per-10,000-tokens rule**. They are billed on what the work actually cost, plus a small platform margin: * **Every model that contributed is counted** — the conversation model that wrote the answer, the manager that decided what to do, and each helper it dispatched. * **Each is priced at its own listed rate** — work done by an inexpensive helper model costs less than the same work on a premium model. Text served from the provider's cache is priced at that provider's cheaper cached rate. * **A small platform margin** is applied on top of the measured cost, identically across every model on the turn. * **The fractional credits are added up and rounded up once**, at the end of the whole turn — never per model. Ten helpers do not mean ten roundings. * **Only work actually done is billed.** A turn that fails before any model runs is never billed, a cancelled turn is never billed, and an agent run that fails partway bills the work completed up to that point. The **Dialogue Report Card**'s Pricing tab shows the itemized bill per helper and per model for every turn, including the margin applied, so you can always see exactly where the credits went. > [!NOTE] > > **Why the flat rate is set aside here.** An Agent Mode turn routinely reads hundreds of thousands of tokens of cached context across a dozen or more model calls. Charging the flat rate on that volume would bill well above what the work cost. Billing the true cost keeps agent turns honest in both directions — you pay for the team you actually used, at the rates those models actually charge. ### Voice and Avatar Pricing Spoken conversations (**Convo Mode**, a one-to-one session) are metered in credits the same way as text: on the tokens of the conversation, totalled across the session and charged when the session ends. Spoken audio is counted in *audio tokens*, which every voice provider prices well above text tokens — so a spoken exchange costs more than the same exchange typed. With **OpenAI GPT-Live**, the time spent talking is also charged per second, on top of the tokens of the model that writes the answers. **In Convo Mode, the animated avatar (Anam) adds no separate per-minute charge to your credit balance.** An avatar session bills on exactly the same tokens as a voice-only session of the same length; there is no "avatar minutes" line item. What makes the avatar the more expensive habit is that people stay in conversation with a face on screen much longer than they stay in a chat box, and the whole session is one bill. **Meetings are different.** When a Digital Twin joins a Zoom, Google Meet, or Teams call as the [Meeting Agent](/mdx/admin-guide/meeting-agent), the avatar, the meeting bot, and live transcription are each metered per minute for the time the bot spends in the call (at one and a half times the providers' cost), on top of the normal per-turn rule for whatever the twin actually says. See [Meeting Agent](/mdx/admin-guide/meeting-agent) for the full picture. > [!NOTE] > > **Bring your own Anam account:** if your organisation supplies its own Anam credentials, Anam bills that account directly for avatar minutes, in both Convo Mode and meetings. That is a separate bill from your Pria credits, which continue to meter the conversation itself. On Praxis-managed Anam access there is no second bill — it is all in credits. Either way, in a meeting the meeting bot and transcription are always Praxis-managed, so their per-minute charges still bill in credits. See [Anam Avatar](/mdx/integrations/anam/introduction). ### Credit Optimization See [Credits Optimization](/mdx/user-guide/credits-optimization) for ways to optimize your credit usage. ## Named User Subscription With a **Named User Subscription** you buy one subscription per named person, for a year. The credits are pooled: each named person adds 1,000 credits to a shared annual pot, so 500 named users share 500,000 credits for the year, to be used among all of them, anytime, anywhere. This model suits schools, corporations, and other organisations that want to pool credits on behalf of their users. Below is the volume breakdown: | **Tier** | **Users** | **Description** | | - | - | - | | 1 | Up to 1,000 | Annual subscription per named user | | 2 | 1,001 to 5,000 | Annual subscription per named user | | 3 | 5,001 to 10,000 | Annual subscription per named user | | 4 | 10,001 to 15,000 | Annual subscription per named user | | 5 | 15,001 to 50,000 | Annual subscription per named user | | 6 | 50,001 to 75,000 | Annual subscription per named user | | 7 | 75,000+ | Annual subscription per named user | > [!TIP] > > Contact our sales representative to jump on this plan structure. # Praxis Studios Source: https://docs.praxis-ai.com/mdx/introduction/praxis-studios The professional services arm of Praxis AI — Digital Twin consulting, custom builds, deployment, and training. ![](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/introduction/hero-praxis-studios-light.png?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=fab3425be036f6790016b09daa696047) Praxis Studios is the professional services arm of Praxis AI. Studios bridges the gap between the Pria platform and the real‑world outcomes you want from your Digital Twins — through consulting, custom builds, deployment support, and team training. The Pria platform is designed to let any administrator stand up a capable Digital Twin without help. Studios is for the moments where you want a partner: a high‑stakes rollout, a deeply customized persona, a complex integration with your existing systems, or a team that wants to learn the craft of building agentic experiences alongside experts. ## What Praxis Studios Offers > [card] Consulting > > Strategy work — picking the right use cases, mapping success metrics, sequencing rollout, and designing the operating model around your Digital Twins. > [card] Custom Digital Twin Builds > > Bespoke persona design, instructions, knowledge curation, tool selection, and end‑to‑end quality tuning for production‑grade Twins. > [card] Deployment Support > > Help with SSO, branding, LMS integration (Canvas, D2L), connector wiring, and go‑live readiness reviews. > [card] Training & Enablement > > Workshops for admins, content owners, and end users — turn your team into confident Digital Twin builders and operators. ## When to Engage Studios Most customers don't need Studios for everyday work — the platform is self‑serve by design. Consider engaging Studios when one or more of these apply: * **Large rollouts** across multiple departments, schools, or business units where coordination and change management matter as much as the Twins themselves. * **Deeply custom personas** that go beyond instructions and knowledge — for example a Twin that must follow a specific pedagogical method, mirror a real subject matter expert, or comply with regulated‑industry guardrails. * **Complex integrations** — non‑standard SSO providers, bespoke connectors, internal data warehouses, custom MCP servers, or tight LMS workflows. * **Knowledge‑heavy use cases** — large document corpora that need ingestion strategy, chunking design, RAG/KAG tuning, and ongoing curation. * **Time‑pressured launches** — board demos, conferences, course start dates — where you want experienced hands accelerating the work. * **Team capability building** — you want to learn by working alongside Praxis builders so your team owns the work after launch. ## Engagement Models Studios works with you in whichever shape fits the work. > [accordion] Project > > Fixed‑scope, fixed‑outcome engagements. Typical projects include a flagship Digital Twin build, a multi‑Twin rollout, an LMS integration, or a content ingestion strategy. Defined milestones, defined deliverables. > [accordion] Retainer > > Ongoing capacity — a recurring block of hours each month for Twin tuning, new persona builds, content refresh cycles, and operational support. Best when you're running Pria as a core part of your stack and want a steady partner. > [accordion] Advisory > > Lightweight strategic guidance — periodic reviews, architecture sessions, and access to Studios builders for targeted questions. Best for teams that want to do the work themselves but benefit from a second opinion. ## What's Included in a Typical Build A Studios engagement is end‑to‑end. A representative build covers: * **Discovery** — stakeholder interviews, use case selection, success criteria, and a Twin design brief. * **Persona design** — voice, role, refusal behaviour, escalation paths, and the system instructions that bring the Twin to life. * **Content & knowledge strategy** — choosing what to ingest, how to structure collections, what to confidential‑flag, and whether to enable Knowledge Graph (KAG) augmentation. * **Tooling & integrations** — selecting connectors, configuring MCP servers, wiring LMS or workspace integrations, and authoring custom tools where needed. * **Quality tuning** — review datasets, refusal tests, hallucination checks, and iterating on prompts and retrieval to hit your accuracy bar. * **Change management** — admin enablement, end‑user onboarding flows, comms, and training material. * **Training & handover** — workshops so your team can own the Twin after go‑live, plus a written operations playbook. ## How to Engage Studios engagements start with a conversation about your goals, timeline, and constraints. **1. Reach out** Email [humans@praxis-ai.com](mailto:humans@praxis-ai.com) with a brief description of what you're trying to accomplish and any rough timing. A short paragraph is enough to start. **2. Discovery call** A Studios lead will book a discovery call to understand the use case, the audience, the success metric, and any constraints (security, procurement, deadlines). **3. Scope & proposal** Studios writes a proposal with scope, deliverables, timeline, team, and cost. Project, retainer, or advisory is decided together. **4. Kick off** On signature, kickoff is typically within two weeks. You'll have a named Studios lead as your single point of contact for the duration of the engagement. > [!NOTE] > > Praxis Studios is offered by the Praxis AI team. To request an introduction or discuss whether your project is a fit, email [humans@praxis-ai.com](mailto:humans@praxis-ai.com) or use the in‑product **Contact Support** form. ## Related * [Plans & Credits](/mdx/introduction/plans-and-credits) — Subscription plans and how credits work * [FAQ](/mdx/introduction/faq) — Frequently asked questions about Pria * [Contact Support](/mdx/contact-support) — Reach the Praxis AI team for product help * [Create a Digital Twin](/mdx/user-guide/create-digital-twin) — Build your own Twin before deciding you need Studios # Pria, Explained Simply Source: https://docs.praxis-ai.com/mdx/introduction/pria-explained New to Pria, or to AI? A plain-language map of everything Pria does — for learners, admins and developers — with a link to the right guide for each topic. Lost, or just starting? This page explains Pria in everyday words and works as a map of the whole documentation: each section is short, and every topic links to the guide that covers it in full. > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. > [card] [The basics](#what-pria-is) > > What Pria is, and how AI works in one minute > [card] [Building blocks](#the-five-building-blocks) > > Digital Twins, Assistants, files, tools, memory > [card] [Personal Pria or a twin?](#your-personal-pria-and-digital-twins) > > Why one person, a team or a teacher gets their own twin > [card] [For learners](#what-you-can-do-as-a-learner) > > What you can do with Pria every day > [card] [What Pria can help with](#what-pria-can-help-you-with) > > Writing, media, charts, code and science > [card] [Saving credits](#making-your-credits-go-further) > > Simple habits that make credits last > [card] [For admins](#for-admins-shaping-your-digital-twin) > > What you set up for everyone else > [card] [Voice and avatars](#for-admins-talking-out-loud-with-convo-mode) > > Choosing how people talk to Pria > [card] [Where Pria can live](#where-pria-can-live-integrations) > > Courses, websites, meetings, apps and workflows > [card] [The LXP](#the-lxp-courses-labs-and-learning-paths) > > Praxis AI's learning platform: courses, labs, badges > [card] [Permissions and security](#keeping-it-safe-permissions-and-security) > > Who can do what, and how your data is protected > [card] [More help](#where-to-go-next) > > FAQ, what's new, services and support *** ## What Pria is Pria is an assistant you talk to, in writing or out loud. You ask it something in your own words, and it answers: it explains, writes, summarises, makes quizzes, reads your documents, and can take small actions for you, like searching the web or creating an image. ### AI in one minute | Idea | In plain words | | - | - | | **AI model** | The "brain" that reads your message and writes the answer. Pria can use several brains from different companies; your admin picks the right one for each job. See [AI Models](/mdx/user-guide/interface/model-selection). | | **Prompt** | What you type or say to Pria. Clearer prompts get better answers. See [Best Practices](/mdx/user-guide/best-practices). | | **Credits** | The "fuel" Pria uses. Every answer costs a few credits; longer, richer answers cost more. See [Plans & Credits](/mdx/introduction/plans-and-credits). | | **Thinking** | Pria can think harder before it answers — slower, but better for tricky problems. See [Reasoning & Thinking](/mdx/user-guide/interface/reasoning-and-thinking). | | **Agent mode** | For a big job, Pria can act like a manager and hand pieces of the work to a small team of helpers, when your admin has made it available. See [Single Model vs Agent Mode](/mdx/user-guide/interface/single-model-vs-agent-mode). | > [!NOTE] > > AI can be wrong. Pria shows where an answer came from when it used your files ([citations](/mdx/user-guide/files-documents/citations)), so check anything important. *** ## The five building blocks Everything in Pria is built from five ideas. Once you know them, the rest of the docs make sense. > [card] [Digital Twin: the personality](/mdx/user-guide/digital-twin-getting-started) > > **Who** you're talking to. A Digital Twin has a name, a face, a tone and an area of expertise — a "Professor Ada" for your course, a support agent for your company. Each twin has its own knowledge, members and settings. > [card] [Assistants: the skills](/mdx/user-guide/assistants-personalization/assistants) > > **How** it does a specific job. An Assistant is a ready-made helper for one task — a quiz maker, an essay coach, a meeting summariser. Pick one, and the twin follows its recipe. > [card] [Files and IP Vault: the knowledge](/mdx/user-guide/files-documents/ipvault) > > **What it knows** beyond general knowledge. Upload your documents to the IP Vault and Pria reads them to answer, quoting its sources. Your files stay private to you or your twin. > [card] [Tools: the abilities](/mdx/user-guide/interface/tools) > > **What it can do** besides writing. Tools let Pria search the web, create images, read a PDF, check your calendar or work in your course. You choose how many to switch on. > [card] [Memory: what it remembers](/mdx/user-guide/memory/memory-systems) > > **What it keeps** between conversations — your preferences, facts you asked it to remember, and the thread of your current chat — so you don't repeat yourself. > [!TIP] > > A simple way to remember it: the **Digital Twin** is *who*, the **Assistant** is *how*, the **files** are *what it knows*, the **tools** are *what it can do*, and **memory** is *what it remembers*. ### Go deeper into each building block | Building block | Start here | Then | | - | - | - | | **Digital Twin** | [Getting Started](/mdx/user-guide/digital-twin-getting-started) | [Create a Digital Twin](/mdx/user-guide/create-digital-twin) · [Digital Expert Gallery](/mdx/user-guide/interface/digital-expert-gallery) | | **Assistants** | [What are Assistants](/mdx/user-guide/assistants-personalization/assistants) | [Assistant Library](/mdx/user-guide/assistants-personalization/assistant-library) · [Creating Assistants](/mdx/user-guide/assistants-personalization/building) | | **Files and IP Vault** | [IP Vault](/mdx/user-guide/files-documents/ipvault) | [Managing Files](/mdx/user-guide/files-documents/managing-files) · [Collections](/mdx/user-guide/files-documents/collections) · [Searching Inside Your Files](/mdx/user-guide/files-documents/file-search) · [File Processing Status](/mdx/user-guide/files-documents/file-processing) · [Knowledge Modes](/mdx/user-guide/interface/knowledge-modes) · [Citations](/mdx/user-guide/files-documents/citations) · [Audio Notes](/mdx/user-guide/files-documents/audio-notes) | | **Tools** | [Choosing Your Tools](/mdx/user-guide/interface/tools) | [Image Generation](/mdx/user-guide/interface/image-generation) | | **Memory** | [Memory Systems](/mdx/user-guide/memory/memory-systems) | [Conversation History](/mdx/user-guide/memory/conversation-history) · [User Memory](/mdx/user-guide/memory/user-memory) · [Twin Memory](/mdx/user-guide/memory/twin-memory) · [Shared Memory](/mdx/user-guide/memory/shared-memory) · [How Memory Handles Your Data](/mdx/user-guide/memory/memory-data-handling) | *** ## Your personal Pria and Digital Twins Everyone starts with a **personal Pria**. Digital Twins come next, when a group of people needs an assistant built for them. | | Personal Pria | A Digital Twin | | - | - | - | | **Who it's for** | Just you | A group: a class, a team, a company, or the public | | **What it knows** | General knowledge, plus the files you upload to your own vault | The knowledge its owners give it: course notes, policies, product sheets, research | | **Personality** | Pria, the friendly all-rounder | Its own name, face, voice and way of speaking | | **Who shapes it** | You, through your own settings, files and assistants | Its admins: they write its instructions and choose its knowledge, tools and members | | **Who pays** | Your own credits | Your credits, or credits the twin shares with its members | | **Privacy** | Private to you: your files stay in your own vault | Shared with the twin's members; each person's own files stay theirs | You move between your personal Pria and the twins you belong to in the [Digital Expert Gallery](/mdx/user-guide/interface/digital-expert-gallery). ### Why have more than one twin? One assistant that tries to know everything ends up knowing nothing well. A twin built for **one audience and one job** gives sharper answers, shows each person only the knowledge that's meant for them, and keeps each group's credits and settings separate. > [card] One twin per department > > A company runs a twin for each team, each loaded with that team's own knowledge: > > * **HR** answers questions on benefits, leave and policies — at 2 a.m. as well as 2 p.m. > * **Sales** knows the products, pricing and the usual objections, and role-plays a tough customer before the real call. > * **Engineering** draws on design documents, runbooks and coding standards, so new hires get answers without interrupting a senior engineer. > [card] One twin per teacher > > Each teacher has a twin built from their own syllabus, notes and way of explaining things. Students get help with homework at 11 p.m., when the teacher is asleep, in the voice and style of the teacher they know. The teacher stays in charge: they decide what the twin knows and how it answers. > [card] One twin per course or program > > A university gives each course its own twin, opened from inside Canvas or Blackboard, so it always knows which course the student is in. > [card] One twin for the public > > A school or business puts a twin on its website to welcome visitors, answer common questions and point them to the right person. ### Why Praxis AI is "Human First" A Digital Twin doesn't replace the person behind it; it **extends them**. The teacher's knowledge reaches every student, at any hour. The HR team's answers reach every employee, without a queue. The expert is no longer the bottleneck, and the people in charge still decide what the twin knows, how it speaks and who it serves. That's what we mean by **amplifying human potential**: the technology does the repeating, so people can do the teaching, the deciding and the caring. Read more on the [Welcome](/mdx/introduction/welcome#human-first-in-an-ai-first-world) page. ### Getting a Digital Twin * **On your own:** once your personal Pria has answered 5 of your questions, you can create a Digital Twin of your own, up to 3 per account. See [Create a Digital Twin](/mdx/user-guide/create-digital-twin). * **In a school or company:** your admins create the twins and invite you, or you join one from inside your course. See the [Admin Guide](/mdx/admin-guide/introduction). *** ## What you can do as a learner | You want to… | Do this | Learn more | | - | - | - | | Find your way around | Take the tour of the screen, the conversation list and the shortcuts | [Interface Overview](/mdx/user-guide/interface/overview) · [Conversations & the Sidebar](/mdx/user-guide/interface/history-settings) · [Keyboard Shortcuts](/mdx/user-guide/interface/keyboard-shortcuts) | | Ask a question | Type it in the box at the bottom and press Enter | [Input & Responses](/mdx/user-guide/interface/input-responses) | | Get better answers | Ask clearly, give context, say what you want back | [Best Practices](/mdx/user-guide/best-practices) | | Solve something tricky | Let Pria think harder, or hand a big job to a team of helpers | [Reasoning & Thinking](/mdx/user-guide/interface/reasoning-and-thinking) · [Agent Mode](/mdx/user-guide/interface/single-model-vs-agent-mode) | | Get help with a specific task | Pick an Assistant made for it | [Assistant Library](/mdx/user-guide/assistants-personalization/assistant-library) | | Ask about your own documents | Upload them, then ask | [Managing Files](/mdx/user-guide/files-documents/managing-files) | | Talk instead of typing | Open **Convo mode** and speak | [Convo Mode](/mdx/user-guide/interface/convo-speech) | | Make a picture | Ask Pria to create an image | [Image Generation](/mdx/user-guide/interface/image-generation) | | Switch to another Digital Twin | Open the gallery and pick one | [Digital Expert Gallery](/mdx/user-guide/interface/digital-expert-gallery) | | Share with classmates or colleagues | Share a conversation, an assistant, a file or a collection by link | [Sharing in Pria](/mdx/user-guide/capabilities/sharing) | | Use Pria in your course | Open the Pria item in your course — you're signed in automatically | [Access your LMS](/mdx/user-guide/lms/user-auth) · [More security for LMS login](/mdx/user-guide/lms/canvas-login-security) | | Bring Pria to your own course (teachers) | Open Pria once in your course and connect a Digital Twin | [Faculty Onboarding](/mdx/user-guide/lms/faculty-onboarding) | New here? The [Getting Started](/mdx/user-guide/digital-twin-getting-started) guide walks you through your first conversation. ### Your account and settings | You want to… | Learn more | | - | - | | Change your name, picture, theme or how Pria answers you | [Edit Profile](/mdx/user-guide/profile-settings/edit-profile) | | Keep your account safe | [Change Password](/mdx/user-guide/profile-settings/change-password) · [Two-Step Verification](/mdx/user-guide/profile-settings/two-step-verification) | | Let Pria use your email, drive or calendar | [Google Services](/mdx/user-guide/profile-settings/google-services) · [Microsoft Services](/mdx/user-guide/profile-settings/microsoft-services) | | See, export or delete your data | [Your Data & Privacy](/mdx/user-guide/profile-settings/personal-data) | | Invite people to a twin you run | [Inviting Users to Your Twin](/mdx/user-guide/profile-settings/instance-invite) | | Use Pria from your own scripts | [Personal API Keys](/mdx/user-guide/profile-settings/api-keys) | *** ## What Pria can help you with Pria isn't only for questions and answers. A few things it does well, each with its own guide: > [card] [Writing](/mdx/user-guide/capabilities/content-creation) > > Draft essays, reports, emails and lesson plans, then save them as a document. > [card] [Pictures, audio and video](/mdx/user-guide/capabilities/media-analysis) > > Describe an image, read text from a photo, transcribe a recording or a YouTube video. > [card] [Charts](/mdx/user-guide/capabilities/data-visualization) > > Turn numbers or a spreadsheet into a clear, interactive chart. > [card] [Code](/mdx/user-guide/capabilities/code-development) > > Write, explain and fix code in almost any programming language. > [card] [Science and math](/mdx/user-guide/capabilities/science-research) > > Work through math and chemistry problems, with neat equations, and search scientific databases. > [card] [Images from words](/mdx/user-guide/interface/image-generation) > > Describe a picture and Pria creates it. *** ## Making your credits go further Credits are spent on how much Pria reads and writes. A few habits keep them lasting longer: * **Use the right Assistant.** A focused Assistant does the job in fewer, shorter answers than a general chat. * **Switch on only the tools you need.** Start with the **Minimal** tool set; every extra tool makes each message heavier. * **Start a new conversation for a new topic.** A long conversation is re-read on every message, so it costs more each time. * **Upload files instead of pasting long text.** Pria then reads only the parts it needs. * **Type when you'd re-read the answer.** Talking out loud costs more than typing, and an avatar keeps people talking longer. See [Credit Optimization](/mdx/user-guide/credits-optimization) for the full list, and [Credits](/mdx/user-guide/credits) to check your balance. You can also earn credits by inviting friends: see the [Referral Program](/mdx/user-guide/referral). *** ## For admins: shaping your Digital Twin As an admin, you set up the Digital Twin everyone else uses. Here is everything you can shape, in plain words: | You set | What it changes | Learn more | | - | - | - | | **Your organization** | One account holds several Digital Twins, with a shared credit balance and shared settings | [Accounts](/mdx/admin-guide/accounts/overview) · [Managing Accounts](/mdx/admin-guide/accounts/managing-accounts) · [Billing & Subscriptions](/mdx/admin-guide/billing) | | **The twin's settings** | Every screen of a twin's settings, and copying a twin to start a new one | [Instance Settings](/mdx/user-guide/profile-settings/instance-settings) · [Configuration map](/mdx/admin-guide/configuration) · [Cloning a Digital Twin](/mdx/admin-guide/cloning) | | **Personality and instructions** | How the twin speaks, what it focuses on and what it avoids | [Digital Twin Instructions](/mdx/admin-guide/digital-twin-instructions) · [Personalization](/mdx/admin-guide/personalization) · [Onboarding Questions](/mdx/admin-guide/onboarding-questions) | | **Look and address** | Your logo, colours and the web addresses allowed to open the twin | [Branding & Public URLs](/mdx/admin-guide/branding-and-domains) · [UI Customization](/mdx/admin-guide/ui-customization) | | **AI models** | Which "brain" answers — faster and cheaper, or deeper and more capable | [AI Models](/mdx/admin-guide/ai-models) · [Platform Models](/mdx/admin-guide/platform-models) | | **Knowledge** | The documents the twin draws on for everyone, and how it searches them | [Knowledge & RAG](/mdx/admin-guide/knowledge-rag-config) | | **Assistants** | The ready-made skills your members see, and shared values they reuse | [Assistants](/mdx/admin-guide/assistants) · [Variables](/mdx/admin-guide/variables) | | **Tools, connectors and agents** | Which abilities are allowed; links to Google, Microsoft, your LMS and other systems; and the twin's agents | [Tools](/mdx/admin-guide/tools) · [Connectors](/mdx/admin-guide/connectors) · [MCP Servers](/mdx/admin-guide/mcp-servers) · [Agents](/mdx/admin-guide/agents) · [Agent Workspace](/mdx/admin-guide/agent-workspace) | | **People and credits** | Who can use the twin, how they join, and how credits are shared | [Users](/mdx/admin-guide/users) · [Enrollment](/mdx/admin-guide/enrollment) · [Credit Management](/mdx/admin-guide/credit-management) | | **What Pria remembers about people** | Review and correct a member's memory, and see Pria as they see it | [Memory Parameters & Act As](/mdx/admin-guide/memory-and-impersonation) | | **How it's going** | Read conversations, ratings and comments to improve the twin | [Conversation History](/mdx/admin-guide/histories) · [Feedback](/mdx/admin-guide/feedback) · [Sessions](/mdx/admin-guide/sessions) | Customizing pays off twice: a twin with clear instructions, the right model and only the tools it needs gives better answers **and** spends fewer credits. See the [Admin Guide](/mdx/admin-guide/introduction) for everything else. *** ## For admins: talking out loud with Convo Mode **Convo Mode** lets people *talk* with the Digital Twin, like a phone call, instead of typing. Turn it on when: * **Speaking helps learning** — language practice, interview or role-play training, oral exams. * **Typing is a barrier** — accessibility, younger learners, people on the move. * **Presence matters** — onboarding, demos, or a welcoming face on your website. There are a few kinds of conversation. Each needs a little more set-up than the one before it: | Kind of conversation | Good for | What you need to set up | | - | - | - | | **Quick, natural voice** (OpenAI Realtime, Gemini Live) | Fast back-and-forth, multilingual classes | Nothing extra — works out of the box | | **Listening and talking at once** (OpenAI GPT-Live) | Natural interruptions, while still using your twin's own files and tools | Nothing extra — works out of the box; adds a per-second charge for talk time | | **Premium brand voice** (ElevenLabs, Cartesia) | A distinctive, high-quality voice people remember | Choose a voice (Cartesia), or connect a voice agent (ElevenLabs) | | **Talking avatar** (Anam, with a premium voice) | A face on screen with lip-sync — the strongest sense of presence | Set up for you by the Praxis AI team — tell them the persona and voice you want | > [!TIP] > > Not sure? Start with quick, natural voice. Move to a premium voice or an avatar when the experience itself matters — and remember that spoken sessions spend more credits than typing. Compare all the options in [Voice & Realtime Providers](/mdx/integrations/voice-providers/overview). Set-up guides: [Realtime Voice](/mdx/admin-guide/realtime-voice) · [Gemini Live](/mdx/integrations/gemini-live/introduction) · [ElevenLabs](/mdx/integrations/elevenlabs/introduction) · [Anam Avatar](/mdx/integrations/anam/introduction). *** ## Where Pria can live: integrations Pria isn't only a website you visit. It goes to where people already work and learn — the same Digital Twin, with the same knowledge, in many places at once. Your admins and developers decide where. ### In your learning platform Students and teachers open Pria **inside their course**, already signed in, and Pria knows which course they're in. > [card] [Canvas](/mdx/integrations/canvas/overview) > > Two ways in: a **floating Pria button on every course page** across your whole Canvas, or a Pria item that teachers place in a module, course by course. With permission, Pria can also read the course's assignments, pages and syllabus to give answers about *this* course. > [card] [Blackboard Learn](/mdx/integrations/blackboard/introduction) > > Your Blackboard admin adds Pria with one Client ID; teachers add it to a course from **Content Market**. Students open it inside the course — and you can ask them to confirm their Blackboard sign-in first. Moodle and D2L Brightspace work the same way, through the same LTI standard: see [Moodle](/mdx/integrations/moodle/introduction) and [D2L Brightspace](/mdx/integrations/d2l/introduction). ### On your website or app | What you want | What it looks like | Learn more | | - | - | - | | A chat on your own site | A few lines of code add Pria to any web page or app, signed in with your own users | [Web SDK](/mdx/integrations/web/introduction) | | A talking face on your homepage | An animated avatar visitors can speak with, no account needed | [Avatar Widget](/mdx/integrations/web/avatar-widget) | | A link anyone can open | Share a web address; people chat with your twin as guests | [Guest Links](/mdx/integrations/web/guest-links) | ### In the tools you already use * **Meetings** — send your twin into a Zoom, Google Meet, Microsoft Teams or Webex call as a participant that listens, answers when asked, and posts a short recap when the call ends. See [Meeting Agent](/mdx/admin-guide/meeting-agent). * **Email, files and calendars** — connect Google Workspace or Microsoft 365, and Pria can read a document from your drive, check your calendar or draft an email. See [Google Workspace](/mdx/admin-guide/google-workspace) and [Microsoft 365](/mdx/admin-guide/microsoft-365). * **Almost anything else** — **connectors** are like a universal plug: link Slack, a CRM like Salesforce, a database or an automation hub, and their actions become new tools for your twin. See [Connectors](/mdx/admin-guide/connectors). ### Inside other AI assistants, like Claude or ChatGPT Already using another AI assistant? **MCP** (Model Context Protocol) is a common standard that lets AI apps borrow each other's skills — think of it as a universal plug between AI tools. It works in both directions: > [card] [Your twin's knowledge inside Claude or ChatGPT](/mdx/integrations/mcp/introduction) > > Connect your Digital Twin to an assistant such as **Claude** (for example Claude Desktop) or **ChatGPT**, or to a coding tool like **Cursor**. When you ask there about your course, policies or products, it can search your twin's documents and answer from them. You need the address of your twin's MCP server and its secret, from your admin; the app must let you add an MCP server. > [card] [Other tools inside your twin](/mdx/admin-guide/connectors) > > The other way round: plug MCP servers such as Slack, Zapier or your own company systems into your twin, and their actions become tools Pria can use during a conversation. ### For programmers | If you want to… | Use | Learn more | | - | - | - | | Add a twin to an app that already talks to AI | The **Chat Completions API** — it speaks the same language as OpenAI's, so existing code works with a change of address and key | [Chat Completions](/mdx/integrations/chat-completions/introduction) | | Build your own experience around Pria | The **REST API** and the **JavaScript SDK** — everything the Pria app does, available to your code | [API Reference](/mdx/api-reference/introduction) · [JavaScript SDK](/mdx/sdk/javascript) | | Let other AI tools use your twin's knowledge | Pria as an **MCP server** — Claude, ChatGPT, a coding assistant like Cursor, or your own AI agent can search your twin's knowledge directly | [MCP Server](/mdx/integrations/mcp/introduction) | **Developer reference, by topic:** | Topic | Guides | | - | - | | **Canvas in depth** | [Custom Theme](/mdx/integrations/canvas/theme) · [Theme Tools](/mdx/integrations/canvas/theme-tools) · [LTI 1.3 for Canvas](/mdx/integrations/canvas/lti-1-3) · [Pria Tools for Canvas](/mdx/integrations/canvas/pria-tools) · [Canvas Scopes](/mdx/integrations/canvas/pria-tools-scopes) | | **Websites** | [Web Examples](/mdx/integrations/web/examples) · [Loading Sequence](/mdx/integrations/web/loading-sequence) | | **JavaScript SDK** | [SDK Examples](/mdx/sdk/javascript-examples) · [Object Definitions](/mdx/sdk/object-definitions) | | **APIs** | [Streaming Responses](/mdx/api-reference/streaming) | | **Sign-in** | [Authentication Overview](/mdx/integrations/authentication/overview) · [Social Login](/mdx/integrations/authentication/social-oauth) · [Enterprise SSO](/mdx/integrations/authentication/enterprise-sso) | | **MCP** | [Verified Identity](/mdx/integrations/mcp/verified-identity) — let your MCP server trust which user is calling | ### In automated workflows Pria can work without anyone typing. With an API key, a scheduled job or an automation platform such as **n8n, Make or Zapier** can call your Digital Twin on its own. For example: * Every Monday, ask the HR twin to summarise the week's most common questions and email the team. * When a form is submitted on your website, have the support twin draft a reply for a person to check. * When a new document lands in a shared folder, have the twin add it to its knowledge and post a summary. See [Automation in the API Reference](/mdx/api-reference/introduction) to get started. > [!TIP] > > Not sure where to start? The [Developer Getting Started](/mdx/developer/getting-started) page helps you pick the right path, and [Integrations Overview](/mdx/integrations/overview) lists them all. *** ## The LXP: courses, labs and learning paths Besides Pria, Praxis AI makes the **LXP** (Learning Experience Platform): a place to take whole courses, not just ask questions. Learners follow learning paths made of tracks and lessons, with videos, quizzes, hands-on **virtual labs** (real computers and notebooks in the browser), progress tracking, leaderboards and badges. Digital Twins like Pria help along the way. | You want to… | Learn more | | - | - | | Find your way around the LXP | [Navigating the LXP](/mdx/lxp/introduction) | | Put LXP courses inside your LMS (admins) | [LTI Integration Overview](/mdx/lxp/admin/lti-overview) · [Blackboard](/mdx/lxp/admin/lti-blackboard) · [Canvas](/mdx/lxp/admin/lti-canvas) · [D2L Brightspace](/mdx/lxp/admin/lti-d2l) · [Moodle](/mdx/lxp/admin/lti-moodle) | | Build quizzes | [Quiz Question Choice Types](/mdx/lxp/admin/quiz-choice-types) | | See what's new in the LXP | [LXP — What's new?](/mdx/lxp/changelog) | The LXP is a separate tool from Pria, with its own LMS set-up: a school can install either one, or both. *** ## Keeping it safe: permissions and security ### Who can do what Pria has two kinds of accounts: * **Users** chat with the Digital Twins they belong to. They never see the admin screens. * **Admins** look after a Digital Twin — but each admin can only do what they've been given permission to do. Those permissions are called **entitlements**. Think of them as a row of switches, one for each area of a Digital Twin — its settings, its users, its conversation history, its assistants, its AI models, its files, its sign-in options — and, for each area, whether the admin may **see**, **add**, **change** or **delete**. For example: * A **teaching assistant** can read students' conversations to help them, but can't change the twin's settings. * An **IT administrator** manages single sign-on and users, but doesn't see what anyone talks about. * A **course designer** looks after assistants and files, and nothing else. An admin can also pause someone's access: a member who is **pending** or **suspended** can't use the twin's AI until they're made **active** again. See [Entitlements](/mdx/admin-guide/entitlements) and [Users](/mdx/admin-guide/users). ### How your data is protected | What | In plain words | Learn more | | - | - | - | | **Encryption** | Your data is scrambled while it travels and while it's stored, so it can't be read if intercepted | [Conversation History](/mdx/admin-guide/histories) | | **Your content stays yours** | What you upload is used to answer your own questions. It isn't used to train the public AI models | [How Memory Handles Your Data](/mdx/user-guide/memory/memory-data-handling) | | **Private by design** | Your personal files are yours alone; a twin's files are shared only with that twin's members | [IP Vault](/mdx/user-guide/files-documents/ipvault) | | **Safe sign-in** | Two-step verification, sign-in with your organization's own system (single sign-on), and sign-in through your LMS | [Two-Step Verification](/mdx/user-guide/profile-settings/two-step-verification) · [MFA for admins](/mdx/admin-guide/mfa) · [SSO Providers](/mdx/admin-guide/sso-providers) · [More security for LMS login](/mdx/user-guide/lms/canvas-login-security) | | **Your data, your choice** | Each person can see what Pria stores about them, export it, or delete their account | [Your Data & Privacy](/mdx/user-guide/profile-settings/personal-data) | | **Students and AI content** | The student data privacy consent form, and how AI-generated content is disclosed and labelled | [Student Data Privacy](/mdx/introduction/privacy-edu-consent) · [AI-Generated Content Transparency](/mdx/introduction/ai-content-transparency) | | **Watching for misuse** | Moderation filters unsafe content, and Praxis Shield flags threats and abuse for a person to review | [Moderation](/mdx/admin-guide/moderation) · [Praxis Shield](/mdx/admin-guide/praxis-shield) | | **Records you can show** | Who signed in, when and from where, and every conversation — ready for FERPA or GDPR requests | [Sessions](/mdx/admin-guide/sessions) · [Conversation History](/mdx/admin-guide/histories) | ### Security and accessibility documents Schools and companies usually review a vendor before they sign. Praxis AI provides: * **HECVAT** — the security questionnaire higher-education institutions use to assess a vendor. * **VPAT** — Pria's accessibility report, measured against WCAG 2.1 Level A and AA. See [WCAG Compliance](/mdx/introduction/wcag-compliance). Request both on the [Security & Accessibility Documents](/mdx/introduction/security-accessibility) page. Praxis AI has completed its **SOC 2 Type 1** audit, and **SOC 2 Type 2** is in progress, expected in December 2026. Ask the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) for the reports, the data processing agreement, or anything else your review needs. *** ## Where to go next > [card] [User Guide](/mdx/user-guide/introduction) > > Everything learners and members can do, step by step. > [card] [Admin Guide](/mdx/admin-guide/introduction) > > Set up and run Digital Twins for your organization. > [card] [Developers](/mdx/developer/getting-started) > > Pick the right way to connect your app, site or LMS. > [card] [Glossary](/mdx/introduction/glossary) > > Every Pria term, explained in one or two lines. > [card] [FAQ](/mdx/introduction/faq) > > Quick answers to the questions people ask most. > [card] [What's new](/mdx/changelog) > > The latest changes to Pria, month by month. > [card] [Praxis Studios](/mdx/introduction/praxis-studios) > > Want help building your twin? Our team designs, builds and trains with you. > [card] [Switching to Praxis AI](/mdx/introduction/byot) > > Already use other AI tools? See what moving to Praxis AI brings. > [card] [Get help](/mdx/contact-support) > > Still lost? Contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). # Student Data Privacy Source: https://docs.praxis-ai.com/mdx/introduction/privacy-edu-consent Student Data Privacy Consent Form ## Praxis AI's Digital Twin Educational Services *** ### About This Service You are being asked to consent to the use of **Praxis AI's Digital Twin**, an educational technology tool embedded within your school's online learning platform. This AI-powered system is designed to support your educational experience while maintaining the highest standards of student privacy protection. *** ### Your Privacy Rights & Protections #### **What Data We Handle** * Student education records (as defined by FERPA) * Personal information that identifies you as a student * Usage data from your interactions with the platform * Educational work samples uploaded by your teachers #### **How Your Data is Protected** * **AES-256 encryption** for stored data * **TLS 1.3 encryption** for data transmission * **Zero-trust security model** with role-based access controls * **24-hour breach notification** requirement * **Background checks** for all personnel with data access *** ### What We **DO** With Your Data Your educational data will **ONLY** be used for: * **Educational Service Delivery** - Providing personalized coaching * **Security Protection** - Keeping the platform safe and secure * **Technical Support** - Ensuring the system works properly for you *** ### What We **NEVER** Do With Your Data We are **strictly prohibited** from: * **Selling or monetizing** your data in any way * **Targeting advertisements** to you or your family * **Creating commercial profiles** for non-educational purposes * **Training general AI models** with your information * **Product development** beyond your contracted educational services * **Discriminatory practices** based on protected characteristics *** ### Your Family's Rights Under FERPA (Family Educational Rights and Privacy Act), you and your parents have the right to: * **Access** your educational records * **Request amendments** to incorrect information * **Control disclosure** of your information * **Request deletion** of your data *Note: Praxis AI will work directly with your school to fulfill these requests within 45 days.* *** ### Educational Oversight * **Human supervision** is required for all AI decisions that could impact your educational outcomes * **Qualified educational personnel** review AI-generated recommendations before implementation * **Algorithmic transparency** - explanations available upon request for how AI decisions are made *** ### Data Retention & Deletion * Your data is kept **only as long as necessary** for educational services * Upon request or contract termination, **all data is deleted within 30 days** * **Backup systems are purged within 90 days** * **Written certification** of data destruction is provided using NIST-approved methods *** ### School Authority & Control * Your school maintains **complete control** over your educational data * Praxis AI acts as a **"school official"** under FERPA guidelines * All data remains the **exclusive property** of your school and your family * Praxis AI operates under **direct institutional oversight** *** ## Consent Agreement By clicking **"I AGREE"** below, I acknowledge that: 1. ✅ I have read and understand this privacy consent form 2. ✅ I understand how my educational data will be used and protected 3. ✅ I consent to the use of Praxis AI's Digital Twin under the terms described above 4. ✅ I understand my rights under FERPA and how to exercise them 5. ✅ I understand that this consent supports my educational experience while protecting my privacy *** ### 📞 Questions or Concerns? **Contact your school's administration** or reach out to: **Praxis AI Privacy Officer**\ **Email**: [humans@praxis-ai.com](mailto:humans@praxis-ai.com)\ **Address**: 6701 Koll Center Parkway, Suite 250-2656, Pleasanton, CA 94566 *** **Your privacy is our priority. Your education is our mission.** *** *This consent form is based on the Praxis AI Data Processing Agreement (DPA) which complies with FERPA, COPPA, and other applicable privacy laws protecting student information.* * [FERPA: Protecting Student Privacy](https://studentprivacy.ed.gov/ferpa) * [COPPA: Children's Online Privacy Protection Rule](https://www.ftc.gov/legal-library/browse/rules/childrens-online-privacy-protection-rule-coppa) * [Praxis: Data Protection Agreement Example](https://pria.praxislxp.com/uploads/6430d02554cd4e00403e8b05/Praxis20AI20Math20Coach20DPA20Service20Agreement_1759855322487.pdf) *** Download this form at [Student Data Privacy Consent](https://pria.praxislxp.com/privacy-edu-consent.md) # Security & Accessibility Documents Source: https://docs.praxis-ai.com/mdx/introduction/security-accessibility Get Praxis AI's HECVAT security questionnaire and its VPAT accessibility conformance report for your procurement review. Procurement, IT security and accessibility teams usually ask a vendor for two documents before they approve it. Praxis AI provides both for Pria. > [card] [HECVAT](mailto:humans@praxis-ai.com?subject=HECVAT%20request) > > The Higher Education Community Vendor Assessment Toolkit: Praxis AI's answers to the standard higher-education security questionnaire. Email the Praxis AI team to receive the current version. > [card] [VPAT (Accessibility Conformance Report)](mailto:humans@praxis-ai.com?subject=VPAT%20request) > > Pria's Accessibility Conformance Report, written on the VPAT template, against WCAG 2.1 Level A and AA. Email the Praxis AI team to receive the current version. To request either document, write to [humans@praxis-ai.com](mailto:humans@praxis-ai.com) and name your institution. ## Related * [WCAG Compliance](/mdx/introduction/wcag-compliance) — Pria's accessibility conformance, criterion by criterion * [Student Data Privacy](/mdx/introduction/privacy-edu-consent) — data handling commitments for education deployments * [AI Content Transparency](/mdx/introduction/ai-content-transparency) — how Pria discloses AI interaction and marks AI-generated content # WCAG Compliance Source: https://docs.praxis-ai.com/mdx/introduction/wcag-compliance Web Content Accessibility Guidelines (WCAG) 2.0/2.1 Level A & AA Conformance. ## Overview Praxis AI's "Pria" Generative AI Digital Twin is designed with accessibility at its core, ensuring all users can effectively interact with educational and professional assistance features. Our platform conforms to WCAG 2.0 and 2.1 Level A and Level AA standards. **Product Evaluated:** Pria Generative AI Digital Twin\ **Evaluation Date:** September 1, 2025\ **Contact:** David James Clarke IV ([humans@praxis-ai.com](mailto:humans@praxis-ai.com)) ## Conformance Levels Our evaluation uses the following conformance terminology: * **Supports** - The functionality meets the criterion without known defects * **Partially Supports** - Some functionality does not meet the criterion * **Does Not Support** - The majority of functionality does not meet the criterion * **Not Applicable** - The criterion is not relevant to the product * **Not Evaluated** - The criterion has not been evaluated ## WCAG 2.0/2.1 Level A Compliance ### Perceivable **1.1.1 Non-text Content** - **Supports**\ All non-text content including images and icons includes descriptive alt text and ARIA labels. **1.2.1-1.2.3 Audio and Video Content** - **Not Applicable**\ No prerecorded audio-only or video-only content is present. **1.3.1 Info and Relationships** - **Supports**\ Information structure and relationships are programmatically determinable. **1.3.2 Meaningful Sequence** - **Supports**\ Content is presented in a meaningful sequence that preserves meaning. **1.3.3 Sensory Characteristics** - **Supports**\ Instructions do not rely solely on sensory characteristics. **1.4.1 Use of Color** - **Supports**\ Color is not used as the only visual means of conveying information. **1.4.2 Audio Control** - **Not Applicable**\ No audio plays automatically. ### Operable **2.1.1 Keyboard** - **Supports**\ All functionality is available via keyboard interface. **2.1.2 No Keyboard Trap** - **Supports**\ Keyboard focus can be moved away from any component using standard methods. **2.1.4 Character Key Shortcuts** - **Supports**\ Character key shortcuts can be turned off or remapped. **2.2.1 Timing Adjustable** - **Not Applicable**\ No time limits are set on content. **2.2.2 Pause, Stop, Hide** - **Not Applicable**\ No auto-updating content is present. **2.3.1 Three Flashes or Below Threshold** - **Not Applicable**\ No content flashes more than three times per second. **2.4.1 Bypass Blocks** - **Supports**\ Mechanisms are available to bypass repeated blocks of content. **2.4.2 Page Titled** - **Supports**\ Web pages have descriptive titles. **2.4.3 Focus Order** - **Supports**\ Focusable components receive focus in an order that preserves meaning. **2.4.4 Link Purpose (In Context)** - **Supports**\ The purpose of each link is determined from link text or context, enhanced with icons. ### Input Modalities (WCAG 2.1) **2.5.1 Pointer Gestures** - **Supports**\ All functionality using multipoint or path-based gestures can be operated with a single pointer. **2.5.2 Pointer Cancellation** - **Supports**\ Functions triggered by single-pointer activation can be cancelled. **2.5.3 Label in Name** - **Supports**\ User interface components with text labels include the label text in the accessible name. **2.5.4 Motion Actuation** - **Supports**\ Functionality triggered by device motion can be disabled and operated through user interface components. ## WCAG 2.0/2.1 Level AA Compliance ### Perceivable **1.4.3 Contrast (Minimum)** - **Supports**\ Text and images of text have a contrast ratio of at least 4.5:1. **1.4.4 Resize Text** - **Supports**\ Text can be resized up to 200% without loss of content or functionality. **1.4.5 Images of Text** - **Supports**\ Text is used rather than images of text where possible. **1.4.10 Reflow (WCAG 2.1)** - **Supports**\ Content reflows to a single column without horizontal scrolling at 320 CSS pixels width. **1.4.11 Non-text Contrast (WCAG 2.1)** - **Supports**\ User interface components and graphical objects have a contrast ratio of at least 3:1. **1.4.12 Text Spacing (WCAG 2.1)** - **Supports**\ No loss of content or functionality occurs when users adjust text spacing properties. **1.4.13 Content on Hover or Focus (WCAG 2.1)** - **Supports**\ Additional content triggered by hover or focus is dismissible, hoverable, and persistent. ### Operable **2.4.5 Multiple Ways** - **Supports**\ Multiple ways are available to locate web pages within the platform. **2.4.6 Headings and Labels** - **Supports**\ Headings and labels describe topic or purpose, with all input elements having associated labels. **2.4.7 Focus Visible** - **Supports**\ Keyboard focus is consistently visible throughout the interface. ### Understandable **3.1.2 Language of Parts** - **Not Applicable**\ Language of passages cannot be programmatically determined. **3.2.3 Consistent Navigation** - **Supports**\ Navigation mechanisms appear in the same relative order across pages. **3.2.4 Consistent Identification** - **Supports**\ Components with the same functionality are identified consistently. **3.3.3 Error Suggestion** - **Supports**\ When input errors are detected, suggestions for correction are provided. **3.3.4 Error Prevention (Legal, Financial, Data)** - **Supports**\ Mechanisms for reviewing, confirming, and correcting information are provided before finalizing submissions. ### Robust **4.1.3 Status Messages (WCAG 2.1)** - **Supports**\ Status messages are programmatically determined and presented to assistive technologies without receiving focus. ## Testing Methodology Our accessibility evaluation employed: * **Manual Testing** - Expert review of interface components and interactions * **Automated Testing** - Scanning tools to identify common accessibility issues * **Assistive Technology Testing** - Verification with screen readers and other assistive technologies ## Technical Implementation Pria is built using HTML5 and follows modern web standards to ensure: * Semantic HTML structure * ARIA labels and roles where appropriate * Keyboard navigation support * Responsive design that adapts to different screen sizes and zoom levels * Clear focus indicators * Descriptive text alternatives for non-text content ## Resources * [WCAG 2.0 Guidelines](https://www.w3.org/TR/WCAG20/) * [WCAG 2.1 Guidelines](https://www.w3.org/TR/WCAG21/) * [Understanding WCAG 2.1](https://www.w3.org/WAI/WCAG21/Understanding/) * Need the formal VPAT (Accessibility Conformance Report) for a procurement review? See [Security & Accessibility Documents](/mdx/introduction/security-accessibility). ## Contact For questions about accessibility or to report accessibility issues: **David James Clarke IV**\ Email: [humans@praxis-ai.com](mailto:humans@praxis-ai.com) *** *Last Updated: September 1, 2025* # Welcome to Praxis AI Source: https://docs.praxis-ai.com/mdx/introduction/welcome The AI middleware that turns any AI model into a personalized Digital Twin — with your voice, your knowledge, and your tools. Deploy everywhere: LMS, web, mobile, voice, or API. ![Pria header](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/introduction/hero/pria-header.png?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=f66b72c730d30d2e693d5e3af78803e2) [Introduction to Praxis AI](https://player.vimeo.com/video/1100475061?badge=0\&autopause=0\&player_id=0\&) *** > [!NOTE] > > **One thing, three names.** In these docs we call your assistant a **Digital Twin**. You will also see it called an **Instance** — on the **Instance Settings** panel, in the admin **Instances** list, and in your web address (`your-instance.praxislxp.com`) — and an **Institution**, which is what our software calls it behind the scenes (in API fields such as `institution`). All three mean exactly the same thing: one assistant, with its own knowledge, voice, members and settings. Which name you see depends on the screen you are on, not on what the thing is. An **Account** is different — it is the organisation that owns one or more Digital Twins. > [!TIP] > > **New to Pria, or to AI?** Start with [Pria, Explained Simply](/mdx/introduction/pria-explained) — a short, plain-language tour of what Pria can do, for learners and admins. ## Human-First in an AI-First World Praxis AI amplifies human expertise through the creation of custom-built **Human-First Digital Twins**. These are not generic chatbots; they are sophisticated extensions of your personal and institutional knowledge. By making your expertise instantly available 24/7, we ensure that while the technology is advanced, the approach remains entirely human-centric — putting your people and their insights at the heart of every interaction. Praxis is built as **AI middleware**: it sits between your organization and the AI models you choose, so you don't have to wire up each one yourself. You bring the knowledge, personality, and branding. We handle the infrastructure — from voice cloning to document intelligence, from Google Workspace automation to LMS integration. > [!NOTE] > > **Already using ChatGPT, Claude, or Gemini?** Praxis doesn't replace them — it gives you **100+ models from every major provider**, all in one place, all trained on *your* content. Switch models anytime. No vendor lock-in. Ever. *** ## Who Would Benefit from Digital Twins? Praxis AI Digital Twins are for anyone whose expertise is worth sharing — at scale. Whether you're an educator, healthcare provider, legal professional, corporate trainer, or industry thought leader, a Digital Twin puts your knowledge, voice, and insights to work 24/7 — even when you can't be in the room. Designed for professionals who value both impact and integrity, our platform lets you amplify what makes you uniquely brilliant without sacrificing authenticity or control. If you've ever wished you could be in two places at once, your Digital Twin is the next best thing. **High tech. Human touch. Always you.** *** ## Where To Start Sign up at [pria.praxislxp.com/login](https://pria.praxislxp.com/login): continue with your **Apple**, **Google**, **Microsoft**, **GitHub** or **Facebook** account, or use your email address and a password (**Sign Up** creates the account). ![The Pria sign-in screen with Continue with Apple, Google, Microsoft, Github and Facebook buttons above the email and password fields](https://mintcdn.com/praxisai/MtUi40dXqj4J-FkR/images/introduction/welcome/pria-login.webp?fit=max\&auto=format\&n=MtUi40dXqj4J-FkR\&q=85\&s=82a3c3cab6ef814bffc91c421e198b13) Sign in with Apple, Google, Microsoft, GitHub or Facebook, or with your email address You start with your own **personal Pria**. Once it has answered 5 of your questions, you can create a Digital Twin of your own (up to 3 per account). ![The Digital Twin Gallery with the personal Pria card and the Caramel Digital Twin card, and Caramel's panel with Converse, Add Credits, Convo, Files, Edit, Members, Invite and Leave](https://mintcdn.com/praxisai/gaxj95avTUBOZfCf/images/introduction/welcome/pria-gallery-digitaltwin.webp?fit=max\&auto=format\&n=gaxj95avTUBOZfCf\&q=85\&s=9381184509ae6491bade3d320d3b2ee8) The Digital Twin Gallery: your personal Pria and a Digital Twin you created (here, Caramel) If you use Pria through your school or organization, its administrator creates Digital Twins for you. Give your Pria or your Digital Twin your own material by uploading files — click the **+** sign next to the message box to open the Action Menu. ![Uploading files via the Action Menu plus sign](https://mintcdn.com/praxisai/sHBvhGRqIiNsnDg9/images/introduction/welcome/action-menu-upload.png?fit=max\&auto=format\&n=sHBvhGRqIiNsnDg9\&q=85\&s=6103076a275156282c9ff8549341f95d) Upload files from the Action Menu to personalize your Digital Twin For a step-by-step walkthrough, see [Getting Started with Your Digital Twin](/mdx/user-guide/digital-twin-getting-started). *** ## Why Digital Twins? The question isn't whether AI can help your organization. It's whether your AI actually *knows* your organization. > [card] They Know What You Know > > Upload documents, manuals, course materials, or policies to the **IP Vault**. Your Digital Twin answers from *your* knowledge — not generic internet content. Retrieval-Augmented Generation (RAG) ensures every response is grounded in your source material. > [card] They Sound Like You > > Give your Digital Twin a **cloned voice** powered by ElevenLabs. Hold real-time voice conversations in many languages with a Twin that doesn't just think like your organization — it *sounds* like it too. > [card] They Never Clock Out > > A Digital Twin is available 24/7, in every timezone, in any language. Whether a student needs tutoring at midnight or an employee needs onboarding guidance on a weekend — your Twin is ready. *** ## Choose Any AI. Keep All of Them. Praxis is the only platform that gives you **unified access to 100+ AI models** across every major provider — through a single interface, a single API, and a single knowledge base. > [tab] Amazon Bedrock > > The Claude family (Sonnet 5.5 — the recommended default — Sonnet 5, Opus 5.5, Fable 5.1, Haiku 4.5), Meta Llama 4, Mistral, DeepSeek, Cohere Command and OpenAI's open-weight models — all accessed through your own AWS account with full data sovereignty. > [tab] OpenAI > > The GPT-6 family (GPT-6.1 Sol, GPT-6 Astra), GPT-5.6, GPT-5.5, GPT-5.4, GPT-5-mini, o4-mini, GPT Image 2.5, Sora 2 for video, Whisper for transcription, and real-time voice via GPT-Realtime and GPT-Live. > [tab] Anthropic > > Claude Sonnet 5.5, Sonnet 5, Opus 5.5, Fable 5.1 and Haiku 4.5 — direct API access with extended thinking, prompt caching, and 1M token context windows. > [tab] Google Gemini > > The Gemini 3 Flash family (3.8, 3.7, 3.6, 3.5), Gemini 3.1 Pro, and the 2.5 family — with native thinking configuration, context caching, and multimodal capabilities. > [tab] Mistral AI > > Mistral Large, Medium 3.5, Small 4, Codestral (code), Voxtral (voice), and specialized embedding models — all via native SDK integration. > [tab] xAI > > Grok 4.7, Grok 4.6, Grok 4.5, Grok 4.3, Grok 4.1 Fast and Grok Code Fast — with native integration for streaming, tool calling, vision, and real-time voice. > [tab] Moonshot AI > > Kimi K3 (flagship reasoning), Kimi K2.7 Code, and Kimi K2.6 — high-value conversation and coding models via native integration. > [tab] OpenRouter > > Open-weight models such as DeepSeek V4, Qwen, GLM, MiniMax and Gemma, plus Claude, Gemini and Grok — all through one OpenRouter key. > [!NOTE] > > **No vendor lock-in.** Switch models per Digital Twin or per assistant. Your knowledge base, tools, and configurations stay the same regardless of which AI powers the response. *** ## Your Twin Works Where You Work Digital Twins don't live in a silo. They connect to the tools your team already uses — and act on them. > [card] [Google Workspace](/mdx/user-guide/profile-settings/google-services) > > **Gmail, Drive, Calendar, Sheets, Docs, Slides, Classroom, Meet, Maps** — your Twin reads and sends email, schedules meetings, searches your files, reads your documents and spreadsheets, and follows your Classroom courses. All through natural conversation. > [card] [Microsoft 365](/mdx/user-guide/profile-settings/microsoft-services) > > **OneDrive, SharePoint, Outlook Mail and Calendar, Excel, Word, PowerPoint** — your Twin searches your files and SharePoint sites, reads and sends Outlook mail, manages your calendar, and reads your Office documents. All through natural conversation. Connect your own account from your profile, or let an administrator connect one account for the whole Digital Twin ([Google](/mdx/admin-guide/google-workspace), [Microsoft](/mdx/admin-guide/microsoft-365)). > [card] LMS Platforms > > Native **LTI 1.3** integration with **Canvas, Moodle, Blackboard, Brightspace, and Schoology**. Students and faculty access Digital Twins seamlessly from within their LMS — single sign-on, course context, and role-based access included. > [card] Web & Mobile > > Embed Twins in any **web application** with the JavaScript SDK. Access them on the go with the **Pria phone app**. Or build entirely custom experiences with the REST API. > [card] MCP Protocol > > Expose your Twin as an **MCP server** for Claude Desktop, Cursor, or any MCP-compatible client. Your Twin's knowledge becomes accessible to every tool in your AI workflow. > [card] Chat Completions API > > Drop-in **OpenAI-compatible** endpoint. Any app that works with the OpenAI SDK works with your Digital Twin — instantly. > [card] Twin-to-Twin > > Connect Digital Twins together. A sales Twin can query the product knowledge Twin. A student Twin can tap into the research Twin. No data duplication — live, real-time queries. *** ## Talk to Your Twin Seven world-class voice providers — OpenAI GPT-Realtime, OpenAI GPT-Live, ElevenLabs, Gemini Live, xAI Grok, Cartesia, and the Anam talking avatar. Real-time conversations in many languages. Tool execution mid-conversation. And yes — your Twin can sound exactly like you. > [card] OpenAI GPT-Realtime > > Ultra-low-latency voice with 10+ built-in voices, full tool calling during conversations, and MCP server access. Your Twin can search documents, check calendars, and send emails — all while you talk. > [card] ElevenLabs Voice Cloning > > Clone any voice for a branded experience. Your Digital Twin speaks with the voice of your CEO, your professor, your brand ambassador. Dynamic context injection ensures every response is personalized. > [card] Gemini Live > > Google's native multimodal audio with 30 built-in voices, real-time tool calling, and noise reduction. > [tab] Real-time Voice > > ![Voice Conversation](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/introduction/welcome/convo.png?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=3b958a508850d017cb6a78610a83f723) > > Real-time voice conversation with your Digital Twin > [tab] Voice Cloning > > ![Voice Cloning](https://mintcdn.com/praxisai/gdnuAYSPm-OlTX1-/images/introduction/welcome/voice-cloning.png?fit=max\&auto=format\&n=gdnuAYSPm-OlTX1-\&q=85\&s=dbd865eec1b41c3afef935fc4807b55f) > > Your twin - Your voice! *** ## What Can Your Digital Twin Do? > [accordion] Answer from Your Knowledge Base > > Upload documents, manuals, research papers, or course materials to the **IP Vault**. Your Twin uses Retrieval-Augmented Generation to answer from *your* content — with citations and source links. > > Every file has **three access tiers** — Public, Private (members of the Digital Twin only), or Confidential. Confidential locks the document itself: other members can't open, download, or see its details (they see a locked marker instead), though its knowledge can still inform shared answers. Download links are signed and expire within seconds, so a copied link cannot be reused. > > ```text wrap theme={null} > - "What does our company policy say about remote work?" > - "Summarize chapter 5 of the textbook I uploaded" > ``` > [accordion] Manage Your Google Workspace > > Send emails, schedule meetings, search Drive files, read spreadsheets, access Classroom data — all through conversation. Your Twin handles the complexity of Google APIs so you don't have to. > > ```text wrap theme={null} > - "Send an email to the marketing team about the launch date" > - "What's on my calendar this Thursday?" > - "Find the Q4 report in my Google Drive" > ``` > [accordion] Research & Analysis > > Web search, academic paper search (Google Scholar, PubMed, NIH), patent databases, and Wolfram Alpha computations — all available as built-in tools your Twin can use mid-conversation. > > ```text wrap theme={null} > - "Find recent research on CRISPR gene therapy published this year" > - "Calculate the compound interest on a $50,000 investment over 10 years" > ``` > [accordion] Create Images & Analyze Media > > Generate images with GPT Image 2.5, Gemini native image generation, Stability AI, or Grok Imagine. Analyze uploaded images, charts, or screenshots with vision models. Transcribe audio and video files — with speaker identification. > > ```text wrap theme={null} > - "Generate a hero image for our sustainability landing page" > - "Transcribe this meeting recording and identify who said what" > ``` > [accordion] Remember & Learn > > **User Memory** keeps the preferences and facts you ask it to remember, across sessions and devices. **Long-term Memory**, when your administrator turns it on, keeps what matters from your conversations on its own. **Shared Memory** creates a team-wide knowledge base that every user of a Twin can contribute to and access. > > Memory is scoped by design — personal memories stay personal, shared memories stay within your Digital Twin. Users in one Twin never see memories from another; the boundary is enforced in the database itself. > > ```text wrap theme={null} > - "Remember that I prefer bullet-point summaries" > - "Save this project brief to shared memory so the whole team can access it" > ``` > [accordion] Automate LMS Workflows > > For **Canvas** users: grade assignments, monitor class health, identify at-risk students, analyze participation — all through pre-built assistants or natural conversation with your Twin. > > ```text wrap theme={null} > - "Grade the latest batch of essay submissions using the rubric" > - "Which students haven't submitted their assignments this week?" > ``` > [accordion] Assistants & 70+ Built-in Tools > > Your Digital Twin defines *who* your AI is — its personality, knowledge, and voice. **Assistants** define *what it can do*. Each assistant is a specialized skill that orchestrates Pria's **70+ built-in tools** — web browsing, scholarly search, Wolfram Alpha, image generation, Canvas LMS, Google Workspace, Microsoft 365, meeting agents, memory management, file operations, and more — into repeatable, agentic workflows. > > Create assistants for any task: a **Research Assistant** that searches scholarly databases, synthesizes findings, and formats citations. A **Report Generator** that pulls data from your Vault and builds structured summaries. A **Socratic Tutor** that guides students through problems step by step. Each one runs autonomously, chaining tools together to deliver results — not just answers. > > ```text wrap theme={null} > - "Use the Research Assistant to find peer-reviewed sources on climate adaptation" > - "Run the Course Syllabus Generator for my new biology class" > - "Have the Data Analyst pull last quarter's metrics and build a summary" > ``` > [accordion] Send Your Twin Into a Meeting > > Your Digital Twin can join a live **Zoom, Google Meet, Microsoft Teams or Webex** call as a visible participant — with its avatar on camera and its own voice — listen to the discussion, answer when it's addressed, and write up what happened afterwards. > > You invite it the way you'd ask a colleague, and whatever you say in that invitation travels with it into the call. > > ```text wrap theme={null} > - "Join https://zoom.us/j/123456789 and review the Q3 report before you do" > - "poke" — typed in the meeting chat, asks the twin to speak up right now > ``` > > > [!NOTE] > > > > Meetings bill per minute of the bot's time in the call, on top of the usual per-turn cost. See [Meeting Agent](/mdx/admin-guide/meeting-agent) and [Plans and Credits](/mdx/introduction/plans-and-credits#voice-and-avatar-pricing). > [accordion] Hand It a Job, Not Just a Question > > Most answers come from one model working alone. For work with real steps, a twin can switch to **Agent Mode**: one model becomes the manager, plans the job, and hires temporary specialists — a researcher, a builder, a checker — that work in parallel and report back. > > It's the difference between asking a colleague a question and asking them to run a small project. A live panel shows each helper and what it's doing, and the itemized bill shows what each one cost. > > ```text wrap theme={null} > - "Research these five competitors and build me a comparison page" > - "Draft the lesson plan, then have it checked against the rubric" > ``` > > > [!NOTE] > > > > Agent Mode is off until an administrator makes it available on a Digital Twin; each member then turns **Subagents** on for themselves in the **+** menu. It bills on what the team's work actually cost rather than the flat rate. See [Single Model vs Agent Mode](/mdx/user-guide/interface/single-model-vs-agent-mode). > [accordion] Protect Every Conversation > > Security is not a bolt-on — it's the foundation. Every message is encrypted with **AES-256 at rest** and **TLS 1.3 in transit**. An AI-powered **content moderation** engine screens user messages before they reach the model, blocking policy violations and instantly alerting administrators. Voice sessions use **ephemeral tokens** that expire after each session — no long-lived API keys ever reach the browser. > > Praxis is **FERPA** and **COPPA** compliant, has completed **SOC 2 Type 1**, and expects **SOC 2 Type 2** in December 2026. Student data is used exclusively for educational service delivery — never for advertising, behavioral profiling, or training general-purpose AI models. Data remains the exclusive property of the institution, with written destruction certification upon contract termination. > > > [!NOTE] > > > > See the [Privacy & Educational Consent](/mdx/introduction/privacy-edu-consent) policy for the full data governance framework, including 30-day deletion guarantees and NIST-approved data destruction. > [accordion] Control Access Down to the Toggle > > Administrators manage permissions through **35 granular entitlements** across 10 modules — Digital Twins, users, sessions, histories, feedbacks, assistants, AI models, payments, SSO, and files. Every admin action is checked three times before it runs: that the person is signed in, that their account is an admin account, and that the thing they are touching belongs to a Digital Twin they administer. > > Control what each Twin can do: enable or disable individual tools, restrict which AI models are available, limit file uploads to specific users, toggle assistants on or off, and enforce membership status (Active, Pending, Suspended) that takes effect immediately — no session refresh required. > > IP Vault files use a **three-tier access model** — Public, Private (Digital Twin members), or Confidential (the document itself is locked to its owner). Guest UI mode strips the interface to a focused conversation experience for public-facing deployments. Admins can even disable clipboard copying for sensitive environments. > > > [!NOTE] > > > > See the [Entitlements guide](/mdx/admin-guide/entitlements) for the full permission matrix and preset configurations. > [accordion] Your Keys, Your Data, No Lock-in > > Bring your own API keys from **any provider** — OpenAI, Anthropic, Google, Mistral, xAI, Moonshot AI, Cohere, or AWS Bedrock. Pria looks for a key in three places, in order: one set on the individual model, then one set on the Digital Twin, then the platform's own (for Amazon Bedrock, an Account's AWS keys also cover every Digital Twin in it that has none of its own). The first one it finds is used — so you control exactly where your data flows. > > With **Amazon Bedrock**, your data never leaves your own AWS account. IAM policies enforce least-privilege access, and your encryption keys stay under your control. Switch providers at any time — your knowledge base, assistants, tools, and conversation history stay the same. **Zero vendor lock-in.** > > Credentials are encrypted at rest, excluded from API responses by default, and never logged. Connected-account tokens refresh automatically, and signed links are verified in a way that resists timing attacks. > > > [!NOTE] > > > > See [Bring Your Own Technology](/mdx/introduction/byot) for the full BYOT architecture and provider comparison. > [accordion] Monitor, Audit, and Optimize > > Every conversation is logged as a reviewable transcript — admins with the right entitlements can search, filter, and analyze interactions across their Digital Twin. Session tracking records user activity, login timestamps, and engagement patterns. Conversations are soft-deleted (never hard-removed), preserving a complete audit trail for compliance reviews. > > The **credit system** gives administrators real-time visibility into AI consumption. Choose between a shared budget for the whole Digital Twin, or a separate allowance for each person. Set low-credit alerts, auto-transfer thresholds, and per-user credit awards. Cached tokens are billed at a discount to optimize costs automatically. > > > [!NOTE] > > > > See [Administration & Analytics](/mdx/admin-guide/introduction) for the full suite of monitoring and governance tools. *** ## Platform at a Glance > [tab] Digital Twin Gallery > > Create, manage, and switch between Digital Twins from a single dashboard. Each Twin has its own personality, knowledge base, tools, and branding. Invite users, manage access, and track usage. > > ![Digital Twin Gallery](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/introduction/welcome/gallery.png?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=acdfbf88caabb00ac0b6205c53094820) > > Your Digital Twin Gallery — one place for all your AI assistants > [tab] Voice Conversations > > Real-time speech-to-speech in **many languages** with seven voice providers: **OpenAI GPT-Realtime** for low-latency conversations with tool and MCP support, **OpenAI GPT-Live**, which listens and speaks at the same time while your Digital Twin's own model answers, **Gemini Live** for native multimodal audio with real-time tool calling, **xAI Grok** for Grok-powered voice, **ElevenLabs** or **Cartesia** for custom voice clones and branded experiences, and **Anam** for a lip-synced video avatar. See [Convo Mode](/mdx/user-guide/interface/convo-speech) for details. > > ![Voice Conversation](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/introduction/welcome/convo.png?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=3b958a508850d017cb6a78610a83f723) > > Voice Conversation > [tab] LMS Integration > > Embed Digital Twins directly in **Canvas, Moodle, Blackboard, Brightspace, or Schoology** via LTI 1.3. Students and faculty access the Twin without leaving their LMS. Course context, roles, and single sign-on are handled automatically. > > ![Canvas Integration](https://mintcdn.com/praxisai/qxF4LPdJL8biN_cn/images/integrations/canvas/theme/canvas-theme.jpg?fit=max\&auto=format\&n=qxF4LPdJL8biN_cn\&q=85\&s=dafebaf7acddb43c0828eb31544fc14e) > > Canvas Theme Integration — Digital Twins embedded natively in Canvas > [tab] Web Agents > > Embed a Digital Twin as a **voice-enabled support agent** directly in your web application. Using the [Web SDK](/mdx/integrations/web/introduction), your Twin runs in [Convo Mode](/mdx/user-guide/interface/convo-speech) — visitors get real-time voice conversations, tool execution, and RAG-powered answers without leaving your site. > > ![Web Agent](https://mintcdn.com/praxisai/gdnuAYSPm-OlTX1-/images/introduction/welcome/pria-web-agent.png?fit=max\&auto=format\&n=gdnuAYSPm-OlTX1-\&q=85\&s=1c839f29e146cd660597134cfca1aac4) > > Digital Twin embedded as a web support agent with real-time voice > [tab] REST APIs & SDK > > Full REST API with **OpenAPI/Swagger documentation**, a JavaScript SDK for web embedding, an OpenAI-compatible Chat Completions endpoint, and MCP server support. Build anything. > > ![REST APIs](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/introduction/welcome/rest.png?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=a457e2a86eb02b13bcb66ee51bf947ea) > > REST APIs — full programmatic access to every platform feature *** ## Built for Every Team > [card] Education > > Deploy AI tutors that speak your students' language — literally. LTI integration, Canvas tools, assignment grading, class health monitoring, and FERPA-compliant data handling. Students get personalized coaching 24/7 without adding to faculty workload. > [card] Enterprise > > Scale institutional knowledge without scaling headcount. White-label branding, multi-tenant architecture, role-based access, and full audit trails. Onboard employees, automate support, and centralize expertise in Digital Twins that never forget. > [card] Developers > > REST APIs, JavaScript SDK, OpenAI-compatible Chat Completions, and MCP protocol support. Embed Digital Twins in any application, connect them to any AI workflow, or build entirely new experiences on top of the platform. > [card] Customer Experience > > Voice-enabled Digital Twins with cloned voices for branded customer interactions. Real-time tool execution during conversations. Your Twin doesn't just answer questions — it takes action on behalf of your customers. *** ## Enterprise-Grade From Day One > [card] Multilingual > > Speak, read, and interact in any language — with real-time voice in all of them. > [card] Always On > > 24/7 availability with instant, consistent responses. No sick days, no timezones, no wait times. > [card] Your Knowledge > > RAG-powered answers from your documents, not generic internet content. Citations included. > [card] Secure & Compliant > > SOC 2 Type 1 (Type 2 expected December 2026); FERPA, COPPA, WCAG AA compliant. AES-256 + TLS 1.3 encryption. 35 granular entitlements. Full audit trails. *** ## Administration & Analytics Full control over Digital Twins, users, conversations, and analytics through the Administrative Panel. > [tab] Digital Twins > > Manage every Twin: AI model selection, tool permissions, knowledge bases, branding, and user access. > > ![Digital Twins list in the admin panel](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/introduction/welcome/admin-instances.png?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=0cedcdc5805bfd261e8071b7a450184a) > [tab] Users > > Enroll users, assign roles, manage permissions, and track engagement across your organization. > > ![Users](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/introduction/welcome/admin-users.png?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=cc19baec41e9fbc7a9f25973a3f488e7) > [tab] Conversations > > Review conversation transcripts, monitor quality, and gather insights from every interaction. > > ![Histories](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/introduction/welcome/admin-histories.png?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=eed033ed27c4d02b8d8bf34b1b3581b5) > [tab] Entitlements > > Control exactly what each user can do — toggle granular permissions across Digital Twins, users, and histories to protect access to resources. > > ![Entitlements](https://mintcdn.com/praxisai/60S-TkaqdLQNeHho/images/admin-guide/admin-entitlements.webp?fit=max\&auto=format\&n=60S-TkaqdLQNeHho\&q=85\&s=dfa243bd88c5edee1051b2f201027ff3) > > Entitlements — fine-grained access control per user > [tab] Analytics > > Track usage, credit consumption, model performance, and user engagement over time. > > ![History Graph](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/introduction/welcome/admin-histories-graph.png?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=418a677ff15a9bfdef78c78303337286) > [!NOTE] > > Customize your Twins with your organization's branding — logos, colors, and welcome screens. See the [Personalization guide](/mdx/admin-guide/personalization). *** ## How It All Fits Together ```mermaid theme={null} flowchart TD AC["Accounts & Billing"] TO["70+ Built-in Tools"] GW["Google Workspace"] US["Users & Roles"] IN["Digital Twins"] AC --> IN TO --> IN GW --> IN US -->|Member| IN US <-->|History| IN IN --> AS["Assistants & Prompts"] IN --> VA["Dynamic Variables"] IN --> UP["IP Vault (RAG)"] IN --> MC["MCP Servers"] IN --> VC["Voice & Cloning"] US <--> ME["Personal & Shared Memory"] UP --> EM["Vector Embeddings"] MC <-->|Twin-to-Twin| IN ``` *** ## Create Your Digital Twin Ready to build yours? Choose the path that fits your team: > [card] [We Build It For You](/mdx/user-guide/create-digital-twin#option-1-we-build-it-for-you) > > Complete a quick form and our team handles everything — your Digital Twin will be ready in **24-48 hours**. Perfect for organizations that want expert setup. > [card] [Build It Yourself](/mdx/user-guide/create-digital-twin#option-2-build-it-yourself) > > Sign up, answer a few onboarding questions, and start using your Digital Twin in **10-20 minutes**. Full control from day one. > [card] [Complete Creation Guide](/mdx/user-guide/create-digital-twin) > > See the full step-by-step guide for all creation options → > [card] [Praxis Studios](/mdx/introduction/praxis-studios) > > Need more than setup? Our professional services team takes on consulting, custom builds, deployment, and training → *** ## Explore the Platform > [card] [Using the Interface](/mdx/user-guide/interface/input-responses) > > Learn how to communicate with your Digital Twin effectively. > [card] [Voice Conversations](/mdx/user-guide/interface/convo-speech) > > Set up real-time voice with OpenAI, Gemini Live, or ElevenLabs voice cloning. > [card] [Create Assistants](/mdx/user-guide/assistants-personalization/assistants) > > Build custom assistants to automate workflows and specialize your Twin. > [card] [IP Vault & RAG](/mdx/user-guide/files-documents/ipvault) > > Train your Digital Twin on your proprietary documents and content. > [card] [Google & Microsoft 365](/mdx/user-guide/profile-settings/google-services) > > Connect Gmail, Drive, Calendar and Classroom, or OneDrive, SharePoint and Outlook. > [card] [Memory Systems](/mdx/user-guide/memory/memory-systems) > > Conversation history, User Memory, Long-term Memory and Shared Memory explained. > [card] [Plans & Pricing](/mdx/introduction/plans-and-credits) > > Individual plans from free trials to enterprise tiers with volume savings. > [card] [All Integrations](/mdx/integrations/overview) > > LMS, Web SDK, MCP, Chat Completions, ElevenLabs, and REST APIs. # Install the LXP in Blackboard Learn (LTI 1.3) Source: https://docs.praxis-ai.com/mdx/lxp/admin/lti-blackboard Add LXP courses to Blackboard Learn as an LTI Advantage tool, registered with its Client ID ## Introduction This guide walks Blackboard Learn administrators through adding the Praxis LXP as an **LTI 1.3 Advantage** tool, and shows instructors how to place LXP content in a course. > [!NOTE] > > Installing **Pria**, the Digital Twin, rather than the LXP? It is a separate tool with its own Client ID: see [Pria in Blackboard Learn](/mdx/integrations/blackboard/introduction). Blackboard registers LTI 1.3 tools centrally. Praxis AI has registered the LXP with Anthology once, and that registration has a **Client ID**. You paste the Client ID into Blackboard, and Blackboard fills in everything else: the LXP's addresses, keys and course placements. You never type the LXP's URLs into Blackboard. | | | | - | - | | **The LXP's Client ID** | `7ed260b0-2318-4f97-9406-c8e7dc8ac25d` | ## Prerequisites Before you begin, ensure you have: * [ ] Blackboard Learn administrator access (the **Admin** page) * [ ] The LXP's Client ID (above) * [ ] Your organisation's LXP **credentials and role ID**, for the product you're registering. Request them from the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). * [ ] [Network requirements](/mdx/lxp/admin/lti-overview#network-requirements) met (whitelisted domains, third-party cookies) *** ## Register the LXP **1. Open LTI Tool Providers** In Blackboard, open **Admin**. Under **Integrations**, select **LTI Tool Providers**. ![Blackboard Admin page, Integrations section with the LTI Tool Providers link](https://mintcdn.com/praxisai/M7q0BaD47W-iuzaZ/images/integrations/blackboard/bb-admin-integrations.webp?fit=max\&auto=format\&n=M7q0BaD47W-iuzaZ\&q=85\&s=abe66604f9fa63b50f06bebfa87aa527) The Integrations section of the Blackboard Admin page **2. Register the LXP with its Client ID** Select **Register LTI 1.3/Advantage Tool**, paste the LXP's Client ID, `7ed260b0-2318-4f97-9406-c8e7dc8ac25d`, into the **Client ID** box, and select **Submit**. ![Register LTI 1.3/Advantage Tool page with an empty Client ID field and Submit button](https://mintcdn.com/praxisai/M7q0BaD47W-iuzaZ/images/integrations/blackboard/bb-register-client-id.webp?fit=max\&auto=format\&n=M7q0BaD47W-iuzaZ\&q=85\&s=18cb32b027112361d3dfe28cb9fd0492) Register LTI 1.3/Advantage Tool asks only for the Client ID **3. Check the LXP's details and approve it** Blackboard opens **Accept LTI 1.3 Tool** and shows the LXP's registration as read-only fields: the name **Praxislxp LTI learning**, the domain `lti.praxislxp.com`, and addresses on `https://lti.praxislxp.com`. It also shows the **Default Deployment ID**, which identifies your Blackboard site; keep it in case the Praxis AI team asks for it. **Tool Status** starts as **Excluded**. Select **Approved**. ![Accept LTI 1.3 Tool page showing the LXP's name Praxislxp LTI learning, login, redirect and JWKS URLs on lti.praxislxp.com, the lti.praxislxp.com domain and Tool Status Approved](https://mintcdn.com/praxisai/zn6tv6gqw9VolCls/images/lxp/blackboard/lxp-bb-accept-tool.webp?fit=max\&auto=format\&n=zn6tv6gqw9VolCls\&q=85\&s=dd0b9f0468182d1700dff93898b39d05) The LXP's registration details, with Tool Status set to Approved **4. Enter your organisation's custom parameters** Below **Tool Status**, the **Tool Provider Custom Parameters** box arrives filled with the registration's example values. They are placeholders and don't sign in to the LXP. Replace the credential and role lines with the values Praxis AI gave you for your organisation and product, one `name=value` per line: ```text theme={null} alaiemail= alaipassword= alairoleid= ``` Leave the other lines as they are unless Praxis AI tells you otherwise. **Choose what instructors can pick (optional).** Two more custom parameters set what the LXP's resource picker offers when an instructor adds LXP content to a course: | Parameter | Value | Effect | | - | - | - | | `resourcestype` | `cohorts` (the default) or `courses` | Whether the picker lists LXP **cohorts** or LXP **courses**. | | `alaicohortid` | A cohort ID from Praxis AI | Uses one cohort. With `cohorts`, the picker offers only this cohort, so instructors don't have to find it in the list. With `courses`, learners who open an LXP course are enrolled in this cohort. | A cohort is set up by the Praxis AI team for your organisation and groups all of a class's learners, with the class's start and end dates. Ask Praxis AI for your cohort ID. > [!WARNING] > > These values tell the LXP which organisation and role a launch belongs to, and one of them is a password. Treat them like a credential: don't paste them into a shared document or a ticket. **5. Set the institution policies** Further down the same page, under **Institution Policies**: | Setting | Value | Why | | - | - | - | | **User Fields to Send** | **Role in Course**, **Name**, **Email Address** | The LXP signs each learner in by email address. Without it, the launch stops with "The LMS did not share this user's email address". | | **Allow grade service access** | **Yes** | Lets the LXP send each learner's score to the Gradebook. | | **Allow Membership Service Access** | **Yes** | Lets the LXP read course membership through the LTI service. | Select **Submit**. The LXP now appears in **LTI Tool Providers** as an approved LTI 1.3 tool. ![Institution Policies with Role in Course, Name and Email Address checked, grade service access Yes and Membership Service Access Yes](https://mintcdn.com/praxisai/zn6tv6gqw9VolCls/images/lxp/blackboard/lxp-bb-institution-policies.webp?fit=max\&auto=format\&n=zn6tv6gqw9VolCls\&q=85\&s=c2cb44d1baeb5b47ecc6bbaf9eb47734) Institution Policies set for the LXP **6. Check the LXP's placements** The LXP comes with its placements already set up, so there's nothing to create. To check them, open the LXP's menu in **LTI Tool Providers** and choose **Manage Placements**. You'll see two placements, both pointing at `https://lti.praxislxp.com`: * **Deep Linking content tool**: opens the LXP's resource picker so the instructor can choose a course or cohort. **This is the one to use.** * **Course content tool**: adds a plain LXP link that doesn't say which course or cohort to open, so it doesn't launch LXP content. ![Manage Placements for lti.praxislxp.com listing Praxislxp LTI learning as a Course content tool and as a Deep Linking content tool, both at https://lti.praxislxp.com](https://mintcdn.com/praxisai/zn6tv6gqw9VolCls/images/lxp/blackboard/lxp-bb-placements.webp?fit=max\&auto=format\&n=zn6tv6gqw9VolCls\&q=85\&s=f602385aaefa9d8799d62d0eb52455bb) The LXP's two placements > [!TIP] > > To keep instructors from adding the plain link by mistake, edit the **Course content tool** placement and set **Availability** to **No**. *** ## Add LXP Content to a Course **1. Open Content Market** In an Ultra course, open **Course Content**, select the **+** to add content, and choose **Content Market**. ![Ultra course Course Content area with the add-content menu open: Create, Copy Content, Upload, Cloud Storage, Content Market, Content Collection, Learning Object Repository](https://mintcdn.com/praxisai/afvIymk0HQUo_fCE/images/integrations/blackboard/bb-course-add-content.webp?fit=max\&auto=format\&n=afvIymk0HQUo_fCE\&q=85\&s=3af15128a391a2551dd0cf00a810a77c) Content Market in an Ultra course's add-content menu **2. Pick LXP content** The LXP is listed twice under **Institution Tools**, as **Praxislxp LTI learning**. Select the card **without** a **+**: it opens the LXP's resource picker. Choose the LXP course or cohort to add. (The card with a **+** adds the plain link described above.) ![Content Market, Institution Tools section with two Praxislxp LTI learning cards, the first with an add button](https://mintcdn.com/praxisai/zn6tv6gqw9VolCls/images/lxp/blackboard/lxp-bb-content-market.webp?fit=max\&auto=format\&n=zn6tv6gqw9VolCls\&q=85\&s=af5335d85f00863e18ffe540fa611d32) The LXP's two cards in Content Market **3. Show it to students** The new item is added to **Course Content**. If it shows **Hidden from students**, make it visible when you're ready. Each item you add through the picker gets its own Gradebook column. When a learner finishes the LXP activity, the LXP sends the score to that column. Detailed learner reporting stays in the LXP, under **LXP Composer → Analytics**. *** ## What Learners See The LXP item appears in the course content with the title and description of the cohort or course you picked. ![Blackboard course content area listing the Bioinformatics LXP item with its description and a Pria Digital Twin item](https://mintcdn.com/praxisai/vxexX_z8sd0tBIx9/images/lxp/blackboard/lxp-bb-student-course.webp?fit=max\&auto=format\&n=vxexX_z8sd0tBIx9\&q=85\&s=2cb84e8922f3e3c5bdbf65bff0e5820d) A course's content with an LXP cohort (Bioinformatics) and a Pria item, as a student sees it (Original course view) When a learner selects it, the LXP opens inside Blackboard and signs them in. There's no separate LXP sign-in: the first launch creates the learner's LXP account from the name and email Blackboard sends. The learner lands on the cohort's **Learning** page, with their progress on each skill and a **Start Skill** button for each one. ![LXP cohort page for Bioinformatics inside the Blackboard frame, with My Classes and Learning tabs and skill columns such as Introduction to Bioinformatics, Genome Data Mining and Sequence Alignment, each skill showing its status and a Start Skill button](https://mintcdn.com/praxisai/vxexX_z8sd0tBIx9/images/lxp/blackboard/lxp-bb-student-cohort.webp?fit=max\&auto=format\&n=vxexX_z8sd0tBIx9\&q=85\&s=339e18cc1cb3673c86e9b61942931000) The Bioinformatics cohort, opened from Blackboard and signed in as the learner As learners complete activities, their scores go to the item's column in the Blackboard Gradebook. *** ## Troubleshooting | Issue | Solution | | - | - | | **The Client ID isn't accepted** | Check that you pasted the whole Client ID (`7ed260b0-2318-4f97-9406-c8e7dc8ac25d`), without spaces. If it still fails, contact the Praxis AI team. | | **"The LMS did not share this user's email address"** | Edit the LXP tool in **LTI Tool Providers** and check **Email Address** (with **Name** and **Role in Course**) under **User Fields to Send**. | | **An LXP item opens an "LTI v1.3 - Tool" information page instead of the content** | The item was added with the plain link (the card with a **+**). Delete it and add the content again through the picker. | | **The LXP isn't in Content Market** | Confirm the LXP is **Approved** in **LTI Tool Providers**, and that its **Deep Linking content tool** placement has **Availability** set to **Yes**. | | **The launch fails with an authentication error** | The **Tool Provider Custom Parameters** still hold the example values. Edit the LXP tool and enter your organisation's credentials and role ID from Praxis AI. | | **"Unregistered Platform" or "Platform not active"** | Contact the Praxis AI team with your Blackboard address and the tool's **Default Deployment ID** (the LXP's menu in **LTI Tool Providers** → **Manage Deployments**). | | **The launch fails inside the course** | LTI launches need third-party cookies: allow them for `praxislxp.com` and avoid private browsing. If it still fails, edit the **Deep Linking content tool** placement and turn on **Launch in New Window**. | | **"Connection not private" launch errors** | Clear cached HSTS settings — see the [overview troubleshooting steps](/mdx/lxp/admin/lti-overview#troubleshooting-connection-not-private-errors). | > [!NOTE] > > For additional assistance, contact [Praxis Support](https://praxisai.freshdesk.com/support/home) or email [humans@praxis-ai.com](mailto:humans@praxis-ai.com) with your Blackboard version and error screenshots. ## Related * [LTI Integration Overview](/mdx/lxp/admin/lti-overview) — endpoints, network requirements, direct access * [LTI 1.3 for Canvas](/mdx/lxp/admin/lti-canvas) — Canvas installation * [LTI 1.3 for D2L Brightspace](/mdx/lxp/admin/lti-d2l) — Brightspace installation * [LTI 1.3 for Moodle](/mdx/lxp/admin/lti-moodle) — Moodle installation * [Pria in Blackboard Learn](/mdx/integrations/blackboard/introduction) — install the Pria Digital Twin (separate tool) # Install the LXP in Canvas (LTI 1.3) Source: https://docs.praxis-ai.com/mdx/lxp/admin/lti-canvas Add LXP courses to your Canvas account as an LTI Advantage tool, with Dynamic Registration or a Developer Key ## Introduction This guide walks Canvas administrators through integrating the Praxis LXP using **LTI 1.3 Advantage** services: registering the tool, making it available, and adding LXP content to courses. > [!NOTE] > > Installing **Pria**, the Digital Twin, rather than the LXP? It is a separate tool, listed on the **Discover** tab of Canvas Apps as **Praxis AI Human-First Digital Twins**: see [LTI 1.3 for Canvas](/mdx/integrations/canvas/lti-1-3). The LXP is **not on the Discover page yet**, so install it with one of the methods below. ### Choose an install method | Method | Best for | Effort | | - | - | - | | [**Dynamic Registration**](#dynamic-registration) | The fastest path: you paste the LXP's registration URL and Canvas fetches its settings and placements | 10–15 min | | [**Manual Entry**](#manual-entry-developer-key) (Developer Key) | When your organisation's custom fields must be entered in Canvas, or you want to choose every setting and placement yourself | 20–30 min | > [!WARNING] > > Dynamic Registration installs the LXP with example custom fields that don't sign in to the LXP, and Canvas does not let you add or edit custom fields on a tool installed this way. The LXP uses these fields (see [Manual Entry](#manual-entry-developer-key)) to know which organisation and role a launch belongs to. Before you install, request your organisation's credentials and role ID for the product you're registering from the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com), and ask whether to use Dynamic Registration or Manual Entry. ## Prerequisites Before you begin, ensure you have: * [ ] Canvas **administrator access** for your account. Dynamic Registration needs a **root account admin** with the **LTI Registrations - Manage** permission. * [ ] Permission to create **Developer Keys** (Manual Entry) * [ ] Your institution-specific LXP values (provided by Praxis AI) * [ ] [Network requirements](/mdx/lxp/admin/lti-overview#network-requirements) met (whitelisted domains, third-party cookies) *** ## Dynamic Registration You paste the LXP's registration URL; Canvas fetches the tool's settings and walks you through the **Install App** wizard. **1. Open the Apps page** Log in to Canvas as an administrator. In Global Navigation click **Admin**, click your root account's name, then click **Apps** in Account Navigation. Select the **Manage** tab and click **Install a New App**. **2. Choose Dynamic Registration** In the **Install App** dialog, under **Select LTI Version** choose **1.3**, set **Install Method** to **Dynamic Registration**, and enter the LXP's registration URL in **Dynamic Registration URL**: ```text theme={null} https://lti.praxislxp.com/register ``` Click **Next**. **3. Review permissions** Keep the permissions Canvas pre-selects and click **Next**. Turning one off can stop the LXP from sending grades back to Canvas. **4. Confirm data sharing** In **User Data Shared With This App**, keep **All user data**: the LXP needs each learner's name and email to match a launch to the right learner account. Click **Next**. **5. Select placements** Keep **Link Selection** selected: it is how faculty pick an LXP resource when they add an item to a module. Each placement's information icon shows where it appears in Canvas. Click **Next**. **6. Set the nickname** Give the tool an **Administration Nickname** (for example *Praxis LXP*); it always appears next to the app's name. Optionally add a description and rename each placement. Click **Next**. **7. Keep the icons** The icon URLs are prefilled with the LXP's logo. Leave them and click **Next**. **8. Review and install** Review the permissions, data sharing and placements; use the pencil icons to go back and change one. Click **Install App**. Canvas confirms **App installed successfully!** and opens the app. **9. Make the LXP available** The LXP installs as **Not Available**: it won't appear in any course until you enable it. On the app's **Availability and Exceptions** tab, click the **pencil (edit)** icon on the *Installed in (your account)* card. In the **Edit Exception** dialog, change **Not Available** to **Available** and click **Save**; Canvas confirms **Exception availability updated successfully.** > [!TIP] > > Use **Add Exception** instead to make the LXP available to some sub-accounts or courses only. Prefer a sub-account exception to single-course ones: new courses in the sub-account inherit it, while a copied course does not keep its own. > [!NOTE] > > Instructure's own guide to this wizard: [How do I add an app using Dynamic Registration in Canvas Apps?](https://community.instructure.com/en/kb/articles/661489-how-do-i-add-an-app-using-dynamic-registration-in-canvas-apps) *** ## Manual Entry (Developer Key) Register the LXP by hand with an LTI Developer Key, then install it by its Client ID. ### Create the LTI Developer Key **1. Access Canvas Admin** Log in as an administrator and navigate to your account (e.g. `https://.instructure.com/`). **2. Open Developer Keys** Go to **Admin** → *your account* → **Developer Keys** in the left menu. **3. Create an LTI Key** Click **+ Developer Key** and select **LTI Key**. **4. Select Manual Entry** Set the configuration **Method** to **Manual Entry**. **5. Enter the tool configuration** Fill in the key configuration: | Setting | Value | | - | - | | **Key Name** | LXP-LTI | | **Title / Description** | Praxis LXP-LTI | | **Owner Email** | [youremail@yourinstitution.edu](mailto:youremail@yourinstitution.edu) | | **Target Link URI** | `https://lti.praxislxp.com` | | **OpenID Connect Initiation URI** | `https://lti.praxislxp.com/login` | | **Redirect URIs** (both) | `https://lti.praxislxp.com` `https://lti.praxislxp.com/launch` | | **JWK Method** | Public JWK URL | | **Public JWK URL** | `https://lti.praxislxp.com/keys` | **6. Enable LTI Advantage Services** Toggle **all** LTI Advantage Services features to enabled. **7. Additional Settings** Configure the tool presentation and institution-specific values: | Setting | Value | | - | - | | **Domain** | `praxislxp.com` | | **Icon URL** | `https://lti.praxislxp.com/assets/logo.svg` | | **Text** | Praxis LXP | | **Privacy Level** | Public | **Public** means Canvas passes the learner's name and email to the LXP at launch, which the LXP needs to match the launch to the right learner account. Add the **Custom Fields** for your organisation: ```text theme={null} alaiemail= alaipassword= alairoleid= alaicohortid= alaiurl=https://learning.praxislxp.com resourcestype=cohorts alaiembed=1 ``` > [!WARNING] > > These values tell the LXP which organisation and role a launch belongs to, and one of them is a password. Treat them like a credential: don't paste them into a shared document or a ticket. Request your organisation's values for the product you're registering from the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). **Choose what instructors can pick (optional).** Two more custom parameters set what the LXP's resource picker offers when an instructor adds LXP content to a course: | Parameter | Value | Effect | | - | - | - | | `resourcestype` | `cohorts` (the default) or `courses` | Whether the picker lists LXP **cohorts** or LXP **courses**. | | `alaicohortid` | A cohort ID from Praxis AI | Uses one cohort. With `cohorts`, the picker offers only this cohort, so instructors don't have to find it in the list. With `courses`, learners who open an LXP course are enrolled in this cohort. | A cohort is set up by the Praxis AI team for your organisation and groups all of a class's learners, with the class's start and end dates. Ask Praxis AI for your cohort ID. **8. Configure Placements** Add the following placements: **Account Navigation** | Setting | Value | | - | - | | **Target Link URI** | `https://lti.praxislxp.com` | | **Icon URL** | `https://lti.praxislxp.com/assets/logo.svg` | | **Text** | Praxis LXP LTI | **Link Selection** | Setting | Value | | - | - | | **Target Link URI** | `https://lti.praxislxp.com` | | **Icon URL** | `https://lti.praxislxp.com/assets/logo.svg` | | **Text** | Praxis LXP LTI | | **Message Type** | `LtiDeepLinkingRequest` | > [!WARNING] > > Make sure **LtiDeepLinkingRequest** is selected for the Link Selection placement, otherwise the resource selection will not appear when adding an LXP resource to a module. **9. Save and activate** Click **Save**, then toggle the key's **State** to **ON** in the Developer Keys page and confirm with **OK**. **10. Copy the Client ID** Copy the **Client ID** shown for the key — you need it to install the app in the next section. > [!NOTE] > > Any configuration change to the LTI tool requires toggling its state **Off** and back **On** so the modification propagates to Canvas subdomains. #### Verify the configuration Click the **Praxis LXP LTI** tool in the Admin left toolbar. The system displays member services information to confirm the registration. > [!NOTE] > > When a learner finishes an LXP activity placed in a course, the LXP sends the score to that activity's gradebook column in Canvas. Detailed learner reporting stays in the LXP, under **LXP Composer → Analytics**. ### Install the LXP as an Application **1. Open App Configurations** Go to **Admin** → *your account* → **Settings** → **Apps** → **App Configurations**. **2. Add the App** Click **+ App** and select **By Client ID** as the configuration type. **3. Enter the Client ID** Paste the Client ID copied from the Developer Key, click **Submit**, then **Install**. **4. Confirm** Confirm with **Yes, Install Tool**. The LXP is now available across your Canvas instance. *** ## Add LXP Content to Canvas Courses There are two ways to bring LXP content into a course: ### Option A — Import an Entire Course A complete LXP course can be imported into Canvas. Contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) for the course export package for your program. ### Option B — Add Individual Activities **1. Open the course** Select the published course from the **Courses** menu. **2. Add a module item** Click the **+** button next to the desired module. **3. Select External Tool** Choose **External Tool** as the item type, then select **Praxis LXP LTI** from the list of external tools. **4. Pick the LXP resource** Select the LTI resource from the LXP resource picker and submit. **5. Name and add** Edit the **Page Name** to match the imported module, then click **Add Item**. > [!TIP] > > With a Developer Key, the first launch registers your Canvas with the LXP and answers "…has been successfully registered! Please retry." Close the popup and launch again. (A Dynamic Registration is registered during installation, so this doesn't happen.) *** ## Troubleshooting | Issue | Solution | | - | - | | **The LXP isn't on the Discover page** | The LXP is not listed on the Canvas Apps **Discover** tab yet; install it with [Dynamic Registration](#dynamic-registration) or [Manual Entry](#manual-entry-developer-key). The **Praxis AI Human-First Digital Twins** listing installs Pria, the Digital Twin, not the LXP. | | **Unregistered platform error** | Contact Praxis support to register your Canvas platform with the LXP. | | **Invalid `redirect_uri` error** | Verify the two Redirect URIs match the values in the Developer Key configuration exactly. | | **"The LMS did not share this user's email address"** | Set the Developer Key's **Privacy Level** to **Public** (or keep **All user data** in a Dynamic Registration). | | **"Platform not active"** | Your Canvas registration isn't active in the LXP. Contact Praxis support. | | **Resource selection doesn't appear** | Confirm the Link Selection placement uses the `LtiDeepLinkingRequest` message type. | | **Changes don't take effect** | Toggle the Developer Key state Off and back On to propagate the configuration. | | **LXP doesn't appear after a Dynamic Registration** | The tool installs as **Not Available**: set it to **Available** on its **Availability and Exceptions** tab. | | **Custom fields can't be added** | Canvas does not let you edit custom fields on a tool installed through Dynamic Registration. Remove it and register the LXP with [Manual Entry](#manual-entry-developer-key). | | **"Connection not private" launch errors** | Clear cached HSTS settings — see the [overview troubleshooting steps](/mdx/lxp/admin/lti-overview#troubleshooting-connection-not-private-errors). | | **Embedded labs don't load** | Allow third-party cookies for `praxislxp.com` and whitelist the [required domains](/mdx/lxp/admin/lti-overview#network-requirements). | > [!NOTE] > > For additional assistance, contact [Praxis Support](https://praxisai.freshdesk.com/support/home). Canvas's own reference: [How do I configure an LTI key for an account?](https://community.canvaslms.com/t5/Admin-Guide/How-do-I-configure-an-LTI-key-for-an-account/ta-p/140) ## Related * [LTI Integration Overview](/mdx/lxp/admin/lti-overview) — endpoints, network requirements, direct access * [LTI 1.3 for D2L Brightspace](/mdx/lxp/admin/lti-d2l) — Brightspace installation * [LTI 1.3 for Moodle](/mdx/lxp/admin/lti-moodle) — Moodle installation * [LTI 1.3 for Canvas (Pria)](/mdx/integrations/canvas/lti-1-3) — install the Pria Digital Twin (separate tool) # LTI 1.3 for D2L Brightspace Source: https://docs.praxis-ai.com/mdx/lxp/admin/lti-d2l Install the LXP on BrightSpace using LTI Advantage Dynamic Registration ## Introduction Technologies from Praxis AI — including the LXP and Pria — can be added to your LMS using the **LTI Advantage (v1.3)** protocol. This guide walks Brightspace D2L administrators through registering the LXP with **Dynamic Registration**, creating deployments, and adding LXP content to courses. ## Prerequisites Before you begin, ensure you have: * [ ] Brightspace D2L **administrator access** * [ ] Permission to use **Manage Extensibility** and register LTI Advantage tools * [ ] Your institution-specific custom property values (provided by Praxis AI) * [ ] [Network requirements](/mdx/lxp/admin/lti-overview#network-requirements) met (whitelisted domains, third-party cookies) *** ## Register the LTI Tool **1. Open Manage Extensibility** Log in as an administrator, open the **Gear menu** (top right corner) and select **Manage Extensibility** under Organization Related activities. **2. Register a new tool** Select **LTI Advantage**, then click **Register Tool**. **3. Use Dynamic Registration** Select the **Dynamic** registration option and enter the registration URL: ```text theme={null} https://lti.praxislxp.com/register ``` > [!NOTE] > > To register the **Pria** Digital Twin instead, use `https://prialti.praxislxp.com/register` — see [Pria on D2L Brightspace](/mdx/integrations/d2l/introduction). **4. Edit custom properties** After registration, customize the tool's custom properties. The registration installs example values that don't sign in to the LXP. Replace the credential and role lines with the values Praxis AI gave you for your organisation and product, one `name=value` per line: ```text theme={null} alaiemail= alaipassword= alairoleid= ``` Leave the other lines as they are unless Praxis AI tells you otherwise. Request your values from the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). **Choose what instructors can pick (optional).** Two more custom parameters set what the LXP's resource picker offers when an instructor adds LXP content to a course: | Parameter | Value | Effect | | - | - | - | | `resourcestype` | `cohorts` (the default) or `courses` | Whether the picker lists LXP **cohorts** or LXP **courses**. | | `alaicohortid` | A cohort ID from Praxis AI | Uses one cohort. With `cohorts`, the picker offers only this cohort, so instructors don't have to find it in the list. With `courses`, learners who open an LXP course are enrolled in this cohort. | A cohort is set up by the Praxis AI team for your organisation and groups all of a class's learners, with the class's start and end dates. Ask Praxis AI for your cohort ID. > [!WARNING] > > These values tell the LXP which organisation and role a launch belongs to, and one of them is a password. Treat them like a credential: don't paste them into a shared document or a ticket. > [!WARNING] > > Don't add other custom or substitution parameters, such as a `courseid` set to the Brightspace course. The LXP reads `courseid` as the LXP course to open, so a Brightspace value would launch the wrong course. **5. Enable the tool** Select the registered tool and click the **Enable** button. *** ## Create a Deployment for Each Course **1. Open External Learning Tools** Navigate to **Course Admin** → **External Learning Tools**. **2. New deployment** Click the **New Deployment** button. **3. Select the registered tool** Choose the previously registered LTI tool (**Praxislxp LTI learning**). **4. Name the deployment** Enter **Praxis LXP** as the deployment name. **5. Configure security settings** Select **User Information** in the security settings. **6. Enable grades** Check **Grades created by LTI** for the Praxis LXP deployment. (Leave it unchecked when deploying Pria.) **7. Add org units** Click **Add Org Units** and select **This Org and all its descendants** for your organization. **8. Configure deep linking** From **View Deployments**, create a **Deep Linking** link configuration for the tool. **9. Create and enable** Click **Create Deployment**, then make sure the deployment is **enabled**. > [!NOTE] > > The deployment makes the tool *available* to the course, but doesn't create visible links. Add LXP content through the resource picker (deep linking), as below. Don't create links by hand with a title and URL: a hand-made link doesn't say which LXP course or cohort to open, so it doesn't launch the content. *** ## Add the LXP to Your Course **1. Select a module** Choose a module and click the **Add Existing** button. **2. Select the deployment** Choose the **Praxis LXP** LTI deployment from the list. **3. Pick resources** Select the Praxis LXP item. The LXP's resource picker lists the LXP courses or cohorts you can embed; pick one to add it to the module. Each item it adds gets its own gradebook column for the LXP score. *** ## More Information > [card] [D2L: Tool registration, deployment, and links](https://community.d2l.com/brightspace/kb/articles/23662-tool-registration-deployment-and-links) > > D2L Knowledge Base article covering the three-step LTI implementation process. > [!NOTE] > > For additional assistance, contact [Praxis Support](https://praxisai.freshdesk.com/support/home) or email [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Related * [LTI Integration Overview](/mdx/lxp/admin/lti-overview) — endpoints, network requirements, direct access * [LTI 1.3 for Canvas](/mdx/lxp/admin/lti-canvas) — Canvas installation * [LTI 1.3 for Moodle](/mdx/lxp/admin/lti-moodle) — Moodle installation * [Pria on D2L Brightspace](/mdx/integrations/d2l/introduction) — install the Pria Digital Twin (separate tool) # LTI 1.3 for Moodle Source: https://docs.praxis-ai.com/mdx/lxp/admin/lti-moodle Add the LXP to Moodle as an external LTI Advantage tool ## Introduction The Praxis LXP integrates with **Moodle** using the **LTI Advantage (v1.3)** standard, so LXP classes and activities can be launched as external tool activities inside your Moodle courses. ## Prerequisites Before you begin, ensure you have: * [ ] Moodle **site administrator access** * [ ] Permission to manage external tools (LTI) * [ ] Your institution-specific LXP values (provided by Praxis AI) * [ ] [Network requirements](/mdx/lxp/admin/lti-overview#network-requirements) met (whitelisted domains, third-party cookies) *** ## Installation **1. Open Manage Tools** In Moodle, go to **Site administration** → **Plugins** → **Activity modules** → **External tool** → **Manage tools**. **2. Register via Dynamic Registration** In the **Tool URL** field, paste the LXP dynamic registration URL and click **Add LTI Advantage**: ```text theme={null} https://lti.praxislxp.com/register ``` Moodle retrieves the tool configuration automatically. If your Moodle version does not support dynamic registration, use the manual configuration in the next step instead. **3. Or configure the tool manually** Choose **configure a tool manually**, set **LTI version** to *LTI 1.3*, and enter: | Setting | Value | | - | - | | **Tool name** | Praxis LXP | | **Tool URL** | `https://lti.praxislxp.com` | | **Initiate login URL** | `https://lti.praxislxp.com/login` | | **Redirect URLs** | `https://lti.praxislxp.com` `https://lti.praxislxp.com/launch` | | **Public keyset URL** | `https://lti.praxislxp.com/keys` | | **Icon URL** | `https://lti.praxislxp.com/assets/logo.svg` | A manually configured tool must also be registered on the LXP side. Send the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) the **Platform ID**, **Client ID** and endpoint URLs from the tool's details in Moodle, and wait for their confirmation. Until then, launches answer "Unregistered Platform". Dynamic Registration doesn't need this step. **4. Enable LTI services** Under the tool's services and privacy settings, enable: * IMS LTI Names and Role Provisioning * IMS LTI Assignment and Grade Services * Deep Linking (content selection) * Share the launcher's name and email with the tool **5. Add your organisation's custom parameters** A dynamically registered tool arrives with example values that don't sign in to the LXP. In the tool's **Custom parameters** field, replace the credential and role lines with the values Praxis AI gave you for your organisation and product, one `name=value` per line: ```text theme={null} alaiemail= alaipassword= alairoleid= ``` Leave the other lines as they are unless Praxis AI tells you otherwise. Request your values from the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com). **Choose what instructors can pick (optional).** Two more custom parameters set what the LXP's resource picker offers when an instructor adds LXP content to a course: | Parameter | Value | Effect | | - | - | - | | `resourcestype` | `cohorts` (the default) or `courses` | Whether the picker lists LXP **cohorts** or LXP **courses**. | | `alaicohortid` | A cohort ID from Praxis AI | Uses one cohort. With `cohorts`, the picker offers only this cohort, so instructors don't have to find it in the list. With `courses`, learners who open an LXP course are enrolled in this cohort. | A cohort is set up by the Praxis AI team for your organisation and groups all of a class's learners, with the class's start and end dates. Ask Praxis AI for your cohort ID. > [!WARNING] > > These values tell the LXP which organisation and role a launch belongs to, and one of them is a password. Treat them like a credential: don't paste them into a shared document or a ticket. **6. Deploy to courses** In a course, click **Add an activity or resource** → **External tool**, select the preconfigured **Praxis LXP** tool, and use content selection (deep linking) to pick the LXP class or activity to embed. *** ## Troubleshooting | Issue | Solution | | - | - | | **Tool not selectable in a course** | Set the tool's state to **Show in activity chooser** under Manage tools. | | **"Unregistered Platform"** | A manually configured tool hasn't been registered with the LXP yet. Send the tool's Platform ID and Client ID to Praxis AI (see the manual configuration step), or use Dynamic Registration. | | **"Platform not active"** | Your Moodle registration isn't active in the LXP. Contact Praxis support. | | **"The LMS did not share this user's email address"** | Enable sharing the launcher's name and email in the tool's privacy settings. | | **"Invalid redirect" errors** | Ensure every redirect URL is registered exactly as shown above. | | **Embedded labs don't load** | Allow third-party cookies for `praxislxp.com` and whitelist the [required domains](/mdx/lxp/admin/lti-overview#network-requirements). | > [!NOTE] > > If issues persist, contact [Praxis Support](https://praxisai.freshdesk.com/support/home) or email [humans@praxis-ai.com](mailto:humans@praxis-ai.com) with your Moodle version and error screenshots. ## Related * [LTI Integration Overview](/mdx/lxp/admin/lti-overview) — endpoints, network requirements, direct access * [LTI 1.3 for Canvas](/mdx/lxp/admin/lti-canvas) — Canvas installation * [LTI 1.3 for D2L Brightspace](/mdx/lxp/admin/lti-d2l) — Brightspace installation * [Pria in Moodle](/mdx/integrations/moodle/introduction) — install the Pria Digital Twin (separate tool) # LTI Integration Overview Source: https://docs.praxis-ai.com/mdx/lxp/admin/lti-overview Install the Praxis LXP in your LMS as an LTI 1.3 Advantage tool ## Deliver LXP Courses Inside Your LMS The Praxis LXP integrates with any LMS supporting the **LTI Advantage (v1.3)** standard. Once installed, faculty can embed LXP classes, lessons, and individual activities — including virtual labs — directly into their course modules, while learners launch them without leaving the LMS. > [card] [Blackboard Learn](/mdx/lxp/admin/lti-blackboard) > > Register the LXP with its Client ID and add content through the resource picker. > [card] [Canvas](/mdx/lxp/admin/lti-canvas) > > Use Dynamic Registration, or register an LTI Developer Key and install it by Client ID. > [card] [D2L Brightspace](/mdx/lxp/admin/lti-d2l) > > Use LTI Advantage Dynamic Registration and per-course deployments. > [card] [Moodle](/mdx/lxp/admin/lti-moodle) > > Add the LXP as a preconfigured External tool (LTI 1.3). > [!NOTE] > > Using a different LMS? Any platform certified for LTI Advantage (v1.3) can use the endpoints below. Contact the Praxis AI team at [humans@praxis-ai.com](mailto:humans@praxis-ai.com) for assistance. *** ## Direct Access The LXP is also available without an LMS through its direct login page: > [card] [LXP Direct Login](https://learning.praxislxp.com/alai/admin/login.jsp) > > learning.praxislxp.com — sign in with your LXP credentials. *** ## LXP LTI Endpoints All integrations use the same LXP LTI endpoints: | Endpoint | URL | | - | - | | **Dynamic Registration URL** | `https://lti.praxislxp.com/register` | | **Target Link URI** | `https://lti.praxislxp.com` | | **OpenID Connect Login URL** | `https://lti.praxislxp.com/login` | | **Launch URL** | `https://lti.praxislxp.com/launch` | | **Public Keyset URL (JWK)** | `https://lti.praxislxp.com/keys` | | **Redirect URIs** | `https://lti.praxislxp.com` `https://lti.praxislxp.com/launch` | | **Icon URL** | `https://lti.praxislxp.com/assets/logo.svg` | > [!NOTE] > > **Grades go back to your LMS.** When a learner finishes an LXP activity placed in a course, the LXP sends the score to that activity's gradebook column in your LMS. The tool doesn't import your course roster. Detailed learner reporting stays in the LXP, under **Analytics** in the LXP Composer (ask Praxis AI Support if you don't have access to it). *** ## Network Requirements ### Domains to Whitelist If your organisation filters outbound traffic, whitelist these domains so the LXP and its virtual lab services load correctly (the `toolwire.com` addresses are the virtual-lab servers — the remote desktops and notebooks learners work in): * `learning.praxislxp.com` * `lti.praxislxp.com` * `dcm.toolwire.com` * `vdi1.toolwire.com` * `vdi2.toolwire.com` * `vdi01.east.toolwire.com` * `vdi02.east.toolwire.com` For courses using **Jupyter Notebooks**, also whitelist `prax0xxx.east.toolwire.com`, where `xxx` ranges from `001` to `164`. ### Third-Party Cookies The LTI launch itself, and the desktop labs embedded in the LXP window, need third-party cookies to be allowed for `praxislxp.com`. **1. Open Chrome Settings** Go to **Settings** → **Privacy and Security**. **2. Third-Party Cookies** Expand the **Third-party cookies** option and scroll to **Customized Behaviors**. **3. Allow praxislxp.com** Click **Add**, enter `praxislxp.com`, and confirm. The domain is now allowed to use third-party cookies. *** ## Troubleshooting: "Connection Not Private" Errors Cached HSTS (HTTP Strict Transport Security) settings in the browser can block the LTI launch window. > [tab] Chrome > > 1. Navigate to `chrome://net-internals/#hsts` > 2. Type the hostname in the **Query Domain** section to verify a cached entry exists > 3. Type the same hostname in the **Delete domain security policies** section > 4. Click **Delete**, then refresh the page > [tab] Firefox > > 1. Close all tabs > 2. Open the History window (`Ctrl+Shift+H`, or `Cmd+Shift+H` on Mac) > 3. Search for the site > 4. Right-click it and select **Forget About This Site** > 5. Restart Firefox > [!NOTE] > > For additional assistance, contact [Praxis Support](https://praxisai.freshdesk.com/support/home) or email [humans@praxis-ai.com](mailto:humans@praxis-ai.com). ## Related * [LTI 1.3 for Blackboard Learn](/mdx/lxp/admin/lti-blackboard) — register by Client ID in Blackboard * [LTI 1.3 for Canvas](/mdx/lxp/admin/lti-canvas) — step-by-step Canvas installation * [LTI 1.3 for D2L Brightspace](/mdx/lxp/admin/lti-d2l) — Dynamic Registration on Brightspace * [LTI 1.3 for Moodle](/mdx/lxp/admin/lti-moodle) — External tool setup in Moodle * [Navigating the LXP](/mdx/lxp/introduction) — learner-facing orientation guide * [Pria LTI integrations](/mdx/integrations/canvas/lti-1-3) — install the Pria Digital Twin (separate tool) in your LMS # Quiz Question Choice Types Source: https://docs.praxis-ai.com/mdx/lxp/admin/quiz-choice-types Choice types available when building a Quiz in the LXP ## Overview When building a Quiz in the LXP, the nature of each question depends on the choice types it uses. Eight choice types are available: | Choice Type | Description | | - | - | | **Input Text** | Text box entry with optional validation | | **Radio** | Row of radio buttons or checkboxes | | **Single Select** | Multiple choice with one correct answer | | **Multi Select** | Multiple choice with multiple correct answers | | **Match** | Pair items from two lists | | **Sequence** | Order items in the correct sequence | | **Dropdown** | *Not yet implemented* | | **Sorting** | Sort items into buckets | > [!NOTE] > > **Custom option parameter separators** — options are normally written `name=value;name=value`, with commas inside lists. If your text needs a semicolon, you can choose different characters: begin the options with ``, where A is the new separator between parameters, B the new `=`, and C the new list comma. For example `<| = ,>rows=1|label_width=0%|prompt=Enter Text Here` uses `|` instead of `;`. *** ## Input Text Allows learners to enter text responses, with optional validation rules. * **Status:** Enabled/Disabled * **Choice Correct:** When set to true, or when the type is numeric, the text box entry becomes required before the Submit button activates (despite its name, this field is about whether an answer is *required*, not whether it is correct) * **Type:** Input Text * **Choice Text:** The label for the input field. Use `-` for no label, or `[TEXTBOX]` to embed the text box within the text **Choice Options parameters:** | Parameter | Effect | | - | - | | `counter=true` | Displays a word count above the text box | | `prompt=Enter Text Here` | Placeholder text (default: blank) | | `label_width=30%` | CSS width for labels (default: 20%) | | `type=numeric` | Restricts entry to numbers only | | `maxLength=10` | Character limit (default: 4000) | | `cols=4` | Column width of the text box | | `rows=1` | Row height (default: 6) | | `heading=This is a heading` | Line displayed above the text box | | `regex=/9/` | Regular expression validation | *** ## Radio Displays a row of radio buttons or checkboxes with a customizable scale and labels. * **Status:** Enabled/Disabled * **Type:** Radio * **Choice Text:** Paragraph text displayed at the top of the choice **Choice Options parameters:** | Parameter | Effect | | - | - | | `type=radio` | Standard radio buttons (default) | | `type=checkbox` | Checkboxes instead of radio buttons | | `type=title` | Column headers | | `scale=7` | Number of options (default: 7) | | `hide_scale=true` | Hides the numeric scale | | `labels=Terrible,Poor,Meh,Okay,Great,Amazing` | Custom labels | | `hide_number=true` | Hides the numbers | | `hide_heading=true` | Hides the heading text | | `ans=11011` | Correct answer key using `0`, `1`, `–`, or `*` characters | *** ## Single Select Multiple choice question with **one** correct answer. Requires two or more choices for a non-trivial answer. * **Status:** Enabled/Disabled * **Choice Correct:** Yes/No designation for the correct answer * **Type:** Single Select *** ## Multi Select Multiple choice question allowing **multiple** correct answers. Requires two or more choices for a non-trivial answer. * **Status:** Enabled/Disabled * **Choice Correct:** Yes/No designation for each correct choice * **Type:** Multi Select *** ## Match Learners pair items from the Choice Text (left) with the Match String (right). * **Type:** Match * **Choice Text:** First list of items * **Choice Options:** Second list (Match String). Use the `|~|` separator for unmatched elements Example: ```text theme={null} item_1|~|item_2|~|unmatched_item ``` *** ## Sequence Learners order items into the correct sequence. Requires 2 or more sequence choices; items display in jumbled order during the test. * **Type:** Sequence * **Sequence Field:** Sets the correct position used for grading * **Choice Text:** Text displayed in the draggable box *** ## Dropdown > [!NOTE] > > The Dropdown choice type is **not yet implemented**. *** ## Sorting Learners sort items from the left into buckets on the right. Both sides display in jumbled order. * **Type:** Sorting * **Choice Text:** Bucket labels (right side) * **Choice Options:** Items to sort (left side), defined via the `|~|` separator or the `items=a_1,a_2` parameter ## Related * [Navigating the LXP](/mdx/lxp/introduction) — learner-facing orientation guide * [LTI Integration Overview](/mdx/lxp/admin/lti-overview) — install the LXP in your LMS # LXP — What's new? Source: https://docs.praxis-ai.com/mdx/lxp/changelog Product updates and announcements for the Learning Experience Platform **August 2026** **Duplicate a lesson resource in one click**: The resource menu in a course gains a **Clone** action, right under **Edit**. It creates a full copy named "*\* copy" — or "copy 2", "copy 3" if you clone again — placed immediately next to the original, in the same course and track, carrying every setting: type, delivery, URLs, description, instructions, duration, weight, completion rules, images, and the same competency mapping including whether it is shown or hidden. Resources with a quiz keep pointing at that quiz, so you can build a variant around the same assessment; deleting either copy leaves the other and its quiz untouched. Previously the only way to duplicate a resource was to re-create it by hand and re-enter every field. **Add Cohort and Browse Cohorts are now front and center**: Both buttons have moved to the top of **My Cohorts**, sitting on the filter bar just after the **Include archived** checkbox and restyled as primary buttons. Previously they came after the last cohort tile, so on a busy account you had to scroll past everything you were enrolled in before you could add or find a cohort — and on a phone they could be missed entirely. **Cohort artwork and grouped syllabus when browsing**: Cohorts in the **Browse Cohorts** list now show their picture beside the name, loaded as you scroll, and the cohort's picture also appears on the information card. The card's syllabus is now grouped under its track headings and scrolls on its own, so a long course list no longer stretches the card off the screen. **My Cohorts fits the screen properly on phones**: The page now uses the full visible height on mobile, instead of leaving its last stripe of content tucked behind the browser toolbar where it could not be reached by scrolling. **Switch product or course from a phone**: The customer / product / course trail at the top of the page was hidden on small screens, and it is the only way to open the product and course pickers — so on a phone there was no way to change product at all. It now stays visible at every screen size, showing the parts you can actually tap. **Leaving a class now works when you hold more than one profile in it**: If you had two profiles for the same product, **Leave** removed only one of them and still reported success, so the class stayed on your list no matter how many times you tried. Leaving now removes every profile you hold in that class, and if it cannot remove anything it tells you why instead of silently claiming success. **Browse and join cohorts from My Cohorts (admins)**: Administrators can now discover and join cohorts without waiting to be added by someone else. A new **Browse Cohorts** button on My Cohorts opens a search panel listing every cohort you are not yet a member of, across the products you manage. Filter by cohort, product, or customer name as you type, or tick **Group by customer** to organize the list by account. Each row shows the cohort's status (Active, Upcoming, or Expired), its customer and product, how many people are enrolled, and its dates. Clicking a cohort opens an information card with its description, creator, and syllabus, and an **Enroll Me** button — one click registers you in the cohort's product if needed, enrolls you in all of its lessons, and adds you to the cohort. When you return to My Cohorts, your new cohort is right there in the list. Expired cohorts can still be joined, so you can step into a finished class for oversight, grading, or review. **Impersonate a learner straight from the user list**: Administrators can now start impersonating someone directly from **Manage Users** — the row menu gains an **Impersonate** action, so there is no need to go to the profile screen first. It appears only on users you are permitted to impersonate, and asks for confirmation before switching, because signing in as someone else means logging in again to get back to your own account. **Find the right person to impersonate without switching roles first**: The impersonation screen gains a **role selector**, so administrators who manage several roles can search any of them without leaving the page, selecting a profile, and coming back. Choosing someone in another role now happens in a single step. **Clearer profile cards**: On the profile chooser, each card now shows **Customer / Product** so it is obvious which account a profile belongs to, and partner groups are listed alphabetically instead of in an internal order that looked random. Choosing a profile is now done with the **Select** button only — clicking anywhere on the card no longer switches profile, which removes the ambiguity with the card's other controls. The delete control moved to the top-right corner as a clearly visible icon, where it no longer overlaps the buttons. **AI-curated reading is live again, now powered by Pria**: The recommended-articles carousel on courses and mission briefs stopped refreshing in December 2025 when the third-party service behind it was retired, leaving the same stale articles in place. Curation now runs on Pria's own search, refreshed daily, and every suggested link is checked to be reachable before it is shown — no more dead links in the carousel. Existing articles were kept, so nothing you had disappears; new ones simply appear alongside them. Search terms are now stored in the LXP itself and can be edited per briefing under **Manage Briefings**, where previously they lived with the outside vendor and could not be reviewed. Where no terms have been set yet, they are suggested automatically from the course's own skills and topics. To keep things current without wasted effort, only briefings attached to a course someone has opened in the last week are refreshed; a course that goes quiet keeps its existing articles and resumes refreshing as soon as a learner returns. **Email delivery restored**: Fixed a long-standing issue where system emails — password resets, activation links, enrollment notifications, instructor messages, and reminders — were not being delivered. If you requested a password reset in the past and no email arrived, it will work now. **Expired lessons can now be un-expired**: If a lesson showed **Expired** on a course that is not subscription-based, the **Extend** button silently did nothing — there was no subscription period to extend, and no way to clear the stale date. Extend now removes the expiry on courses that do not expire, so the lesson opens normally again, and the confirmation wording reflects what will actually happen instead of offering to "extend by 0 days". Existing affected enrollments have been corrected, so anyone who hit this should find it resolved without doing anything. **Bulk "Extend subscription" now updates the right enrollments**: In Course admin, extending a subscription for several selected learners at once could write the new expiry date against unrelated enrollments while leaving the selected learners unchanged. It now updates exactly the chosen learners on the chosen course, and reports how many were updated and how many were skipped because they are not enrolled. **Tidier archive for busy accounts on My Cohorts**: If your archived cohorts span more than ten partner/program groups, the Archived section now opens as a compact index — every group heading and count visible, tiles tucked away until you expand a group with its checkbox. Searching still finds everything: while a search of three or more characters is active it looks inside collapsed (and unticked) groups too, revealing any match — the group checkboxes grey out to show search is temporarily in charge, and your expand/collapse choices return untouched when the search is cleared. **My Progress page loads dramatically faster**: Opening My Progress (competency scores and learning-resource statistics) previously re-computed data for every profile you hold, even though only the selected profile is shown. It now loads just the profile you're viewing — on multi-profile accounts the page went from about five seconds to well under one. **Find any cohort fast on My Cohorts**: The My Cohorts page gains a search bar under the welcome message. Type three or more characters to filter your cohorts live by cohort name, partner, or program — no page reload — with checkboxes to include or exclude active and archived cohorts, a running match count, and a clear "no cohorts match" notice when nothing fits. Reordering tiles by drag-and-drop pauses while a filter is narrowing the list, so a hidden tile can never be shuffled out of place unseen. **Archived cohorts grouped by partner and program**: The Archived section of My Cohorts now groups your past cohorts under partner/program headings with a count per group, so it is obvious at a glance where each archived cohort belongs. Each group has its own checkbox to collapse or expand it, and the search filters inside groups too. **Duplicate cohort tiles fixed**: If you belonged to the same cohort through more than one enrollment, My Cohorts could show that cohort twice. Each cohort now appears exactly once. **Archived cohort hover glitch fixed**: In the Light and Space themes, hovering over an archived cohort made its outline vanish into the background. The outline now stays visible while hovering. # Navigating the LXP Source: https://docs.praxis-ai.com/mdx/lxp/introduction Welcome to the Praxis Learning Experience Platform! ## **What is an LXP?** A Learning Experience Platform is a learner-centric system designed to deliver personalized, engaging learning experiences. The Praxis LXP focuses on creating an adaptive learning journey where students can: * Access curated learning paths organized in tracks and lessons * Engage with diverse resource types (videos, quizzes, virtual labs, activities) * Track their own progress and performance against peers * Earn badges and credentials for completed work * Integrate with tools like WordPress, GitLab, and Discord for collaborative learning * Receive AI-powered content curation through digital twins like Pria The platform emphasizes the learner's experience, offering features like leaderboards, personalized content recommendations, and flexible navigation through learning materials. ## Portal The **Portal** is the student's homepage in the LXP. You can open the Portal navigation menu on the lefthand side of the LXP. ![Lxp Portal Main](https://mintcdn.com/praxisai/D7AFOC4xVkDlc9dX/images/lxp/lxp-portal-main.webp?fit=max\&auto=format\&n=D7AFOC4xVkDlc9dX\&q=85\&s=45631c2840f6d88b16c4884c824ed8c8) ### Portal Navigation Menu When you open the portal navigation menu, you will find: ![Lxp Portal Menu](https://mintcdn.com/praxisai/D7AFOC4xVkDlc9dX/images/lxp/lxp-portal-menu.webp?fit=max\&auto=format\&n=D7AFOC4xVkDlc9dX\&q=85\&s=710d0e44334016ecbab6f736748143af) * **My Classes** - A list of all your training programs, including your training schedule * **My Content** - A website made just for you where you can publish content using WordPress * **GitLab** - Use this tool as a code repository and track changes to your files * **Leaderboard** - Review your current position compared to other learners * **Messages** - Contains information posted by the system or your mentors * **AI Powered Curation** - Find additional learning material curated by an AI Engine * **Progress** - Displays current resource completion status, points earned, etc. * **Performance** - Displays a summary report of your progress compared to others * **Assessments** - Display grades posted as assessments by your mentors or instructors * **Badges** - Displays badges earned throughout your learning journey * **Profiles** - Change which profile is currently active (only available if you have 2 or more registered profiles) ## My Classes My Classes is the first screen of your learning portal. It contains all the classes you are currently enrolled in. ![Classes Main](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/lxp/classes-main.webp?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=dcab671a773a21be7c18d5686e1b8ddd) ### Class Card Information Each class may display different content: ![Classes Card](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/lxp/classes-card.webp?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=9a7a9889866c32bd02f236ffc66b4d3d) * **Start and end date** - When the class is expired, you can no longer access the learning material * **Badge** - A badge may be awarded upon completing the class and will be displayed in the card * **Progress indicator** - Displays the number of skills completed in the class so that you can track progress and completion * **Class Context Menu** - Each class has a context menu that allows you to archive or restore the class, making it hidden or visible on this screen. > [!TIP] > > Drag and drop each class to place them in the order of your choice by using the marker at the bottom right of the class card. Click on a class card to access the learning content. ## Learning Path Select a class in the portal to start the 'Learning'. This is where you can access all of the learning paths and lessons of your training program. ![Lxp Classes Journey](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/lxp/lxp-classes-journey.webp?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=37738dba91ba706b08b4b775f1f1aa9a) ### Top Bar The top bar displays the name of your class and offers options to access tools that have been enabled for this class, such as WordPress and GitLab. ### Tracks The learning paths are organized—grouped and sequenced—in tracks. Complete all of the lessons in the tracks to complete the class. ![Lxp Classes Journey Track](https://mintcdn.com/praxisai/DzpuC7-H4cd0zi8_/images/lxp/lxp-classes-journey-track.webp?fit=max\&auto=format\&n=DzpuC7-H4cd0zi8_\&q=85\&s=b45a89bcd6d4c8ae7a97c62a5392f09d) The track displays the following information: 1. The track name and overall progress is displayed on the top right corner (ex: 66%) along with a short description 2. Under the track name, on the left side the aggregate amount of time spent for all lessons in the track is displayed 3. Under each lesson in the track, the lesson name, last accessed date, and lesson progress ratio (e.g., 75%) are displayed Click on a lesson to access the learning material and acquire the required skills. ## Lesson The lesson page presents the learning resources and quizzes needed to complete the lesson in a card format. ![Lxp Journey Lesson Outline](https://mintcdn.com/praxisai/D7AFOC4xVkDlc9dX/images/lxp/lxp-journey-lesson-outline.webp?fit=max\&auto=format\&n=D7AFOC4xVkDlc9dX\&q=85\&s=2fb5535a5f7273eb8c2ca69a6ac6e165) ### Lesson Page Sections > [card] Navigation Header > > Allows you to go back to **'My Classes'**, or the lesson **'Learning'** path. Additionally, you can click on **'Playlists'** to access the learning resources you have bookmarked or saved for offline use. > [card] Lesson Header with Progress > > Displays the lesson name, and tools such as Discord, GitLab and WordPress when available for this lesson. To the right, the progress meter indicates your current completion ratio. Complete all required resources to complete the lesson. > [card] Learning Plan > > The learning plan shows you the skills you will acquire in the class and shows you your progress in acquiring those skills. > [card] Resource Cards > > These contain the learning material that you will need to complete in order to advance in the course. ### Resource Information The Resource information popup displays: ![Lxp Classes Resources](https://mintcdn.com/praxisai/D7AFOC4xVkDlc9dX/images/lxp/lxp-classes-resources.webp?fit=max\&auto=format\&n=D7AFOC4xVkDlc9dX\&q=85\&s=721d904d79dcb90128fd0ccbd7b4cad0) * **Resource Thumbnail** - Represents the content of the resource visually * **Play Button** - Click to start the learning resource * **Resource Name** - Title of the resource * **Resource Description** - A short explanation of the learning objectives * **Status** - Not Started, In Progress or Completed * **Time on task** - Time spent studying compared to expected time * **Points** - Points earned compared to total points available * **Resource Type** - Can be a lesson, video, quiz, virtual lab and other activity * **Attempts** - Number of times you have accessed this learning resource * **Grade** - Overall grade percentage for this resource * **Rating** - Rate the quality of the learning resource from 1 to 5 stars > [!NOTE] > > Use the left and right arrow to select the previous or next resource, and the X to close the resource popup. ### Resource Viewer Once you open the resource, you will be presented with the resource material and the resource viewer above the material. The resource viewer contains the following elements: ![Lxp Classes Resource Viewer](https://mintcdn.com/praxisai/D7AFOC4xVkDlc9dX/images/lxp/lxp-classes-resource-viewer.webp?fit=max\&auto=format\&n=D7AFOC4xVkDlc9dX\&q=85\&s=c4e9811e9bf99b8339e6d4edd3ec965a) * **Left Arrow** - Navigate to the previous resource * **Resource Name** - The name of the resource * **Full Screen** - Enter fullscreen mode for enhanced viewing * **Plug** - Reconnects the viewer to the resource content (restart from the beginning) * **Close** - Closes the current resource * **Right Arrow** - Navigate to the next resource > [!WARNING] > > Depending on the type of resource, they may open in a new tab. Don't worry, you won't lose your progress. The LXP will ask if you completed the resource when you go back into the lesson. ## Tracking Progress ### Resource Status When you've completed a resource, the resource will turn green and have 'COMPLETED' written on the bottom right corner. ![Lxp Resource Completed](https://mintcdn.com/praxisai/D7AFOC4xVkDlc9dX/images/lxp/lxp-resource-completed.webp?fit=max\&auto=format\&n=D7AFOC4xVkDlc9dX\&q=85\&s=d21113906881a4b81402039e6125b875) ### Lesson Status Once you've completed all of the required resources, the lesson will be marked as completed. Additionally, the lesson will show as 'Completed' in the corresponding track. ![Lxp Lesson Status](https://mintcdn.com/praxisai/D7AFOC4xVkDlc9dX/images/lxp/lxp-lesson-status.webp?fit=max\&auto=format\&n=D7AFOC4xVkDlc9dX\&q=85\&s=a390ef5804979b61258794331d59ad09) ### Track Status To see how you're progressing in the course, you can check each track progress indicator. As you complete each resource in each lesson, it will reflect in your track progress indicator. The track progress indicator will increase up to 100% when all lessons of this track have been completed. ### My Classes Progress You can check your class progress in the portal under 'My Classes'. As you progress through the tracks, your progress percentage will increase. The class will show it has been completed when all tracks have been completed. ### Progress in the Portal You can also track your overall progress by going into the portal on the left hand side and selecting 'Progress'. This is where you will find your progress statistics for each course. This will enable you to keep track of time spent in each lesson. The Progress page displays completion for: * **Competencies** - The main learning objective for each lesson * **Resources** - The learning resources for each lesson ## Performance You can see your overall performance by going into the portal and selecting 'Performance'. This is where you can track your overall performance across all courses in a given class. You can see a summary of your performance in all resources across all courses, as well as a timeline of your most active and inactive times in the LXP. ### Summary Section The Summary section of the performance page gives you recommendations on your study and compares your results against the global average time on task and point values. ### Usage Section The Usage section of the Performance page graphically displays your platform access times, session durations, and cumulative learning time. ## Leaderboard You can see your performance scores compared to the other learners in your cohort. The learners are ordered by the number of points earned. The page also shows how many Skills (that is, lessons) each learner has completed. Use the filters to create leaderboard specific to a Unit, Location, and Account. By default, the leaderboard displays the top 10 performers. You can adjust this number using the corresponding selection list box. ## Tools In the LXP, there are many different tools you may choose to use optionally or may be required to use for a class. ### WordPress WordPress is a tool used to make notes, turn in assignments, and store content. #### Accessing WordPress **In the Resource** You can locate WordPress lesson directly in the lesson you are working on. The W icon in the top right corner of the lesson redirects you to your WordPress site. **In the Portal** You can also locate WordPress from the portal under 'My Content'. Once in WordPress, you can create posts, pages or store photos. In some courses you may be required to create and share content using WordPress. ### Discord Discord is a messaging app that allows you to communicate with your mentor and other students in your cohort. #### Accessing Discord **In the Resource** You can locate Discord from the icon on the top right corner of your lesson. This is where you will ask questions, share in discussions and turn in WordPress assignments. ### GitLab GitLab is a programming tool used to store and practice coding. The use of GitLab as a tool depends entirely on your class. #### Accessing GitLab **In the Resource** You can locate GitLab in the top right corner of the resource. **In the Portal** You can also locate GitLab in the portal on the lefthand side. GitLab is a platform that helps developers manage their code, collaborate on projects, and automate the process of building and deploying software. ### Pria Pria is your digital assistant. Her job is to help you with information, answer your questions, and provide support on a wide range of topics. Think of her as your friendly, knowledgeable guide who is always ready to assist you. > [!NOTE] > > Depending on the class you are in, Pria may look different and go by a different name. Each class has its own **Digital Twin** — the same underlying assistant, given a name, a look and an area of expertise for that class. They all work the same way. #### Accessing Pria **In the Class** Pria can be found on the bottom right corner of the class and in each resource. **Expand Pria** Pria can also be expanded into a separate popup if needed. Just click on Pria in the bottom right corner. Once the discussion opens up, press the page icon in the top right corner. This will open Pria in a separate window, therefore you can easily access your discussion outside of the LXP. #### Access Pria Outside of the LXP **1. Open your Pria profile from the LXP** Login to the LXP and open Pria on the bottom right corner of your course. Once Pria opens up, go to 'My Profile' on the top right corner. **2. Set a Pria password** Press 'Change Password' and choose a password for Pria. It does not need to match your LXP password — pick a different one. **3. Login to Pria** Navigate to [https://pria.praxislxp.com](https://pria.praxislxp.com) and login using your username from the LXP and the password you just set. If you are interested in learning the ins and outs of Pria, here is a [getting started guide](https://learning.praxislxp.com/praxis/). ## Badges Praxis AI provides digital certificates when the learner has completed a course. ### My Classes Badges In My Classes, you can see which course has been completed and received a badge. * Before the badge is completed, the badge icon on the top right of the class will be transparent * Once the badge is completed, the badge icon on the top right of the class will be opaque Upon completing the course and earning the badge, you will receive a popup notification. ### Portal Badges You can find your completed badges in the 'Portal' under the Badges section. ## AI Curated Content Pria's AI-powered search curates articles related to your course's skills and topics and adds them to a curated library, accessible from the portal under **AI Powered Curation**. The library is refreshed regularly for active courses, so new reading appears alongside existing articles as you learn. ## Customization The Praxis Learning Experience Platform (LXP) offers a wide array of customizable options to enhance your user experience. These options allow you to control the look and feel of the user interface, tailoring it to your personal preferences and needs. ### Profile Menu Select the icon on the top right corner of your browser window to access the profile menu. * **My Profile** - Access your personal data, personalization options, profile picture, and password management features * **Change Theme** - Choose the look and feel of the user Interface * **Switch Profile** - Available if you are registered in multiple products * **Praxis AI Support** - Contact Praxis's support * **Logout** - Ends your current session ### Your Info From the Profile menu, select My Profile. You can edit your basic profile information. #### Profile Data This section contains the attributes specific to your user profile: * **Profile Name** - The name that will appear in the user interface * **First and Last Name** - For private use and reporting purposes * **Phone Number** - Optional field for support purposes * **Time-Zone** - Select from available timezones * **Location** - Optional field used for reporting (ex: Leaderboard) * **Unit** - Optional field used for reporting (ex: Leaderboard) * **Account** - Optional field used for reporting (ex: Leaderboard) * **Job Code** - Attributed by your system administrator #### Preferences The parameters in 'Your Preferences' are used by the user interface to ensure optimal loading time and relevant content: * **Load Max** - Maximum number of records loaded on pages * **Display Data For** - Category of users to display data for * **Default Navigation** - Portal navigation menu expanded or collapsed by default * **Theme** - Current selected look and feel of the User Interface #### Password When accessing the LXP with a direct login, you can update your password in this section. This option is not available for users using the LXP through an integration or Single Sign-on. * **Current** - Enter your current password * **New** - Enter your new password > [!TIP] > > You can use the "reset" password option to generate a new temporary password that will be sent to your email. #### Profile Picture Your profile picture represents you and is displayed in various sections of the user interface, such as the leaderboard or analytics pages. **Take a Picture** **1. Upload Avatar** Click the Upload Avatar picture button, then choose the Take a Picture option. **2. Grant Camera Access** Grant your browser access to your device's camera when prompted. **3. Capture** Click the Take Picture button when ready. **4. Adjust** Resize and drag your picture to recenter the content. **5. Finish** Click the Finish button. **Select an Existing Picture** **1. Select Picture Option** Click the Select a Picture button. **2. Choose File** Use your device picture/file selection, select your new profile picture and click Open. **3. Crop and Resize** Crop and resize the new image as needed. **4. Finish** Click Finish. **Save Your New Avatar Picture** The image you have taken or selected will appear in the Image Update wizard. Click the Accept button to save your new profile picture. > [!NOTE] > > Remember: Each profile collects your performance for different products, so you can customize each profile with a different avatar picture. ### Change Theme Click on the Change Theme option in the Profile Menu. You will be presented with 5 different theme options. This will change the look and feel of the user interface. Click on the Theme that best fits your preference for the user interface. ### Switch Profile A new profile is created each time you register for a learning product (class). When you have multiple profiles in the LXP, it is practical to switch between them. This allows you to review performance data and access learning content specific to each profile. Click on the Switch Profile option in the Profile menu. Each profile is represented as a card. The active profile is highlighted on the Switch Profile page. Click on a card to select a profile and make it your current profile. Additional options offered: * **Update my Info** - Redirects you to your profile page * **Change UI Theme** - Redirects you to the theme selection page ## My Schedule Click on the My Schedule in the My Classes page to access your course calendars. The calendar is pre-populated with the class schedule (start and end date). Each event is displayed with a bullet that matches the color of the calendar it belongs to. ### Intra-Day Events The current date is highlighted in pink. Click on a cell in the calendar to list all events of that day. ### Calendars By default 2 calendars are created: * **Yellow calendar** - Regroups events for all classes * **Blue Calendar** - Displays any lab related events (when scheduled by your mentor/instructor) ### Year / Month / Day View Use the calendar type selector to display the calendar events in 4 different modalities: Year, Month, Week and Day. ### Adding a Calendar You can add a custom calendar by clicking on the + sign in the Calendars section. Enter a Name and Description for your new calendar, select a color and click Save. ### Adding an Event To add events to a calendar, simply select the Add Event from the calendar context menu or click the + button to the right of the Events section. Add a Title and a short description of your event. Events must have a start and end date. Select the calendar associated to this event. Click Save. ### View or Edit Event To view or edit an event, click on the event in the Event list or directly in the calendar. You can use the pencil to edit, or the trash can icon to delete the event. ### Calendar Options Adjust the display options for the calendar in the Calendar Options section. ## LXP as a Mobile App You can add the LXP as a home-screen app on your iPhone (since it is mobile responsive) in just about 3 taps. **1. Open in Chrome** Open the login screen in your Chrome browser on your iPhone. **2. Add to Home Screen** Click the share button and select 'Add to Home Screen'. **3. Access Your App** The LXP as an app will now be accessible on your home screen. Click on the LXP app and enter your credentials. # JavaScript SDK Source: https://docs.praxis-ai.com/mdx/sdk/javascript Use the JavaScript SDK to interact with your Digital Twin programmatically from any web application. ## Client SDK The JavaScript SDK is available as soon as you integrate your application with either the Web SDK or via Canvas Theme. It enables client-side automation with your Digital Twin—such as sending messages, listing favorites, and running assistant instructions. > [!WARNING] > > To use the JavaScript SDK, your Digital Twin must be integrated into a web application using the Web SDK or injected into Canvas via Theme. ## Integration Options Integrate your Digital Twin in one of these ways to access the SDK: * **Web SDK:** Embed the Digital Twin directly in your web app by installing the Web SDK for easy setup, user management, and customization. * **Canvas Theme:** Inject the Digital Twin into Canvas using the Theme for direct access to SDK features within the Canvas LMS. Both methods offer secure, flexible options to maximize your Digital Twin’s functionality. Select the approach that best fits your environment. ## Global Window Object When your Digital Twin is integrated, the `pria` object is injected directly onto the global window (DOM), making it the central access point for all Pria SDK API calls from anywhere in your application. This allows you to easily interact with Pria’s messaging, UI control, and event management methods without additional imports or setup—simply reference `window.pria`. ```javascript theme={null} const pria = { load: priasdk, // Initialize the Pria SDK and establish middleware connection send: priaSend, // Send API requests/messages to Pria subscribe: priaSubscribe, // Listen for Pria responses or callback events unsubscribe: priaUnsubscribe, // Remove listeners or callbacks from Pria setVisible: priaSetVisible, // Show or hide Pria entirely (removes from DOM view) isVisible: priaIsVisible, // Check if Pria is currently visible isDisplayed: priaIsDisplayed, // Check if Pria UI panel is expanded display: priaDisplay, // Expand or collapse the Pria UI panel setConvoActive: priaSetConvoActive, // Apply or remove the centered full-screen convo layout destroy: priaDestroy, // Clean up and remove Pria from the page priaObj: priaObj, // Backing property bag that contains current cached user identity isReady: priaIsReady, // True when Pria is ready to receive messages isConvoReady: priaIsConvoReady, // True when real-time voice (convo) mode is authorized isSessionReady: priaIsSessionReady, // True when a command sent now is delivered rather than held isAuthRequired: priaIsAuthRequired, // True while the panel waits for the person to confirm it's them version: 1 // Message-format version for compatibility checks } ``` > By being attached to the DOM, `pria` acts as your always-available gateway for secure and seamless integration with all Pria interfaces and backend services—enabling features like messaging, automation, and UI control from any context in your client-side code. ### Messaging Technology Communication between your web application and the Praxis AI Middleware via the Web SDK is powered by [browser messaging](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage), which securely enables cross-origin interactions between window objects, such as between a main application and an embedded iframe or pop-up. Requests are sent to the backend middleware server using the `pria.send()` API method, ensuring safe and reliable message delivery for seamless integration and robust application workflows. ### Voice (Convo Mode) in Embedded Contexts When your Digital Twin uses voice conversations (Convo Mode) inside an iframe you control — including LMS embeds such as Canvas — the **host page's iframe must delegate microphone and audio permissions**, or the browser will hard-block voice regardless of what the user allows: ```html theme={null} ``` Without this, the in-app "Tap to start talking" screen still renders, but tapping surfaces a microphone-permission error instead of starting the conversation. If the Digital Twin has **Start Immersive Mode by Default** switched on, the embedded twin shows its "Tap to start talking" screen by itself once the SDK session is up. Anything your page asks for wins over that setting — the `convoMode` display option, or an explicit `convo.start` / `convo.stop` command. (In error messages, Convo Mode is abbreviated **STS** — speech-to-speech.) ## Sending a Request ### Request Message To make a request, simply compose a Javascript object containing the command and arguments like below: ```javascript theme={null} const request = { command: '', ...arguments } ``` ### Available Commands | Command | Description | Parameters | | - | - | - | | `message.post` | Send text message to Pria | `inputs` (array of strings); optional `assistantId`, `selectedCourse`, `contextMode` (with `assistantId`) | | `assistant.select` | Pre-select an assistant for text mode — stages the choice only; no message is sent and no conversation is created | `assistantId` (string, required); optional `contextMode` | | `convo.start` | Start speech-to-speech conversation | Optional `assistantId`, `selectedCourse`, `intro`, `transcripts`, `contextMode` | | `convo.post` | Speak into a conversation that is already running | `inputs` (array of strings); optional `role` (`user` \| `system`, default `user`), `respond` (default `true`) | | `convo.stop` | Stop speech-to-speech conversation | None | | `assistants.list` | Get available assistants | None | | `favorites.list` | Get list of user's favorites | None | | `conversations.list` | Get list of user's conversations | None | > [!NOTE] > > `post` is accepted as a legacy alias for `message.post`. New integrations should use `message.post`. ### New or continued conversation (`contextMode`) When your page picks an assistant, `contextMode` decides which conversation it lands in: | Value | Effect | | - | - | | `'fresh'` | A new, empty conversation for that assistant — nothing from the previous one carries over. | | `'continue'` | The current conversation keeps its history; the assistant takes over from the next turn. | Defaults when you leave it out: a `convo.start` with a `selectedCourse` continues that conversation. A `convo.start` without one, and `assistant.select`, continue the current conversation in the classic interface and start fresh in the 2026 interface. A `message.post` with an `assistantId` but no `contextMode` posts into the current conversation. Any value other than `'fresh'` or `'continue'` counts as left out. ### Speaking into a running conversation `convo.post` injects text into a voice conversation that is **already running**. It comes in two roles, and the difference matters. `role: 'user'` (the default) is the learner speaking. It is the exact equivalent of them saying it out loud and having it transcribed — your twin answers it like any other thing they said. `role: 'system'` is your page *steering* the twin: your instruction reaches the model, the twin says it in its own words, and nothing is recorded as if the learner had said it. Use it to react to what someone is doing on your page. ```javascript theme={null} // The learner is typing into your page instead of speaking. pria.send({ command: 'convo.post', inputs: ['What does this chart show?'] }) // Your page steering the twin, in its own voice. pria.send({ command: 'convo.post', inputs: ['The learner just opened the Try It panel — coach them into it.'], role: 'system', respond: true, }) ``` > [!WARNING] > > Two things must be true before `role: 'system'` works: an administrator has turned on **Let the > embedding page guide live conversations** in the Digital Twin's settings, and the command comes from > the page that hosts the twin (not a different site or a tab you opened). If either is missing, the > command comes back refused (HTTP 401). These turns cost credits like any other. Set `respond: false` to give the twin context **without** making it answer. Support for that varies by provider, and where it cannot be honoured you get an explicit error rather than silence: | Provider | `role: 'user'` | `role: 'system'` | `respond: false` | | - | - | - | - | | Anam avatar, Cartesia | Answers | Answers in its own words | `system` only — kept as context for the next turn | | ElevenLabs | Answers | Context only — lands on the learner's next turn | `system` only | | Gemini | Answers | Answers | Not supported — returns an error | | OpenAI Realtime | Answers | Answers | Supported | | OpenAI GPT-Live | Answers | Answers | `system` only — kept as context | | xAI | Answers | Not supported — returns an error | Supported for `user` | A `user` message can be up to 4,000 characters, a `system` message up to 2,000. ### Knowing when the twin is ready Commands sent before the twin's window is listening are held and replayed, in order, once it is — so you can send immediately after loading without retry loops. Up to 20 commands are held, each for at most 30 seconds; one that overflows or expires comes back as a `pria-error`. Pass `queueUntilReady: false` on a command you would rather have fail than wait. `pria.isSessionReady()` tells you whether a command sent right now is delivered rather than held. For voice specifically, the twin also emits `convo.live` once per call, when the conversation can actually accept `convo.post` — that is a different question from `convo.ready`, which only says the user is allowed to start one. When a call ends — the person hung up inside the panel, or the connection closed — the twin emits `convo.ended` once. ### Confirm it's you When an admin account opens Pria from your page (for example a Canvas course page), the panel may first show **Confirm it's you** and ask for a 6-digit code. While it waits: * commands already held fail at once, and new ones are refused, with a `pria-error` whose `response.reason` is `'auth_required'` (other errors carry no `reason`); * `pria.isAuthRequired()` returns `true`; * the SDK calls your `onAuthRequired` display option once (see [Confirm it's you](/mdx/integrations/web/introduction#confirm-its-you-onauthrequired)). The SDK does not open the panel by itself. Nothing is replayed. Once the person confirms, the twin sends `convo.ready` again — send your commands then. ### How a course-scoped `post` behaves When a `post` (or `message.post`) carries `selectedCourse`, Pria switches the visible conversation to that course's own thread before sending, so the question — and the reply — land there instead of wherever the conversation happened to be pointed before. A few behaviors to design around when wiring up course buttons or similar triggers: * **Duplicates are dropped, not resent.** An identical `post` (same text, course and assistant) sent again within 5 seconds of the first one — or while the first one is still waiting to go out — is dropped, and the page gets a `pria-error` event instead of a second reply. This covers both a double-click and a host-side retry. * **A post waits for Pria to be ready.** A `post` sent before the user is signed in is held — up to 16 seconds for sign-in, then up to 10 seconds more for the chat view — and sent once both are ready. If either wait times out, the post errors instead of hanging indefinitely. * **Posts are handled one at a time.** Pria works through held or queued posts in order; a later post never jumps ahead of, or interrupts, one that's still being handled. * **Trigger `post` from a plain button.** A `pria.send()` call immediately followed by a form submit or a page navigation can lose a post that is still waiting to be delivered (for example while it's held for sign-in). Use a plain button, not a submit button or a navigation handler. * **Don't retry within 5 seconds.** Because an identical post sent within 5 seconds is dropped as a duplicate, a host-side retry issued right after a `post` will itself be dropped — wait past the 5-second window (or change the text) before retrying. > [!NOTE] > > This course-switching and duplicate/ready behavior applies to `post` and `message.post`; other > commands are unaffected. ### Privacy-policy consent Some accounts set a privacy policy that every user must read and accept before they can chat or talk with one of that account's Digital Twins — see [Managing Accounts — Privacy Policy Consent Form](/mdx/admin-guide/accounts/managing-accounts#privacy-policy-consent-form). Accounts that never set one never trigger any of this. While the current user has not yet accepted the account's policy: * `post`, `message.post`, `convo.post` and `convo.start` are all refused with a `pria-error` whose `content` is exactly: ``` consent_required: accept the privacy policy in the Pria panel first ``` * `convo.ready` reports `authorized: false` with `content.reason === 'consent_required'`, and the Pria panel opens by itself so the user can read and accept the policy — you don't need to open it yourself. Once the user accepts, the Digital Twin sends `convo.ready` again, this time with `authorized: true`. A host that auto-starts voice on load should wait for **this later** `convo.ready` event rather than acting on the first one it sees, since the first `convo.ready` after login can still carry `reason: 'consent_required'`. ### Choosing how the conversation opens `convo.start` takes an optional `intro`: ```javascript theme={null} pria.send({ command: 'convo.start', intro: 'Welcome back to lesson three.' }) // say this pria.send({ command: 'convo.start', intro: false }) // say nothing pria.send({ command: 'convo.start' }) // the twin's own greeting ``` On avatar twins (Anam, Cartesia) the line is spoken word for word. On OpenAI (Realtime and GPT-Live), Gemini and xAI the twin has no scripted opening line, so your text guides its greeting and it will paraphrase. ElevenLabs agents own their first message and ignore `intro`. #### Pre-selecting an assistant (`assistant.select`) `assistant.select` stages an assistant for the user's **next** message — nothing is posted, no conversation is created, and the user sees no injected turn. The chat interface shows the assistant as the pending choice, and the user's own first message is routed to it (from then on the conversation keeps that assistant automatically). The `assistantId` is validated against the Digital Twin's assistant list; an unknown id returns an error and the twin stays on its default. Most integrations don't need to send this command directly — pass the `assistantId` display option at load instead (see [Assistant pre-select](/mdx/integrations/web/introduction#assistant-pre-select-assistantid)) and the SDK sends it for you at the right moment. If the user later picks a different assistant in the interface, their choice wins. ### Sample Requests > [tab] Post Message > > Send a text message to your digital twin: > > ```javascript theme={null} > const request = { > command: 'message.post', > inputs: ['How are you?', 'Today is my birthday!'] > } > > pria.send(request) > ``` > [tab] Conversation Mode > > Start speech-to-speech conversation: > > ```javascript theme={null} > const request = { > command: 'convo.start' > } > > pria.send(request) > ``` > > Stop conversation mode: > > ```javascript theme={null} > const request = { > command: 'convo.stop' > } > > pria.send(request) > ``` > [tab] List > > List Assistants: > > ```javascript theme={null} > const request = { > command: 'assistants.list' > } > > pria.send(request) > ``` > > List Conversations: > > ```javascript theme={null} > const request = { > command: 'conversations.list' > } > > pria.send(request) > ``` > > List Favorites: > > ```javascript theme={null} > const request = { > command: 'favorites.list' > } > > pria.send(request) > ``` ### Error Handling The `pria.send()` function may throw these errors: > [!WARNING] > > * "Connect Pria first, then retry." - Pria is not properly initialized > * "Function requires valid JSON." - Invalid request format > [!NOTE] > > Authorization failures (for example, requesting `convo.start` when voice mode is not enabled for the user) are not thrown by `pria.send()` — they come back asynchronously as an error message with `isError: true`. See [Receiving Responses](#receiving-responses). ## Receiving Responses ### Subscribe to Responses To receive responses from Pria, you must first subscribe: ```javascript theme={null} const handlePriaResponse = (response) => { console.log('Received from Pria:', response) // Process the response here } pria.subscribe(handlePriaResponse) ``` ### Response Message A response message from the Pria AI Middleware follows a clear and structured format to ensure consistent integration and robust client parsing. Each response includes standard fields that define its source, content, format, and compatibility. ```json theme={null} { "type": "pria-response", "response": { "command": "message.post", "content": {} | "", "isError": false, "type": "object" }, "version": 1 } ``` **Response Fields** | Field | Type | Description | | - | - | - | | `type` | String | `"pria-response"` for command results, or `"pria-error"` when a command failed with an unexpected error. Both identify the message as originating from Pria AI Middleware. | | `response` | Object | Contains the actual payload and control attributes for the message. | | `response.content` | Mixed | The content of the response—can be a String (error, status) or an Object (structured output). | | `response.type` | String | Indicates the type of `content`. `"object"` for JavaScript objects, `"string"` otherwise. | | `response.isError` | Boolean | `true` if the message represents an error, `false` otherwise. | | `response.command` | String | Indicates the command handled (e.g., `message.post`, `convo.stop`). | | `version` | Integer | The message version number for client compatibility management. | **type** The string constant `"pria-response"` (or `"pria-error"` for failures). Use as a filter or discriminator in your message handling logic — handle both values if you want to surface errors. **response** Top-level object that wraps all core response details from Pria AI Middleware. | Subfield | Description | | - | - | | `content` | The main body of the response. Can be a JavaScript object (structured data) or a string (simple message or error). | | `type` | Specifies the JavaScript type of `content`. Values are `"object"` (for JSON objects) or `"string"` (for plain text). | | `isError` | Boolean signaling error (`true` for errors, `false` for normal responses). | | `command` | String describing the executed command (e.g., `message.post`, `convo.start`, or `convo.stop`). | **version** Integer value indicating the version of the response structure. Used for ensuring compatibility with various client parsers. > [!TIP] > > Always check the `version` field to ensure your parser correctly supports all required fields and response shapes. ### Sample Responses > [tab] Successful Message > > ```json theme={null} > { > "type": "pria-response", > "response": { > "command": "message.post", > "content": { > "success": true, > "outputs": ["I am doing great! Happy birthday by the way.."], > "usage": 12048, > "query_duration_ms": 9404, > "model": "us.anthropic.claude-3-5-sonnet-20240620-v1:0" > }, > "isError": false, > "type": "object" > }, > "version": 1 > } > ``` > [tab] Error Response > > ```json theme={null} > { > "type": "pria-error", > "response": { > "content": "Convo Mode (STS) not enabled. Access Unauthorized (401)", > "command": "convo.start", > "type": "string", > "isError": true > }, > "version": 1 > } > ``` > [tab] Conversation Control > > ```json theme={null} > { > "type": "pria-response", > "response": { > "content": "Convo stopped (STS)", > "command": "convo.stop", > "type": "string", > "isError": false > }, > "version": 1 > } > ``` > [!NOTE] > > See [Object Definitions](/mdx/sdk/object-definitions) for a complete list of responses ## UI Control Methods The SDK provides several methods to control Pria's visibility and display state. ### Visibility Control Control whether Pria is visible on the page at all. When hidden, both the button and UI panel are completely removed from view. ```javascript theme={null} // Hide Pria entirely (removes from DOM view) pria.setVisible(false) // Show Pria (makes button/UI available) pria.setVisible(true) // Check if Pria is currently visible const visible = pria.isVisible() // Returns true or false ``` ### Display Control Control whether the Pria UI panel is expanded or collapsed to the button. ```javascript theme={null} // Expand the Pria UI panel pria.display(true) // Collapse to button only pria.display(false) // Check if UI panel is currently expanded const expanded = pria.isDisplayed() // Returns true or false ``` ### Ready State Check if Pria is fully initialized and ready to receive commands before sending messages: ```javascript theme={null} // Check if Pria is ready to receive messages const ready = pria.isReady() // Returns true or false // Wait for Pria to be ready before sending commands if (pria.isReady()) { pria.send({ command: 'assistants.list' }) } ``` > [!TIP] > > Always check `isReady()` before sending commands to ensure the SDK is fully connected to the middleware. **Recommended Ready Check Pattern:** When integrating Pria, use this pattern to safely check if the SDK is ready: ```javascript theme={null} /** * Check if Pria SDK is ready to receive messages * @returns {boolean} True if SDK is fully connected and ready */ function isPriaReady() { return window.pria && typeof window.pria.isReady === 'function' && window.pria.isReady(); } // Usage if (isPriaReady()) { window.pria.send({ command: 'convo.start' }); } ``` ### Convo Ready State After the user authenticates, the Digital Twin sends a `convo.ready` event to the SDK indicating whether real-time voice (speech-to-speech) mode is authorized for the current user. The SDK captures this and exposes it via `isConvoReady()`. ```javascript theme={null} // Check if real-time voice mode is authorized for this user const convoReady = pria.isConvoReady() // Returns true or false ``` > [!NOTE] > > `isConvoReady()` returns `false` until the Digital Twin sends the `convo.ready` event after login. This happens automatically — you do not need to request it. If the account has an unaccepted privacy policy, `authorized` stays `false` and `content.reason` is `'consent_required'` — see [Privacy-policy consent](#privacy-policy-consent) above. **The `convo.ready` event:** The `convo.ready` event is a proactive notification sent by the Digital Twin after the user logs in. It tells the embedding application whether real-time voice is available. You can listen for this event via `pria.subscribe()`: ```javascript theme={null} pria.subscribe((data) => { if (data?.type === 'pria-response' && data?.response?.command === 'convo.ready') { const authorized = data.response.content?.authorized === true; console.log('Voice mode authorized:', authorized); if (authorized) { // Voice is available — render your voice-first UI } } }); ``` **Full-screen voice mode example (hide UI while loading, show when voice is ready):** This pattern keeps the Digital Twin hidden during initialization and only reveals it when voice mode is confirmed ready, providing a seamless voice-first experience: ```javascript theme={null} // Step 1: Load SDK with UI hidden const displayOptions = { fullScreen: true, openOnLoad: false, // Don't open the panel yet noUI: true // Hide button and panel entirely during loading }; PriaIntegration.loadSdk( 'https://pria.praxislxp.com', displayOptions, instanceConfig, userConfig ); // Step 2: Wait for SDK to be ready, then listen for convo.ready const timer = setInterval(() => { if (!window.pria?.isReady()) return; clearInterval(timer); window.pria.subscribe((data) => { if (data?.type !== 'pria-response') return; const command = data.response?.command; // Step 3: When convo.ready arrives and is authorized, start voice mode if (command === 'convo.ready' && data.response.content?.authorized) { // Make the widget visible window.pria.setVisible(true); // Start voice mode (optionally target a specific assistant/conversation) window.pria.send({ command: 'convo.start', assistantId: '674e9fd3d7e18aa82eb49fda', // optional selectedCourse: { // optional course_id: 123, course_name: 'Customer Onboarding' } }); // Expand the UI panel to full screen window.pria.display(true); } // Step 4: When convo starts, the voice interface is live if (command === 'convo.start') { console.log('Voice mode is live'); } }); }, 500); ``` > [!TIP] > > For a simpler approach without custom subscriber logic, use the `convoMode` display option which handles auto-start automatically. See [Convo Mode display option](/mdx/integrations/web/introduction#convo-mode-convomode). ### Live voice transcripts (`convo.transcript`) When the Digital Twin allows it (**Share voice transcripts with the embedding page** in the twin's settings) and your page asks for it, the twin sends the learner's words and the avatar's answers to your page live, as the voice conversation happens — for every voice provider. **Ask for them** with the `transcripts` display option (the SDK subscribes for you as soon as the twin is ready), or send the command yourself at any time: ```javascript theme={null} const displayOptions = { transcripts: true } // or, later: pria.send({ command: 'transcripts.subscribe' }) // answer: { subscribed: true, enabled: } pria.send({ command: 'transcripts.unsubscribe' }) ``` **Receive them** through your subscriber: ```javascript theme={null} pria.subscribe((data) => { if (data?.type !== 'pria-response') return const { command, content } = data.response if (command === 'convo.transcript') { // content: { schema: 1, role: 'user' | 'assistant', text, final, turnId, seq, ts, reason, // provider, sessionId, assistantId, confidence, startedAt, endedAt } upsertLine(`${content.role}:${content.turnId}`, content.text, content.final) } else if (command === 'convo.speech_started' || command === 'convo.speech_ended') { // content: { turnId } — drive a "listening…" indicator } else if (command === 'convo.stopped') { // content: { sessionId } — the call ended; close your transcript pane } }) ``` * `final: false` messages are live captions (at most a few per second); `final: true` carries the **full text** of the turn — replace, never stitch. * `turnId` links the learner's turn and the avatar's reply to it. **A later message with the same `turnId` replaces the earlier one**: on Anam twins a fast learner turn may arrive as `reason: "eager"`, be reopened with `reason: "resumed"` if the learner keeps talking, then be confirmed with `reason: "end_of_turn"`. `interrupted` means the avatar was cut off (barge-in or the call ended), `error` that the answer failed, `intro` the opening greeting, `typed` a message typed during the call, and `empty` that the twin produced no reply to an instruction your page sent with `convo.post` (its `text` is empty). * `seq` orders messages; `confidence`, `startedAt` and `endedAt` are filled when the speech recogniser reports them (`null` otherwise). * Transcripts are only ever sent to the page that hosts the Pria frame, at its own origin. They contain personal data: make sure your privacy notice covers them. ### Cleanup and Destroy Properly destroy and remove Pria when no longer needed: ```javascript theme={null} // Remove Pria completely and clean up all resources pria.destroy() ``` The `destroy()` method performs complete cleanup: * Removes all UI elements (iframe, button, containers) * Removes injected CSS and OAuth scripts * Cleans up all event listeners (keyboard shortcuts, drag handlers, message handlers) * Clears internal state and subscriber callbacks * Removes `window.pria` and `window.priasdk` references > [!WARNING] > > After calling `destroy()`, the SDK must be completely reloaded to use Pria again. All references to `pria` become invalid. **Destroy and Reload Pattern:** If using the Web SDK wrapper (`PriaIntegration`), use these methods for clean lifecycle management: ```javascript theme={null} // Destroy SDK completely PriaIntegration.destroySdk(); // Reload SDK with configuration PriaIntegration.reloadSdk( 'https://pria.praxislxp.com', displayOptions, instanceConfig, userConfig ); // Check if SDK is ready via wrapper if (PriaIntegration.isReady()) { window.pria.send({ command: 'assistants.list' }); } ``` ### UI Control Reference | Method | Purpose | Effect | | - | - | - | | `isReady()` | Check ready state | Returns `true` if SDK is fully connected and ready | | `isSessionReady()` | Check delivery | Returns `true` if a command sent now is delivered rather than held | | `isConvoReady()` | Check voice readiness | Returns `true` if real-time voice mode is authorized for this user | | `isAuthRequired()` | Check for a pending code | Returns `true` while the panel waits for the person to confirm it's them | | `setVisible(false)` | Hide Pria entirely | Button and UI panel are hidden from view | | `setVisible(true)` | Show Pria | Button and UI panel become available | | `display(false)` | Collapse UI | UI panel closes, button shows | | `display(true)` | Expand UI | UI panel opens, button hides | | `isVisible()` | Check visibility | Returns `true` if Pria is visible | | `isDisplayed()` | Check panel state | Returns `true` if UI panel is expanded | | `destroy()` | Remove Pria | Cleans up all resources and removes from page | ## Working with the SDK ### Authentication & Security > [!NOTE] > > The SDK uses the identity of the user currently connected to the digital twin. Ensure proper authentication is in place before making requests. ### Requirements * Pria must be properly configured and fully connected * User must be authenticated with appropriate permissions * Valid session must be established ### Content Format > [!NOTE] > > Pria outputs content in [Markdown format](https://en.wikipedia.org/wiki/Markdown). Parse responses accordingly in your application. ### Error Handling It is best practice to wrap function calls in a try/catch block to avoid unhandled exceptions: ```javascript theme={null} const sendMessage = async (message) => { try { const request = { command: 'message.post', inputs: [message] } pria.send(request) } catch (error) { console.error('Failed to send message:', error) // Handle error appropriately } } ``` ### Response Processing It is best practice to handle responses from Pria by looking at the response message `type`, `isError`, `command`, etc. so your handler covers every situation: ```javascript theme={null} const handleResponse = (responseMessage) => { // Accept both normal responses and error messages if (responseMessage?.type !== "pria-response" && responseMessage?.type !== "pria-error") return const response = responseMessage?.response if (!response) return; if (response.isError) { console.error('Pria error:', response.content) return } // handle content as String if (response.type==='string') { console.log("Response:", response.content) } // handle response as object else { // handling a response from message.post if (response.command == "message.post"){ const outputs = response.content?.outputs if (outputs){ outputs.forEach(output => { // Display or process each output console.log(output) }) } } } } ``` ### Cleanup Consider removing the event handlers you have declared when subscribing to receive response messages before your application terminates. Pass the **same function reference** you subscribed with: ```javascript theme={null} // Unsubscribe when component unmounts or page unloads window.addEventListener('beforeunload', () => { pria.unsubscribe(handlePriaResponse) }) ``` ## Troubleshooting ### Common Issues | Issue | Solution | | - | - | | "Connect Pria first" error | Ensure SDK is loaded and initialized | | No responses received | Check if you've subscribed to responses | | Unauthorized errors | Verify user authentication and permissions | | Invalid JSON errors | Validate request format and structure | ### Debugging The SDK logs its lifecycle to the browser console — watch for messages such as `Pria SDK initialization started`, `PriaIntegration already loaded`, and `Failed to load Pria SDK` while troubleshooting. Logging every message your subscriber receives is the quickest way to see exactly what the middleware returned: ```javascript theme={null} pria.subscribe((message) => { console.log('Pria message:', JSON.stringify(message, null, 2)) }) ``` ## Examples See complete, runnable integration examples — the live SDK Playground and a full `PriaTestHarness` API class you can adapt for your own application. > [card] [JavaScript SDK Examples](/mdx/sdk/javascript-examples) > > The SDK Playground demo plus a complete `PriaTestHarness` class showing clean initialization, connection detection, and command handling (`message.post`, `convo.start`/`convo.stop`, `assistants.list`, and more). # JavaScript SDK Examples Source: https://docs.praxis-ai.com/mdx/sdk/javascript-examples Runnable examples for the Praxis AI Web SDK — the live SDK Playground and a complete PriaTestHarness API class you can adapt for your own application. These examples accompany the [JavaScript SDK](/mdx/sdk/javascript) reference. Use them to see a complete, working integration end to end — from loading the SDK and detecting connection, to sending commands in response to user actions. ## SDK Playground Example You can take a look at a running example at [SDK Playground Example](https://pria.praxislxp.com/pria-sdk-web-sample.html). ``` https://pria.praxislxp.com/pria-sdk-web-sample.html ``` ![SDK Playground Example](https://mintcdn.com/praxisai/kykHd4cobeHLACGX/images/sdk/websdk-playground.jpg?fit=max\&auto=format\&n=kykHd4cobeHLACGX\&q=85\&s=773248be55101ce3bfc784de3cd1c310) This example demonstrates how to cleanly initialize the integration, detect when it is successfully connected, and execute specific commands — such as starting a conversation, listing favorites, conversations, or assistants, posting a new message, and more. ## API Class Example This example is provided AS IS to demonstrate how you can cleanly integrate a Digital Twin in your web application and send various commands programmatically in response to user actions on the page. It is extracted from the playground example code. ```javascript theme={null} /** * Pria SDK Test Harness Application * Enhanced version with modern JavaScript patterns and professional UI */ class PriaTestHarness { constructor() { this.pria = null; this.waitForPriaTimer = null; this.uiDisplayed = false; this.isConnected = false; // Configuration this.config = { displayOptions: { buttonPositionRight: 'calc(50% - 40px)', buttonPositionBottom: '80px' }, instanceConfig: { publicId: 'f831501f-b645-481a-9cbb-331509aaf8c1', pictureUrl: 'https://cdn.domain.com/pics/dt_1.png' }, userConfig: { email: 'john@doe.com', profilename: 'John Doe', usertype: 1, userid: 110, roleid: 123, rolename: "Course ABC", partnerid: 1, partnername: "ABC Global Inc." }, conversation: { id: 777, name: "My Conversation" } }; this.init(); } /** * Initialize the application */ async init() { try { await this.loadPriaSDK(); this.bindEventListeners(); this.showToast('Application initialized successfully', 'success'); } catch (error) { console.error('Failed to initialize application:', error); this.showToast('Failed to initialize application', 'error'); } } /** * Load the Pria SDK */ loadPriaSDK() { return new Promise((resolve, reject) => { const script = document.createElement('script'); script.src = 'pria-sdk-web.js'; script.async = true; script.onload = () => { console.log('Web SDK Script loaded'); const url = 'https://pria.praxislxp.com'; PriaIntegration.loadSdk( url, this.config.displayOptions, this.config.instanceConfig, this.config.userConfig ); this.waitForPriaTimer = setInterval(() => this.waitForPria(), 2000); resolve(); }; script.onerror = (error) => { console.error('Failed to load Web SDK:', error); reject(new Error('Web SDK loading failed')); }; document.body.appendChild(script); }); } /** * Wait for Pria to be available and set up subscriptions */ waitForPria() { if (!window.pria) { console.log("Waiting for Pria to load..."); return; } // console.log('Pria loaded:', JSON.stringify(window.pria.priaObj, null, 2)); clearInterval(this.waitForPriaTimer); this.pria = window.pria; this.isConnected = true; this.updateConnectionStatus(true); // Keep the bound reference so it can be unsubscribed later this.boundPriaHandler = this.handlePriaResponse.bind(this); this.pria.subscribe(this.boundPriaHandler); this.showToast('Connected to Pria SDK', 'success'); window.addEventListener('beforeunload', () => { this.pria.unsubscribe(this.boundPriaHandler) }) } /** * Handle responses from Pria */ handlePriaResponse(response) { console.log("Response from Pria:", JSON.stringify(response, null, 2)); this.displayResponse(response); this.hideLoading(); } /** * Bind event listeners to UI elements */ bindEventListeners() { // Message sending document.getElementById('send-message-btn').addEventListener('click', () => { this.sendMessage(); }); // Quick actions document.getElementById('start-conversation-btn').addEventListener('click', () => { this.startConversation(); }); document.getElementById('stop-conversation-btn').addEventListener('click', () => { this.stopConversation(); }); document.getElementById('get-assistants-btn').addEventListener('click', () => { this.getAssistants(); }); document.getElementById('get-conversations-btn').addEventListener('click', () => { this.getConversations(); }); document.getElementById('get-favorites-btn').addEventListener('click', () => { this.getFavorites(); }); // Toggle Pria visibility document.getElementById('toggle-pria-btn').addEventListener('click', () => { this.togglePriaVisibility(); }); // Clear response document.getElementById('clear-response-btn').addEventListener('click', () => { this.clearResponse(); }); // Enter key support for message input document.getElementById('message-input').addEventListener('keydown', (e) => { if (e.ctrlKey && e.key === 'Enter') { this.sendMessage(); } }); } /** * Send a message to Pria */ sendMessage() { if (!this.ensurePriaConnection()) return; const message = document.getElementById('message-input').value.trim(); const assistantId = document.getElementById('assistant-id-input').value.trim(); if (!message) { this.showToast('Please enter a message', 'warning'); return; } if (!assistantId) { this.showToast('Please enter an assistant ID', 'warning'); return; } this.showLoading(); this.clearResponse(); const request = { command: 'message.post', inputs: [message], assistantId: assistantId, selectedCourse: { course_id: this.config.conversation.id, course_name: this.config.conversation.name } }; this.pria.send(request); this.showPria(); this.showToast('Message sent', 'info'); } /** * Start a conversation */ startConversation() { if (!this.ensurePriaConnection()) return; this.showLoading(); this.clearResponse(); const request = { command: 'convo.start', assistantId: '674e9fd3d7e18aa82eb49fda', selectedCourse: { course_id: 22345, course_name: 'Conversational Assist' } }; this.pria.send(request); this.showPria(); this.showToast('Starting conversation', 'info'); } /** * Stop a conversation */ stopConversation() { if (!this.ensurePriaConnection()) return; const request = { command: 'convo.stop' }; this.pria.send(request); this.showToast('Conversation stopped', 'info'); } /** * Get list of assistants */ getAssistants() { if (!this.ensurePriaConnection()) return; this.showLoading(); this.clearResponse(); const request = { command: 'assistants.list' }; this.pria.send(request); this.showToast('Fetching assistants', 'info'); } /** * Get list of conversations */ getConversations() { if (!this.ensurePriaConnection()) return; this.showLoading(); this.clearResponse(); const request = { command: 'conversations.list' }; this.pria.send(request); this.showToast('Fetching conversations', 'info'); } /** * Get list of favorites */ getFavorites() { if (!this.ensurePriaConnection()) return; this.showLoading(); this.clearResponse(); const request = { command: 'favorites.list' }; this.pria.send(request); this.showToast('Fetching favorites', 'info'); } /** * Toggle Pria visibility */ togglePriaVisibility() { if (!this.ensurePriaConnection()) return; this.uiDisplayed = !this.uiDisplayed; this.pria.display(this.uiDisplayed); const btn = document.getElementById('toggle-pria-btn'); const icon = btn.querySelector('i'); const text = btn.querySelector('span'); if (this.uiDisplayed) { icon.className = 'fas fa-eye-slash'; text.textContent = 'Hide Pria'; this.showToast('Pria UI shown', 'info'); } else { icon.className = 'fas fa-eye'; text.textContent = 'Show Pria'; this.showToast('Pria UI hidden', 'info'); } } /** * Show Pria interface */ showPria() { if (this.pria && !this.uiDisplayed) { this.pria.display(true) this.uiDisplayed = true; } } /** * Display response in the viewer */ displayResponse(data) { const viewer = document.getElementById('response-viewer'); viewer.value = data ? JSON.stringify(data, null, 2) : ''; } /** * Clear the response viewer */ clearResponse() { document.getElementById('response-viewer').value = ''; } /** * Show loading indicator */ showLoading() { document.getElementById('loading-indicator').classList.remove('hidden'); } /** * Hide loading indicator */ hideLoading() { document.getElementById('loading-indicator').classList.add('hidden'); } /** * Update connection status indicator */ updateConnectionStatus(connected) { const statusElement = document.getElementById('connection-status'); const dot = statusElement.querySelector('div'); const text = statusElement.querySelector('span'); if (connected) { dot.className = 'w-3 h-3 bg-green-500 rounded-full'; text.textContent = 'Connected'; text.className = 'text-sm text-green-600'; } else { dot.className = 'w-3 h-3 bg-red-500 rounded-full animate-pulse'; text.textContent = 'Disconnected'; text.className = 'text-sm text-red-600'; } } /** * Ensure Pria connection exists */ ensurePriaConnection() { if (!this.pria || !this.isConnected) { this.showToast('Pria SDK not connected', 'error'); return false; } return true; } /** * Show toast notification */ showToast(message, type = 'info') { const container = document.getElementById('toast-container'); const toast = document.createElement('div'); const colors = { success: 'bg-green-500', error: 'bg-red-500', warning: 'bg-yellow-500', info: 'bg-blue-500' }; const icons = { success: 'fas fa-check-circle', error: 'fas fa-exclamation-circle', warning: 'fas fa-exclamation-triangle', info: 'fas fa-info-circle' }; toast.className = `${colors[type]} text-white px-6 py-3 rounded-lg shadow-lg flex items-center space-x-3 transform transition-all duration-300 translate-x-full`; toast.innerHTML = ` ${message} `; container.appendChild(toast); // Animate in setTimeout(() => { toast.classList.remove('translate-x-full'); }, 100); // Auto remove setTimeout(() => { toast.classList.add('translate-x-full'); setTimeout(() => { if (container.contains(toast)) { container.removeChild(toast); } }, 300); }, 3000); } } // Initialize the application when DOM is loaded document.addEventListener('DOMContentLoaded', () => { new PriaTestHarness(); }); ``` ## Related * [JavaScript SDK](/mdx/sdk/javascript) — full SDK reference: commands, responses, and UI control methods * [SDK Object Definitions](/mdx/sdk/object-definitions) — request/response object schemas * [Web App Integration](/mdx/integrations/web/introduction) — embedding Pria in a web application # Object Definitions Source: https://docs.praxis-ai.com/mdx/sdk/object-definitions This document describes the object definitions used by the Praxis AI Javascript SDK. This page shows the objects the SDK sends and receives through `postMessage` — the JSON you pass in, and the payloads that come back to your subscriber. Use it when you need a field's exact name or shape. Two naming notes: `institution` in any payload is the API's word for a Digital Twin, and `course_id` / `course_name` on a conversation are simply that conversation's id and name (the field names are historical). ## Post Request Object ```javascript theme={null} const request = { command: 'message.post', inputs: [], assistantId: , selectedCourse: { course_id: , course_name: } } ``` > [!NOTE] > > `post` is accepted as a legacy alias for `message.post`. ## Post Response Object ```json theme={null} { "type": "pria-response", "response": { "command": "message.post", "content": { "success": true, "outputs": [ "I am doing great ! Happy birthday by the way, doing anything special?" ], "usage": 12048, "institutioncredits": 991, "credits": 991, "creditsUsed": 59, "totalLength": 12048, "totalCredits": 2, "query_duration_ms": 9404, "requestArgs": { "userISODate": "2024-12-23T14:25:48.245Z", "userTimezone": "Indian/Mauritius", "socketId": "kdzUm6yzkFd9YDcWAAAP", "assistantId": "67568474f66f51c8dc860c1f", "selectedCourse": { "course_id": 123456, "course_name": "Pre-assessment (AI for Analysts)" } }, "model": "us.anthropic.claude-3-5-sonnet-20240620-v1:0" }, "type": "object", "isError": false }, "version": 1 } ``` ## Assistants List Request ```javascript theme={null} const request = { command: 'assistants.list' } ``` ## Assistants List Response Object ```json theme={null} { "type": "pria-response", "response": { "content": [ { "_id": "68c6f230d9c782aee842fc04", "name": " New Conversation", "description": "Start a new conversation! This assistant is designed to initiate and facilitate fresh, engaging dialogues on a wide range of topics, adapting to the user's interests and needs.✏️📝 It employs a dynamic approach, utilizing available tools and user memory to personalize interactions, while maintaining a focus on the current conversation's context and goals. The primary benefit of this assistant is its ability to provide tailored, informative, and thought-provoking exchanges that encourage learning, exploration, and meaningful interaction, all while adhering to strict guidelines for accuracy, citation, and ethical communication.", "picture_url": "/assistant_new_conversation.webp", "status": "active", "liked_count": 0, "admin_only": false, "institution_shared": false, "editable_others": false, "remember_history": 3, "created": "2025-09-14T16:49:52.983Z" }, { "_id": "68c6f231d9c782aee842fc16", "name": "Code Analyzer", "description": "The Code Analyzer systematically examines your code through a comprehensive three-phase approach to identify critical bugs, security vulnerabilities, and performance bottlenecks before they impact your production systems, transforming potentially costly runtime failures into proactive development wins. 🔍 🛡️ Experience the confidence that comes from receiving severity-ranked findings with targeted code fixes and actionable remediation examples, allowing you to strengthen your codebase methodically while learning best practices that elevate your programming skills with every analysis session.", "picture_url": "/assistant_code_analyzer.png", "status": "active", "liked_count": 0, "admin_only": false, "institution_shared": false, "editable_others": false, "remember_history": 3, "created": "2025-09-14T16:49:53.079Z" }, ... ], "command": "assistants.list", "type": "object", "isError": false }, "version": 1 } ``` ## Conversations List Request ```javascript theme={null} const request = { command: 'conversations.list' } ``` ## Conversations List Response Object ```json theme={null} { "type": "pria-response", "response": { "content": [ { "course_name": " New Conversation Wednesday, Oct 1, 2025", "assistant": { "_id": "68c6f230d9c782aee842fc04", "name": " New Conversation", "picture_url": "/assistant_new_conversation.webp", "liked_count": 0 }, "history_count": 1, "last_dialogue_date": "2025-10-01T04:50:28.099Z", "course_id": 1759294218187 }, { "course_name": "", "assistant": null, "history_count": 1, "last_dialogue_date": "2025-09-25T07:46:05.719Z", "course_id": 0 } ], "command": "conversations.list", "type": "object", "isError": false }, "version": 1 } ``` ## Favorites List Request ```javascript theme={null} const request = { command: 'favorites.list' } ``` ## Favorites List Response Object ```json theme={null} { "type": "pria-response", "response": { "content": [ { "id": "68dcb3bfdaaf57e9576ea6b6", "created": "2025-10-01T04:53:19.729Z", "credits": 2, "usage": 11455, "cached": 0, "completion": 0, "latencyMs": 0, "institution": "68c6f230d9c782aee842fb12", "favorite": true, "forgotten": false, "course_id": 22345, "course_name": "Conversational Assist", "role_id": 123, "role_name": "Course ABC", "query_duration_ms": 47224, "conversation_model": "gpt-realtime", "success": true, "in": { "input": "Transcripts for conversation conv_CLj7EQXPBb6sAUTAotBRD" }, "out": { "outputs": [ "Hey there! Great to have you here – let’s dive right in! What’s on your mind today?" ] } } ], "command": "favorites.list", "type": "object", "isError": false }, "version": 1 } ``` ## Convo Ready Event The `convo.ready` event is sent proactively by the Digital Twin after the user logs in. It notifies the embedding application whether real-time voice (speech-to-speech) mode is authorized for the current user. This event is not a response to a command — it is sent automatically. ```json theme={null} { "type": "pria-response", "response": { "command": "convo.ready", "content": { "authorized": true }, "type": "object", "isError": false }, "version": 1 } ``` | Field | Type | Description | | - | - | - | | `content.authorized` | Boolean | `true` if real-time voice mode is available for this user, `false` otherwise | | `content.reason` | String | Present only when something must happen first: `consent_required` means the user has not yet accepted the account's privacy policy (the SDK opens the panel so they can) | Authorization depends on the Digital Twin's real-time voice settings and whether the user has the required role. The event can arrive more than once — after sign-in, when the user's permissions reload, and once the privacy policy is accepted — so act on the latest one. > [!NOTE] > > This event is also intercepted by the SDK itself to set the `pria.isConvoReady()` flag and optionally trigger `convoMode` auto-start. Subscribers receive it after the SDK processes it. ## Convo Live Event The `convo.live` event is sent once per conversation, when that conversation can actually accept text through `convo.post`. It is not a response to a command. `convo.ready` and `convo.live` answer different questions: the first says the user is *allowed* to start a voice conversation, the second says a conversation is running and ready to be spoken into. A page that starts a conversation and immediately posts into it should wait for this one. ```json theme={null} { "type": "pria-response", "response": { "command": "convo.live", "content": { "provider": "anam_pria_custom_llm" }, "type": "object", "isError": false }, "version": 1 } ``` ## Convo Ended Event The `convo.ended` event is sent once when a voice conversation ends — the user hung up inside the panel, or the connection closed. It is not sent when the provider reconnects on its own, and it is not a response to a command. ```json theme={null} { "type": "pria-response", "response": { "command": "convo.ended", "content": { "provider": "anam_pria_custom_llm" }, "type": "object", "isError": false }, "version": 1 } ``` ## Start Convo Request ```javascript theme={null} const request = { command: 'convo.start', assistantId: '', // optional contextMode: 'fresh', // optional: 'fresh' | 'continue' intro: 'Welcome back to lesson three.' // optional: a string, or false to skip the greeting } ``` ## Start Convo Response ```json theme={null} { "type": "pria-response", "response": { "content": "Convo started (STS)", "command": "convo.start", "type": "string", "isError": false }, "version": 1 } ``` ## Convo Post Request Sends text into a conversation that is already running. `role` defaults to `user` (the learner speaking) and `respond` defaults to `true`. ```javascript theme={null} const request = { command: 'convo.post', inputs: ['The learner just opened the Try It panel — coach them into it.'], role: 'system', respond: true } ``` ## Convo Post Response `delivered` confirms the twin accepted the text. `replied` says whether it answered — some providers cannot take context without answering, and ElevenLabs cannot answer a system message on demand, so the two are reported separately. On Anam and Cartesia twins, a `role: "system"` post with `respond: true` is acknowledged when the twin's turn ends. `replied` is `true` when the twin produced a spoken reply, and `false` when the model produced nothing for that instruction; the final `convo.transcript` message for that turn then carries `reason: "empty"` and an empty `text`. A turn that fails also reports `replied: false`, with `reason: "error"` on its transcript. ```json theme={null} { "type": "pria-response", "response": { "content": { "delivered": true, "role": "system", "respond": true, "provider": "anam_pria_custom_llm", "replied": true }, "command": "convo.post", "type": "object", "isError": false }, "version": 1 } ``` A refusal arrives as a `pria-error` with the reason in `content` — no conversation running (`Convo is not started (STS)`), the twin not allowing page instructions or the sender not being the embedding page (`Access Unauthorized (401)`), an empty or over-long message (`Invalid Request (400)`), or a provider that cannot honour the request. ## Stop Convo Request ```javascript theme={null} const request = { command: 'convo.stop' } ``` ## Stop Convo Response ```json theme={null} { "type": "pria-response", "response": { "content": "Convo stopped (STS)", "command": "convo.stop", "type": "string", "isError": false }, "version": 1 } ``` # Assistant Library Source: https://docs.praxis-ai.com/mdx/user-guide/assistants-personalization/assistant-library Browse ready-made assistants for education, development, and general use. Pria comes with a library of built-in assistants, listed on the **System** tab of the Assistants window. Browse them by category below, or find more in our [community repository](https://gitlab.com/praxis-ai/pria-client-sdk/-/tree/main/canvas/assistants). Your Digital Twin's administrators may also add their own, or switch some off. *** ## For Education Assistants designed by educators and learning experts. ### For Students & Teachers > [card] Conversational Assessment > > Prepare for tests through an interactive Q\&A session on any topic. This AI-driven assessment uses tailored questions with immediate feedback to help students improve their results. > [card] The Socratic Tutor > > Discover solutions through thoughtful questioning. This tutor never gives answers directly—instead it guides you to find them yourself, building critical thinking and lasting understanding. > [card] Learn by teaching: Role Reversal Analysis > > Deepen your understanding by evaluating the AI's explanations. This innovative approach reverses traditional roles, letting you provide feedback on the AI's work. > [card] Your ESL Buddy > > A personalized language coach that corrects grammar while engaging you in conversations tailored to your interests and skill level. > [card] BibTeX Generator > > Generate bibliography entries in TeX format from publication URLs, DOIs, and other identifiers. Saves researchers time and ensures consistent citations. ### For Teachers Only > [card] Course Syllabus Generator > > Create a complete course syllabus in under 6 minutes. Answer 6 questions about your course and receive a comprehensive, tailored syllabus. > [card] Teacher's AI Assistant > > Create customized AI prompts for repetitive teaching tasks like lesson planning, quiz creation, and developing explanations for students. > [!TIP] > > More teacher assistants for Canvas — such as **Class Health Check** (flags learners at risk from Canvas data) and an **Auto-Grader** (grades submissions against a rubric) — are in the [community repository](#community-assistants). Add one to your Digital Twin as a new assistant. *** ## For Developers Assistants built for software development and coding. > [card] Code Analyzer > > Systematic code review through a three-phase approach. Identifies bugs, security vulnerabilities, and performance issues with severity-ranked findings and targeted fixes. > [card] Learn to Code > > Interactive programming tutor that adapts to your chosen language and skill level. Offers hands-on exercises with real-time feedback. ### Using the Code Analyzer 1. **Start a conversation** with the Code Analyzer assistant 2. **Submit your code** for analysis 3. **Review findings** ordered by severity with an overall quality assessment > [!TIP] > > **Iterative improvement:** After implementing fixes, re-submit your code in the same conversation. The assistant will mark resolved issues with ✅, track your quality grade progression, and highlight remaining areas needing attention. *** ## General Purpose Assistants for everyday tasks and personalization. > [card] New Conversation > > Start fresh dialogues on any topic. This general-purpose assistant adapts to your needs and uses available tools to personalize responses. > [card] Personalize My Experience > > Answer tailored questions about your learning preferences and goals. Your responses are stored for future interactions, making all your conversations more relevant. > [card] User Memory Optimizer > > Consolidates scattered preferences across conversations into organized, efficient memory—improving personalization while reducing token usage. *** ## Community Assistants The community contributes to building new assistants. Browse and contribute at our GitLab repository: > [card] [Community Repository](https://gitlab.com/praxis-ai/pria-client-sdk/-/tree/main/canvas/assistants) > > Browse education-ready assistants created by the community, or contribute your own. ![Community Assistants](https://mintcdn.com/praxisai/RQ_2cJOeV_FmtYkN/images/user-guide/assistants-personalization/assistants-community-gitlab.png?fit=max\&auto=format\&n=RQ_2cJOeV_FmtYkN\&q=85\&s=f74c3b2cb52b259546328a5abda4e8d2) Community Assistants on GitLab # What are Assistants Source: https://docs.praxis-ai.com/mdx/user-guide/assistants-personalization/assistants Assistants are specialized AI tools that expand your digital twin's capabilities for specific tasks.