Architecture · Public Reference · May 2026

How Mercury actually works.

Most AI products generate outputs and forget everything. Mercury was built differently — from a Raspberry Pi SD card up — with persistent memory, continuous observation, and an intelligence loop that compounds with every cycle.

Production · Running continuously
206+ agent cycles · Zero errors
Three live surfaces · One intelligence core
The Market Thesis
Stateless AI is a dead end.

Every AI product you are using today resets after every conversation. It generates outputs — content, analysis, recommendations — and then forgets everything. The next session starts from zero. There is no accumulation. No improvement. No memory of what worked or what did not.

For casual use, that is fine. For businesses that depend on continuous intelligence — that need AI to watch their environment, detect changes, remember what happened, and get smarter over time — it is fundamentally broken.

Mercury was built to solve this. Not by adding a memory feature to an existing AI product. By designing the correct architecture from the beginning — an append-only ledger, a typed adapter interface, a universal scoring formula, and a continuous observation loop — and running it in production until the intelligence compounds into something genuinely defensible.

The architecture is open. The ledger is not. Every cycle accumulates proprietary operational intelligence that cannot be purchased or replicated without time. That is the moat.

01

The Intelligence Loop

Fires every hour · Zero errors
01
Observe
Watches business environment continuously. GSC search data, site signals, market tone, dimensional state.
02
Detect
Identifies typed signals. HIGH_POSITION_LOW_CTR, KEYWORD_GAP, POSITION_DECAY, market anomalies.
03
Prioritize
Scores every signal with the universal formula. SHA-256 deduplication. Only what matters gets surfaced.
04
Generate
Drafts typed actions for high-priority opportunities. Awaits approval. Writes to ledger immediately.
05
Remember
Every event appended to the ledger permanently. No updates. No deletes. Complete operational history.
06
Improve
Outcomes measured against predictions. Scoring formula calibrates. Intelligence compounds with every cycle.
02

Four Architectural Principles

Never violated
Ledger
Append-Only Memory
Every meaningful event creates a new ledger record. Nothing is updated. Nothing is deleted. The ledger only grows — preserving the complete trajectory of every signal detected, every action taken, every outcome measured. This permanent record is what makes longitudinal intelligence possible. Without it, you cannot detect trends, explain recommendations, or train on your own operational history. The constraint costs nothing except the discipline to maintain it. The compound return is the entire intelligence moat.
Adapter
Universal Adapter Interface
Every vertical — SEO, business intelligence, market tone, cosmic signals, Scoriola emotional scoring — implements the same interface. Signal objects in. Opportunity objects out. Action objects in. Outcome objects out. Mercury Core processes them identically regardless of domain. This means every new vertical makes every existing vertical smarter, because all signals flow to the same ledger and the same inference layer can reason across them. The adapter pattern is why Mercury is a platform rather than a collection of products.
Schema
Typed Canonical Schemas
Signal, Opportunity, Recommendation, Action, Outcome, LedgerEvent, LaunchPack. Every domain speaks the same typed language. A GSC signal and a market tone signal and a seismic signal all conform to the same Signal schema. This makes cross-domain queries possible, the system self-documenting, and the accumulated data trainable without a cleaning project. Typed schemas are the shared vocabulary that makes the system reason about itself.
Formula
Universal Scoring Formula
One formula. Every domain. Every opportunity — regardless of whether it came from a GSC signal, a market analysis, a business profile gap, or an emotional score from Scoriola — is ranked by the same mathematics. This makes cross-domain comparison possible, the scoring explainable to any user, and the formula calibratable with outcome data over time. Special cases destroy comparability. One formula preserves it.
03

The Scoring Formula

Applied identically across all verticals
Universal Opportunity Priority Score
priority=impact×confidence×urgency÷effort
All variables scored 0.0 → 1.0 · Result capped at 1.0 · Threshold for action generation: 0.60
Impact
How much does this matter if addressed? Revenue, visibility, retention, reach.
Confidence
How certain is Mercury that this signal is real and the recommendation is correct?
Urgency
How time-sensitive is this? Position decay is urgent. Profile gaps are not.
Effort
How much work does the recommended action require? Dividing by effort surfaces quick wins.
04

Live System State

Production · Real numbers
206+
Agent Cycles
0
Errors 24h
160+
Ledger Events
22
Open Signals
5
Businesses
3
Live Surfaces
05

Three Live Production Surfaces

One intelligence core · One shared ledger
Live
seolionpro.com
SEO Lion Pro
Business SEO intelligence. Connects to Google Search Console and monitors search visibility continuously.
GSC OAuth integration
Keyword opportunity detection
Site health scoring
AI-generated SEO fixes
Business Builder upgrade path
Conference Room plugin
Live
mercuryengineai.com
Mercury Engine AI
The primary Mercury OS. Business Builder generates full intelligence foundations and publishes permanent shareable pages.
Business intelligence generation
Permanent shareable pages
Live constellation hero
Mercury-branded auth
Live intelligence briefings
God Dashboard command center
Live
aifuntoys.com
AI Fun Toys
Cosmic intelligence observatory. Real astronomical calculations, live seismic intelligence, and cultural signal stations.
pyswisseph astronomy engine
USGS seismic globe
Headline Radio station
Mother Earth Mood
Live constellation rendering
Mercury credit economy
06

Data Architecture

PostgreSQL · 30 tables · Typed schemas

Every table serves the intelligence loop. Mercury_ tables are the core operational layer. Conference_ tables are the plugin layer. Core tables handle auth, sites, and integrations.

mercury_ledger_events
mercury_businesses
mercury_opportunities
mercury_actions
mercury_outcomes
mercury_agent_runs
mercury_notifications
mercury_entities
mercury_dimension_events
mercury_dimension_records
mercury_dimension_snapshots
mercury_connector_status
mercury_audit_events
mercury_pattern_registry
mercury_open_channels
mercury_org_members
mercury_organizations
mercury_blueprint_submissions
mercury_business_outputs
mercury_action_outcomes
conference_rooms
conference_registrations
conference_invites
users
sites
integrations
gsc_queries
plugins
invites
audits
07

Connector Health

15 monitors · Real-time status
Headline Radio
pyswisseph
USGS Seismic
Vault Storage
Agent Monitor
Credit System
FastAPI
JWT Auth
Market Scheduler
nginx
PostgreSQL
Redis
Stripe
AI Gateway
GSC Connector

GSC Connector requires a fresh OAuth connection to produce live search signals. AI Gateway queued for verification. All core infrastructure connectors healthy.

08

Ecosystem Roadmap

One loop · Many surfaces
Live
God Dashboard
Real-time command center. System pulse, agent run history, ledger stream, opportunity queue, action approval workflow, connector health.
Live
Business Builder
$99 one-time. 6 parallel AI calls generate positioning, copy, SEO titles, ad copy, GBP profile, and 30-day action plan. Permanent shareable page created automatically.
Live
Conference Room
$9.99 plugin. Host live intelligence briefings with registered Mercury users. Tokenized invite system. Stream URL revealed to registered attendees only.
Live
Credit Economy
Six bundles — Spark 50cr to Command 5000cr. One currency across all surfaces. Credits earned on one surface spent on another. Never expire.
Building
Scoriola
Camera reads the emotional content of visual reality. MIDI controls an always-running audio engine. Music that matches what the camera sees — in real time.
Building
Plugin Factory
Conference Room is the proof of concept. SEO Title Optimizer is next. Every plugin attaches to a specific node on the intelligence loop.
Vision
Mercury Edge
Sovereign local deployment. The ledger stays on premises. The agent loop fires locally. No cloud dependency. Healthcare, legal, financial services, unreleased media.
Vision
Proactive Inference
When the ledger reaches sufficient depth — cross-domain pattern detection. Signals from business, market, cosmic, and creative domains reasoned about simultaneously.
Vision
Scoriola Edge
MIDI output to venue sound systems. Concerts, restaurants, hospitals, and immersive installations — the house audio responds to the emotional state of the room.
09

Technical Stack

Production · Ubuntu 24 · Docker Compose
Backend
FastAPI · Python 3.12
SQLAlchemy ORM
PostgreSQL · Redis
Stripe webhooks
JWT authentication
Frontend
Next.js 16 · React
Tailwind CSS
Client-side intelligence
Real-time dashboard
SVG constellation renderer
Infrastructure
Docker Compose
nginx 1.26 · SSL
Let's Encrypt · 3 domains
Daily automated backup
7-day retention
Intelligence
GPT-4o · GPT-4o-mini
Google Search Console API
pyswisseph astronomy
USGS seismic API
Hourly agent thread
Origin · The Constraint That Made Everything Correct
Started on a Raspberry Pi SD card.
The constraint that forced every architectural decision to be correct from the beginning. Portable ledger. Local-first memory. Edge-compatible intelligence loops. Sovereign operational awareness. These were not design goals. They were the only options available when the only compute was a Pi on a desk. The SD card is the origin artifact. The architecture it produced is the product.
The architecture is open.
The ledger is not.
It has been accumulating since the beginning.
A competitor who starts today starts with an empty ledger.
Ready to see it work for your business?
Mercury generates your complete intelligence foundation in seconds —
then watches your business automatically, every hour.