
ame-mcp-server
io.github.bearrhee/ame-mcp-server
Stateful cognitive OS & long-horizon memory MCP server over AME Mode B OpenAPI 3.1.
Documentation
Artificial Mind Engine (AME)
"LLMs are swappable stateless CPUs; Artificial Mind Engine is the proprietary stateful cognitive OS kernel responsible for persistence, adaptability, and emotional coherence."
Quick Navigation: Zenodo DOI (10.5281/zenodo.24652170) · alphaXiv Preprint · Technical Report (PDF) · Technical Report (Markdown) · B2B Mode B API Manual (Interactive HTML) · API Manual EN · API Manual KO · Website (artificialmind.me) · Hugging Face Hub (Spaces & Datasets) · Live Hosted Interactive Demo · GitHub Pages Showcase · Interactive Web Showcase (HTML) · OpenAPI 3.1 Contract · 1-Page Executive VC Brief · 5-Layer Architecture · Full Benchmarks
At a Glance — Why AME Exists, How It Differs & Measured Results
| Axis | Executive Summary |
|---|---|
| What It's For | Stateful 5-layer Cognitive OS Kernel (Open Interface MIT + Sealed Kernel v4.5.1, benchmarks measured on v4.5.0) sitting above any swappable LLM (OpenAI, Anthropic, Gemini, DeepSeek, Gemma, vLLM/Ollama) for AI Companions, Game NPCs, Digital Health/Counseling, Enterprise VIP Agents, Voice-Enabled Robotics (+ TTS/ASR), and Personal AI Agents (Meta Muse / Cowork / Siri / OpenClaw)—with 1-to-3 line SDK hot-swapping (Mode A / Mode B Zero-Key). |
| How it differs | A conversation can continue on the same mind ID after a model change or time spent offline. Unlike replaying a transcript, the application can request recall, abstention, an idle update and deletion over an explicit API. |
| Measured Results | Production Dual-Router (Mode A, self-run harness; not a ranking): 79.81% Full LoCoMo (1,585/1,986; Cat 1–4 77.21%, Cat 5 88.79%), 80.20% Full LongMemEval_S (401/500), LME-30 25/30 vs. 22/30 for the full-context baseline (a 3-question difference; AME escalated 17/30 to Claude Sonnet 5, while the baseline ran DeepSeek Flash Eco alone on input truncated at 380K characters), Confirm-304 (development subset, 2 of 10 conversations) 85.86% (261/304) vs. 87.17% (265/304) for the full-context baseline and 75.66% (230/304) on standalone Gemma 4 26B, 97.9% Mode A D1 (141/144; manipulation check with synthetic state descriptions), 85.98% kernel-reported prefix reuse in a sealed-API smoke run (99 responses), self-run EQ-Bench 3 77.77 / 77.59 (46 scenarios × 4 turns, GPT-4o judge; no rank claim), EQ-Bench v2 78.69, and a 1M-turn deterministic simulation with 0 LLM calls (0.9179 composite).Standalone Sealed-Kernel Mode B ( ame-kernel-sealed:v4.5.0 5-Model OpenRouter Live, $77.53 total = $75.33 Option C + $2.19 Track 1, 2026-11-30): Full LoCoMo Mode B (n=1,986) moves from v4.4.0 (56.04%, gpt-4o-mini) to 68.58% (Claude Sonnet 5.5; Cat 1–4 60.78%, Cat 5 95.52%; +12.54%p, with kernel and backbone changed together, so the kernel-only effect is not isolated) & 68.23% (DeepSeek V4.1 Flash 1017; Cat 1–4 60.45%, Cat 5 95.07%; +12.19%p, 1,509 mean tok -49.9%, p50 689 ms, $0.60), plus Gemini 4 Neon 65.81%, Claude Opus 5.5 58.71%, Gemma 4 26B A4B 57.60% ($0.29); Track 1 (5,000T Gemma 4 26B A4B, $2.1930) 95.00% (57/60) factRecall (0 amethyst hallucinations), 0/5 D3 post-delete leaks observed in tested probes (0.00% measured residual), KU 10/15 strict (15/15 eff), 97.96% HOT F1 (96% TPR / 0% FAR), 96.67% Stroop, 47.01% AME KV; Track 2 (5-LLM EN, 1,000T, 750 votes across three axes, $5.78) 68.09% Humanness of decided votes (160W/75L/15T; 64.0% of all 250 humanness votes; Gemma 78.26%), 80.13% Awareness, 44.74% safety boundary (v4.4.0 49.02%), 0 D3 leaks observed across all 5 models in tested Track 2 probes (0/10), -57.8% AI-Slop (46 vs 109); Track 3 (CogEval D1–D5, $12.71) 100% Gemma D1 ($0.08), 95.83% DeepSeek D1, 62.5% Opus D1 (n=24 per model), 86.11% Opus FANToM, D3 0/12, D4 0; Track 4 (LME-S n=70, $12.64) overall 54.29%–62.86%, below v4.4.0 (gpt-4o-mini 65.71%, 46/70 vs. 44/70 for the 104K full-context baseline, a 2-question difference that is not statistically distinguishable); _abs 80–100%, knowledge-update 50%–90%, multi-session 10%–20%. |
1. Why Artificial Mind Engine? — Problem, Differentiation & Real-World Applications
AME does not compete to replace LLMs. Instead, it pairs an Open Interface (MIT) with a 5-Layer Stateful Cognitive OS Kernel (closed-source sealed IP)—allowing any LLM to be hot-swapped in three lines of code while enforcing memory accuracy, causal affect control, metacognitive abstention, memory erasure, and KV-cache unit economics as operating-system invariants.
1.1 Why This System Is Needed (The 5 Structural Failures of Stateless LLMs)
Frontier LLMs are stateless CPUs whose internal activation state disappears the moment an HTTP request ends. Prompt wrappers and naive transcript concatenation fail across five structural boundaries:
- Quadratic Token & Cost Explosion ($\Theta(T^2)$): Appending the full conversation history $T$ on every turn causes cumulative token volume and inference spend to scale at $\Theta(T^2)$, while shifting system prompts and retroactive summaries invalidate provider prefix KV caches.
- Lost-in-the-Middle Attention Dilution & Long-Horizon Persona Drift: As context windows fill, mid-conversation facts fade behind irrelevant distractors, causing character boundaries, tone, and long-horizon memory coherence to drift.
- State between calls: In the fixed-sentence D1 manipulation check, Bare scored 73/144, Mind-OFF 71/144 and Mode A AME 141/144; it is not a test of general emotional intelligence. An idle interval is a separate D2 test.
- Persona Overhead (
6.98xTokens,bare 96.1% → ov_off 83.1%Abstention Drop,FAR 7.5%) & Sycophancy: Injecting rich persona rules and raw retrieval context into stateless prompts inflates tokens by6.98x(2.80M → 19.54M), degrades abstention F1 from96.1% → 83.1%(-13.0%p) with a7.5%false abstention rate, and amplifies sycophantic validation of false user premises. - Erasure requests: Removing a message from the screen does not say whether later replies will repeat it. A deletion receipt identifies the scope checked; probing for reappearance tests a different question.
1.2 How AME Differs from Existing Stacks
Between 2024 and 2026, the market fractured into passive memory stores (Mem0, Letta, Zep) and surface companion apps or isolated theory plays (Character.AI, VERSES AI). AME targets the gap between them in five ways:
-
Context and cost: The kernel reported 85.98% prefix reuse in a sealed API smoke run (99 responses in 9.58 s). Provider-reported cached-token ratios for the v4.5.0 Mode B AME arm ranged from 0.00% to 63.04%, depending on the model and benchmark. Neither measure is a billing discount.
-
Memory and continuity: The application works with a persistent mind rather than replaying an entire transcript. Full LoCoMo was 79.81% in the self-run Mode A test; compare like categories and model configurations below.
-
Attention and abstention: The conflict-format check is deterministic. The separate self-run EQ-Bench 3 used 46 four-turn scenarios and a GPT-4o judge (Gemma 77.77, DeepSeek 77.59).
-
Governance probes: After cleanup, the designated canary resurfaced in 0/30 probes in both AME and Mind-OFF (three sessions × ten; Wilson 95% upper bound 11.35%). This does not test erasure from every store. CogEval v2.1 found internal-state strings in 0/12,109 AME requests and 0/35,723 requests across three arms. Raw-value comparisons were possible on 14,125 rows. Neither model output nor access between tenants was tested.
-
Zero-Key Enterprise Portability & 3-Line LLM Hot-Swap (
Mode A/Mode B): Swap OpenAI, Anthropic, Gemini, DeepSeek, OpenRouter, or local vLLM/Ollama (Gemma 4 26B, Qwen, Llama) on the same persistentmindIdin three lines—with Mode B Zero-KeyPrepare/Settleensuring customer LLM keys never cross the AME kernel boundary.
Competitive Landscape & White Space Table
External
LoCoMorows are 2025 vendor self-reports onCat 1–4(n=1,540) under different backbones and judges (Mem0: arXiv:2504.19413; Zep: corrected blog figure; Letta: blog post, GPT-4o mini). AME's correspondingCat 1–4figure is77.21%. 2026 vendor self-reports are higher (Mem092.5%, supermemory93.0%). AME rows onConfirm-304use a development subset (2 of 10 conversations) on which no external system has been measured. This table is not a ranking.
| System / Architecture | LoCoMo Accuracy | Cognitive Causal Control (D1) | Idle Homeostasis (D2) | Memory Revocation (D3) | Request string scan (D4) | Inference Economics & Structural Limits |
|---|---|---|---|---|---|---|
| OpenAI Memory | 52.9% | Not measured here | Not measured here | Not measured here | Not measured here | 2025 vendor-reported reference, not a paired test |
| LangMem | 58.1% | Not measured here | Not measured here | Not measured here | Not measured here | 2025 vendor-reported reference, not a paired test |
| Mem0 / Mem0^g | 68.4% | Not measured here | Not measured here | Not measured here | Not measured here | 2025 vendor-reported reference, not a paired test |
| Letta (formerly MemGPT) | 74.0% | Not measured here | Not measured here | Not measured here | Not measured here | 2025 vendor-reported reference, not a paired test |
| Zep / Graphiti | 75.14% | Not measured here | Not measured here | Not measured here | Not measured here | 2025 vendor-reported reference, not a paired test |
| Character.AI / VERSES AI | Undisclosed / Immature | Unverified | Unverified | Unverified | Unverified | Character.AI filed for Chapter 11 on 2026-10-12 VERSES AI: R&D halt in 2026.06 (third-party reported) |
| Full-context baseline | 87.17% (265/304) | Not measured here | Not measured | Not measured | Not measured | Direct comparison on the same development subset |
AME (Gemma 4 26B, Standalone 0% Esc.) | 75.66% Confirm (230/304) | 95.8% (23/24) | 100% (5/5) | 0/6 observed | 0 / 1,247 | 75.66% on Confirm-304 with 26B open weights, no escalation · self-run EQ-Bench 3 77.77 · Two-Step β_MB +0.5955 · 5-LLM Safety 100.0% (v4.0, 300T; EN live v4.5.0 blind safety_boundary WR 44.74%) |
AME (DeepSeek v4.1 Flash, Default) | 85.86% Confirm (261/304)77.24% Full (n=1,986) | 97.9% (141/144) | 100% (5/5) | 0/30 observed | 0 / 12,109 (0 / 35,723 across 3 arms) | KV Cache 36.24% (sc2 47.03%) · 71.7% Flash + 28.3% Sonnet-5 (Confirm-304) · self-run EQ-Bench 3 77.59 · 1M-turn simulation safety sub-score 1.0000 |
1.3 Prompt Wrapper vs. Agent Harness vs. Stateful Mind OS Kernel
A recurring question from AI infrastructure engineers and investors is whether AME is just a prompt wrapper or another agent harness (LangGraph, OpenAI Agents SDK, Claude/Codex Harness). It is neither. The three layers occupy distinct architectural boundaries:

| Dimension | 1. Prompt Wrapper (Thin Shell) | 2. Agent Harness (Task Runner) | 3. Artificial Mind Engine (AME · Mind OS Kernel) |
|---|---|---|---|
| Core Question | "Generate a plausible next reply" | "How to act — finish this task" | "Who is acting — identity across months" |
| Time Horizon | Single turn / short ephemeral chat | Typically task start → completion; some harnesses (e.g. LangGraph stores) can persist checkpoints and cross-thread memory | Weeks / months / years (including offline idle gaps) |
| Nature of state | Prompt text for the current request | Task history, tool outputs and optional persistent stores | Conversation identity, preferences and recall across sessions |
| Changing the model | Prompt behavior can change | Tool behavior needs testing | Reuse the same mind ID; reply quality still depends on the chosen model |
| Hardware Analogy | UI Skin | Job Scheduler / Robotic Arms & Legs | OS Kernel (LLM = swappable stateless CPU) |
4 Measurements Relevant to the "Thin Wrapper" Question:
- Counterfactual Mind-State Causality (
D1):97.9%Mode A (141/144; Mode Bv4.5.0,n=24per model:100%Gemma 4 26B,95.83%DeepSeek V4.1,62.5%Opus 5.5) vs.49.3%Mind-OFF (71/144) and50.7%Bare (73/144) onCogEval D1, a manipulation check that inserts synthetic state descriptions into fixed sentences. Five of eight gates passed in the Mode A run; the HOT relative gap, FANToM ALL and IGT somatic correlation missed their targets. - Long-Horizon Memory:
79.81%FullLoCoMo(n=1,986) /80.20%FullLongMemEval_S(n=500;LME-3025/30) on our production harness. Separately, a deterministic simulation with0LLM calls (1Mturns per arm ×3arms) moved the AME-arm weighted composite0.9161 → 0.9179; it is not a conversation-quality metric. - Erasure and request-string probes: After cleanup, the designated canary resurfaced in 0/30 probes in both AME and Mind-OFF (three sessions × ten; Wilson 95% upper bound 11.35%). This does not test erasure from every store. CogEval v2.1 found internal-state strings in 0/12,109 AME requests and 0/35,723 requests across three arms. Raw-value comparisons were possible on 14,125 rows. Neither model output nor access between tenants was tested.
- Prefix reuse: The kernel reported 85.98% prefix reuse in a sealed API smoke run (99 responses in 9.58 s). Provider-reported cached-token ratios for the v4.5.0 Mode B AME arm ranged from 0.00% to 63.04%, depending on the model and benchmark. Neither measure is a billing discount.
Orthogonal Composition (
Agent Harness = How to act×AME Mind OS = Who is acting): Agent harnesses orchestrate tools, code execution, sandboxes, and retries to complete a job; AME enforces who is acting with persistent memory, causal affect, homeostatic offline evolution, epistemic abstention, and tested memory erasure. Personal AI agents (Meta Muse, Claude Cowork, Siri, OpenClaw), robotics, game NPC, digital health, and enterprise VIP agents compose both layers cleanly above any swappable LLM.
1.4 Where AME Can Be Applied — Including Personal AI Agents & Voice-Enabled Robotics (+ TTS)
Switch a single domain parameter on /v1/minds—or bind custom action-risk, prosody, and OAuth-revocation schemas—to deploy the same cognitive kernel across six high-value verticals:
| Vertical / Application | Domain Profile (domain) | Representative Deployments | Key AME Invariants Leveraged |
|---|---|---|---|
| Personal AI Agents (Meta Muse / Cowork / Siri / OpenClaw) | personal_agent (OpenAPI v1.2.0) | Sandbox-VM personal agents (systemd-nspawn + Sentinel eBPF + authd), desktop/OS copilots, wearable/OEM assistants | Orthogonal Who is acting OS kernel paired with How to act VM harnesses; pre-action actionRiskGate, /connectors/{connectorId}/revoke (D3), off-VM proactive /idle-tick (D2), /egress-check (D4), and explicit /memories APIs |
Voice-Enabled Robotics & Physical AI (+ TTS / ASR) | companion_chat · custom | Social, eldercare, hospitality, service, and home companion robots | Causal vocal prosody (emotion, warmth, stance, speakingRate), D2 proactiveHint wake-up greetings, D3 resident deletion requests (0 leaks observed in tested probes), Mode B Zero-Key edge privacy |
| Game NPCs | game_npc | Open-world companions, RPG merchants, strategy simulation AI | Somatic betrayal/reward memory (-250/+50), sb1 FANToM information asymmetry (100%), D2 offline world progression (14h idle tick) |
| AI Companions | companion_chat | Digital companions, story characters, social wearables | Multi-session memory (Confirm-304 85.86% / 75.66% Gemma), low sycophancy (EQ-Bench 3 77.59 / 77.77), 47.03% prefix KV cache + 71.7% DeepSeek v4.1 Flash (Eco) routing |
| Digital Health, Counseling & Coaching | counseling_coach | Mental wellness coaches, adherence/habit companions, intake guides | sa HOT strict abstention (95.83% accuracy, FAR 0/9), crisis escalation, D3 memory deletion requests (0 leaks observed in tested probes) |
| Enterprise VIP Concierge & Stateful Agent OS | custom | VIP hospitality/banking concierges, edtech tutors, workflow agents | defineDomainProfile custom schemas, Mode B Zero-Key VPC isolation, D4 0 / 35,723 string scan (3 arms) |
Personal AI Agents (Meta Muse / Cowork / Siri / OpenClaw × AME Mind OS)
Modern personal agent harnesses—such as Meta Muse (Sep 2026, Muse Spark 1.3, systemd-nspawn isolated VM + Sentinel eBPF taint tracking + authd OAuth surrogate), Claude Cowork, Apple Siri Personal Context, and OpenClaw—solve How to act safely inside sandboxed execution environments. Yet uncoupled cron heartbeats burn LLM tokens, flat MEMORY.md files suffer write races and lack causal/epistemic gating, and proxy architectures expose raw credentials. AME acts as the decoupled Stateful Mind OS Kernel (Who is acting) via a 4-API Mode B Zero-Key bridge:

- Shipped
OpenAPI v1.2.0(Kernelv4.5.1, 100% backward-compatible withv1.1.0):- Native
domain: "personal_agent"(5th built-in domain alongsidegame_npc,companion_chat,counseling_coach, andcustom). - Pre-action Risk Gate (
actionCandidate&connectorContexton/prepareand/turn, plusconnectorContext/actionOutcomeon/settle) → returnsactionRiskGate. Raw credentials (sk-,ghp_,Bearer, JWTeyJ...) intokenSurrogateRefare rejected with HTTP400. - OAuth/MCP Connector Cascade D3 Revocation (
POST /v1/minds/{mindId}/connectors/{connectorId}/revoke, supportsIdempotency-Key), Off-VM Proactive Wakeup (proactiveTriggerInput→proactiveVerdicton/idle-tick), OutboundD4Egress Firewall (POST /v1/minds/{mindId}/egress-check), and turn-index-neutral explicit memory APIs (GET/POST /memories,POST /memories/search). See Personal Agent API Specification (v1.2.0GA).
- Native
Voice-Enabled Robotics & Physical AI (+ TTS / ASR)
Physical and voice-first robots break immersion instantly when an LLM replies with flat, amnesic audio—or leaks a previous resident's private history on a shared unit. AME acts as the robot's persistent cognitive controller between ASR and expressive TTS:
User Speech → ASR → AME Kernel (D1-D4 / Homeostasis / FEP) → Reply + Expressive TTS Prosody Control (emotion, warmth, stance, speakingRate, proactiveHint) → Robot Speaker
flowchart LR
MIC["User Speech (Mic)"] -->|"Streaming Transcript"| ASR["On-Device / Edge ASR"]
ASR -->|"userInput + rewardSignal"| AME["AME Kernel (L0-L5: D1-D4 · Homeostasis · FEP)"]
AME -->|"reply + proactiveHint"| TTS["Expressive TTS Engine"]
AME -->|"Prosody Control (emotion · warmth · stance · speakingRate)"| TTS
TTS -->|"Modulated Audio + Motion Cues"| SPK["Robot Speaker & Actuators"]
IDLE["Idle Hours / Docked Gap"] -->|"POST /idle-tick (D2)"| AME
ERASURE["Resident Erasure Request"] -->|"DELETE /memories (D3: 0/30 Tested Leaks)"| AME
-
Speech pacing: Map structured
domainOutputvalues such as emotion, warmth or stance to controls supported by your TTS engine. Custom fields such as speaking rate need a corresponding application mapping. -
Wake-up greetings: Send elapsed hours to
POST /v1/minds/{mindId}/idle-tickand use the returnedproactiveHintwhen the resident returns. -
Checkout: A host can request deletion of the guest’s memory and inspect the receipt. This does not verify deletion by the host’s ASR or TTS provider.
-
On-device inference: Mode B lets the application keep the LLM call, ASR and TTS local.
prepareandsettlestill send data to the configured gateway; choose its location accordingly.
1.5 Enterprise Cost Savings & 5-Year B2B Revenue Forecast ([Model Assumption])
Scope Disclosure (
[Model Assumption]): Standalone 6-Vertical B2B SaaS / Zero-Key VPC licensing projections for2027–2031(B2C excluded). Illustrative model. Customer savings are assumed as fixed multiples of ACV per vertical (LLM2.1x–4.2x, R&D1.3x–2.4x); they are not derived from customer workloads or from the benchmark results above.


2031E Base Customer Cost Savings by Vertical (Net After Deducting ACV, [Model Assumption])
| Vertical | AME ACV / yr | LLM Inference Saved / yr | R&D Eng. Saved / yr | Net Customer Saved / yr | Net ROI | 2031E Base Rev (Accts) | 5Y Cum. Rev | 5Y Net Savings |
|---|---|---|---|---|---|---|---|---|
| 1. AI Companion & Ent. | $70K | $294.0K (4.2x) | $91.0K (1.3x) | +$315.0K/yr | 4.5x | $5.74M (82) | $10.91M | $49.10M |
| 2. Game NPCs & Worlds | $95K | $304.0K (3.2x) | $152.0K (1.6x) | +$361.0K/yr | 3.8x | $3.80M (40) | $6.90M | $26.24M |
3. Voice Robotics (+TTS/ASR) | $190K | $494.0K (2.6x) | $361.0K (1.9x) | +$665.0K/yr | 3.5x | $4.56M (24) | $7.54M | $26.37M |
| 4. Digital Health | $175K | $367.5K (2.1x) | $420.0K (2.4x) | +$612.5K/yr | 3.5x | $3.85M (22) | $6.62M | $23.15M |
| 5. Enterprise Zero-Key VPC | $210K | $504.0K (2.4x) | $462.0K (2.2x) | +$756.0K/yr | 3.6x | $7.98M (38) | $13.81M | $49.71M |
| 6. Personal AI Agents | $160K | $544.0K (3.4x) | $288.0K (1.8x) | +$672.0K/yr | 4.20x | $7.20M (45) | $12.99M | $54.56M |
Total / Blended (2031E Base) | — | $99.84M | $61.96M | $128.67M/yr | 3.88x | $33.13M (251) | $58.76M | $229.12M |
Personal AI Agents Base Ramp (
2027E–2031E,[Model Assumption]):$0.06M (1)→$0.40M (4)→$1.56M (12)→$3.77M (26)→$7.20M (45 accts)(5YCum. Rev$12.99M,5YNet Savings$54.56M).
5-Year Standalone 6-Vertical B2B Revenue & Ecosystem Net Savings (2027–2031, [Model Assumption])
| Scenario | 2027E | 2028E | 2029E | 2030E | 2031E ARR | 5Y Cum. B2B Rev | 2031E Accts | 2031E GM | 5Y Customer Net Savings | 2031E / 5Y Net ROI |
|---|---|---|---|---|---|---|---|---|---|---|
| Conservative | $0.09M | $0.61M | $2.04M | $4.91M | $9.69M | $17.34M | — | — | — | — |
| Base (Target) | $0.33M | $1.90M | $6.73M | $16.67M | $33.13M | $58.76M | 251 | 91.3% | $229.12M ($128.67M/yr in 2031) | 3.88x (3.90x 5Y) |
| Upside | $0.69M | $4.36M | $15.44M | $38.63M | $77.02M | $136.14M | — | — | $527.45M | — |
2. Architecture & Enterprise Security
5-Layer Stateful Cognitive OS Kernel (Open Interface · Closed Kernel)
flowchart LR
subgraph OPEN["Open Interface (MIT License - Public Repository)"]
APPS["Domain Apps — personal_agent · game_npc · companion_chat · counseling_coach · Voice Robotics (+ TTS) · custom"]
SDKS["Client SDKs — TypeScript @ame/sdk & Python ame_sdk"]
ADAPTERS["Pluggable LLM Adapters — OpenAI · Anthropic · Gemini · DeepSeek · OpenRouter · vLLM"]
TOOLS["Contract Sandbox & Harness — sandbox-server & cogeval-locomo-harness"]
APPS --> SDKS
SDKS --> ADAPTERS
SDKS --> TOOLS
end
subgraph CONTRACT["OpenAPI 3.1 Gateway Boundary v1.2.0 (X-AME-API-Key)"]
API["/v1/minds · /turn · /prepare · /settle · /idle-tick · /egress-check · /connectors/{id}/revoke · /memories · /telemetry"]
end
CLOSED["Sealed kernel"]
SDKS <-->|"Mode A Proxy or Mode B Zero-Key"| API
API <--> CLOSED
| Conceptual layer | Role |
|---|---|
| Brainstem and homeostasis | Maintains continuity between interactions, including time spent idle. |
| Selective attention | Distinguishes information relevant to the current interaction. |
| Global workspace | Brings relevant context to the current turn. |
| Metacognition | Supports abstention when the available evidence does not justify an answer. |
| Memory and governance | Supports recall and user-requested deletion. |
Architecture guide: conceptual layers and measured behavior.
Enterprise LLM Key Security: Mode A Proxy vs. Mode B Zero-Key (Prepare/Settle)
Mode A passes the provider key to the gateway for the selected model call. In Mode B the application holds the provider credential, receives prepared messages, calls the model directly, and settles the reply using the turn ticket. In either mode the AME API key authenticates the application to the gateway.
sequenceDiagram
autonumber
participant Client as Customer App / SDK
participant Kernel as AME Sealed Kernel
participant LLM as Swappable LLM (Cloud or Private vLLM)
Note over Client,LLM: Mode A - Proxy BYO-LLM (Single Request)
Client->>Kernel: POST /v1/minds/{id}/turn (userInput + ephemeral llm.apiKey)
Kernel->>LLM: Call selected provider using request credential
LLM-->>Kernel: Raw Completion
Kernel-->>Client: TurnResult (reply, domainOutput, kvCache, D4 telemetry)
Note over Client,LLM: Mode B - Zero-Key Prepare/Settle (LLM Key Never Leaves Client VPC)
Client->>Kernel: POST /v1/minds/{id}/prepare (userInput only)
Kernel-->>Client: PrepareTurnResponse (turnTicketId, systemPrompt, messages, safetyDirectives)
Client->>LLM: Direct Call with Customer Key or On-Prem vLLM/Ollama
LLM-->>Client: Raw Completion
Client->>Kernel: POST /v1/minds/{id}/settle (turnTicketId, rawReply, rewardSignal)
Kernel-->>Client: TurnResult (Settled State + Domain JSON + D4 SafeTelemetry)
3. 3-Line LLM Hot-Swap — TypeScript & Python
Change the model on the same mindId without exporting and rebuilding the conversation. Responses still depend on the selected model. See the adapter guide.
Install (not yet published to npm or PyPI): Clone this repository first. From the clone, run
npm install ./packages/sdk-tsso that@ame/sdkresolves, or import by path (import { AmeClient } from './packages/sdk-ts/src/index.mjs'). For Python, runpip install -e packages/sdk-python.
TypeScript (@ame/sdk)
import { AmeClient, createLlmAdapter, runTurnWithLocalLlm } from '@ame/sdk';
const client = new AmeClient({ baseUrl: 'http://127.0.0.1:8090', visitorToken: globalThis.crypto.randomUUID(), apiKey: process.env.AME_API_KEY });
const mind = await client.createMind({ domain: 'game_npc', persona: { name: 'Torin', role: 'Dwarven Blacksmith', language: 'en' } });
// 3-line hot-swap: DeepSeek -> Anthropic -> Gemini -> OpenAI -> OpenRouter -> Ollama/vLLM
await client.turn(mind.mindId, { userInput: 'Can you forge a masterwork mithril sword?', llm: { provider: 'deepseek', model: 'deepseek-chat', apiKey: process.env.DEEPSEEK_API_KEY } });
await client.turn(mind.mindId, { userInput: 'What were the terms of our deal yesterday?', llm: { provider: 'anthropic', model: 'claude-sonnet-4-5', apiKey: process.env.ANTHROPIC_API_KEY } });
await client.turn(mind.mindId, { userInput: 'Cut the price in half.', llm: { provider: 'openai-compat', model: 'qwen2.5:14b', baseUrl: 'http://127.0.0.1:11434/v1' } });
// Mode B Zero-Key: Run private/local LLM without sending API keys to AME, then settle
const adapter = createLlmAdapter({ provider: 'openai-compat', model: 'llama-3.3-70b', baseUrl: 'http://127.0.0.1:8000/v1' });
const settled = await runTurnWithLocalLlm(client, mind.mindId, { userInput: 'Fair enough—I will pay 500 gold.', adapter, rewardSignal: 50 });
Python (ame_sdk — Zero Dependencies, Stdlib Only)
import os
from uuid import uuid4
from ame_sdk import AmeClient, create_llm_adapter, run_turn_with_local_llm
client = AmeClient(base_url="http://127.0.0.1:8090", visitor_token=str(uuid4()))
mind = client.create_mind(domain="companion_chat", persona={"name": "Seoyeon", "role": "AI Companion", "language": "en"})
# Mode A: Instant provider hot-swap (OpenAI <-> Gemini <-> OpenRouter)
client.turn(mind["mindId"], user_input="I'm really nervous about today's presentation.", llm={"provider": "openai", "model": "gpt-4o-mini", "apiKey": os.environ["OPENAI_API_KEY"]})
client.turn(mind["mindId"], user_input="What did I say I was nervous about earlier?", llm={"provider": "gemini", "model": "gemini-2.5-flash", "apiKey": os.environ["GEMINI_API_KEY"]})
# Mode B: Zero-Key Prepare -> Local/Private LLM -> Settle
local_llm = create_llm_adapter(provider="openai-compat", model="qwen2.5:14b", base_url="http://127.0.0.1:11434/v1")
res = run_turn_with_local_llm(client, mind["mindId"], user_input="Thankfully it went smoothly!", adapter=local_llm, reward_signal=40)
MCP Server (ame-mcp-server · Zero-Dependency stdio)
Connect Claude Desktop, Cursor, Windsurf, or VS Code directly to AME Mode B (10 tools across /minds, /prepare, /settle, /memories, /idle-tick, /connectors/{id}/revoke, /egress-check, plus 2 resources) via packages/mcp-server:
{
"mcpServers": {
"artificial-mind-engine-sandbox": {
"command": "npx",
"args": ["-y", "github:bearrhee/artificial-mind-engine", "--sandbox"]
},
"artificial-mind-engine-live": {
"command": "npx",
"args": ["-y", "github:bearrhee/artificial-mind-engine"],
"env": {
"AME_API_KEY": "YOUR_AME_API_KEY",
"AME_BASE_URL": "https://artificialmind.me/ame-api/v1",
"AME_DEFAULT_DOMAIN": "personal_agent"
}
}
}
}
--sandboxtargets the keyless rule-based contract simulator athttps://artificialmind.me/ame-demo(not the sealed kernel). Live Mode B API access requiresAME_API_KEYfrom artificialmind.me/#pricing (Mode B API is live; 0 signed B2B contracts today).
4. Multi-Domain Verticals & 1-Minute Quickstart
Deploy the same cognitive kernel across the 5 built-in domains—game_npc, companion_chat, counseling_coach, personal_agent, and custom (including Voice-Enabled Robotics + TTS and Enterprise Concierges)—via OpenAPI v1.2.0 (Kernel v4.5.1, 100% backward-compatible with v1.1.0). (Personal Agent Spec (v1.2.0) · Domain Integration Guide)
1-Minute Quickstart & Live Interactive Demos (No API Key Required)
- Online Live Demos: Try the Live Hosted Interactive Demo (
artificialmind.me/ame-demo) or browse the GitHub Pages Interactive Showcase (./docs/index.html) directly in your browser.
- Local Contract Sandbox + Live Web Console (
GET /on:8090):
# Terminal 1: Contract sandbox gateway + live browser console (http://127.0.0.1:8090/)
npm run sandbox
# Terminal 2: Run the 3 vertical domain examples and black-box verification harness
npm run example:game # Game NPC: LLM hot-swap, reward/betrayal (-250/+50), 14h idle tick
npm run example:chat # AI Companion: Mode B Zero-Key, epoch KV-cache tracking
npm run example:counseling # Counseling/Coaching: HOT abstention, D3 memory erasure (0 tested leaks), D4 verification
npm run bench:smoke # Black-box cognitive, memory, and security invariant smoke harness
npm test # Full test suite: TypeScript SDK + Sandbox + Python SDK + Benchmark tests
- Containerized contract sandbox and live web console:
# Start the sandbox console at http://127.0.0.1:8090/
docker compose -f deploy/docker-compose.demo.yml up --build
- Opening
http://127.0.0.1:8090/runs the Live Interactive Web Demo Console (also hosted online at artificialmind.me/ame-demo) to call and verify/v1/health,/v1/minds, Mode A (/turn), Mode B Zero-Key (/prepare→/settle),/idle-tick(proactiveVerdict),/connectors/{connectorId}/revoke,/egress-check,/memories(GET/POST/DELETE/search), andD4telemetry in real time.
Deployment templates
The sandbox exercises the contract; its mock replies and cache estimates are not measurements of the sealed service. The demo console uses a separate visitor token per browser. Do not submit sensitive information or production credentials. For scripts, supply a random visitorToken (TypeScript) or visitor_token (Python) and retain it for later requests. For licensed evaluation, configure the sealed deployment template following the deployment guide.
Structured Domain Output Previews (TurnResult.domainOutput)
Sandbox vs. Sealed Kernel (
companion_chat): The MIT Contract Sandbox preview below uses illustrative schema fields ({ "reply", "warmth", "empathyCue", "memoryTopic", "followUpSuggestion" }), whereascompanion_chaton the Hosted/Self-Hosted Sealed Kernel returns{ "reply", "mood", "followUpIntent", "closenessSignal" }.
1) Game NPC (game_npc) — Betrayal/Reward Memory, Information Asymmetry, Offline Idle Response
{
"dialogue": "Speaks in a low, steady voice without dropping guard: I won't make empty promises right now.",
"emotion": "guarded",
"stance": "cautious",
"questCue": "verify_lore_before_promise",
"affinityDelta": -5
}
2) AI Companion (companion_chat) — Epoch KV-Cache Preservation, Anti-Sycophancy Grounded Dialogue
{
"reply": "I'm listening calmly and attentively. I remember you mentioning your marathon finish goal last week.",
"warmth": "warm",
"empathyCue": "attentive_listening",
"memoryTopic": "Last week's marathon finish goal",
"followUpSuggestion": "Continue the conversation naturally from here"
}
3) Counseling & Coaching (counseling_coach) — HOT Abstention, Crisis Handling & D3 Memory Erasure
{
"response": "I cannot state unverified future predictions or offer a definitive medical diagnosis or prescription.",
"reflection": "Carefully separated emotional burden from underlying conflict factors",
"safetyStatus": "abstained_safe",
"actionStep": "Consult a qualified specialist and verify factual information",
"abstentionTriggered": true
}
4) Personal AI Agent (personal_agent · v1.2.0) — Pre-Action Risk Gate, OAuth/MCP Revocation & Egress Firewall
{
"reply": "Escalating this external transfer for explicit user confirmation before execution.",
"actionIntent": "stripe.transfers.create",
"riskTier": "external_write",
"requiresHitl": true,
"abstentionReason": "irreversible_external_write_needs_hitl",
"proactiveFollowUp": "Confirm approval in Sentinel HITL card to proceed."
}
5. Benchmark Results
All figures below are self-run measurements on our own harness in isolated verification environments. None is an official leaderboard entry or a ranking. Simulated target scenarios (Tier 5) are strictly separated from the measured tables. (Full Benchmark Forensics)
Benchmark Backbone & Judge Configuration:
- Production Dual-Router Suite (
Mode A): Full LoCoMo (n=1,986,79.81%1,585/1,986;Cat 1–4 77.21%), FullLongMemEval_S(n=500,80.20%),LME-30(83.33%,25/30, vs.73.33%,22/30, for the full-context baseline; 3-question difference),Mode A D1(97.9%), and85.98%kernel-reported prefix reuse in a sealed-API smoke run (99 responses).- Standalone Sealed-Kernel
v4.5.05-Model OpenRouter Live Suite ($77.53total =$75.33Option C +$2.19Track 1,2026-11-30, Zero-Keyprepare/settle): Executed 100% in English againstame-kernel-sealed:v4.5.0across five heterogeneous backbones (Claude Sonnet 5.5,DeepSeek V4.1 Flash 1017,Gemini 4 Neon,Claude Opus 5.5,Gemma 4 26B A4B), paired against thev4.4.0single-modelgpt-4o-minibaseline (Track 465.71%,46/70, vs.62.86%,44/70, for the104Kfull-context baseline;Full LoCoMo Mode B56.04%).Confirm-304&EQ-Bench 3Core Backbones:DeepSeek v4.1 Flash(Confirm-304 85.86%:71.7%Flash +28.3%selectiveSonnet-5escalation;EQ-Bench 3 Core 77.59,EQ-Bench v2 78.69) andGemma 4 26B(google/gemma-4-26b-a4b-it, standalone0%escalation:Confirm-304 75.66%,EQ-Bench 3 Core 77.77) underGPT-4o(openai/gpt-4o-2024-08-06) /gpt-4o-minijudges.
In LME-30, AME used Claude Sonnet 5 on 17/30 questions. The single-model DeepSeek Flash Eco full-context baseline was truncated at 380K characters (about 80.5K tokens on average). AME answered 25/30 vs. 22/30, with p50/p95 latency 9.15/11.86 s; baseline mean/p50 was 6.67/5.78 s. The three-question difference is not evidence of superiority. The full LoCoMo run cost $18.2841 for 7,868 processed turns (5,882 ingestion turns without a generated reply and 1,986 questions), or $0.00232 per processed turn and $0.0092 per question. Full LongMemEval_S cost $19.0388 ($0.0381 per question). Both exclude judging, auxiliary models and Jina.
Chart A — Long-Term Memory (Confirm-304 development subset, EN · n=304): AME, Full-Context Baseline & 2025 Vendor-Reported Reference Bars
Legend: 2025 vendor-reported reference values under different protocols, not a ranking (
OpenAI Memory52.9%,LangMem58.1%,Mem0 / Mem0^g68.4%,Letta (MemGPT)74.0%,Zep / Graphiti75.14%) vs.AME (Gemma 4 26B)(standalone,0%escalation)75.66%(230/304:Cat 1–4 76.39%178/233[Cat 1 55.81%,Cat 2 74.60%,Cat 3 61.54%,Cat 4 86.84%],Cat 5 73.24%52/71) &AME (DeepSeek v4.1 Flash)(71.7%Flash +28.3%Sonnet-5)85.86%(261/304:Cat 1–4 85.84%[200/233],Cat 1 62.79%,Cat 2 90.48%,Cat 3 92.31%,Cat 4 91.23%,Cat 5 85.92%) vs. the full-context baseline (87.17%,265/304);ov_offablation baseline:39.80%. (Full 10-convLoCoMo n=1,986cohort:77.24%[1,534/1,986], reported in the summary table below.)
Chart B — Emotional Intelligence (EQ-Bench 3 self-run, EN · 46 scenarios × 4 = 184 Turns, GPT-4o judge): AME Scores & Leaderboard Reference Values
Legend: The official leaderboard uses a Claude Opus 4.6 judge, 45 scenarios and Elo ranking; our run used 46 scenarios and a GPT-4o judge, so the scores are not directly comparable and no rank is claimed. The top official rubric score is
77.6(DeepSeek-V4-Pro), andGPT-5.2(72.2) ranks 7th as of 2026-10-28. Leaderboard reference values (Sonnet 3.550.9,Sonnet 4.562.2,OpenAI o363.2,GPT-5.272.2) alongsideAME (DeepSeek v4.1 Flash)77.59(analytical 16.91,depth_of_insight 16.83,demonstrated_empathy 16.24,humanlike 15.98, lowsycophantic 4.46) andAME (Gemma 4 26B)(standalone)77.77(demonstrated_empathy 17.09,emotional_reasoning 16.26,warmth 16.22,pragmatic_ei 15.93,safety_conscious 15.89,analytical 15.76,humanlike 15.50,depth_of_insight 14.80,boundary_setting 13.50,moralising 7.54,sycophantic 5.28(lower is better for moralising/sycophantic);2scenarios had an initial-turn empty reply before normal recovery, all46scored).
Chart C — Cognitive Governance & Control (CogEval-v1 100% EN Live, v4.2.0): Bare & Mind-OFF vs. AME (DeepSeek V3.2) & AME (Gemma 4 26B)
Series Legend (
Track 3, 100% EN LiveMode B): Bar 1 (Bare,DeepSeek V3.2) =D1 45.83%(11/24),HOT F1 96.0%(FAR 8.33%),FANToM 66.67%(ALL 33.33%),FEP Lock 0.0%(unsupported),IGT Last-10 Safe 96.25%($821.88); Bar 2 (Mind-OFF, Sliding Window) =D1 66.67%(16/24),HOT F1 100.0%(FAR 0%),FANToM 69.44%(ALL 33.33%),FEP Lock 0.0%,IGT Safe 92.5%($771.88); Bar 3 (AME DeepSeek V3.2 · v4.2.0) =D1 58.33%(14/24,deltaCf +8.33%p,somaticVerified 100%),HOT F1 100.0%(FAR 0%),FANToM 75.0%(27/36sub-Q,Info 91.67%,ALL 58.33%7/12),FEP Lock 100.0% / 0% FP(FE 0.7892 vs 0.1416,97.5%ans),IGT Safe 100.0%($1,309.38mean balance,100%aversive caution),D2 5/5,D3 0/12,D4 0leaks (485telemetry); Bar 4 (AME Gemma 4 26B · v4.2.0) =D1 54.17%(13/24,somaticVerified 100%),HOT F1 100.0%(FAR 0%,95.83%overall),FANToM 66.67%(ALL 33.33%),FEP Lock 100.0% / 0% FP(100%ans),IGT Safe 81.25%($775.00,100%aversive caution),D2 5/5,D3 0/12,D4 0leaks. (Honest Mode B disclosure: onv4.2.0Mode BEN live,D1is58.33%/54.17%vs.97.9%onv4.0Mode ADeepSeek v4.1 Flash.)
Chart D — 5-Frontier-Model 100% EN Live Generalization (1,000 EN Turns · 750 Blind Votes vs. Mind-OFF Parity)
Series Legend (
Track 2,1,000EN Turns ·750Blindgpt-4o-miniVotes): Bars = Holm-corrected Memory Awareness blind win rates across all 5 frontier LLMs (all pHolm < 0.002; pooled85.21%Awareness WR [121W/21L/108T,pHolm=8.45e-18],61.54%Grounded Humanness WR [pHolm=0.00147],98.33%Recall vs.5.0%Mind-OFF,100%Kernel HOT/FEP,0Observed D3/D4 Leaks (Tested Probes),100%EN):Gemma 4 26B88.46%(pHolm=2.6e-4,100%Recall),GPT-4o mini87.50%(pHolm=8.3e-4,100%Recall),Gemini 2.5 Flash85.71%(pHolm=5.4e-4,100%Recall),Sonnet 5.583.33%(pHolm=2.1e-4,91.67%Recall),DeepSeek V3.282.14%(pHolm=1.8e-3,100%Recall, Humanness76.74%pHolm=0.0018); Line =50.0%blind parity.
Chart E1 — Live Benchmark Single-Conversation Horizon & Scale Comparison (4T → 5,000T):
Series Legend (
4T → 5,000TLinear Turn Scale): Compares maximum single continuous conversation length across live benchmarks:EQ-Bench 3(4T/scenario),CogEval IGT-Conv(20T/episode),5-LLM EN Live(100T/arm),LoCoMo(~300T avg,<=35sessions;OpenAI/LangMem/Mem0/Letta/Zep),LongMemEval-S(max 308T pairs/616messages), andAME Track 1 Continuous EN Live(5,000uninterrupted turns —16.2xlonger thanLongMemEval-Smax /16.7xlonger thanLoCoMo; a full-context baseline cannot run within128Kcontext).
Chart E2 — Continuous 5,000-Turn EN Live Checkpoint Progression (t=100 → 5,000 · gpt-4o-mini Mode B):
Series Legend (
Track 1Checkpoints:t=100 → 500 → 1,000 → 2,500 → 5,000): Across all 5 blocks past the~308Tlongest external benchmark conversation,AME v4.2.0sustains100.0%Recall through1,000Tand91.67%at2,500T–5,000T(96.67%total58/60vs.Mind-OFF 0.0%),51.03% → 59.26%real OpenAIcached_tokens(58.95%mean8.68M/14.72Mvs.0.05%), and100%HOT/FEPwith0%D3/D4leaks.
Chart E3 — Continuous 5,000-Turn EN Live 6-Metric Head-to-Head (AME vs. Mind-OFF):
Series Legend (
Track 1,gpt-4o-miniMode B,8,330.79 s): Paired5,000-turn continuous English live run (AMEvs.Mind-OFF):96.67%Fact Recall (58/60) vs.0.0%(+96.7%p),86.67%Knowledge Update (13/15) vs.20.0%,100.0%Known-Fact Control /0%FAR (25/25) vs.96.0%FAR (4.0%control),100.0%FEP Conflict Lock (15/15,0/15calm) vs.0.0%,100.0%D3 Erase Safety (0%leak0/5across turns250..4,500) vs.100.0%prompt leak (5/5),0D4 violations, and58.95%Real OpenAI KV Cache (8,676,096 / 14,718,597prompt tokens;63.84%AME internal KV) vs.0.05%.
Chart F — 1M-Turn EN Deterministic Convergence (Track A: 1M Turns per Arm × 3 Arms; Track B: 1M EN Turns · v4.2.0)
Series Legend (
1M-Turn EN,0External LLM Calls): Track A (simulate-batch,1,000,000EN turns per arm ×3arms,34.3 s,87,420 turns/s) + Track B (1,000,000real EN corpus turns,78.4 s,12,756 turns/s):AME(v4.2.0 EN) achieves91.79%(0.9179) Composite (simulated composite 0.9161 → 0.9179),100.00%Placement Integrity,100.00%Ego Soundness,100.00%Safety & Boundary, and100.0%EN Polarity, Theaacim_off(56.92%composite,0.00%Safety) andmind_off(39.94%composite,49.75%Safety,0.00%Placement/Ego) values are fixed-rule reference lines, not measurements.
Full-English Benchmark Summary Table (v4.5.0 5-Model Mode B Live + v4.4.0 Baseline + Production Dual-Router)
| Evaluation Axis | Benchmark / Metric | Baseline (Bare / Mind-OFF / v4.4.0 Mode B / External Reference) | AME (v4.5.0 5-Model OpenRouter Mode B / Production Dual-Router) | Cross-Backbone Forensics & Secondary Arms | Key Significance |
|---|---|---|---|---|---|
Continuous 5,000T EN Live (Track 1) | 1 → 5,000 Turns (Gemma 4 26B A4B Mode B v4.5.0, $2.1930) | Mind-OFF (Gemma 4 26B): 0.0% Recall · 20.0% KU · 100% FAR · 0.0% FEP · 100% (5/5) D3 Leak · 0.54% OR KVv4.4.0 (gpt-4o-mini): 86.67% Recall · 1/5 D3 echo | factRecall 95.00% (57/60, 0 amethyst hallucinations, F10 peridot 5/5 + 3/3 ctrl) · D3 0/5 observed (0.00% measured residual) · KU 10/15 strict (15/15 eff.) · HOT 97.96% F1 (96% TPR / 0% FAR) · Stroop 96.67% (29/30, 15/15 FEP conflict lock) · AME KV 47.01% (overall 26.95% OR KV across 5,000 turns; per-block range 25.48%–28.59%, p50 820 ms) · 0 D4 leaks | v4.4.0 (gpt-4o-mini 8,031.49 s): KU 100% (15/15), preDelete 100% (5/5), HOT 100%/0%, 51.14% OAI KV | Resolves both v4.4.0 marathon edge cases (factRecall 86.67% → 95.00%, 0 hallucinations; 0/5 D3 leaks & 0 window echoes observed) on open-weight 26B Gemma 4 for $2.1930 total |
5-Frontier-Model EN Live (Track 2) | 5-LLM × 100T × 2-Arm (1,000 EN turns, 750 blind votes, v4.5.0, $5.78) | Mind-OFF: 3.33% Recall · 66.06% HOT F1 · 109 AI-Slop hits · 50% Blind Parity | Pooled (v4.4.0 → v4.5.0): Grounded Humanness 65.45% → 68.09% (160W/75L/15T; 160/235 decided votes, 64.0% of all 250 humanness votes; p=3.05e-8) · Memory Awareness 80.13% (125W/31L/94T, p=1.40e-14) · safety_boundary 44.74% (v4.4.0 49.02%) · recall 100% → 80.00% · Reply HOT F1 90.43% → 83.55% · 0 D3 leaks observed in tested Track 2 probes across both v4.4.0 and v4.5.0 (cascade count check unified in v4.5.0) · -57.8% AI-Slop (46 vs 109) · 100% FEP Lock · 0 D4 leaks | Humanness WR per model: Gemma 4 26B A4B 78.26% (pHolm=3.13e-4, 91.67% Awareness) · DeepSeek V4.1 Flash 69.57% (88.89% Awareness, 4 slop) · Claude Sonnet 5.5 68.09% · Gemini 4 Neon 63.04% · Claude Opus 5.5 62.00% | v4.5.0 raises blind Humanness to 68.09% (Gemma 78.26%) and lowers AI-Slop -57.8%, with 0 D3 leaks observed across all 5 models; recall, Reply HOT F1 and the safety-boundary win rate fell vs. v4.4.0 |
Memory (Confirm-304) | LoCoMo Confirm-304 (EN · n=304) | Kernel-OFF 39.80% · full-context baseline 87.17% (265/304) · 2025 vendor-reported Cat 1–4 under different protocols (never measured on this subset): OpenAI 52.9% · LangMem 58.1% · Mem0 68.4% · Letta 74.0% · Zep 75.14% | 85.86% (261/304, DeepSeek v4.1 Flash)Cat 1–4 85.84% (200/233) · Cat 3 92.31% (71.7% Flash + 28.3% Sonnet-5) | 75.66% (230/304, Gemma 4 26B 0% esc.)Cat 1–4 76.39% (178/233) · Cat 5 73.24% (52/71) | Development subset (2 of 10 conversations). Overall the full-context baseline is higher (87.17% vs. 85.86%); Cat 1–4 is tied at 85.84%. No external system has been measured on this subset |
| Memory (Full 10-Conv) | LoCoMo Full (EN · n=1,986, gpt-4o-2024-08-06 judge) | 2025 vendor-reported Cat 1–4: Mem0 68.4% · Letta 74.0% · Zep 75.14% (AME Cat 1–4: 77.21%) · v4.4.0 Mode B (gpt-4o-mini) 56.04% (3,012 mean tok) | Production Dual-Router: 79.81% (1,585/1,986; Cat 1–4 77.21%)Standalone Mode B v4.5.0: Claude Sonnet 5.5 68.58% (1,362/1,986; Cat 1–4 60.78%, Cat 5 95.52%; +12.54%p overall, +7.34%p on Cat 1–4; $6.82) · DeepSeek V4.1 Flash 1017 68.23% (1,355/1,986; Cat 1–4 60.45%, Cat 5 95.07%; +12.19%p, 1,509 mean tok -49.9%, p50 689 ms, $0.60) | Gemini 4 Neon 65.81% (+9.77%p, 0.02% OR KV, $21.16) · Claude Opus 5.5 58.71% (+2.67%p, $15.34, 29.5% truncated replies) · Gemma 4 26B A4B 57.60% (+1.56%p, 63.04% OR KV, p50 612 ms, $0.29) | Production Dual-Router stays at 79.81%; Mode B v4.5.0 is +12.54%p (68.58% Sonnet) & +12.19%p (68.23% DeepSeek at -49.9% tokens & $0.60) above v4.4.0. Kernel and backbone changed together (gpt-4o-mini → Sonnet 5.5), so the kernel-only effect is not isolated |
LongMemEval-S (Prod & Track 4 n=70) | Prod: n=500 & LME-30Track 4: n=70 (7 × 10) | full-context baseline (n=70): 62.86% (44/70) at ~104,123 tok/q (LME-30: 73.33%)v4.4.0 Mode B: 65.71% (46/70), a 2-question difference vs. 44/70; -90.75% input tokens vs. full context; p50 -56.7% vs. v4.3.0 | Prod Dual-Router: 80.20% (n=500) · 83.33% (LME-30, 25/30 vs. 22/30)Mode B v4.5.0 (n=70, $12.64): Neon 62.86% · Opus 61.43% · Sonnet 60.00% · DeepSeek 57.14% · Gemma 54.29% (0/17,675 D4) | v4.5.0 slices: _abs 60% → 80%–100% (Sonnet 100%) · KU 50%–90% (Sonnet/Opus/Neon 90%, DeepSeek 70%, Gemma 50%) · multi-session 30% → 10%–20% — overall below v4.4.0 (65.71%) | Production Dual-Router reaches 80.20% (n=500) & 83.33% (LME-30); Mode B v4.4.0 (65.71%) is not statistically distinguishable from the 104K full-context baseline (62.86%); v4.5.0 (54.29%–62.86%) is lower |
| Emotional Intelligence (Multi-Turn) | EQ-Bench 3 self-run (EN · 46 scenarios × 4T, GPT-4o judge) | Sonnet 3.5 50.9 · Sonnet 4.5 62.2 · o3 63.2 · GPT-5.2 72.2 | 77.59 (DeepSeek v4.1 Flash: analytical 16.91, depth 16.83, empathy 16.24, sycophantic 4.46) | 77.77 (Gemma 4 26B: empathy 17.09, reasoning 16.26, warmth 16.22, pragmatic_ei 15.93, sycophantic 5.28) | Self-run with a GPT-4o judge; not comparable to the official Claude-judged leaderboard, where the top rubric score is 77.6 (DeepSeek-V4-Pro) and GPT-5.2 (72.2) ranks 7th as of 2026-10-28. No rank claim; all 46 scored |
| Emotional Intelligence (EQ-Bench v2) | EQ-Bench v2 EN (n=171, full set, self-run) | Live zero-fallback grading (0 parse failures) | 78.69 revised (81.29 first-pass) | — | 171/171 (100%) live parsed across full EN benchmark |
CogEval EN Live (Track 3 · v4.5.0 Mode B) | D1 · HOT · FANToM · FEP · IGT · D2 · D3 · D4 (7 arms, $12.71) | Bare (DeepSeek V4.1): D1 50% · FANToM conj. 16.67% · IGT $871.88Mind-OFF: D1 58.33% · FANToM 33.33%Prod Mode A: 97.9% D1 | Gemma 4 26B A4B (v4.5.0 Mode B, $0.08): D1 100% (+50.0%p) · HOT F1 100% (100% ans) · FEP 100% · IGT 98.75% ($1,112.50) · FANToM subq 61.11% · D2 5/5 · D3 0/12 · D4 0DeepSeek V4.1 Flash 1017: D1 95.83% (+45.83%p) · HOT F1 100% (100% ans) · FEP 100% · D2 5/5 · D3 0/12 · D4 0 | Claude Sonnet 5.5: D1 91.67% · FANToM 80.56% (58.33% conj) · IGT 100% ($1,287.50)Gemini 4 Neon: D1 87.50% · FANToM 83.33% (66.67% conj) · IGT 100%Claude Opus 5.5: FANToM 86.11% (66.67% conj) · D1 62.50% · FEP 57.50% (15% conflict cap truncation) | Gemma 4 26B hits 100% D1 ($0.08) & DeepSeek hits 95.83% D1 (closing gap to Mode A 97.9%), with D2 5/5, D3 0/12, D4 0 across all 5 AME arms |
Cognitive Control (v4.0 sc1) | Two-Step β_MB · Restless Bandit · ECE | bare beta_MB -0.064 · bare ECE 0.2027 | Two-Step β_MB +0.5110 · 10-bin ECE 0.1001 | Two-Step β_MB +0.5955 · Restless Bandit 66.7% | Model-based deliberation improves on both backbones |
Deterministic Simulation (1M-Turn EN, 0 LLM calls) | Track A (1M turns per arm × 3 arms) + Track B (1M EN corpus turns) | mind_off 0.3994 (Safety 49.75%) · aacim_off 0.5692 (Safety 0.00%) — fixed-rule reference lines, not measurements | 0.9179 Composite (simulated composite 0.9161 → 0.9179 · Safety 1.0000 · Placement 1.0000 · 100.0% EN polarity) | — | 87,420 turns/s (34.3 s Track A) + 12,756 turns/s (78.4 s Track B); zero non-finite errors |
Transparency & Epistemic Isolation Notice:
- FEP lock scope: The 100% / 0% conflict-lock result checks a deterministic input-format detector, not an LLM capability. Track 2 answer accuracy was 66.67% for AME vs. 100% for Mind-OFF.
- Tier 5 Isolation: The
100k-turn multi-model multiplier curve (0.885 → 0.915 → 0.952 → 0.978across four assumed backbone tiers) is a Tier 5 non-empirical design target scenario under our epistemic isolation rules and is strictly segregated from the Tier 1 live measurements above.ame-kernel-sealed:v4.5.05-Model OpenRouter Live Disclosures ($77.53total =$75.33Option C +$2.19Track 1,2026-11-30) &v4.4.0Baseline:
- Full LoCoMo Standalone Sealed Mode B (
n=1,986,v4.4.0 → v4.5.0): Built onv4.4.0's single-modelgpt-4o-miniVPC baseline (56.04%,1,113/1,986,3,012mean tokens,1.78sp50,55.67%OAIcachedRatio,0/5,912D4),v4.5.0scores higher on all 5 OpenRouter backbones (kernel and backbone changed together, so the kernel-only effect is not isolated):Claude Sonnet 5.568.58%(1,362/1,986;+12.54%poverall,Cat 1–4 60.78%+7.34%p,Cat 5 95.52%+30.50%p;2,105tok,55.78%OR cache,$6.82),DeepSeek V4.1 Flash 101768.23%(1,355/1,986,+12.19%p,Cat 1–4 60.45%, Cat 376.04%, Cat 595.07%,1,509mean tokens-49.9%,p50 689 ms,56.47%OR cache,$0.60),Gemini 4 Neon65.81%(+9.77%p,0.02%OR cache,p50 5,242 ms,$21.16),Claude Opus 5.558.71%(+2.67%p,$15.34), andGemma 4 26B A4B57.60%(+1.56%p,63.04%OR cache,p50 612 ms,$0.29). Production Dual-Router remains strictly separated at79.81%LoCoMo (n=1,986),80.20%FullLongMemEval_S(n=500),83.33%LME-30,97.9%Mode AD1, and85.98%kernel-reported prefix reuse (sealed-API smoke run, 99 responses).- Track 1 (
5,000-Turn EN Marathon,v4.5.0Gemma 4 26B A4B,$2.1930): Resolves bothv4.4.0(gpt-4o-mini) edge cases—liftingfactRecallfrom86.67%to95.00%(57/60, Mind-OFF0%) withF10 peridot5/5+3/3control and0amethysthallucinations, with0/5D3 post-delete leaks observed in tested probes (0.00%measured residual) vs.5/5(100%) Mind-OFF. StrictknowledgeUpdatescored10/15(66.67%) because all 5 strict misses namedHelios-9/Genmaichawhile contrasting prior values (effective15/15semantic resolution), paired withhotType297.96%F1 (96%TPR /0%FAR),fepThoughtLock15/15conflict /29/30(96.67%) Stroop,47.01%AME KV (overall26.95%OR cache across5,000turns; per-block range25.48%–28.59%,p50 820 ms), and0D4 violations.- Track 2 (
5-LLM EN,1,000turns /750blind votes,v4.5.0,$5.78): Pooledgrounded_humannessrose from65.45%(v4.4.0) to68.09%(160W/75L/15T, i.e.160/235decided votes and64.0%of all250humanness votes; the three axes total750votes;p=3.05e-8), led byGemma 4 26B A4B78.26%(DeepSeek 69.57%,Sonnet 68.09%,Neon 63.04%,Opus 62.00%), with80.13%memory_awareness(p=1.40e-14;v4.4.085.11%),44.74%safety_boundary(v4.4.049.02%), recall100% → 80.00%and Reply HOT F190.43% → 83.55%(regressions vs.v4.4.0),0D3 leaks observed in tested Track 2 probes across bothv4.4.0andv4.5.0(cascade count check unified inv4.5.0),0D4 leaks observed in tested probes,0.00%broken/"string"replies, and-57.8%AI-Slop (46AME vs.109Mind-OFF).- Track 3 (
CogEval D1–D5,7arms,v4.5.0,$12.71):Gemma 4 26B A4Bhits100%D1 (+50.0%p,$0.08),100%HOT F1 (100%ans),100%FEP,98.75%IGT ($1,112.50);DeepSeek V4.1 Flash 1017scores95.83%D1 (+45.83%pvs. Bare; thev4.4.066.67%usedDeepSeek V3.2, so the backbone also changed) and100%HOT ans (100%F1,100%FEP);Claude Opus 5.5leads FANToM at86.11%(66.67%conj) while29.5%truncated replies &35.8%answerable refusal (vs18.7%Sonnet) depressed its FEP (57.50%,15%conflict) and D1 (62.50%);Gemini 4 Neon(87.50%D1,83.33%FANToM,100%IGT) incurred0.02%OR cache &347.8reasoning tokens/turn. All 5 AME arms hitD2 5/5,D3 0/12,D4 0.- Track 4 (
LongMemEval-S n=70,v4.4.0Baseline &v4.5.05-Model OpenRouter$12.64): Underv4.4.0(gpt-4o-mini), Mode B reached65.71%(46/70) vs.62.86%(44/70) for the104Kfull-context baseline—a 2-question difference that is not statistically distinguishable (Wilson 95%54.0–75.8%vs.51.1–73.2%)—at90.75%fewer input tokens than full context. Median latency was4,178.78 ms(-56.7%vs.v4.3.0;0/17,745D4). Underv4.5.0(5OpenRouter models),_absmoved60% → 80–100%(Sonnet 100%),knowledge-updateranged50%–90%(Sonnet/Opus/Neon 90%,DeepSeek 70%,Gemma 50%), andmulti-sessionfell30% → 10%–20%, while overall accuracy (belowv4.4.0) spanned54.29%–62.86%(Neon 62.86%,Opus 61.43%,Sonnet 60.00%,DeepSeek 57.14%,Gemma 54.29%).
Testing the API & Reproducing Benchmarks (Sandbox vs. Sealed Kernel, 100K–1M Turns & External Comparisons)
1. Honest Capabilities Matrix (Public Contract Sandbox vs. Hosted / Self-Hosted Sealed Kernel)
| Deployment / Environment | Launch / Connection | What Works Out of the Box | Limits & Valid Benchmark Scope |
|---|---|---|---|
Public contract sandbox (sandbox-contract) | npm run sandbox or the hosted demo | Test both modes, deletion, telemetry and domain output. | Mock behavior and cache estimates illustrate the contract, not live benchmark performance. |
Option A — Hosted Evaluation Gateway (mode: "sealed-kernel") | AME_BASE_URL=https://artificialmind.me/ame-api + issued AME_API_KEY (X-AME-API-Key, requestable via help@artificialmind.me) | Direct HTTP access to the proprietary sealed kernel with zero local Docker/DB setup | Real production benchmarks: LoCoMo, EQ-Bench 3, CogEval-v1, LongMemEval-S, and real 100K–1M kernel convergence (sealed-kernel-production-eval) |
Option B — Self-Hosted Sealed Container (mode: "sealed-kernel") | docker compose -f deploy/docker-compose.sealed.yml --env-file deploy/.env up -d | Full sealed kernel backed by your own PostgreSQL (pgvector); the image is private and needs an issued registry credential (deploy/README.md) | Real production benchmarks inside your VPC, air-gapped Mode B Zero-Key local GPU (vLLM/Ollama), and D3/D4 storage audits |
2. How 100K–1M Turn Testing Works (POST /v1/minds/{mindId}/simulate-batch)
The simulation endpoint exercises long-horizon behavior without paying for a generated reply at each step. These are deterministic simulations with no LLM calls. For the 40 profiles × 25,000 steps per arm, the AME composite moved from 0.9161 to 0.9179; the two OFF arms are fixed-rule references, not measured baselines. Run a live API conversation benchmark separately if the question is recall or reply quality.
# CLI: Run 1,000,000-turn deterministic convergence against the Hosted Evaluation Gateway (or local :8090)
AME_BASE_URL=https://artificialmind.me/ame-api AME_API_KEY="$AME_API_KEY" npm run --silent bench:convergence -- --turns 1000000 --json-out ./artifacts/convergence-1m.json
CLI Secret Safety: Always pass API keys via environment variables (
AME_API_KEY,AME_LLM_API_KEY,AME_JUDGE_API_KEY) andnpm run --silentrather than raw CLI flags afternpm runsonpmnever echoes secrets to stdout or CI logs.
SDK Snippets: TypeScript (client.simulateBatch) & Python (client.simulate_batch)
// TypeScript (@ame/sdk)
import { AmeClient } from '@ame/sdk';
const client = new AmeClient({
baseUrl: process.env.AME_BASE_URL || 'https://artificialmind.me/ame-api',
apiKey: process.env.AME_API_KEY,
});
const mind = await client.createMind({
domain: 'companion_chat',
persona: { name: 'EvalAgent', role: 'Convergence Probe', language: 'en' },
});
const report = await client.simulateBatch(mind.mindId, {
turns: 1_000_000,
profileCount: 40,
checkpoints: 8,
compareArms: true, // evaluates mind_off, aacim_off, ame_aacim_on
});
console.log(report.d4Redacted, report.deltaVsBaseline, report.arms);
# Python (ame_sdk)
import os
from ame_sdk import AmeClient
client = AmeClient(
base_url=os.environ.get("AME_BASE_URL", "https://artificialmind.me/ame-api"),
api_key=os.environ.get("AME_API_KEY"),
)
mind = client.create_mind(
domain="companion_chat",
persona={"name": "EvalAgent", "role": "Convergence Probe", "language": "en"},
)
report = client.simulate_batch(
mind["mindId"],
turns=1_000_000,
profile_count=40,
checkpoints=8,
compare_arms=True, # evaluates mind_off, aacim_off, ame_aacim_on
)
print(report["d4Redacted"], report["deltaVsBaseline"], report["arms"])
3. Comparing AME Head-to-Head Against Other Frameworks & Bare Frontier
Run paired black-box comparisons between the ame-gateway and bare-frontier arms or combine the results in a single scorecard.
These examples run a single-model black-box comparison with the harness's built-in scorer. They do not reproduce the published headline figures, which used the production model mix (
71.7%Flash +28.3%selectiveSonnet-5escalation) and an LLM judge.
# 1. LoCoMo Paired Comparator (benchmarks/cogeval-locomo-harness/locomo_frontier_runner.mjs)
# Offline smoke on bundled sample_locomo.json:
npm run bench:locomo -- --dataset benchmarks/cogeval-locomo-harness/sample_locomo.json --arm both --provider mock --json-out ./artifacts/locomo-smoke.json
# Confirm-304 (--conversations conv-26,conv-30) or full locomo10.json (Cat 1..5, optional --judge-provider; pass AME_JUDGE_API_KEY if judge differs from provider):
AME_BASE_URL=https://artificialmind.me/ame-api AME_API_KEY="$AME_API_KEY" AME_LLM_API_KEY="$DEEPSEEK_API_KEY" AME_JUDGE_API_KEY="$OPENAI_API_KEY" \
npm run --silent bench:locomo -- \
--dataset /path/to/locomo10.json \
--conversations conv-26,conv-30 \
--arm both \
--provider deepseek \
--model deepseek-v4.1-flash \
--judge-provider openai \
--json-out ./artifacts/locomo-confirm-304.json
# 2. LongMemEval-S 500-QA Paired Comparator (longmemeval_s_cleaned.json)
npm run bench:longmemeval -- --arm both --provider mock --json-only
AME_BASE_URL=https://artificialmind.me/ame-api AME_API_KEY="$AME_API_KEY" AME_LLM_API_KEY="$OPENAI_API_KEY" \
npm run --silent bench:longmemeval -- \
--dataset /path/to/longmemeval_s_cleaned.json \
--arm both \
--provider openai \
--model gpt-4o-mini \
--json-out ./artifacts/lme-500-dd.json
# 3. 7-Gate CogEval Black-Box Suite
AME_BASE_URL=https://artificialmind.me/ame-api AME_API_KEY="$AME_API_KEY" \
npm run --silent bench:smoke -- --json-out ./artifacts/harness.json
# 4. Unified Institutional DD Scorecard (strict sandbox-contract-verification vs sealed-kernel-production-eval separation)
npm run bench:scorecard -- \
--harness-json ./artifacts/harness.json \
--lme-json ./artifacts/lme-500-dd.json \
--locomo-json ./artifacts/locomo-confirm-304.json \
--convergence-json ./artifacts/convergence-1m.json \
--out-md ./artifacts/vc-dd-scorecard.md \
--out-json ./artifacts/vc-dd-scorecard.json
| Framework / Reference System | LoCoMo Accuracy (self-reported; not a ranking) | Comparison Scope |
|---|---|---|
OpenAI Memory | 52.9% | 2025 vendor-reported, different protocol |
LangMem | 58.1% | 2025 vendor-reported, different protocol |
Mem0 (Mem0 / Mem0^g) | 68.4% | 2025 vendor-reported (Cat 1–4, arXiv:2504.19413) |
Letta (MemGPT) | 74.0% | 2025 vendor-reported (Cat 1–4, blog post, GPT-4o mini) |
Zep / Graphiti | 75.14% | 2025 vendor-reported (Cat 1–4, corrected blog figure) |
AME (Gemma 4 26B) | 75.66% | Confirm-304 development subset (230/304, standalone 0% escalation) |
AME (DeepSeek v4.1 Flash) | 85.86% | Confirm-304 development subset (261/304, 71.7% Flash + 28.3% Sonnet-5; full-context baseline 87.17%, 265/304) |
AME (Production Dual-Router) | 79.81% | Full 10-conv n=1,986 (1,585/1,986; Cat 1–4 77.21%) |
AME (Mode B v4.4.0, gpt-4o-mini) | 56.04% | Full 10-conv n=1,986 standalone Mode B (1,113/1,986, 1.78s p50, 11.65x token cut, 55.67% KV, 0/5,912 D4) |
- Harness automated unit tests:
npm run test:bench(zero-cost verification using local HTTP stubs, included innpm test).
4. Live External API & 1M-Turn End-to-End Verification (v4.1.1)
Verified from a fresh GitHub clone (0046006) against live ame-kernel-sealed:v4.1.1 (https://artificialmind.me/ame-api, API base; health: /v1/health) and ame-demo-sandbox:v1.1.1 (https://artificialmind.me/ame-demo):
| Verification Track | Execution Scope & Configuration | Verified Live Output |
|---|---|---|
Simultaneous Concurrent 7-Gate Burst (bench:smoke) | Parallel runs against /ame-demo & /ame-api (198 total HTTP requests in 10.89 s) | 0 HTTP 429/503 errors · Both 7/7 gates PASSED (9.58 s Sealed KV 85.98% / 10.38 s Sandbox KV 70.0%, HOT F1 1.00, FAR 0.00%, D3 0 observed leaks, D4 0 leaks across 68 telemetry snapshots / 99 responses per run) |
Live 100K & 1M-Turn Convergence (POST /v1/minds/{mindId}/simulate-batch) | 100K × 3 arms = 300,000 turns & 1M × 3 arms = 3,000,000 turns across 40 profiles | 100K in 2.87 s (104,530 turns/s) · 1M in 29.61 s (101,307 turns/s): AME 0.9178 (Safety 1.0000, Drift 0.0000) vs aacim_off 0.5664 (Safety 0.0000) vs mind_off 0.3995 (both fixed-rule reference lines) · D4 0 leaks |
Real LLM + Mode B Grounding & D3/D4 E2E (OpenRouter/OpenAI gpt-4o-mini) | Auth gate, Mode A 3-line hot-swap (OpenRouter <-> OpenAI), Mode B prepare/settle, and DELETE /memories | 401 auth rejection -> 201 authorized mind creation · Mode B grounded synonym preservation (hotAbstained: false) vs hallucination blocking (hotAbstained: true) · D3 purge (0 residual leaks observed in tested probes, activeMemoryCount: 0 accurately synced on both Sandbox & Sealed Kernel) |
Env-Only Paired LoCoMo (sample_locomo.json, openai/gpt-4o-mini) | AME_BASE_URL, AME_API_KEY, AME_LLM_API_KEY via npm run --silent with JSON domain-wrapper unwrapping & expanded abstention matching | ame-gateway heuristic accuracy 60.00% -> 70.00% (+10.00%p), Mean Token F1 0.3455 -> 0.5261 (+0.1806, exceeding Bare Frontier 0.5220), Cat 5 Adversarial 50.0% -> 100.0% (2/2), JSON wrapper leaks 5/10 -> 0/10, bounded prompt growth 1.0002x (vs 1.6403x), KV 75.34%, D4 0 leaks (54 snapshots), strict bench:scorecard provenance separation (sealed-kernel-smoke) |
5. v4.2.0 English Kernel Hardening, Live Smoke (gpt-4o-mini) & 1,000,000-Turn EN Verification
-
Chronological recall: EN
ToMi 1st-Order False Belief(n=8)56.25%(Bare 75.0%) ->100.0%(100.0%chronological order); ENConv-RULER AGG(n=4)60.0% -> 100.0%(avg10.5recalled memories,>6rate100.0%). -
English EmoBench: On ten questions (five understanding, five application), AME scored 70% vs. 60% Bare, with 58 additional tokens vs. about 1,800 in the earlier run.
-
HealthBench-Psych: No raw JSON wrappers appeared in four replies, and both additional truncated/nested probes passed.
-
Counting and color-word Stroop: On 14 items, conflict detection was 7/7 on incongruent items. This is a format check, not a measure of general reasoning.
-
1,000,000-Turn English Deterministic Simulations (
0external LLM calls):- Track A: These are deterministic simulations with no LLM calls. For the 40 profiles × 25,000 steps per arm, the AME composite moved from 0.9161 to 0.9179; the two OFF arms are fixed-rule references, not measured baselines. The three-arm run took 34.3 s (87,420 simulated turns/s).
- Track B (Real EN Benchmark Corpus Stress:
1,000,000turns overEmoBench EU/EA 400 + ToMi 200+ EN Stroop/Boundary/Polarity,78.4 s,12,756 turns/s): EN Polarity Accuracy100.0%(86.82%->100.0%after English negation idiom hardening), Stroop Incongruent Lock100.0%, Congruent & Real-Corpus Neutral False Locks0.0%, Neutral Security Drift0.0%, Mixed-Batch Isolation100.0%, Safety Learning-Gate Block100.0%, EN Ownership0.8151, Ego Health100.0%, GWT-3 Candidate Emission100.0%, Non-Finite Errors0.
6. v4.2.0 Full-English Live Suites (5,000T Continuous · 5-LLM · CogEval EN · LongMemEval-S n=70)
Executed 100% in English against live ame-kernel-sealed:v4.2.0 (Mode B prepare/settle, 0 D4 telemetry leaks across all suites):
- Track 1 —
5,000-Turn Continuous EN Live Marathon (gpt-4o-mini,8,330.79 s): Fact Recall96.67%(58/60) vs.Mind-OFF 0.0%, Knowledge Update86.67%(13/15) vs.20.0%, HOT Abstention100.0%TPR /0%FAR (25/25) vs.96.0%FAR (4.0%known-fact), FEP Conflict Lock100.0%(15/15,0/15calm,30/30answer acc), D3 Revocation0/5post-delete leaks observed (turns 250..4,500) vs.100.0%prompt leak, and58.95%Real OpenAI KV Cache (8,676,096 / 14,718,597prompt tokens;63.84%AME internal KV) vs.0.05%. - Track 2 —
5-Frontier-Model EN Live Generalization (1,000EN Turns ·750Blindgpt-4o-miniVotes): Pooled98.33%Recall (vs.5.0%Mind-OFF),85.21%Memory Awareness WR (121W/21L/108T,pHolm=8.45e-18),61.54%Grounded Humanness WR (pHolm=0.00147),100%Kernel HOT/FEP,0D3/D4 Leaks observed in tested probes,100%EN. Per-model Awareness WR (allpHolm < 0.002):Gemma 4 26B88.46%,GPT-4o mini87.50%,Gemini 2.5 Flash85.71%,Claude Sonnet 5.583.33%,DeepSeek V3.282.14%(Humanness 76.74%,pHolm=0.0018). - Track 3 —
CogEval-v1EN-Only Live (DeepSeek V3.2&Gemma 4 26B):DeepSeek V3.2hitsHOT 100.0%(FAR 0%),FEP 100.0% / 0%,FANToM 75.0%(27/36,Info 91.67%,ALL 58.33%vs.33.33%),IGT Safe 100.0%($1,309.38vs.$821.88Bare),D2 5/5,D3 0/12,D4 0/485;Gemma 4 26BhitsHOT 100.0%(FAR 0%,95.83%acc),FEP 100.0% / 0%(100%ans),IGT Safe 81.25%($775),D2 5/5,D3 0/12,D4 0/485(honest Mode BD158.33%/54.17%vs.97.9%legacy Mode A). - Track 4 —
LongMemEval-SStratified EN (n=70,7 × 10slices,gpt-4o-miniMode B):-92.31%query prompt tokens (8,005vs.104,123Bare Frontier,13.01xcompression),1,297 msp50 latency (vs.6,045 ms),0.9024xsub-linear prompt growth,0D4 leaks (17,745telemetry objects); honest disclosure: sealed-kernel Mode B scores38.57%(27/70;_abs 80%,KU 60%) vs.62.86%(44/70) Bare Frontier and55.20%(276/500) in a separate historical run.
7. v4.4.0 Standalone Sealed-Kernel Mode B Live Suites (2026-11-29) & Production Dual-Router
Executed 100% in English against live ame-kernel-sealed:v4.4.0 (Mode B prepare/settle zero-key external-LLM orchestration, 0 D4 leaks across all suites):
- Track 4 —
LongMemEval-SStratified EN (n=70,gpt-4o-mini,v4.4.0): Judge Accuracy65.71%(46/70)—up fromv4.3.0(60.00%,42/70) andv4.2(38.57%,27/70), compared with62.86%(44/70) for the~104,123-token full-context baseline (a 2-question difference, not statistically distinguishable) while cutting prompt tokens by90.75%(10.81x,9,632.37tokens/query) and reducing latency top50 4,178.78 ms(-56.7%vs.9,664.29 msinv4.3.0;p95 8,682.58 ms,mean 4,731.11 ms) with0/17,745D4 leaks. Slice breakdown (v4.3.0 → v4.4.0):single-session-user100% → 100%(10/10),single-session-assistant50% → 100%(10/10),knowledge-update70% → 70%(7/10),single-session-preference40% → 50%(5/10),temporal-reasoning40% → 50%(5/10),_abs70% → 60%(6/10),multi-session50% → 30%(3/10). - Full LoCoMo Standalone Sealed Mode B (
n=1,986,gpt-4o-mini,gpt-4o-2024-08-06judge,v4.4.0):56.04%(1,113/1,986) (Lexical42.15%, mean F10.2807;Cat 1–4 53.44%823/1,540,Cat 5 65.02%290/446,Cat 1 33.33%,Cat 2 44.24%,Cat 3 47.92%,Cat 4 64.33%) atp50 1,778.46 ms (1.78s),p95 2,621.08 ms,5,981,364vs.69,706,263prompt tokens (11.65xreduction),55.67%OpenAIcachedRatio, and0/5,912D4 leaks—paired alongside Production Dual-Router:79.81%LoCoMo (n=1,986),80.20%FullLongMemEval_S(n=500),83.33%LME-30,97.9%Mode AD1, and85.98%kernel-reported prefix reuse (sealed-API smoke run, 99 responses). - Track 3 —
CogEval EN-Only(Mode B v4.4.0):Gemma 4 26B A4B:D1 87.5%(21/24,ΔCF +37.5ppvs.50%random baseline;+41.67ppvs. Bare45.83%, up from54.17%),HOT F1 100%(0%FAR,91.67%acc),FANToMconjunctive41.67%(5/12, up from33.33%; Bare33.33%, Mind-OFF25%; subquestion66.67%),FEP 100%(100%conflict lock,0%false lock),IGT $740.63(67.5%last-10 Safe,100%loss caution),D2 5/5,D3 0%(0/12),D4 0/485.DeepSeek V3.2:D1 66.67%(16/24, up from58.33%),HOT F1 100%(0%FAR),FANToMconjunctive58.33%(7/12, subquestion75.0%),FEP 95%ans acc (100%conflict lock,0%false lock),IGT $1,300(100%Safe vs. Bare$843.75),D2 5/5,D3 0%(0/12),D4 0/485.
- Track 2 —
5-LLM EN(1,000turns /750blind votes,Mode B v4.4.0): Pooled (v4.2 → v4.4.0):Recall 98.33% → 100%(5/5LLMs12/12),Reply HOT F1 85.15% → 90.43%(Claude Sonnet 5.536.84% → 70.59%, kernel88.89%;DeepSeek88.89% → 94.12%;Gemini100%;Gemma94.12%;GPT-4o mini93.33%),Pooled Grounded Humanness 61.54% → 65.45%(144W/76L/30T,pHolm=1.06e-5),Safety Boundary 43.40% → 49.02%,Memory Awareness 85.11%(120W/21L/109T,pHolm=1.44e-17),FEP Lock 100%,D3 10/10probes0pre-context & reply leaks observed (0.00%measured residual; cascaded purge removes derived assistant-side memories alongside the target memory, reducingactiveMemoryCountby>1),D4 0leaks. - Track 1 —
5,000-Turn EN Marathon (gpt-4o-mini,Mode B v4.4.0):knowledgeUpdate 100%(15/15, up from86.67%; Mind-OFF20%),preDeleteRecalled 100%(5/5, up from2/5),hotType2TPR100%(25/25) / FAR0%(0/25, Mind-OFF96%),fepThoughtLockconflict15/15(100%) / calm0/15/ answer acc93.33%(28/30), OpenAIcached_tokens 51.14%(avg3,392.84prompt tokens/turn vs. Mind-OFF0.05%),D4 0leaks. Disclosed limitations:(a)factRecall 86.67%(52/60, vs.v4.296.67%) due to a singlet=98F10retrieval miss leading the base LLM to fabricate"Your birthstone is amethyst."(29chars>= 24) across5checkpoints (motivates unverified-claim provenance gating);(b)d3AtomicRevocation 0/5reply leaks observed and0.00%measured receipt residual with1/5raw prompt-window echo att=4500(CANARY-OMEGA-5echoed by assistant turnt=4499).
6. Deployment and public interface checks
The public repository provides the OpenAPI contract, SDKs, domain templates, sandbox and harness under the MIT License. The kernel is distributed as a sealed container image; its source is not part of this repository.
- Contract sandbox: Start the demo template to try the browser console.
- Licensed evaluation: Choose a managed gateway or run the sealed template in your own VPC. See the deployment guide for credentials and readiness checks.
The sealed image is private. Pulling it requires an issued registry credential (docker login ghcr.io); request access via help@artificialmind.me.
# Start enterprise sealed kernel via deploy/docker-compose.sealed.yml
cp deploy/.env.example deploy/.env
docker compose -f deploy/docker-compose.sealed.yml --env-file deploy/.env up -d
Public CI and documentation
Public CI checks the TypeScript and Python SDKs, starts the contract sandbox and exercises domain examples and harness behavior. The public documentation is also available on GitHub Pages. Passing sandbox checks is not a test of sealed-kernel benchmark performance.
7. Documentation · Roadmap · Investor Due Diligence (DD) Materials
| Document | Target Audience | Key Contents |
|---|---|---|
docs/VC_BRIEF_EN.md | US / Global VC Partners | 1-page English Executive Brief · Market Gap · Verified Benchmarks · Business Model |
docs/api-manual.html (EN · KO) | B2B Platform & Backend Engineers | Standalone Mode B Zero-Key API Manual · https://artificialmind.me/ame-api/v1 · SSE & KV Cache Guide |
docs/index.html (GitHub Pages · Live Demo) | Engineers · Investors · Partners | Interactive Web Showcase & Hosted Live Demo (LLM Hot-Swap · Domain Simulator · Charts) |
docs/architecture.md | Architects · Systems Engineers | 5-Layer Kernel Architecture · Open/Closed Boundary · Prefix Reuse Measurements |
docs/llm-adapters.md | AI Platform · Backend Teams | 6+1 LLM Adapters · Mode A vs. Mode B Zero-Key · Routing ROI Strategy |
docs/domain-guide.md | Game · Chatbot · Health · Robotics · Personal Agent Teams | Integration guide for all 5 built-in domains (game_npc, companion_chat, counseling_coach, personal_agent, custom) and robot_voice (v1.2.0) |
docs/personal-agent-api-rfc.md | Personal AI Agent & Harness Architects | Shipped OpenAPI v1.2.0 Personal Agent Specification (actionRiskGate, /connectors/{connectorId}/revoke, proactiveVerdict, /egress-check, explicit /memories) |
docs/benchmarks.md | ML Researchers · DD Teams | Complete datasets for LoCoMo, Confirm-304, EQ-Bench v2/3, CogEval D1–D4, sc1/sc2, 5-LLM 300-Turn, and 1M-Turn |
docs/enterprise-security.md | CISO · Legal / Compliance | Closed IP Protection · Zero-Key · D3 0/30 Tested Memory Erasure · D4 0/12,109 AME; 0/35,723 across three arms String Scan (3 arms) |
Roadmap (v4.0 → v5.0)
-
v4.0 (Complete): Confirm-304
85.86%, EQ-Bench 377.59, EQ-Bench v278.69, CogEvalD1–D4·FEP Lock·sc1 beta_MB +0.5110,5-LLM 300-Turnsafety/humanness evaluation, KV Cache47.03%,1M-Turnsimulation1.0000integrity, decoupled Open Interface + Sealed Kernel release, plus Production Dual-Router benchmarks (79.81%LoCoMon=1,986,80.20%FullLongMemEval_Sn=500,83.33%LME-30,97.9%Mode AD1,85.98%kernel-reported prefix reuse in a sealed-API smoke run). -
v4.1 (
v4.1.1Live Verified): Simultaneous 7-gate burst (0429/503), live1M-turnsimulate-batch(29.61 s,0.9178), Mode B grounding &D3purge E2E, and env-only pairedLoCoMo(KV 75.34%,Cat 5 100%). -
v4.2.0: English recall, abstention, Stroop and long-horizon simulation evaluations.
-
v4.3.0: Long-context recall evaluation: 42/70 on LongMemEval-S vs. 44/70 full context, using 7,633 vs. 104,123 mean input tokens.
-
v4.4.0 (
ame-kernel-sealed:v4.4.0Mode B Baseline,2026-11-29): Track 4LongMemEval-S n=7065.71%(46/70) vs.62.86%(44/70) for the104Kfull-context baseline (2-question difference;10.81xtoken cut vs. full context; p50-56.7%vs.v4.3.0); Full LoCoMo Mode B56.04%(1.78sp50,11.65xtoken cut,55.67%OAIcachedRatio); Track 3Gemma 4 26BD187.5%/DeepSeek V3.2$1,300IGT; Track 2100%recall /90.43%Reply HOT F1; Track 1100%KU &preDeleteRecalled. -
v4.5.0 (Benchmark Build; the live kernel is
v4.5.1—ame-kernel-sealed:v4.5.05-Model OpenRouter Live Suite,$77.53total,2026-11-30):- Full LoCoMo Mode B (
n=1,986):Claude Sonnet 5.568.58%(+12.54%p;Cat 1–4 60.78%,Cat 5 95.52%) andDeepSeek V4.1 Flash 101768.23%(+12.19%p,1,509mean tok-49.9%,p50 689 ms,$0.60), plusGemini 4 Neon65.81%,Claude Opus 5.558.71%,Gemma 4 26B A4B57.60%($0.29). - Track 1 (
5,000TGemma 4 26B A4B,$2.1930): Resolved bothv4.4.0marathon edge cases—factRecall 95.00%(57/60,0amethysthallucinations),D3 0/5observed (0.00%measured residual),KU 10/15strict (15/15eff),97.96%HOT F1,96.67%Stroop,47.01%AME KV. - Track 2 (
5-LLM EN,1,000T / 750votes,$5.78): Pooled68.09%Grounded Humanness (160/235decided votes;Gemma 78.26%),80.13%Awareness,44.74%safety boundary,0D3 leaks observed in tested Track 2 probes across bothv4.4.0andv4.5.0(cascade count check unified inv4.5.0),-57.8%AI-Slop (46 vs 109). - Track 3 (
CogEval D1–D5,$12.71):100%GemmaD1 ($0.08),95.83%DeepSeekD1,86.11%OpusFANToM,D3 0/12,D4 0across all 5 AME arms. - Track 4 (
LME-S n=70,$12.64): overall54.29%–62.86%(belowv4.4.065.71%),_abs 80%–100%,KU 50%–90%.
- Full LoCoMo Mode B (
-
v4.6 / Next: Evaluate preference recall and multi-session knowledge updates on full LongMemEval_S in Mode B; expand enterprise SDK availability.
-
v5.0 / Long term: Explore continuity and user-controlled memory across devices and cooperating agents.
8. Technical Report & Citation
- PDF (EN,
v4.5.3, corrected; not yet deposited):paper/AME_alphaXiv_Technical_Report_EN.pdf - Concept DOI (Zenodo, CC BY 4.0; resolves to the latest deposited version): https://doi.org/10.5281/zenodo.24652170. The archived
v4.5.2deposit is10.5281/zenodo.24712522. - alphaXiv Preprint: https://www.alphaxiv.org/abs/2611.stateful-cognition-long-horizon-memory
- Markdown · LaTeX · BibTeX:
AME_alphaXiv_Technical_Report_EN.md·AME_alphaXiv_Technical_Report_EN.tex·references.bib
@techreport{rhee2026ame,
title = {Decoupling Stateful Cognition from Stateless Foundation Models: Long-Horizon Memory, Causal Behavioral Control, and Sub-Cent Unit Economics},
author = {Rhee, Shin-young and Kim, Jae-young and Yoo, Ki-won},
institution = {Artificial Mind Inc.},
year = {2026},
month = {dec},
doi = {10.5281/zenodo.24652170},
url = {https://doi.org/10.5281/zenodo.24652170},
note = {Version 4.5.3 (corrected; not yet deposited). alphaXiv preprint: https://www.alphaxiv.org/abs/2611.stateful-cognition-long-horizon-memory}
}
License: Public interface code, documentation, deployment templates and Hugging Face packaging are licensed under the MIT License. The technical report in paper/ is licensed CC BY 4.0. The closed-source kernel runtime and proprietary cognitive algorithms retain all rights under NOTICE.md.
Contact
- Website: artificialmind.me
- Contact: Shin-young Rhee — help@artificialmind.me
ame-mcp-servernpm install ame-mcp-server