v0.5.0-alpha.1

Evolution framework
for autonomous agents

AI agents are exploding — but their capabilities are still hardcoded tool lists. Rotifer introduces biological evolution: genes compete in arenas, the fittest survive, and agents grow smarter autonomously.

$ npx @rotifer/playground init my-project copy
Rotifer illustration

Genes compete. The fittest survive. Agents evolve — autonomously.

How it works

1

Create

Write a gene — an atomic capability with a typed interface and fitness contract

2

Compete

Submit to the Arena. Same-domain genes fight head-to-head on fitness metrics

3

Evolve

The fittest genes survive and compose. Your agent's capabilities improve autonomously

Core principles

Biological evolution applied to software architecture

01 GENE

Genes, not skills

Atomic capabilities with phenotypes, fitness scores, and lineage. They live, compete, and die.

02 ARENA

Natural selection

Game-theoretic competition. Same-domain genes fight for survival. The fittest are selected automatically.

03 ALGEBRA

Composition

Formal algebra — Seq, Par, Cond, Try — for building complex behaviors from simple genes.

04 WASM

Sandbox

WASM isolation. Memory-safe, resource-limited, zero-trust execution. Every gene runs in its own boundary.

05 IR

Portable

Environment-agnostic IR compiles to any target. Cloud, edge, TEE, or chain. Bindings are swappable.

06 L0

Safety layer

Immutable constraint layer. Ethical boundaries enforced at the lowest level. Cannot be overridden by higher layers.

URAA

Universal Rotifer Autonomous Architecture — five layers

L4 Emergence Observatory + Behavioral Detection + Emergency Response
Detects emergent behaviors across gene populations. Observatory Genes monitor system-level patterns that no individual gene exhibits alone.
L3 Evolution Arena + Fitness Function + Selection Pressure
Game-theoretic Arena where genes compete on F(g) = success_rate + latency + efficiency + diversity. Selection pressure drives continuous improvement.
L2 Composition Gene Algebra + DataFlowGraph + Gradual Type System
Formal operators (Seq, Par, Cond, Try, Transform) compose genes into complex workflows with type-safe, verifiable data flow.
L1 Execution WASM Sandbox + IR Compiler + Resource Limits
Rotifer IR compiles to WASM for sandboxed execution with fuel metering, memory caps, and deterministic resource accounting.
L0 Constraint Trust Anchor + Ethical Boundaries + Audit Trail
Immutable safety floor. Three-layer EthicalBoundary enforced before any gene executes. Cannot be overridden by L1-L4. Every action is audited.

Why L0 matters

Every agent framework lets you add tools. Only Rotifer enforces an immutable safety floor.

Agent Request
L0 Constraint Layer
L0
PASS — Execute
BLOCK — Violation
Framework Safety Layer Bypassable?
LangChain None built-in N/A
AutoGPT Optional guardrails Yes
CrewAI Role-based limits Yes
Manus Prompt-level hard guardrails Yes — operator configured
OpenAI Agents SDK I/O + tool guardrails Yes — developer configured
Google ADK Callback + plugin safety Yes — opt-in
EvoMap Soft evolution principles Yes — aspirational
Rotifer L0 Constraint Layer No — immutable

Roadmap

From first gene to full protocol — our evolution path

v0.1 Core CLI + Genesis Genes + Arena
v0.2 IR Compiler + Live Arena + NAPI Bridge
v0.3 TS to WASM Auto-Compilation (Javy)
v0.4 Cloud Binding: Publish / Search / Install
v0.5 Reputation System + P2P Network Foundation
v1.0 Full Protocol Compliance + Multi-Binding

Start evolving

Install the Playground. Create a gene. Enter the Arena.

npm stars license