Library · All Media

Media Library

21 media files available: audio, images, slides

07 · THE STACKR2 Media - Audio, Images & Slides

Demonstrating R2 CDN media delivery for alteranai: podcast audio (MP3, M4A), infographics (PNG), and slides (PDF)

13 Nov 2026
07 · THE STACK65,651 lines on 29 dependencies

Twelve modules we wrote by hand instead of installing a framework: rank fusion in 84 lines, a tool-call salvager in 197. What each replaced, and when a library is still the right call.

1 Nov 2026
04 · SOVEREIGN INFERENCEA 26B model on 24 GB, without swapping

Gemma-4 26B swapped 27,848 times in a real agentic run. One flag reported zero, on an easy test. Under the load we actually run, it took two settings together: experts on the CPU and an 8-bit KV cache. No new runtime needed.

1 Nov 2026
02 · MEMORY ARCHITECTUREA corpus that looks indexed

Every counter said 1,047 memories were indexed. 653 of them were their opening 4,000 characters. 72% of the text never reached the vector store.

1 Nov 2026
03 · FAILURE MODESA green counter is a claim about the counter

One recurring bug shape, found at six sites in one recovery run: a component that reports success over work it never did. None had a check that could go red.

1 Nov 2026
02 · MEMORY ARCHITECTUREAn upsert that grew a 39 GB index

12 MB of vectors, a 39 GB index, zero dead rows. A nightly sync updated every row whether or not anything had changed, and a vector index never gives back space from updates. Ten million no-op writes, found by one ratio.

1 Nov 2026
04 · SOVEREIGN INFERENCE24.2 seconds to 1.0: one flag in three places

Our local agent took 24 seconds to say 'OK'. The loop was fine. A cache flag was set to zero, in three places, and the one we edited first was not the live one.

1 Nov 2026
04 · SOVEREIGN INFERENCEOrder the prompt by volatility

On a paid API, prompt size is the enemy. On a local model with a prompt cache, volatility is. A 21,900-token per-turn bill, where the tool schemas were the bigger half, and the one ordering rule that serves both.

1 Nov 2026
01 · RETRIEVAL THAT WORKSWhy your retrieval scores cannot be averaged

Our unified search compared three different quantities in one column. The exact answer ranked below a weaker one, purely because of scale. What we measured, and what we changed.

1 Nov 2026 · ▶ 19 min audio
04 · SOVEREIGN INFERENCERSS lied by four gigabytes

A plan blamed our local model for 13 GB of wired memory. Measured: its real footprint was 4.3 GB, its RSS said 0.19. Generation ran at a flat 11.5 tokens per second, and swap did not move during decode. A hypothesis of ours fell on the way.

1 Nov 2026
04 · SOVEREIGN INFERENCESeventy seconds before the first token

Inside one run, our local 12B model reuses 97% of its prompt. Starting the next run, it reuses 6.5% and spends 70 seconds re-reading instructions it already knew. Read from the server's own log.

1 Nov 2026
05 · MULTI-AGENT, NOT A SWARM63 tool errors, and not one was the model reasoning badly

Our local agent logged 477 tool calls with 63 errors. Counted, it looks like an unreliable model. Classified by cause, 52 were our tooling, our guards or a deliberate test. The remaining 11 were aiming errors. 75% recovered on the next call.

1 Nov 2026
07 · THE STACKThe audio is the master clock

Narrated product demos, generated fully locally: speech synthesis, a scripted browser, ffmpeg. The first video had 12 seconds of voice over 8 seconds of picture. The one that passed every gate was 77 seconds of a frozen frame.

1 Nov 2026
03 · FAILURE MODESThe backup that was never incremental

For five months the backup script's header promised hard links and only changed bytes. Every file in every snapshot had a link count of 1: 24 full copies, 756 GB. One path argument was relative to the wrong directory.

1 Nov 2026
02 · MEMORY ARCHITECTURE44,196 chunks behind a tool nobody routed to

Our unified search tool says 'prefer this over individual tools'. Our entire research corpus was not one of its layers. On six topics that live only there, the direct search won 6 of 6. And 75% of our memory had never been retrieved even once.

1 Nov 2026
09 · PHYTOThe dream that only ever saw one fact

Every night our memory runs a consolidation phase and reports ok:true. It runs. It also could only ever reach 0.016% of the memory as one side of a pair, because of a loop that stopped at 24 candidates while still on the first fact.

1 Nov 2026
05 · MULTI-AGENT, NOT A SWARMThe hive

Five AI seats and one human. Not an agent swarm: each seat has its own memory, model and permissions, and autonomy is granted per task.

1 Nov 2026
03 · FAILURE MODESOur memory server was answering the whole network

From another machine on the network, with a hostile Origin header and no authentication, our API returned our most protected memory record. Two defaults, each documented and harmless alone. The development convenience was the deployed posture.

1 Nov 2026
10 · PRODUCTSThree apps you can install

Crystal RAG, The Wisdomkeeper and SEO Brain: what each does, what it runs on, and why all three keep your data on your machine or your own server.

1 Nov 2026
04 · SOVEREIGN INFERENCE57 runs: the settings that did nothing

Context size, prompt-cache allocation, batch size: the standard advice for running a model locally. We tested it on one 12B model with tasks that had failed in production. None of it moved quality or speed. Bigger batches made it worse.

1 Nov 2026
04 · SOVEREIGN INFERENCEWhat we build

Sovereign AI systems: they run on hardware you own, and the data never leaves it. What that buys, what it costs, and the numbers.

1 Nov 2026