Home / Engine / Agents and Council Architecture
Updated Jun 11, 2026 · Affirmology_SubconsciousOS_AgenticArchitecture_v1.md
Prepared for Jeff Parker Frame Affirmology is your Subconscious Operating System. Cosmic-blueprint details are your settings. Personalized audios are software updates. Reports are diagnostics. Pilgrim is a major OS upgrade. The community is the support forum. The agentic architecture is the kernel that keeps the whole OS healthy without you having to micromanage it. Goal of this document Define an agent architecture that creates, improves, and quality-checks Affirmology's content suite autonomously while staying accountable to humans and resistant to drift. By June 20 launch the system runs itself overnight and surfaces a morning briefing that's worth reading.
Single-script automation produces consistent output. Agents produce responsive output. The difference matters because:
The orchestrator (v3) already proves the pattern works. v4 generalizes it.
┌──────────────────────────────────────┐
│ TIER 1: CONDUCTOR (meta-agent) │
│ - Schedules domain orchestrators │
│ - Allocates time and cost budgets │
│ - Writes the morning briefing │
└────────────────┬─────────────────────┘
│
┌────────────────────┼─────────────────────┬─────────────────────┐
│ │ │ │
┌────────▼─────────┐ ┌────────▼─────────┐ ┌─────────▼────────┐ ┌─────────▼────────┐
│ TIER 2: CORPUS │ │ TIER 2: AUDIO │ │ TIER 2: PRODUCT │ │ TIER 2: QUALITY │
│ ORCHESTRATOR │ │ ORCHESTRATOR │ │ ORCHESTRATOR │ │ ORCHESTRATOR │
│ (already v3) │ │ (build for v4) │ │ (build for v5) │ │ (build for v6) │
└────────┬─────────┘ └────────┬─────────┘ └─────────┬────────┘ └─────────┬────────┘
│ │ │ │
▼ ▼ ▼ ▼
┌─────────────────────────────────────────────────────────────────────────────────┐
│ TIER 3: SPECIALIZED AGENTS (the working layer) │
│ │
│ Corpus: Scraper, Discovery, Structurer, Re-extractor │
│ Audio: Script-gen specialists (one per format), Voice-synth, Mixer, Audio QC │
│ Product: Assessment, Journey-design, Personalization, Companion-text │
│ Quality: Style-enforcer, Chart-claim verifier, Drift-detector, Cost-monitor │
│ Meta: Researcher, Self-improver, Reporter │
└─────────────────────────────────────────────────────────────────────────────────┘
Communication pattern. Agents communicate through shared database state, not direct function calls. Each agent leaves findings (observations) or proposals (suggested actions) in tables. The Conductor or relevant Domain Orchestrator selects which proposals to execute based on priority + budget + recency. This pattern means new agents can be added without modifying existing ones - they just start writing to the shared tables.
| Agent | Role | Output |
|---|---|---|
| ScraperAgent | Crawls source URLs, deep-blog mode for sites with sitemaps | new documents in document table |
| DiscoveryObserver | Scans recent docs for cited domains | candidate sources in finding |
| DiscoveryStrategist | Proposes adding top-N candidates | proposals |
| DiscoveryActor | Verifies + adds provisional sources | new source rows |
| QualityObserver | Grades corpus 1-10 across 6 dimensions | snapshot row in quality_snapshot |
| MorningReporter | Writes daily report | markdown file |
| Agent | Role | Output |
|---|---|---|
| ScriptSpecialistFleet | One agent per audio format, each with its own system prompt and chart-element retrieval pattern | script.md per render |
| - WalkingMeditationSpecialist | The current Charlotte 6-minute format | script |
| - SankalpaSpecialist | Identity-statement 8-10 minute format | script |
| - GeneKeysJourneySpecialist | 15-20 minute deep dive into one sphere | script |
| - AstrologyWalkthroughSpecialist | "This is my Virgo Sun in the 8th house" affirmation format | script |
| - HumanDesignWalkthroughSpecialist | Type/Profile/Authority/Centers in 10 min | script |
| - BreathworkSpecialist | Paced 5-in / 5-out 12-min sessions | script |
| - EFTTappingSpecialist | Tap-sequence chart-themed script | script |
| - HeartCoherenceJourneySpecialist | 20-30 min, breath-paced, no trademark name | script |
| - CrisisCompanionSpecialist | For users in active breakthrough/grief/transition | script |
| VoiceSynthesizerAgent | Calls ElevenLabs (or Fish Audio when ready) with format-specific settings | voice.mp3 |
| AudioMixerAgent | FFmpeg six-stage chain: de-ess, reverb, sidechain duck, EQ, limiter, loudnorm | final.mp3 |
| AudioQCAgent | Scans mp3 for dropouts, level inconsistencies, LUFS deviation, mid-track silence | QC report |
| CompanionTextAgent | Generates the written PDF report that accompanies each audio | |
| AudioImprovementAgent | Reviews recent renders against ratings, proposes prompt or settings tweaks | proposals |
| Agent | Role | Output |
|---|---|---|
| AssessmentAgent | 5-minute structured conversation that captures user's current state, presenting concerns, life chapter, family context | user_state JSON |
| JourneyDesignAgent | Reads user's chart + assessment, picks which audios from the suite to assign, in what sequence | journey plan |
| PersonalizationAgent | Customizes each script in the journey to the user's specific chart + state | personalized scripts |
| DeliveryAgent | Renders all assigned audios, packages into a delivery (email, dashboard, download bundle) | delivery package |
| CheckInAgent | Sends follow-up text/email at d7/d30/d90 asking how the user is integrating | check-in messages |
| FeedbackIngestionAgent | Captures user ratings, listens, qualitative feedback into structured data | feedback rows |
| Agent | Role | Accountability metric |
|---|---|---|
| StyleEnforcerAgent | Reads every shipped script for: em dashes, second-person violations, Joe-Dispenza trademark, hallucinated chart claims, brand-voice drift | rejected scripts that violated style |
| ChartClaimVerifierAgent | (already exists, formalize here) Every chart claim in script must trace back to chart JSON | rejected scripts with bad claims |
| DriftDetectorAgent | Tracks shipped output across time. If recent scripts differ from baseline by more than threshold, flag | drift events flagged |
| CostMonitorAgent | Tracks LLM spend per agent per day. Flags anomalies | overruns prevented |
| AccuracyAuditorAgent | Periodically re-runs known-chart fixtures through the pipeline to catch regressions | regressions caught |
| Agent | Role | Output |
|---|---|---|
| ResearcherAgent | Reads logs, proposes new sources, new traditions, new use cases to explore | research_proposal table |
| SelfImproverAgent | Reads other agents' performance, proposes prompt or code changes | improvement_proposal table |
| MorningReporterAgent | Synthesizes the night's work into the briefing Jeff and Sol read with coffee | morning_briefing_YYYY-MM-DD.md |
| AnomalyReporterAgent | When something breaks the pattern (unusual cost, source going dark, script style flipping) flags it for human review | alerts |
| PromptCustodianAgent | Maintains the system prompts of all other agents. When a prompt is proposed for change, this agent reviews | prompt_change log |
Concrete example. Sol opens Claude in her shared Project and types:
"Build me a 12-minute audio about navigating my breakthrough with my mother. Use my Cancer Moon and Taurus North Node anchors. Combine astrology with Gene Keys 27.4. Don't use heavy meditation music - go ambient. Companion PDF that names the three phases my mother will go through."
Inside the system:
Total wall-clock time: about 3-4 minutes. Total cost: about $0.80. Sol's effort: one paragraph of typing.
If the system thinks the request is unusual or risky (e.g., a new format we haven't shipped before), the Conductor escalates: "I can build this, but it's a new format - confirm pricing and proceed?" Sol confirms or revises. Human stays in the loop on edge cases.
The biggest risk of an autonomous agent fleet is silent drift - every cycle the system gets 1% more pop-spiritual, 1% less precise, 1% more wordy, until 50 cycles later the product is unrecognizable.
Defenses:
Baseline gold-standard renders. The original Jeff v5 script is the canonical brand voice. Sol's Gemini conversation outputs are the canonical depth target. These are stored as immutable references. The StyleEnforcerAgent compares each shipped script against the baseline embedding distance.
Style rules as code. Em dashes, second-person violations, hallucinated placements, trademarked terms (Joe Dispenza, ThetaHealing if not licensed), brand-voice red-flag phrases - all encoded as deterministic checks, not LLM judgment.
Drift score per agent. Every agent's outputs get embedded. The DriftDetectorAgent compares the rolling 7-day average against the baseline. Drift score > threshold triggers a flag to the human review queue.
Periodic regression testing. Every Monday, the AccuracyAuditorAgent re-runs known fixtures (Jeff v5, Josh Parini, Sol's chart). If any chart claim is wrong, system pauses and alerts.
Human review queue. A small sample (~3% of shipped output) gets pulled for Jeff or Sol to spot-check via the team interface. Their thumbs-up or thumbs-down feeds the SelfImproverAgent.
Prompt custody. No agent can modify another agent's system prompt without going through the PromptCustodianAgent, which logs every change with rationale and rollback capability.
Cost gates. Any agent that exceeds 2x its rolling-average daily cost gets paused and flagged.
Each agent is accountable to one metric and one orchestrator:
| Agent | Accountability metric | Orchestrator |
|---|---|---|
| ScriptSpecialistFleet | User ratings of shipped audios | Audio |
| VoiceSynthesizerAgent | ElevenLabs cost per render, voice settings drift | Audio |
| AudioMixerAgent | QC pass rate, LUFS conformance | Audio |
| AudioQCAgent | Caught issues vs missed issues (audit sample) | Audio |
| ScraperAgent | Pages added per dollar, error rate | Corpus |
| DiscoveryStrategist | % proposed sources that ended up producing useful records | Corpus |
| StructurerAgent | Records created per dollar | Corpus |
| AssessmentAgent | User completion rate, downstream personalization quality | Product |
| JourneyDesignAgent | User satisfaction with assigned content | Product |
| StyleEnforcer | % of caught violations vs missed | Quality |
| DriftDetector | % flags that turned out to be real drift | Quality |
| Self-Improver | % proposed improvements that ship vs get rejected | Meta |
Weekly, the Conductor reviews each agent's metric. Underperformers get paused or their system prompt gets sent to PromptCustodian for review. Persistent underperformers get retired.
This creates real evolutionary pressure: agents that produce value continue; agents that don't get sunset. Jeff and Sol never have to manually decide "is this agent still useful?" - the metrics decide.
Three patterns, simplest first:
Sol opens Cowork on her laptop. The shared ~/affirmology-shared/ folder is mounted via SSHFS from the Mac mini. Sol types into Cowork. Cowork reads her chart from the shared folder, calls the orchestrator's CLI via SSH, gets back files in the shared folder, presents them as computer:// links.
Pros: ships in 2 days. Same tooling pattern Jeff uses today. Cons: requires Cowork on Sol's machine, requires SSH literacy if anything breaks.
Anthropic Team plan with Jeff, Sol, Colin. Shared "Affirmology" Project with pinned documents (charts, system prompts, research docs). Sol opens claude.ai in her browser, opens the Project, types her request. The Project has tool access to the orchestrator's HTTP API (exposed by the Mac mini via Tailscale). Claude calls tools, returns links.
Pros: zero install for Sol. Works from her phone. Native chat experience. Cons: requires Anthropic Team subscription ($25-30/user/mo), requires the HTTP API wrapper on the Mac mini (2-3 days of work), requires Tailscale on Sol's devices.
The demo.affirmology.ai page on Cloudflare exposes a form. The form posts to the Mac mini's HTTP API. The API returns delivery URLs. Sol uses the same page anyone else would.
Pros: same surface customers use. Tests the customer flow. Cons: form is less conversational than Claude chat. Iteration on requests is harder.
My recommendation: Pattern 1 this weekend (gets Sol playing). Pattern 2 by end of next week (when Mac mini is up). Pattern 3 by July 1 (customer-facing demo). All three coexist long-term - different users prefer different surfaces.
Three-week implementation roadmap.
Week of June 11-15 (this week).
- Mac mini setup (you, when HDMI splitter arrives)
- Tier 2 Audio Orchestrator skeleton: AudioOrchestrator, ScriptSpecialistFleet base class, VoiceSynthesizerAgent, AudioMixerAgent, AudioQCAgent. Refactor of current agents/script_generator.py into specialist pattern.
- Tier 4 Quality agents that are easiest: StyleEnforcerAgent (deterministic), ChartClaimVerifierAgent (formalize existing verifier.py).
- Audio mastering upgrades from the production research doc: pedalboard reverb pass on voice, sidechain ducking, loudnorm to -16 LUFS. Ships as a flag on the existing pipeline.
- Sol Pattern 1 interface (SSHFS + Cowork).
Week of June 16-22 (the LLC launch week). - Three audio specialists shipped: SankalpaSpecialist, AstrologyWalkthroughSpecialist, EFTTappingSpecialist. - AssessmentAgent v1 (the 5-min structured conversation, simplest possible version). - JourneyDesignAgent v1. - ResearcherAgent: monitors corpus growth, surfaces new candidate use cases. - DriftDetectorAgent v1 (embedding-distance baseline).
Week of June 23-29. - Anthropic Team plan + Pattern 2 interface for Sol/Colin. - GeneKeysJourneySpecialist, HumanDesignWalkthroughSpecialist, HeartCoherenceJourneySpecialist. - CompanionTextAgent generating PDF workbooks. - CheckInAgent skeleton (manual approval before sending, for now). - MorningReporterAgent upgraded to synthesize all orchestrators, not just corpus.
Week of June 30 - July 6. - Pattern 3 interface wired to demo.affirmology.ai. - All remaining specialists. - Full SelfImproverAgent loop running weekly review. - Cost-budget agents enforcing tier ceilings.
By July 6 the system runs itself overnight, you and Sol get a morning briefing, and Sol can spin up new audio formats by talking to Claude.
While Audio Orchestrator gets built, here are six use cases that need only existing scripts + ElevenLabs + Claude:
These six ship in a week with zero new audio production work. Each becomes a test format the team interface can validate before we commit ElevenLabs spend.
Your push back: $497 is too much without an in-person component. Agreed. The revised tier:
Pilgrim Audio Journey: $297. - Includes: 5-min assessment, 90-min hyper-personalized audio across two listening sessions, companion PDF workbook, 30-day daily check-in audios (each 3-5 min, transit-timed) - Cost to deliver: ~$8 in ElevenLabs and Claude spend - Margin: 97% - Comparable to: written-only Erin Claire Jones Blueprint book ($95) but with 90 min of audio added - Positioning: "Liz Greene's Astro*Intelligence reborn for the AI era"
Inner Circle Cohort with monthly group call: $97/mo. - Includes: all Inner Circle features + monthly 60-min group call with Sol (or eventually hired facilitator) - Cost to deliver: 60 minutes of Sol's time monthly + Zoom - Margin: 95% at 50 members - Positioning: "the community where your Subconscious OS gets upgrades together"
Live Retreat Pilgrimage (future, post-launch): $1,500-3,000. - 3-day in-person retreat, 12-20 attendees, Sol or licensed facilitator - Includes the Pilgrim Audio Journey as a prerequisite - Positioning: "your OS goes from upgrade to total rebuild, in a room with your people"
This way Pilgrim Audio Journey is the automated high-value entry, Inner Circle is the recurring revenue with light human touch, Live Retreat is the high-ticket transformation with full community immersion.
Three decisions and one greenlight.
Once those four answers come in, I work through the Week-of-June-11-15 list autonomously while you and Sol get Mac mini set up and start playing with the Pattern 1 interface.
End of v1. This is the architecture. Push back, revise, or greenlight.