Confidential · © 2026 Space-O Technologies Inc. · Prepared exclusively for DMA. Please do not copy, save or share.

Part A · How DMA AI works

A.7The bridge database: one memory

Built in the POC
No.
A.7
Relates to DMA's book
Decision Book p.14, p.44
Part
A · the foundation

What this part does · Decision Book p.14, p.44

DMA's book asks for a two-way Nutshell connection, an AI review of all 30,000 records, and an Account Digital Twin: one living picture of each account that every part of the system reads from.

Why DMA needs it: The AI needs fast, complete, remembered context (every note, every chat, every score) without hammering Nutshell's API or storing its conclusions inside Nutshell's own fields.

How we do it

  • A PostgreSQL database sits between the AI and Nutshell. It keeps a mirror of Nutshell (accounts, people, leads, notes, activities), kept current by a sync worker, so the AI reads fast and never calls Nutshell directly. The mirror can always be rebuilt from Nutshell.
  • Next to the mirror it keeps what the AI owns: facts extracted from notes (each with the quote it came from), scores and tiers with their reasons, the Account Digital Twin, summaries, every conversation in full, and the control plane (approvals, the write gate, the decision log).
  • Seven areas, 117 tables in the prototype: the CRM mirror, the AI layer, conversations and memory, the taxonomy, the AI workers' registry, the control plane, and operations.
  • It is a protected copy of DMA's data: message bodies and contact details are encrypted, each part of the system connects with its own limited role, and row-level rules mean a rep sees only their own accounts. A record deleted in Nutshell is marked deleted here too and drops out of every list.

The flow

It plays on its own while it's on screen; hover or use the controls to pause or step through.

reviewedreviewedproposalsNutshellsystem of recordSync workerchanges and webhooksCRM mirroraccounts · leads · notesAI layerfacts · scores · twinConversationsevery chat, encryptedControl planeapprovals · write gate ·logAI workersread, never write Nutshell
Step 1 of 5

Nutshell changes

A rep edits a deal in Nutshell.

  • Nutshell
  • Rule in code
  • Stored data
  • AI

Where the data goes

The same six stages on every page. Nothing reaches Nutshell except through the write gate.

  1. 1Nutshell and chats

    Source

    Nutshell records, website chats, email replies, call transcripts.

  2. 2Sync

    Copies Nutshell changes into the bridge database

    Mirrors Nutshell into the bridge, and brings written changes back.

  3. 3Bridge database

    A copy of the CRM data, plus what the AI works out

    The mirror, the AI layer, conversations, the control plane: seven areas.

  4. 4AI

    Claude models, only through DMA's own gateway

    Reads the bridge; its conclusions are stored here, not in Nutshell.

  5. 5Write gate

    The only way back into Nutshell: checked, approved when needed, sent once

    The part of the bridge that holds changes for Nutshell.

  6. 6Nutshell

    The system of record

    Remains the system of record for CRM facts.

The tables behind it

Drawn from the POC's database catalogue: structure only, no data.

crm.accountsPKiduuidnutshell_idtextnametextindustrytextfetched_attimestamptombstoned_attimestamp+ 11 more columnscrm.leadsPKiduuidnutshell_idtextstatustextvalue_amountnumericclosed_attimestamp+ 21 more columnsai.extracted_factsPKiduuidfact_keytextvaluejsonbconfidencenumericevidence_quotetextstatustextIDprompt_iduuid+ 8 more columnsai.scoresPKiduuidscoresmallinttiertextnbatextreason_codesjsonbIDprompt_iduuidis_currentboolean+ 13 more columnsai.account_twinPKaccount_iduuidPKtwin_versionintegerlifecycle_statetexttiertextnbatextcontactablebooleanIDprompt_iduuid+ 9 more columnsconv.messagesPKiduuidFKconversation_iduuidseqintegerIDparticipant_iduuidsender_kindtextdirectiontextis_untrustedbooleansent_attimestampIDdecision_iduuidIDagent_version_iduuid+ 11 more columns

PK primary keyFK reference the database enforces (solid line)ID reference kept by id (dashed line)

TableWhat it holdsColumns
crm.accountsThe mirror of Nutshell companies, with where each row came from and when.17
crm.leadsThe mirror of Nutshell leads: status, value, stage.26
ai.extracted_factsFacts the AI found in notes, each with the exact quote and its confidence.15
ai.scoresScores and tiers with their reasons and the scoring version.20
ai.account_twinThe Account Digital Twin: one living picture per account.16
conv.messagesEvery line of every conversation, encrypted.21
How the tables connect (7)
ColumnPoints toKept by
ai.extracted_facts.prompt_idagent.promptsThe application (by id)
ai.scores.prompt_idagent.promptsThe application (by id)
ai.account_twin.prompt_idagent.promptsThe application (by id)
conv.messages.conversation_idconv.conversationsThe database (foreign key)
conv.messages.participant_idconv.participantsThe application (by id)
conv.messages.decision_idctrl.decision_logThe application (by id)
conv.messages.agent_version_idagent.agent_versionsThe application (by id)

Worked example

Synthetic demo data: every name, business and number is made up.

One account, from Nutshell to the Account Digital Twin

1 / 4

What you see

1.The record in Nutshell

An account as the team sees it in the CRM (here, the simulator standing in for Nutshell).

localhost:13311/web/company/…
The record in the CRM simulator (standing in for Nutshell).
Callout 2

What happens in the system

  • Nutshell

    The system of record: the account, its people, leads and notes.

  • Conversation servicesync worker

    Mirrors it into the bridge; each row remembers its Nutshell id and when it was fetched.

  • Bridge databasecrm.accounts · crm.leads · crm.notes

    The mirror. Note bodies are stored encrypted.

What the prototype's bridge holds today (synthetic accounts from the demo seed).

The seven areas

AreaTablesWhat it holds
CRM mirror19Accounts, people, leads, notes, activities, tasks, as they are in Nutshell
AI layer20Facts with quotes, scores and tiers, the Account Digital Twin, summaries, site reviews, proposals
Conversations7Every chat, email and call, in full, encrypted
Taxonomy5DMA's categories: lost reasons, services, objections, buyer types
AI workers12The workers, versions, tools, prompts, test runs
Control plane35Rules, approvals, the write gate, escalations, consent, the decision log
Operations19Users, sessions, the AI gateway's call log, sync runs

In the prototype right now

Accounts mirrored
292
Leads mirrored
321
Notes mirrored
612
Current scores
300
Account Digital Twins
292
Database
PostgreSQL 17 with pgvector

In the running POC

localhost:13311/web/company/…
The record in the CRM simulator (standing in for Nutshell).

1 / 3The record in the CRM simulator (standing in for Nutshell).

  1. 1The AI fields, written through the write gate.
  2. 2The activity note.

CRM simulator (stands in for Nutshell) · one company record. Captured from the running POC on September 25, 2026; synthetic data.

See it live

Opens the exact screen in the running POC, in a new tab.

OpenWhereWhat to try
AccountsDMA AI dashboardOpen any account to see its twin.
The CRM simulatorCRM simulator (stands in for Nutshell)The same accounts, as Nutshell holds them.

Status

Built in the POC

Built in the POC. This capability runs in the POC today, on synthetic data, end to end.

A.7 The bridge database: one memory · DMA AI proof