continuous software evolution · self-hosted

Software, unfolded.

aifold is an autonomous AI software factory that connects the dots: it builds, operates, maintains and continuously evolves your software in one unbroken line. Coding agents do the work, code checks each step, and you decide what ships.

  • Claude Code · Codex · Copilot · opencode · pi
  • .NET 10 · Postgres 18 · Aspire
  • Linux & Windows

Not a one-off generator. A schedule, a merge, a new brief or a change of mind starts the next run: investigated, implemented, checked by code and waiting for your review. Then it does it again.

Work #214 · morning-improvement running

schedule 07:00 daily opened a work item in aifold

  1. 1agent✓ implement 2m 55s · $0.92
  2. 2check✓ unit 1m 55s · no network
  3. 3agent ×4reviewing review lenses four in parallel
  4. 4pause· review waits on you
  5. 5check· @publish pull request
06:59:58 trigger morning-improvement fired · budget $2.00 per phasebrief tighten flaky retry in the ingest tailerEdit src/AiFold.Core/Tailing/Tailer.csgate tests_kept ✓  findings_clear ✓  stays_in_lane ✓lens security · data · deploy · tests reading the diff…

how it works

The factory never closes.

Traditional development is project-shaped: a kickoff, a delivery, a handover. aifold is persistent. It doesn't turn one idea into one release. It keeps a loop running around your software for as long as the software exists.

  1. Build

    A written brief becomes a run: a coding agent in its own git worktree, working through a pipeline of phases, on a budget its CLI enforces.

  2. Run

    Your checks run in a sandbox with no network. Gates written in code decide whether a phase passed, not the agent's own opinion. A judge weighs the result before you do.

  3. Observe

    Every transcript line lands in Postgres and streams live, and every agent's terminal is recorded. Cost, findings and how much of the agent's code survives afterwards are measured, not guessed.

  4. Improve

    What was learned goes into the knowledge base and into the next brief. Triggers open the next work item. Then it goes round again.

Build, run, observe, improve, and repeat. build run observe improve repeat NEVER FINISHED

signals

It reacts to what happens to your software.

Time, people, merges, tickets, telemetry, dependencies. Each is a trigger: an event source, a condition and an action. All of them run today, switched on per instance; dependency work is still filling out.

  • requirements change

    You change direction

    Write a brief, pick a pipeline, hand it to an agent. The product evolves with you, not in big-bang projects.

    • brief
    • implement
    • gates
    • review
  • a schedule fires

    Nothing happens, it improves anyway

    A standing job opens its own work item on a schedule, in your timezone, and has a branch waiting in review.

    • inspect
    • improve
    • test
    • review
  • a pull request merges

    Delivery closes the loop

    A signed webhook closes the work item when its branch merges, and survival tracking starts watching the code.

    • merge
    • close
    • measure
  • a support ticket arrives

    A customer finds a bug

    A ticket from GitHub, Linear, Jira or Forgejo becomes a work item, imported by its address or sent by a signed webhook.

    • import
    • investigate
    • fix
    • review
  • monitoring alerts

    Production misbehaves

    An Alertmanager alert opens a work item. An investigating agent reads Prometheus, Loki and Tempo, read-only, and writes a diagnosis it has to back with evidence.

    • alert
    • investigate
    • diagnose
    • review
  • dependencies drift

    The world moves on

    Every change is audited for advisories and no new one gets past the gate. Scheduled maintenance agents upgrade, test and gate like any other change; an advisory mirror of OSV, CISA KEV and EPSS is landing now.

    • audit
    • upgrade
    • test
    • review

review

You decide what ships.

Every run stops at review. Read the change, leave notes on the lines they're about, and hand the open ones back to the agent. The same review and the same notes, in the editor you already have open.

  1. Read

    The whole change as one diff, with viewed ticks per file and which changed lines your tests actually ran.

  2. Note

    An issue, question, nitpick, todo or praise, pinned to the code's text so it stays put when lines move.

  3. Send back

    Hand the open notes to an agent. It answers or fixes, the checks run again, and you resolve what's settled.

Before it reaches you, four reviewer agents read the change in parallel, for security, data, deploy and tests. A remark has to quote the code it is about, and a grounded issue sends the work back on its own.

JetBrains Rider with the aifold plugin: an issue thread open inline under line 18 of RetryBudget.cs. Claude Code, as code reviewer, flags that clamping to zero hides an overspend; Codex, implementing, asks whether the run header should change too; Erik says yes; Codex confirms the fix. JetBrains Rider with the aifold plugin: an issue thread open inline under line 18 of RetryBudget.cs. Claude Code, as code reviewer, flags that clamping to zero hides an overspend; Codex, implementing, asks whether the run header should change too; Erik says yes; Codex confirms the fix.
JetBrains Rider. The thread opens right under the line: Claude Code reviews, Codex implements and asks back, and you make the call before anything ships.
VS Code with the aifold extension: an issue thread under lines 18 and 19 of RetryBudget.cs. Claude Code, as code reviewer, flags that clamping to zero hides an overspend; Codex, implementing, asks whether the run header should change too; Erik says yes; Codex confirms the fix. The aifold Review view lists every note by file. VS Code with the aifold extension: an issue thread under lines 18 and 19 of RetryBudget.cs. Claude Code, as code reviewer, flags that clamping to zero hides an overspend; Codex, implementing, asks whether the run header should change too; Erik says yes; Codex confirms the fix. The aifold Review view lists every note by file.
VS Code. Claude Code reviews, Codex implements and asks back, and you make the call, all under the lines in question. Every note is also listed by file in the aifold Review view.
The aifold terminal review tool: one continuous diff of the branch with two threads in BudgetGate.cs. Claude Code, as code reviewer, asks whether a zero cap means no cap or no spend, Codex explains, and Erik decides; below it Erik asks whether a parked step says why, and Codex proposes a fix. The aifold terminal review tool: one continuous diff of the branch with two threads in BudgetGate.cs. Claude Code, as code reviewer, asks whether a zero cap means no cap or no spend, Codex explains, and Erik decides; below it Erik asks whether a parked step says why, and Codex proposes a fix.
Terminal. The same review in a 7.5 MB terminal tool: one continuous diff, vim keys, and every thread between you, the reviewer and the implementer drawn under the line it is about.

quality

New code meets the bar. Old debt gets paid down.

The tools your repositories already run report into one place. Findings are fingerprinted and followed across commits, so a change is held to what it added, not to what it inherited.

  1. Gate

    findings_clear fails a phase on findings its own lines introduced, and files a remark on each one.

  2. Scan

    A scheduled scan of the default branch, nightly or after a merge, keeps every finding's state and the trend.

  3. Fix

    Turn one rule's findings into a work item, or one file of it from the review. Suppressing a finding doesn't count as a fix.

Quality aifold.web · main scanned 06:12
  • Safety clear0 advisories · 0 secrets
  • Correctness needs you3 new · 41 inherited
  • Upkeep clearduplication 1.8%
  • Proof clear92% lines · 81% mutants
  • Infrastructure not measuredno Bicep or OpenTofu
  • Review clear12 decisions this week
Six dimensions, each said in a word rather than a grade, with where every finding came from: recorded, written interactively or by a dispatched agent, or unattributed.

Your software is never finished. Neither is aifold.

Agents are fast. What they lack is a place to work: a brief, a budget, a boundary, a record, and someone with taste at the end. aifold is that place, running at machine scale with your taste and your control.

features

Everything a factory floor needs.

Each piece is small and inspectable. Together they turn coding agents from a chat window into a production line you can trust.

Build

From a brief to a change you can run.

Work items & pipelines

Briefs move from draft to ready, running, review and done. Each run gets its own git worktree and flows through agent, check, decision and pause steps, in parallel groups and when: branches, with a cost forecast per revision.

local · container · kata pods

A living spec

Features, their acceptance criteria and the tests that prove each one, recorded as the work happens. A new criterion that only restates an old one is caught, so the spec stays a by-product of delivery.

criteria_traced · criteria_covered · criteria_judged

Knowledge base

Versioned markdown pages with history, diff and restore, tags, a graph view and a search API agents call themselves. Short repository facts are added to every brief automatically.

/api/kb/search · repo_facts

Preview apps & evidence

A finished attempt runs on the cluster for eight hours, with its Aspire dashboard. For UI changes the agent records a walkthrough of what changed, shown at review and on the pull request.

flow_shows_change · presentation_grounded

Check

Code decides, before you do.

Gates the agent can't talk past

About forty gates written in code: tests kept, criteria covered, mutants killed, no new advisories, stayed in its lane. Four can never be switched off. A failing gate resumes the same session and says exactly what was wrong.

tests_not_skipped · no_swallowed_errors · findings_clear

Sandboxed checks & a judge

Each repository's own validation runs with no network locally, or in a kata pod with a per-step egress allowlist on the cluster. A separate judge weighs surviving mutants. A finished run always stops at review.

podman --network none · kata · egress allowlist

Review lenses

Four reviewer agents read every change in parallel, for security, data, deploy and tests. A remark must quote real evidence, and a grounded issue sends the work back before you see it.

remarks_grounded · findings_grounded

Guardrails on every runner

The same pre-tool hooks hold an agent on a cluster pod, a Codex phase or your own machine. Runs that mix untrusted input, private data and outbound access wait for a person, and secrets are redacted before upload.

lethal-trifecta check · redaction

Watch

Everything measured, as it happens.

Live agents, held terminals

Transcripts land in Postgres and stream as they happen. Every agent runs in a held terminal that is recorded byte for byte; open any one from the live page, search it, replay it, or take the keyboard.

Claude Code · Codex · Copilot · opencode · pi

Cost at the day's price

Every event is priced at the rate in force when it ran, split into input, output and cache. Cost per commit, per thousand surviving lines, the rework tax, and budget windows and caps that stop a run before it overspends.

budgets · caps · forecast

What survived

Every file an agent wrote is re-scanned on a schedule. Drift and authored-line survival show how much of its work is still there weeks later, even after the code moved.

no git required

Triggers

An event source, a condition and an action. Schedules, forge webhooks, Alertmanager and your own app open work; merges close it; release windows merge queued pull requests in order. Fire one now or test a payload.

schedule · webhook · alertmanager · caps

People

The people who decide what ships.

Review where you work

A 7.5 MB terminal review tool with one continuous diff and vim keys, plus VS Code and Rider extensions that sign in to aifold and put review notes on the lines they are about.

TUI · VS Code · Rider

Product people, too

A product role shapes a brief with an agent on the web, then accepts or sends back a running demo, reset to its demo data, before developers take it on. Design boards attach to the work item.

product role · demo pause

People, roles & audit

Sign in with OIDC, eight roles from admin to viewer, invitations and step-up with a hardware key. The CLI and editors log in with expiring tokens, and every access, pipeline, trigger and budget change is in the audit log.

aifold login · OIDC · audit log

Extend

Bring your own agents, gates and tools.

MCP server & skills

Plan here, execute there. Agents create work items, read the feature map, start the real application, call its API and drive its UI through two dozen MCP tools and a set of skills.

create_work_item · start_runtime · drive_ui

Plugins & SDK

Signed plugins, pinned by a lock file, add gates, screens and whole agent CLIs. A C# SDK and aifold plugins init get one started.

aifold plugins add · validate · conform

waitlist

Open the factory.

aifold is in early access and runs on your own machines. Join the waitlist and we'll invite you as places open, then help you point it at your first repository.

We use your details only to invite you, and delete them on request.