Architecture Compiler · Live Preview

Drop your repo.See the refactor.

The Atomadic Forge classifies every file in your codebase into a 5-tier monadic architecture — a0 constants → a1 functions → a2 composites → a3 features → a4 orchestration — then enforces upward-only composition. AI writes the code. We give it architecture.

Or try:
5
Tier System
841
Forge Tests Passing
100/100
Self-Certify Score
v0.3.2
Latest Release
How the forge works
// the forge

Five passes. One coherent codebase.

The Atomadic Forge is the architecture compiler AI agents wrap around. Every pass is deterministic. Every file ends up where it belongs. AI writes the code. We give it architecture.

step 1
RECON
scan

Walk every file, classify every public symbol. Tier and effect distributions.

step 2
CHERRY
select

Pick the symbols worth assimilating into the canonical 5-tier layout.

step 3
WIRE
fix

Detect upward imports and wrong-tier files. Plan mechanical fixes.

step 4
CERTIFY
score

Score docs, tests, tier layout, import discipline. 0–100.

step 5
EMERGENT
evolve

Surface dead-code, convergence opportunities, recursive self-improvement.

// the substrate

Five tiers. Upward-only composition.

Every file lives in exactly one tier. Tiers compose upward. A1 cannot import from A2. A0 cannot import from anything. The Forge enforces this mechanically — circular and upward imports become impossible.

Tier
Folder
Allowed Imports
Examples
a0Constants
a0_qk_constants
Nothing
config.py · types.py · constants.py
a1Functions
a1_at_functions
a0
validators.py · helpers.py · parsers.py
a2Composites
a2_mo_composites
a0, a1
client.py · store.py · registry.py
a3Features
a3_og_features
a0, a1, a2
service.py · feature.py · pipeline.py
a4Orchestration
a4_sy_orchestration
a0–a3
__main__.py · cli.py · server.py