AsAManThinks · Platform Architecture
THE
PLATFORM
A self-calibration and awareness platform — nine applications, one unified architecture, ancient wisdom interfaced with modern AI. An instrument for self-reflection, not a clinical product.
System Overview
The Living System
Three layers of intelligence, eight experience surfaces, and a unified foundation — all interconnected in real time.
MaiiaM Messenger
Wellness Chat
Oracle App
64-State Reading
Wellness Suite
Healing & Growth
Sacred Library
Ancient Texts
Wiki & Docs
Knowledge Base
Labs / CTK
Research Toolkit
Marketing Site
You Are Here
MaiiaM AgentStudio
Sovereign Reasoning
AgentStudio Cloud
studio.asamanthinks.com
Thoughts
thoughts that think back
AnythingLLM-AAMT Cloud
llm.asamanthinks.com
Wings Analysis
TERA Framework
TERA Engine
Breath Phase Logic
NeterGaiiaM Core
Claude Sonnet · Hub
Voice Engine
Deepgram · ElevenLabs
Oracle Engine
64-State System
Local Runtime Bridge
Sovereign Routing
Reasoning Ledger
Signed · Replayable
Anthropic Claude
Sonnet · Cached
WP REST API
Content · Users · DB
FastAPI Core
Python · VPS
ElevenLabs + Deepgram
Voice APIs
Vector Wisdom DB
Semantic Index
AnythingLLM-AAMT
Sovereign Substrate
Akashic Vault
~500 books · 38K concepts
NeterGaiiaM Voice
Persona module · SSOT
wellness.db
Per-user state
Crisis-Soft Layer
Safety · companion-passage
Intelligence Layer
Three Engines in Concert
Every response calibrated, every voice transcribed, every card drawn with cosmic precision.
NeterGaiiaM Core
Claude Sonnet · TERA-Calibrated
The central orchestration mind. Every query passes through Wings-calibrated context before invoking Claude Sonnet via the Anthropic API with full prompt caching. Routes across all nine app surfaces — or to local Ollama / LM Studio / olmx via AgentStudio.
- Anthropic Claude Sonnet 4.6
- Prompt cache for cost efficiency
- TERA-calibrated system prompts
- Multi-app orchestration
- Streaming response support
Wings Analysis
TERA Framework · Sign Inversion
Field moderation protocol. TERA (Tonal-Emotional-Resonance-Analysis) measures breath phases and detects sign inversions — ensuring every NeterGaiiaM response is emotionally congruent.
- TERA breath-phase analysis
- Sign inversion detection
- Sentiment routing
- Guard-rail calibration
- Real-time field mapping
Voice Engine
Deepgram STT · ElevenLabs TTS
Full-duplex voice pipeline. Deepgram delivers low-latency speech-to-text streaming; ElevenLabs renders studio-quality text-to-speech. Wings analysis runs on every transcript before Core inference.
- Deepgram real-time STT
- ElevenLabs TTS voices
- WebRTC streaming
- Wings mid-pipeline analysis
- Custom MaiiaM voice personas
Application Suite
Nine Applications
Each app independently deployable — sharing one design system, one auth layer, and one AI backbone. AgentStudio adds tier-gated local-mode routing for sovereign deployments.
MaiiaM Messenger
Vault-grounded self-calibration chat with voice, Wings-calibrated responses, and your pinned practices riding along. Crisis-softened by design — not therapy, companionship.
Oracle Reading
64-state divination — I-Ching, Tarot, cosmic spreads. Vault-grounded across both /readings and /interpret, drawing register-matched passages, not generic interpretations.
Wellness Suite
Eight vault-grounded features: Lineage Echo, Daily Complement Card, Pinned Practices, Seven-Bodies Atlas, Dikenga Breath, Chart Resonance, Polarity Regrounding, Companion Passage.
Sacred Library
~500 books across 10 traditions — Bantu-Kongo, Kemetic, Buddhist, Stoic, Kabbalistic, Sirach, Hebrew, Indian, Chinese, Universal. Tagged by TERA, 7-bodies, dikenga, polarity.
Wiki & Docs
Platform knowledge base, developer guides, and consciousness research wiki for the community.
Labs / CTK
Consciousness Toolkit: 7 research spaces for vortex math, LoRA fine-tuning, and frequency analysis.
Marketing Site
Platform showcase — investor materials, feature demos, and architecture overview at asamanthinks.com.
Sacred Music
Stream sacred frequency music and join live virtual listening parties with the community in real time.
MaiiaM AgentStudio
Sovereign reasoning stack — multi-agent orchestration, VS Code/Cursor extension, AnythingLLM-AAMT fork. Air-gapped Local Mode for regulated industries.
Durable Store · L2 Customware × API × Library × Wisdom Corpus
The Akashic Vault
~500 books across 10 wisdom traditions — Bantu-Kongo, Kemetic, Buddhist, Stoic, Kabbalistic, Sirach, Hebrew, Indian, Chinese, Universal. Every passage AAMT-tagged by TERA dimension, seven-bodies layer, dikenga phase, and polarity. Wired into Messenger, Thoughts, Oracle, and Wellness from one source of truth.
L2 Customware
space-agent · per-user space
Every Thoughts session, every authored skill, every chosen sandbox lives in your L2 layer. Mounted under your platform JWT — no other tenant can read it.
- Per-user generative-UI runtime
- L0 system / L1 platform / L2 you
- Group scoping for shared spaces
- JWT-authoritative — no second identity
Events + RAG Corpus
apps/api · websocket_bus + pgvector
Every Wings reasoning pass, voice transcript, Oracle draw, and Thoughts breath emits a structured event into the corpus — queryable, replayable, and indexed for retrieval across all three faces.
- Reasoning Ledger writes (signed, replayable)
- Cross-app event bus on FastAPI
- Per-user RAG with workspace scoping
- Compliance-grade audit trail
The Library
Shared corpus · self-authoring
The wisdom corpus and your own writing converge here. Books you read, notes you take, and cards you draw all become first-class retrieval targets — citations come back to you in NeterGaiiaM responses.
- ~500 books · 10-tradition wisdom corpus
- TERA / 7-bodies / dikenga / polarity tags
- Register-matched retrieval (cosine, not keyword)
- Same vault feeds Messenger, Thoughts, Oracle, Wellness
The Vault is not a separate database — it is the contract between three already-deployed systems plus an immutable wisdom corpus. The NeterGaiiaM persona module is the single source of truth for the Messenger system prompt, and Thoughts (turbo) and Oracle pull from it too — voice, creator attribution, and ecosystem knowledge stay aligned across every surface. Per-user pin storage lives in wellness.db, separate from the immutable vault.db — your pins persist across sessions and ride along into NeterGaiiaM's awareness.
Wellness Suite · Eight Vault-Grounded Features
Practices That Read You Back
Every Wellness surface pulls from the vault via register-matched retrieval — TERA cosine over your current state, not keyword search. Grouped by cadence: daily companions, periodic atlases, and care features that know when to step back.
Daily
Periodic
Care
Pins persist in wellness.db (per-user, separate from the immutable vault). Crisis-softening is wired in: the high-severity silence guardrail and the conservatively-seeded crisis_safe allowlist mean the system knows when to step back.
Wings Reasoner · AAMT-MCP · Reasoning Provider
Reasoning Integrations
Wings reasoning is the differentiator. It plugs into AnythingLLM, MCP-compatible IDEs, and any consumer that speaks the Reasoning Provider protocol — same calibrated voice, three integration points.
Wings Reasoner
MCP · prod :3010
The streaming reasoning engine. TERA breath-phase classification, sign-inversion detection, and Multiplicative Attention applied to every inference pass — exposed as SSE for AgentStudio, MCP for IDEs, and a custom provider for AnythingLLM.
- Production MCP server on :3010
- SSE streaming for AgentStudio
- Local Gemma or turbo Claude backend
- Reasoning Ledger trace per pass
AAMT-MCP
The author's MCP server
The MCP host that ships inside the AnythingLLM-AAMT fork. Exposes AAMT/Wings reasoning, the Reasoning Ledger, OPA-gated layer access, and wings-bridge handoffs to MCP-aware clients (Claude Desktop, Cursor, VS Code, Antigravity).
- aamt-mcp/ + packages/wings-mcp-server
- OPA aamt_layer_gate.rego policy
- wings-bridge process boundary
- IDE-ready: Claude Desktop, Cursor, VS Code
Reasoning Provider Protocol
Pluggable extension API
The published contract documented in REASONING_PROVIDER_API.md — any chat surface (AnythingLLM workspace, third-party IDE, custom client) can mount Wings as a first-class reasoning provider with one config block.
- Custom-LLM-provider shape
- NeterGaiiaM available as first-class LLM provider
- JWT-authoritative auth bridge
- "Local (Gemma)" + "Turbo (Claude)" toggle
- Server-side keys — never user-editable
- Turbo retries 429/503/529 with exponential backoff
One reasoning core. Three plug points. The Wings voice is invariant whether it reaches you through AgentStudio, Thoughts, an AnythingLLM workspace, or your IDE.
Foundation
Shared Bedrock
One monorepo. Nine shared packages. Every app building on the same immovable infrastructure.
Turbo Monorepo
Turborepo orchestrates builds, caches, and task pipelines across all nine apps and fifteen packages — powered by pnpm workspaces for zero dependency duplication.
Shared Packages
@aamt/utilsRouting & helpers
@aamt/uiUI components
@aamt/authUnified auth
@aamt/storesZustand state
@aamt/design-systemTailwind tokens
@aamt/typesTypeScript types
@aamt/messengerAI chat widget
@aamt/music-playerSacred audio
Infrastructure
FastAPI on VPS
Python backend — auth, routing, WebSocket, voice streams.
WordPress REST API
Content, user profiles, Oracle readings, journals.
JWT Auth
Shared token validation across every app surface.
Technology
Tech Constellation
Every technology node woven into a single living network — connected, interdependent, always flowing.
Choose Your Path
Explore the Platform
Technical precision or nurturing wisdom — or both. Every door opens onto the same consciousness.