References

External work that inspired the Nika OS architecture, and a glossary of the terms used in this documentation.

External work

The works below directly inspired the architecture. This section lists them to enable a critical reading of the system.

  • GEPA — Genetic-Pareto evolution for prompt optimization (2025) — directed evolution method applied to the harness (prompts, skills, primitives).
  • Taleb N., Antifragile (2012) — conceptual framework for the antifragility doctrine.
  • Model Context Protocol (modelcontextprotocol.io) — open protocol followed by all MCP servers.
  • Retrieval-Augmented Generation (RAG) — semantic search before generation, at the heart of the memory system and the first stage of the WATERFALL RETRIEVAL cascade (formerly PALACE PROTOCOL).
  • Borges J.L., Funes the Memorious — the short story that illustrates why intelligence requires forgetting and compression rather than raw accumulation (the anti-Funes principle of the memory retention policy).

Glossary

TermDefinition
KernelThe immutable layer of instructions and invariants. Off-limits to automatic mutation.
HarnessThe mutable layer around the kernel: prompts, skills, hooks, tools, success measures. Evolves per task type.
Kernel agentThe orchestrator pod that receives the user prompt and decides the strategy.
PodA specialized CLI-agent instance, launched for an isolable mission.
PrimitiveA reusable building block of the system: {skills, hooks, MCP/tools, .md}.
SkillA reusable capability described by a markdown file + frontmatter.
HookA script attached to a lifecycle event (reads stdin, writes stdout, exit code).
MCP serverAn external process exposing tools via the Model Context Protocol.
IPCReal-time inter-pod communication (Redis Streams + working memory + bus).
RAGRetrieval-Augmented Generation: semantic search before any factual claim.
SQPThe Security > Quality > Performance priority matrix.
DoDDefinition of Done: success criteria declared up front for a task.
Meta-curatorThe analysis session that supervises pods, judges primitives, and evolves the harness.
GEPADirected evolution tournament (Genetic-Pareto) of prompts and primitives.
Online controllerA mechanism that adjusts online hyperparameters from a real-time reward signal.

Conventions of this documentation

This documentation describes the mechanism — how the system works — in a timeless way. Current execution state (what is running, what is in progress) lives in the system’s status channels, not here. That is what keeps these pages valid over time, independently of the state of any particular instance.