NOCTURNE
Lights-out software factory

Ship software while you sleep.

NOCTURNE runs autonomous agent loops that build enterprise applications and maintain legacy systems — every deliverable priced before a token is spent, every build proven by real test execution, every run halted by budget guardrails before it can overspend. The factory works nights. You review verified output in the morning.

See how a run works

SINGLE FILE · NO INSTALL REQUIRED · NO ACCOUNT · YOUR KEYS, YOUR DEVICE

BUILD LINE · A4F200:00
Claims Intake Platform
$0.0000
cap $25.00
Verified
20/20
Automated checks green at delivery
1 file
The whole factory · no install needed
7 providers
Frontier APIs to $0 on-device engines
$0
Estimates & offline plan mode cost nothing
The production line

Six cells. One unattended factory.

Everything below ships in the product today — not a roadmap. Each cell does one job and hands off to the next, the way a real factory floor works.

Cell 01 · Line design

Agent loops with tier routing

Design production lines of agent stages — Architect, Coder, Tester, Reviewer — each routed to a model tier. Judgment gets frontier models; mechanical work gets cheap ones. That single decision is where most of your token bill disappears.

Anthropic → OpenAI → Gemini → Groq → local
Cell 02 · Proving ground

Builds verified by execution

Generated code isn't trusted — it's run. The FORGE backend syntax-gates every file and executes the generated test suite in isolation. Red tests trigger a Fixer stage that feeds the failure log back and retries. Only green earns the VERIFIED stamp.

node --check → node --test → verified
Cell 03 · Pre-flight

Cost known before commitment

A deterministic estimator turns scope — screens, entities, integrations, complexity — into an expected cost and a p90 worst case before any model is called. The formula is printed in the interface. Auditable, repeatable, free.

Estimate first · spend second
Cell 04 · Guardrails

Budgets that actually halt

Set a monthly budget and a per-run cap. The factory checks both before every stage and halts the line instead of overspending — the property that makes unattended operation safe. Every model call is metered to a ledger you can export.

Halt > overspend · CSV ledger
Cell 05 · Legacy bay

Maintenance that raises confidence

Register the systems you keep alive. A transparent rubric scores confidence from coverage, docs, dependency freshness, and knowledge redundancy. Maintenance loops make the smallest reversible change — and the score never goes down.

Triage → patch → regress → document
Cell 06 · Front office

Revenue on top of every run

Turn runs into engagements: cost-plus quotes with the formula in the open, live gross margin against actual metered spend, and invoice-ready exports. The verified stamp travels with the quote — you're selling proven software, not plausible text.

Quote → deliver verified → invoice
Standard operating procedure

A run, end to end

This is the actual sequence the factory executes — the numbering is the process.

Scope the order

Describe the application and enter the scope numbers. Or register a legacy system and write a work order.

Estimate

Deterministic cost forecast per stage, expected and p90, from your editable price sheet.

Costs nothing

Release to the floor

The loop runs unattended: stages hand off, spend is metered live, guardrails watch every step, checkpoints make runs resumable.

Collect verified output

Architecture, code, tests, review, and docs as artifacts — with a VERIFIED stamp when the test suite ran green on FORGE.

Try the math

Price a build right now

This is the factory's real estimator formula with its default price sheet — not marketing numbers. Drag the scope and watch the cost.

Expected delivery cost
$—
$—
p90 worst case
work units
6
stages routed
units = (screens + 1.4·entities + 2.2·integrations) × complexity
per stage: in = 1200 + 140·units · out = baseline × (0.55 + units/40)
expected = Σ routed cost × rework · p90 = expected × 1.6
Power room

Your keys never leave the building

Encrypted vault

API keys rest under AES-256-GCM, derived from your passphrase with PBKDF2-SHA-256 at 310,000 iterations. Decrypted only in memory, for the session, on your device.

Local-first by design

Everything persists in your browser — IndexedDB with graceful fallbacks. No account, no telemetry, no server of ours in the path. Model calls go straight from you to your provider.

Honest by construction

No route available? The factory refuses to fake model output — it emits labeled, deterministic plans at $0. Failed tests ship as TESTS FAILING, never quietly as done.

$0 floor

Ollama, LM Studio, and on-device WebLLM route worker stages at zero marginal cost. The optimizer tells you exactly which stages can downshift and what it saves.

Shift starts now

Turn the lights off.
Leave the factory on.

One file. Your keys. A budget you set. Release your first build order tonight and review verified artifacts with coffee.

Runs entirely in your browser · FORGE verification backend optional, one command to start

NOCTURNE · a VANTORAS foundry product Single-file PWA · v2.4.0 · vantoras.ca

Factory floor

Cell 00 · Command

Live view of every autonomous line. Loops run unattended; the tape below tracks spend against budget in real time.

Burn tape
0Active runs
$0.00Spend this month
Budget remaining
Fleet confidence

Portfolio

Machine cells queue 0

Factory log

Factory idle. Configure a provider in Settings, then start a build or maintenance run. Every action is logged here with its cost.

Agent loops

Cell 01 · Line design

A loop is a production line: ordered stages, each staffed by an agent role bound to a model tier. Tier routing is where cost optimization happens — cheap models for mechanical stages, strong models where judgment matters.

0 loops Tier routing live

Builds

Cell 02 · Greenfield line

Define the scope of an enterprise application, get a deterministic cost estimate before any model is called, then release it to a loop. The factory halts automatically if a run threatens its budget cap.

New build order

Build orders

OrderLoopStatusEst.Actual

No build orders yet. Estimates are computed locally from your scope numbers — no tokens spent until release.

Legacy bay

Cell 03 · Maintenance line

Register the systems you keep alive. Confidence is scored from a transparent rubric — coverage, docs, dependency freshness, churn, staffing — and every maintenance loop must raise it, never lower it.

0 systems

Confidence rubric

FactorWeightWhat raises it
Test coverage30%Regression suite present and green; every patch ships with a test
Documentation20%Runbooks, architecture notes, and this factory's auto-generated system docs
Dependency freshness20%Runtime and libraries inside vendor support windows
Change safety15%Small, reviewed, reversible patches; hash-logged history
Knowledge redundancy15%More than one person (or documented agent loop) able to operate it

Cost control

Cell 04 · Ledger

Every model call is metered against an editable price sheet. Set a monthly budget, watch the burn, and let the optimizer recommend cheaper tier routing where quality allows.

Monthly budget

No budget set

$0.00Spend this month
0Metered calls
0Tokens metered
$0.0000Avg cost / call

Price sheet editable · $/MTok

ModelTierInOut

Every column is editable — model string, tier routing, and rates. Rates seed from published list prices; changes flow into estimates, routing, and metering immediately.

Optimizer

Run at least one build or maintenance loop and the optimizer will analyze the ledger for cheaper routing with equivalent output quality gates.


Ledger

WhenRunStageModelTokensCost

No metered calls yet.

Revenue

Cell 05 · Front office

Turn factory output into engagements. Quotes are cost-plus with the formula in the open: your delivery cost comes from the estimator, your price covers risk and value. Margin is tracked live against actual metered spend.

$0Open quotes
$0Booked (active+delivered)
$0.00Delivery cost (metered)
Gross margin
0 engagements
EngagementOrderStatusPriceCostMargin

No engagements yet. Create one, link it to a build order, and the margin column tracks itself.

Documentation

Cell 06 · Records

The embedded operator guide, plus live system documentation generated from the factory's actual state — loops, price sheet, budgets, registered systems.

Settings

Cell 07 · Power room

Provider keys are encrypted with AES-256-GCM under a passphrase you choose and never leave this device. The factory tries providers in the order below and falls through on failure.

Key vault locked

First unlock with a new passphrase creates the vault. Keys are encrypted at rest (AES-256-GCM, PBKDF2-SHA-256 · 310k iterations) and decrypted only in memory for this session.

Local engines

not loaded · $0 marginal cost when active


FORGE verification backend

not connected

FORGE executes generated code and tests in isolated processes so builds earn a real VERIFIED status. Start it with FORGE_TOKEN=… node forge-server.mjs. It is process isolation, not a security sandbox — containerize for untrusted bundles.


Provider order

Anthropic → OpenAI → Gemini → Groq → Ollama → LM Studio → WebLLM. A stage uses the first available provider offering its tier; local engines meter at $0.


Data

storage: detecting…


Audit trail

WhenEventDetail