DEV Community

raw dev
raw dev

Posted on Originally published at aiakiv.com on

Why Code and Fiction Belonged in the Same Prototype: The Real Problem Was Keeping Context

AiAkiv Development Journal, Part 4: March 17, 2026

Code and fiction both need the same context kept: what was decided, why, and what came before.

In March 2026, K2G, the prototype that later became AiAkiv, held two things that do not seem to belong together. One connected it to a code editor. The other wrote fiction. I was not trying to add features. I wanted to see whether two very different kinds of work would run into the same problem.

In code, the problem looked like this. The code stays, and the reason it was written that way goes missing. Writing fiction with an AI went the same way. As a story grows, what you settled early starts to fade, for the AI and for me. The sentences are still there, but why they are there gets harder to recall.

Put side by side, the two showed that the problem was not about code and not about fiction. In any long piece of work, the output piles up and the context that produced it scatters. Context here means what was decided, why, and what had happened before. What mattered was not making better output. It was how to keep the context.

So I put both kinds of work into one structure. A decision in code and an event in a story are recorded the same way, as events, together with the relations between them and the time they happened. If context could be kept the same way across different work, this was not a tool for one field. It was an answer to a wider problem. That is why the design summary of March 21 set the goal as a general-purpose knowledge graph.

This is where the development of AiAkiv began. The aim was no longer a tool for code or a tool for fiction. It was a tool that keeps the context you build up while you work with AI.

Looking back, what was settled that month was not a feature. It was a question. Whatever you are making, will the context of the work still be there later? Code and fiction were simply the first two places I asked it.

What is AiAkiv? AiAkiv is a shared memory for AI assistants. It keeps your decisions and the reasons behind them, so Claude, ChatGPT and your teammates can pick up where the last conversation ended. You can learn more at aiakiv.com.

Top comments (0)