Skip to content
Open Source3 min readGitHub ↗

Akinator and the rule of elimination: it's easier to know what you don't want than what you do

After an exhausting day, writing long prompts is a drag. I built an engine that reads your project context and moves forward by elimination, in two clicks.

Anyone who has coded late into the evening is familiar with that state of cognitive exhaustion where making complex decisions becomes genuinely challenging.

You have spent the entire day resolving incidents, reviewing architecture choices, and managing constant context shifts. When opening your terminal-based AI assistant, the only prompt you have the energy to type is something brief like "what's next?" or "continue".

With traditional AI tools, one of two suboptimal patterns typically occurs: 1. The open-ended interrogation: The model returns a lengthy checklist accompanied by multiple broad questions asking you to write exhaustive specifications. 2. The unguided guess: The model latches onto arbitrary temporary files and begins modifying parts of the codebase that were never the immediate priority.

When fatigue sets in, the last thing an engineer needs is for their tool to demand an essay before offering meaningful assistance.

The principle of progressive elimination

In human psychology and decision-making, there is an enduring rule: it is far easier to state with certainty what you do not want than to articulate from scratch what you do want.

Consider an everyday scenario like deciding on dinner after a taxing day. An open-ended question often leads to decision paralysis. Yet, when framed through structured choices: - Do you want to cook or order in? → Cooking is eliminated. - Are you in the mood for something light or warm and substantial? → Light options are eliminated. - Are you craving comfort food? → The path becomes obvious in moments.

Elimination reduces cognitive load to near zero. I realized our coding assistants should leverage this exact intuition.

That is how Akinator was designed.

How it works: Silent context synthesis and structured triage

Akinator transforms the interaction model through a streamlined four-stage pipeline:

  1. Deep Context Synthesis: Silently examines repository status (git status), recent commits, active diffs, and project trackers (TODO.md, ROADMAP.md).
  2. Strict Noise Filtering: Automatically disregards build caches, temporary logs, and vendor dependencies to prevent hallucinations.
  3. Clean 2-Step Triage Cards: Instead of dense text walls, it presents three distinct, highly readable options: [ 1 ], [ 2 ], [ 3 ].
  4. Direct Autonomous Execution: The user replies with a single number. The assistant immediately transitions into execution without unnecessary conversational overhead.

Design takeaway: The elegance of eliminating friction

In software engineering, we often mistakenly equate tool quality with an abundance of configuration knobs and manual settings.

In mature product design, the reality is frequently the opposite: true sophistication lies in the systematic reduction of unnecessary friction.

When mental bandwidth is constrained, a well-designed assistant should not ask you to overthink. It should read the room, clear away the clutter, and provide actionable paths so you can make progress with a single keypress.

Next noteLearning to build a business from the ground up: reflections from a late-night launch