AIKISS

The KISS principle, reimagined for the LLM era

AIKISS: A software architecture pattern by Milan Kazarka — MIT License

Introduction

AIKISS is an architecture pattern that structures your software into small, self-contained units so that any LLM can understand, generate, and maintain your system reliably.

Why This Matters

AIKISS is built on a simple observation:
LLMs struggle with large, interdependent codebases but excel with small, isolated components.
Humans, interestingly, are the same. Developers think more clearly, collaborate more easily, and maintain systems more reliably when those systems are composed of small, self-contained parts.

To leverage this shared strength, AIKISS breaks a system into units:

• each unit is a tiny program or service
• each has a clear, predictable input and output
• each contains a metadata header describing its purpose, mode, and interface
• each can be understood by both an LLM and a human developer in a single glance

This dual simplicity matters.
When every piece is small, explicit, and self-describing, both the LLM and the team working alongside it can reason about the system without holding the entire architecture in their head.
Code reviews are easier, onboarding is easier, debugging is easier, and changes are safer because the blast radius is tiny.

The philosophy comes directly from the Unix tradition (small focused tools), the microservice mindset (isolated responsibilities), and the classic KISS principle:
if you keep the parts small and simple, both machines and humans perform better.

The result:
Instead of training LLM agents, maintaining embeddings, or building custom models, you enforce architectural simplicity — and the LLM becomes surprisingly reliable because every piece fits the scale it can reason about.
Humans retain clarity, teams retain velocity, and the software stays transparent and maintainable for years to come.

How-to Guide (Short)

  1. Copy-paste the AIKISS Primer into any LLM before you begin.

  2. Describe the self-contained program or service you want — its purpose, language, inputs, and outputs.

  3. Let the LLM generate the full program/service file, including the AIKISS metadata header.

  4. Save it exactly as provided and run it as a standalone executable or persistent service.

  5. Compose multiple programs/services together using simple scripts, message passing, or orchestration — small, isolated units that cooperate.

Primer & Full How-to Guide

Open primer file directly


Loading primer...

Q&A

What is AIKISS?

Is AIKISS dependent on a specific programming language?

Can I modify the primer to suit my needs?

Contact

Milan Kazarka
milan.kazarka.office@gmail.com
© aikiss.dev