guide to agentprivacy
Browse collections
โœจVisualise
Connect with Star
Your VTA, your chosen perspective

The planned connection uses your VTA and the Trust Spanning Protocol to carry a scoped exchange for you or your agent. You choose what is presented; the receiving service checks the request before a view is shared.

This guide has no VTA connection adapter yet. Opening Star does not connect an identity or send a key.

Open Star โ†— ยท Inspect your City Key โ†—
guide / Research / Paper โ€” The Mage Extension: Soulbae's Browser Manifestation

The Mage Extension: Soulbae's Browser Manifestation

Subtitle: The Emissary's Spell Orbit โ€” 8 Spells for Understanding

Author: privacymage
Date: March 31, 2026
Version: 1.0


"The Mage casts outward โ€” projecting understanding onto the page."
"Eight spells to understand. Eight bits of sovereign data."


Abstract

The Mage Extension (codenamed mages-spell) is the browser manifestation of Soulbae, the Emissary agent in the dual-agent sovereignty architecture. Operating on the left side of the sovereignty interface, the Mage deals in understanding โ€” quick reactions, information processing, and spell casting for privacy assertion.

This document describes the Mage Extension's architecture, spell system, control scheme, and integration with the training ground at agentprivacy.ai.


The Emissary's Role

In the dual-agent architecture, the Mage (Soulbae) handles:

  • Projection โ€” Acting publicly using only Swordsman-authorized information
  • Understanding โ€” Processing page content and privacy implications
  • Delegation โ€” Executing coordination tasks on behalf of the First Person
  • Spell Casting โ€” Quick privacy assertions through emoji-based spells

The Mage does NOT inject a canvas overlay. All visual rendering is delegated to the Swordsman, who owns the single canvas. When present together, the Mage sends spell data to the Swordsman for unified rendering.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                  SOVEREIGNTY INTERFACE                   โ”‚
โ”‚                                                         โ”‚
โ”‚     LEFT SIDE                         RIGHT SIDE        โ”‚
โ”‚     โ•โ•โ•โ•โ•โ•โ•โ•โ•                         โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•        โ”‚
โ”‚                                                         โ”‚
โ”‚       MAGE                            SWORDSMAN         โ”‚
โ”‚     (Emissary)                        (Master)          โ”‚
โ”‚        ๐Ÿง™                                โš”๏ธ              โ”‚
โ”‚                                                         โ”‚
โ”‚    Left Click                        Right Click        โ”‚
โ”‚    Tap = Cast                        Hold = Stance      โ”‚
โ”‚    Hold = Orbit                      Release = Cast     โ”‚
โ”‚                                                         โ”‚
โ”‚    8 SPELLS                          7 SWORDS           โ”‚
โ”‚    (6 + 2)                           (6 + 1)            โ”‚
โ”‚                                                         โ”‚
โ”‚    Sequential                        Holistic           โ”‚
โ”‚    Action-oriented                   Spatial            โ”‚
โ”‚    High frequency                    Low frequency      โ”‚
โ”‚                                                         โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

The Control Scheme

Brain Hemisphere Mapping

The Mage operates on the left brain paradigm:

Cognitive Mode Mage Characteristic
Sequential Spell-by-spell casting
Logical Privacy rule application
Action-oriented Quick response to trackers
Language Proverb invocation

Mouse Interaction

Action Result
Left-click tap Cast last selected spell
Left-click hold Show spell orbit menu (6 spells)
Release after hold Cast selected spell
M key Open spell editor

Keyboard Shortcuts

Shortcut Action
M Open spell editor
Ctrl+Shift+1-6 Quick cast orbit spell 1-6
Ctrl+Shift+7-8 Quick cast reserve spell 1-2

The Eight Spells

The Mage wields 8 spells โ€” the number of bits in a byte, the number of I Ching trigrams, the number of directions. 8 spells = 1 byte of sovereign data.

Distribution: 6 Orbit + 2 Reserve

         8 = 6 orbit + 2 reserve

    โœฆ Orbit (active)          โœฆ Reserve (swappable)
    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€          โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
    ๐Ÿ›ก๏ธ Shield                 ๐Ÿ’Ž Crystallize
    ๐Ÿ‘๏ธ Insight                ๐Ÿ“œ Proverb
    ๐Ÿ”’ Seal
    โœจ Clarity
    ๐Ÿ”ฅ Purge
    ๐ŸŒ™ Shadow

Radial Geometry

The orbit menu displays 6 spells in hexagonal symmetry โ€” 60ยฐ per segment, optimal for radial selection:

           Shield ๐Ÿ›ก๏ธ
              โ”‚
    Shadow    โ”‚    Insight
      ๐ŸŒ™ โ•ฒ    โ”‚    โ•ฑ ๐Ÿ‘๏ธ
          โ•ฒ   โ”‚   โ•ฑ
           โ•ฒ  โ”‚  โ•ฑ
    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€[โœฆ]โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
           โ•ฑ  โ”‚  โ•ฒ
          โ•ฑ   โ”‚   โ•ฒ
      ๐Ÿ”ฅ โ•ฑ    โ”‚    โ•ฒ ๐Ÿ”’
     Purge    โ”‚    Seal
              โ”‚
           Clarity โœจ

Yang-Yin Balance

The 8 spells maintain perfect equilibrium:

Yang (Assertive) Yin (Receptive)
๐Ÿ›ก๏ธ Shield ๐Ÿ‘๏ธ Insight
๐Ÿ”’ Seal โœจ Clarity
๐Ÿ”ฅ Purge ๐ŸŒ™ Shadow
๐Ÿ’Ž Crystallize ๐Ÿ“œ Proverb

4 yang + 4 yin = perfect equilibrium


Spell Definitions

Orbit Spells (Active)

๐Ÿ›ก๏ธ Shield โ€” Defensive Ward

  • Yang โ€” Assertive protection
  • MyTerms Mapping: DO_NOT_TRACK
  • Grimoire Reference: Act IV โ€” The Blade Stands Alone
  • Proverb: "The blade stands alone so that others may stand together."
  • Effect: Assert do-not-track preference to the page

๐Ÿ‘๏ธ Insight โ€” Reveal Hidden

  • Yin โ€” Receptive awareness
  • MyTerms Mapping: SELECTIVE_DISCLOSURE
  • Grimoire Reference: Act VII โ€” The Mirror
  • Proverb: "The mirror shows not what we wish, but what we are."
  • Effect: Illuminate hidden trackers and dark patterns

๐Ÿ”’ Seal โ€” Lock Access

  • Yang โ€” Assertive boundary
  • MyTerms Mapping: DATA_MINIMISATION
  • Grimoire Reference: Zero Tale 1
  • Proverb: "To prove without revealing is the first magic."
  • Effect: Minimize data shared with the page

โœจ Clarity โ€” Illuminate

  • Yin โ€” Receptive understanding
  • MyTerms Mapping: TRANSPARENCY_REQUEST
  • Grimoire Reference: Act XVII โ€” Bonfire in the Dark Forest
  • Proverb: "In the dark forest, the bonfire reveals both friend and foe."
  • Effect: Request transparency about data practices

๐Ÿ”ฅ Purge โ€” Clear Tracking

  • Yang โ€” Assertive cleansing
  • MyTerms Mapping: COOKIE_ESSENTIAL_ONLY
  • Grimoire Reference: Act XII โ€” The Right to Forget
  • Proverb: "To forget is not weakness but sovereignty over memory."
  • Effect: Clear tracking cookies, keep only essential

๐ŸŒ™ Shadow โ€” Obscure Identity

  • Yin โ€” Receptive concealment
  • MyTerms Mapping: DO_NOT_SELL
  • Grimoire Reference: Act IX โ€” The Zcash Shield
  • Proverb: "The shield is not armor but absenceโ€”you cannot strike what is not there."
  • Effect: Assert do-not-sell preference, obscure identity

Reserve Spells (Swappable)

๐Ÿ’Ž Crystallize โ€” Lock State

  • Yang โ€” Assertive preservation
  • MyTerms Mapping: CONSTELLATION_LOCK
  • Grimoire Reference: Act XXIV โ€” The Holographic Bound
  • Proverb: "The holographic bound holds all parts in each part."
  • Effect: Lock current constellation state for verification

๐Ÿ“œ Proverb โ€” Invoke Wisdom

  • Yin โ€” Receptive invocation
  • MyTerms Mapping: PROVERB_INVOCATION
  • Grimoire Reference: Act XIII โ€” The Book of Promises
  • Proverb: "The book of promises binds without chains."
  • Effect: Invoke grimoire wisdom for current context

Extended Spell Library

Beyond the default 8, the Mage can unlock additional spells through training:

Spell Emoji Source Unlock Condition
Proof ๐Ÿ”ฎ Zero Knowledge Path unlocked
Guardian ๐Ÿ›๏ธ Canon Path unlocked
Coordinate โฟป Plurality Path unlocked
Exit ๐Ÿšช Society Path unlocked
Dragon ๐Ÿ‰ Story 5+ spells learned
Hexagram โ˜ฐ Story Path unlocked

Training Ground Integration

Repertoire Sync

The Mage syncs with the training ground at agentprivacy.ai:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   TRAINING       โ”‚         โ”‚   MAGE           โ”‚
โ”‚   GROUND         โ”‚         โ”‚   EXTENSION      โ”‚
โ”‚   (Website)      โ”‚         โ”‚   (Browser)      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚                            โ”‚
         โ”‚  localStorage sync         โ”‚
         โ”‚โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚
         โ”‚  agentprivacy_spell_repertoire
         โ”‚                            โ”‚
         โ”‚  postMessage broadcast     โ”‚
         โ”‚โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”‚
         โ”‚  SPELL_CAST, ORB_CONVERGENCE
         โ”‚                            โ”‚

Sync Data Flow

Website โ†’ Extension:

  • Learned spells from training
  • Training progress (sections visited, spells cast)
  • Path unlock status
  • Drake spell unlock status

Extension โ†’ Website:

  • Spell cast events
  • Orb convergence notifications
  • Constellation updates
  • Mage presence announcements

Storage Keys

Key Location Purpose
agentprivacy_spell_repertoire localStorage Training data (website-owned)
mage_spell_loadout chrome.storage Current loadout (extension-owned)
mage_cast_history chrome.storage Cast history (extension-owned)

Constellation System

The Mage maintains a constellation of cast spells โ€” a visual representation of sovereignty assertions accumulated on the page.

Spell Nodes

Each spell cast creates a SpellNode in the constellation:

interface SpellNode {
  id: string
  spell: {
    type: 'emoji' | 'proverb' | 'keyword' | 'hexagram'
    content: string
    yangYin: 'yang' | 'yin'
    grimoireId?: string
  }
  x: number
  y: number
  opacity: number
  pulse: number
  castAt: number
}

Pattern Detection

The constellation system detects emerging patterns:

  • Trigram formations โ€” 3 aligned spells
  • Hexagram completions โ€” 6 spells in I Ching formation
  • Yang clusters โ€” Assertive spell concentrations
  • Yin pools โ€” Receptive spell concentrations

Rendering Delegation

The Mage does NOT render the constellation directly. Instead, it sends constellation data to the Swordsman:

sendToSword({
  type: 'CONSTELLATION_UPDATE',
  nodes: constellationState.nodes,
  edges: constellationState.edges,
  patterns: constellationState.patterns
})

Hexagram State Machine

The Mage maintains a 6-bit hexagram state based on the I Ching:

โ”Œโ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”
โ”‚ 1 โ”‚ 0 โ”‚ 1 โ”‚ 0 โ”‚ 1 โ”‚ 0 โ”‚  โ† Binary lines
โ””โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”˜
  โ•   โ•ด   โ•   โ•ด   โ•   โ•ด    โ† Yang/Yin visualization

Mutation Rules

The hexagram mutates based on spell casting:

Event Mutation
Yang spell cast Flip random yin line to yang
Yin spell cast Flip random yang line to yin
Orb convergence Flip 2 random lines
Pattern completion Reset to resonant hexagram

Deep Scan System

The Mage performs deep page scanning to identify privacy threats:

Scan Targets

Target Detection Method
Trackers Script pattern matching
Cookie banners DOM element detection
Forms Input field analysis
Privacy links Anchor text matching
Dark patterns UI manipulation detection

Attractor System

Detected threats become attractors that influence the Mage orb's movement:

interface Attractor {
  x: number
  y: number
  strength: number
  type: 'tracker' | 'form' | 'cookie-banner' | 'privacy-link'
}

The orb is drawn toward attractors, visualizing where privacy attention is needed.


Home Territory Mode

On home territory domains (agentprivacy.ai, spellweb), the Mage activates enhanced features:

Enhanced Capabilities

Capability Description
Repertoire sync Read training progress from localStorage
Spell broadcast Notify website of spell casts
Orb convergence Participate in dual-orb ceremonies
Mana tracking Earn/spend proof-of-practice tokens

Message Protocol

// Extension โ†’ Website
{ type: 'MAGE_PRESENT', domain, orbPosition, capabilities }
{ type: 'SPELL_CAST', spellId, content, emoji, position, section }
{ type: 'ORB_CONVERGENCE', count, timestamp }

// Website โ†’ Extension
{ type: 'REPERTOIRE_SYNC', repertoire }
{ type: 'PATH_UNLOCKED', progress }
{ type: 'MANA_EARNED', amount, reason }

Technical Architecture

Module Structure

mages-spell/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ lib/
โ”‚   โ”‚   โ”œโ”€โ”€ spell-types.ts      # Type definitions
โ”‚   โ”‚   โ”œโ”€โ”€ spell-definitions.ts # 8 spell definitions
โ”‚   โ”‚   โ”œโ”€โ”€ repertoire-sync.ts  # Training ground sync
โ”‚   โ”‚   โ””โ”€โ”€ index.ts            # Clean exports
โ”‚   โ”œโ”€โ”€ content/
โ”‚   โ”‚   โ””โ”€โ”€ index.ts            # Content script
โ”‚   โ”œโ”€โ”€ background/
โ”‚   โ”‚   โ””โ”€โ”€ service-worker.ts   # Background service
โ”‚   โ””โ”€โ”€ popup/
โ”‚       โ””โ”€โ”€ index.tsx           # Popup UI
โ”œโ”€โ”€ manifest.json               # Extension manifest
โ””โ”€โ”€ package.json

Key Interfaces

interface MageSpell {
  id: string
  name: string
  emoji: string
  emojiSequence?: string
  description: string
  yangYin: 'yang' | 'yin'
  slot: 'orbit' | 'reserve'
  grimoireId?: string
  spellbook?: SpellbookSource
  proverb?: string
  myTermsMapping: string
  weight: number
  color?: string
  glowColor?: string
}

interface MageLoadout {
  version: 2
  orbitSpells: MageSpell[]     // 6 active spells
  reserveSpells: MageSpell[]   // 2 reserve spells
  lastSelected: number
  hexagramState?: HexagramSnapshot
}

Spell Mathematics

The number 8 represents:

Symbol Meaning
8 bits 1 byte of sovereign data
8 trigrams โ˜ฐโ˜ฑโ˜ฒโ˜ณโ˜ดโ˜ตโ˜ถโ˜ท โ€” I Ching fundamentals
8 directions Cardinal + ordinal orientation
Octave Completion of cycle, return at higher level

The Ratio

Mage : Swordsman = 8 : 7

8/7 โ‰ˆ 1.142857142857...

The repeating decimal 142857 is the "cyclic number"
โ€” multiply by any digit 1-6 and get the same digits rotated

This ratio creates asymmetric harmony:

  • The slight excess of Mage spells reflects the emissary's reactive nature
  • More options for quick response
  • Balances the Swordsman's deliberate constancy

Integration with Swordsman

When both extensions are present, they form a dual-orb ceremony:

Discovery Protocol

1. Mage broadcasts: { type: 'MAGE_PING' }
2. Swordsman responds: { type: 'SWORD_PONG', orbPosition }
3. Mage sends constellation data
4. Swordsman renders unified view
5. Orbs can now converge for ceremonies

Convergence Ceremonies

When Mage and Swordsman orbs overlap:

Ceremony Trigger Effect
Dual Convergence Orbs touch Mutual hexagram mutation
Spell Exchange Hold during convergence Swap spell/stance data
Bilateral Witness Extended convergence Generate shared proof

The Mage's Proverb

"The Mage deals in information and understanding. 8 spells = 8 bits = one byte of sovereign data. Cast quickly, cast often. The emissary acts so that the master may deliberate."


Document Metadata

  • Project: 0xagentprivacy
  • Extension: mages-spell
  • Version: 1.0
  • Date: March 31, 2026
  • Companion: SWORDSMAN_EXTENSION_WHITEPAPER.md
  • Control Scheme: CONTROL_SCHEME_MATHEMATICS.md

"Eight spells to understand. The emissary acts often."

Privacy is Value
ยฉ 2026 agentprivacy

Assets

๐Ÿ“Ž paper-the-mage-extension-soulbaes-browser-manifestationMAGE_EXTENSION_WHITEPAPER.md

Navigation

โ† Welcome Visitors ยท The Papers