Skip to main content
Mortgage Squad Advisors
Back to Ask Maya Trust & methodology

How Maya works under the hood.

Maya is a piece of regulated brokerage infrastructure. Every reply passes through a compliance guard, every memory is typed and scoped, every voice call is audited, and every commit is gated on a nightly eval harness. This page is the long-form version of the trust pitch — written for compliance officers, procurement teams, and the curious.

FSRA #13737 Canadian-only data No bureau pull Nightly evals
The no-advice rule, enforced in code

The compliance guard

Maya is not a licensed mortgage agent — and the system is built so that no amount of clever phrasing, prompt-injection, or user pressure can produce a reply that crosses into binding advice. Every reply passes through a structural compliance guard before it leaves the building.

The guard runs a pattern matcher over the draft (“your rate is”, “you’re approved for”, “you qualify”, “you should choose”) and either rewrites the reply to soften the framing or escalates to a human advisor when the situation requires it. Every rewrite is captured in the conversation log alongside the original — your advisor can audit exactly what the guard caught.

The rule is enforced as code, not as a paragraph in the system prompt. A jailbroken prompt can’t bypass it because the rewriter sits between Maya’s output and the user.

  • Pattern matcher tuned to FSRA, FICOM, RECA, and MFAA advice language
  • Rewrites preserved alongside originals for advisor + auditor review
  • Escalation hooks: "book a human" actions wired into the response stream
  • Continually expanded as new phrasings show up in the eval harness
Long-term memory, with categories that mean something

Typed memory layers

Maya remembers your file across conversations — but memory isn’t a single blob. Every captured fact is typed: LONG_TERM, PREFERENCE, GOAL, LIFE_EVENT, RELATIONSHIP, EPISODIC, and SENSITIVE.

The type drives behavior. Sensitive memories (mental-health context, immigration status, marital trouble) are redacted in API responses, exports, and admin search — your advisor sees a placeholder, not the raw value. Preferences and goals surface freely. Life events trigger empathy framing in subsequent turns.

Each memory has a confidence score, a timestamp, and a provenance link back to the conversation turn that produced it. Stale or contradicted memories decay over time rather than accumulating noise.

  • Seven memory layers — type drives visibility, redaction, and decay
  • Confidence-scored and provenance-linked back to the originating turn
  • Sensitive memories redacted across every read surface — not opt-in
  • Per-tenant retention windows, fully exportable, fully deletable
The model never lands on a customer without passing the suite

The eval harness

Every night the Maya eval harness runs 100+ Canadian mortgage scenarios against the current model + prompt + tool config. Each scenario combines deterministic checks (did Maya extract the right intent? did the compliance guard fire when it should? did the right tool get called?) with LLM-judged quality (was the empathy framing appropriate? was the math correct? was the language matched?).

Regressions block deploys. A model upgrade or prompt change that drops the pass rate doesn’t ship. The scenarios are versioned in source control so we can replay any past failure and prove the fix.

The shared scenario library covers the majority of brokerage flows. Tenant-authored custom scenarios — for a specific lender program or policy nuance — are on the Enterprise roadmap; today, Enterprise customers can request additions through their account manager and we land them in the next release.

  • 100+ scenarios covering renewals, first-time buyers, stress test edge cases, multilingual flows, life-event empathy, refinance math, B-lender qualification, and more
  • Deterministic + LLM-judged dimensions per scenario
  • Failing eval blocks deploy via GitHub Actions
  • Account-manager-mediated additions for Enterprise (self-serve authoring on the roadmap)
Voice calls treated like the regulated artifact they are

Audited recordings & access trail

Every voice call is recorded (with consent collected at the start of the call), stored encrypted, and tagged with a strict retentionUntil timestamp. A nightly sweeper hard-deletes anything past retention.

Every playback writes an audit row — who listened, when, from where (IP + user-agent). Every transcript share link writes the same audit row using a synthetic share:<prefix> identifier so client downloads live in the same trail as staff listens. Nothing happens to a recording that isn’t logged.

Auto-transcription is opt-in per tenant and runs against a Canadian transcription provider. Transcripts inherit the same retention and audit policy as the audio they came from.

  • Per-tenant retention windows (default 90 days, configurable up to 24 months)
  • Hard delete via nightly sweeper — not soft-delete
  • Audit log surfaces every listen + every share-link access in one feed
  • Auto-transcription with the same retention as the source audio
Canadian only — encryption at rest, encryption in transit

Data residency & encryption

All Maya data — conversations, transcripts, memory, recordings, audit logs, eval results — lives in Canadian regions. Compute runs in Canadian regions. Backups stay in Canadian regions. There is no cross-border data flow for customer content.

Encryption is end-to-end: TLS 1.2+ in transit, AES-256 at rest. Keys are managed via a cloud KMS with workspace-scoped envelope encryption for the most sensitive memory categories.

No customer conversation is ever sent to a third-party model vendor for training. The models we use are accessed via inference-only endpoints with vendor data-retention disabled.

  • Canadian regions only — compute, storage, backups
  • TLS 1.2+ in transit · AES-256 at rest
  • Workspace-scoped envelope encryption for sensitive memory
  • Inference-only model access — vendor training disabled
Your transcript is yours

PIPEDA right-of-access

PIPEDA gives you the right to access the personal information an organization holds about you. For voice calls, Maya turns that into a one-click feature: your brokerage admin can mint a revocable, time-limited share link that downloads your transcript as text or JSON without you needing a portal account.

Each link is high-entropy, scoped to one recording, and capped at 14 days by default (60 days hard maximum). Every access bumps a counter and writes to the audit log. Admins can revoke at any time.

Full conversation + memory exports are available from your account settings — no support ticket required. Deletion runs within 30 days with conversation audit anonymization.

  • Per-recording revocable share links, txt + JSON formats
  • 14-day default, 60-day maximum, instant admin revoke
  • Every share access logged alongside staff playback
  • Self-serve export + deletion from account settings
Workspace-scoped, role-gated, audit-trailed

Access controls

Maya is multi-tenant by design. Every conversation, memory, recording, eval result, outreach attempt, and lead intent is workspace-scoped — admins from brokerage A cannot see anything from brokerage B, including across the search and export surfaces.

Within a workspace, role gates control what each staff member can see. The default is least-privilege: an agent sees their assigned conversations and leads, a manager sees their team, a principal broker sees everything. Roles are configurable per workspace.

Single sign-on (Microsoft, Google) is available on Enterprise tier with SCIM provisioning. API keys are workspace-scoped, rotatable, and individually revocable. Every API call is rate-limited and audited.

  • Workspace-scoped data — enforced at the database query layer
  • Per-role access matrix configurable per workspace
  • SSO (Microsoft / Google) + SCIM on Enterprise
  • Rate-limited, audited, individually revocable API keys
What we do when something goes wrong

Incident response

If we discover a security or privacy incident affecting your data, we commit to: notifying your workspace admin within 72 hours, providing a preliminary scope assessment, and posting a public post-mortem (with no customer-identifying information) within 14 days of resolution.

We run a documented incident-response playbook (versioned in source control as INCIDENT_RESPONSE.md) covering severity classification, containment, forensics, customer communication, regulator notification under PIPEDA, and remediation. Security questions — including responsible disclosure of vulnerabilities — route to info@mortgagesquad.ca.

  • 72-hour workspace-admin notification commitment
  • Public post-mortem (anonymized) within 14 days of resolution
  • Documented IR playbook · responsible-disclosure inbox
  • Regulator-notification commitments under PIPEDA
FAQ

Diligence questions, answered.

If your compliance officer or procurement team needs more, write to info@mortgagesquad.ca.

Is Maya regulated under FSRA?
Mortgage Squad Advisors (FSRA #13737) is the regulated entity. Maya is a piece of brokerage infrastructure operated under that licence. Every binding mortgage decision involves a licensed advisor — Maya cannot issue advice, commitments, or rate holds on her own. The no-advice rule is enforced in code, not just in the system prompt.
Does Maya store credit information?
No. Maya never pulls bureau, never asks for SIN, and never persists credit-bureau data. Pre-qualification math runs on what you tell her about income, downpayment, and debts. The first bureau pull happens only when you formally apply with a licensed advisor — and you authorize it.
Where is Maya's data stored?
All Maya data — conversations, transcripts, recordings, memory — is encrypted in transit and at rest, stored exclusively in Canadian regions, and never used to train any model outside our system. We don't share data with third-party AI vendors for training purposes.
How long are voice recordings kept?
Per-tenant retention windows, defaulting to 90 days. Every recording carries an explicit retentionUntil timestamp and is hard-deleted by the nightly sweeper after that. Every staff playback is logged to an audit row; every client transcript download via a share link is logged with the same audit trail.
What happens if Maya gives wrong information?
Every reply passes through a compliance guard that scans for binding-advice patterns ("your rate is", "you're approved for", "you qualify") and structurally rewrites them. If you spot something wrong, your advisor can correct it and the correction is captured in your memory so Maya never repeats it. Persistent regressions are caught by the nightly eval harness.
Can I export or delete all my data?
Yes. From your account settings you can request a full conversation + memory + recording export, or request deletion. Deletion runs within 30 days and includes anonymizing the conversation audit trail. PIPEDA right-of-access is a first-class feature, not a support ticket.
Can my brokerage audit Maya's behavior?
Yes. Brokerage admins get access to every conversation, memory state, intent extraction, compliance rewrite, recording playback, and outreach attempt their workspace has produced — searchable, filterable, exportable. The eval harness can be pointed at workspace-specific scenarios on Enterprise.

Ready to put Maya to work?

Try a conversation first, then talk to us about deploying Maya inside your brokerage. We’ll send a written security overview to your compliance officer before any signature.