Platform Architecture

The Complete Enterprise Solution

One codebase. Two editions. Any model. From one workstation to the whole enterprise.

AgentFlow's methodology becomes a product you operate. The same governed graph engine ships as a self-contained developer edition and as a corporate-wide governance hub — orchestrating and governing any AI model through a set of clean, pluggable abstractions. This page is the architecture behind that claim, presented honestly: what is proven today, and what the enterprise build adds.

From Methodology to Platform

AgentFlow began as a methodology — the graph topology, verification protocol, and governance discipline that make autonomous AI development safe. The platform architecture is the next step: that same discipline, packaged as a product you deploy and operate.

The design principle is a single one: the graph engine — the crown jewel — is written once and never learns where it runs. It depends only on a small set of interfaces. Swap the implementations behind those interfaces and the same engine runs on a laptop with an embedded database, or across a corporation on managed infrastructure. That is what makes two editions from one codebase real rather than aspirational.

The thesis, in one line

Orchestrate and govern any model. Compete with none.

A model — Claude today, another tomorrow — is a node in the graph. The platform's value is everything around the node: routing, convergence gates, independent verification, the audit trail, and cross-team visibility. A better model does not erode that value. It plugs into it.

Two Editions From One Codebase

Same graph engine, same verification protocol, same decision register. The editions differ only in which implementations plug into the abstraction seams.

Workstation Edition

The adoption on-ramp

  • Who: an individual developer or small team
  • Store: embedded database, single file, no server
  • Transport: local / in-process
  • Runtime: one model adapter
  • Install: a package + docs; runs on one machine

"AgentFlow on your machine" — the full graph model and governance, self-contained. Low-friction, near-zero setup.

Four Pluggable Abstractions

The seams that let one engine become two editions. Each is an interface with edition-specific implementations behind it.

01

Repository

A store-agnostic interface for all coordination state — inboxes, task boards, status, events, the decision log. Transactional and schema-bound, so a single malformed write can never silently blank the system. Embedded DB on the workstation; managed relational DB in the Hub.

02

Transport

Signal delivery — publish, subscribe, poll. Local / in-process on the workstation (no server, no tunnels); a central broker with real-time push in the Hub, removing poll latency and enabling live cross-workstation signaling.

03

Agent Adapter

The seam that realizes model-agnosticism. A uniform contract — spawn, send-task, on-result, status, stop — over any model runtime. One adapter today; additional model and MCP adapters plug in under the same interface, never a re-architecture.

04

Governance MCP Server

A standard protocol facade (Hub edition): graph state exposed as resources, graph actions as tools. Any MCP-capable model participates without bespoke plumbing — read your work, take governed actions, all through the standard interface.

The Six-Tier Architecture

The abstractions resolve into a layered stack. Tier 2 — the graph engine — is identical across both editions. Editions differ only by which implementations plug into Tiers 3, 4, and 6.

1
Presentation / Control Plane Portal dashboard · CLI / IDE surface · (Hub) real-time push client
2
Orchestration / Graph Engine — the crown jewel, edition-invariant Router · Edge Evaluator · Convergence-Gate Engine · Verification Protocol · Recovery-Path Engine · Autonomy Driver
Written once
3
Integration / Interop Agent-Adapter layer (any model) · MCP Server (Hub) · Transport (local ↔ central broker + real-time)
4
Data / Persistence Repository interface → embedded / relational backends · event store · decision register (human-readable) · cache tier
5
Execution / Runtime The model-backed workers — the nodes the graph orchestrates, kept deliberately outside the engine
6
Identity / Security (Hub only) SSO · RBAC · multi-tenancy · secrets / key vault
Cross-cutting · Observability & Audit Event stream + decision register + edge-evaluation traces = the auditable, resumable, corporate audit log

The engineering thesis in one line: build the engine once against the Tier 3–4 interfaces; ship an edition by choosing implementations for Tiers 3, 4, and 6. Every layer is additive under a stable interface — so the product is coherent and shippable after any phase.

Model-Agnostic by Design

The complete solution governs any generator, and composes with all of them.

Generation ≠ Certification

The durable invariant: the system that writes the code is never the sole judge that it is correct. Independent verification does not require a different tool — it requires a different pass, measured against ground truth, that did not author the work. AgentFlow operationalizes that separation as an enforced, automated gate — regardless of which model generated.

Any Model Is a Node

Through the Agent Adapter (and, at scale, the MCP server), any capable model participates as a node in the graph — one high-volume generator, another for reasoning, a third for review. Each plugs in under the same interface. Model-agnosticism is an additive capability, never a rewrite.

Compose, Don't Compete

A faster generator makes the generation node faster; AgentFlow is the governed graph its output flows through. The platform is not a rival to any model vendor — it is the layer that makes adopting any of them safe at corporate scale.

Stated honestly

An MCP server makes any model participate (read state, take governed actions). It does not wake an idle agent or make it autonomous — that is a separate mechanism (the autonomy driver in Tier 2). Interoperability and autonomy are different problems; we keep them clearly separated rather than overselling one as the other.

The Enterprise Deployment

The Hub Edition operated corporate-wide: centralized coordination, visibility, and model-agnostic dispatch — a governed platform Fiserv-scale organizations operate, not a tool an individual runs.

   Developer workstation        ┌──── Enterprise (cloud) ─────────┐
   ┌──────────────────┐         │  ┌──────────┐   ┌────────────┐ │
   │ IDE + adapter    │◄───────►│  │  Portal   │   │   Graph    │ │
   └──────────────────┘         │  │ (web,SSO) │◄─►│  Engine    │ │
   ┌──────────────────┐         │  └────┬─────┘   └─────┬──────┘ │
   │ Any model (API)  │◄───────►│       │               │        │
   └──────────────────┘         │  ┌────▼─────┐   ┌──────▼──────┐ │
                                │  │ Broker + │   │ Repository  │ │
   ┌──────────────────┐         │  │ real-time│   │ → relational│ │
   │ MCP-capable agent│◄───────►│  └──────────┘   │ multi-tenant│ │
   └──────────────────┘  (MCP)  │  ┌──────────┐   └─────────────┘ │
                                │  │ Identity │   MCP Server       │
                                │  │ SSO/RBAC │   resources+tools  │
                                │  └──────────┘                    │
                                └──────────────────────────────────┘

What the enterprise deployment adds

  • Store: managed relational DB, multi-tenant, backed-up, queryable across every workstation
  • Identity: SSO, per-team tenancy, role-based control over gates, boards, and the decision log
  • Transport: managed broker + real-time push — no tunnels
  • Scale: many developers × many agents, one governed graph

The reframe this enables: from "a way one architect works" to "a product the enterprise operates." The Portal becomes the corporate control plane; the decision register becomes the corporate audit log; the verification protocol becomes enforced governance across teams.

The Phased Roadmap

Every phase is additive under a stable interface — the product is coherent and shippable after any one of them. That is the antidote to the "unshippable monolith" and the reason the investment is staged against proof at every step.

Foundation — Proven

Autonomy + Integrity

The autonomy driver (self-continue, convergence gates, cold-start supervisor) and the storage-integrity layer (Postgres system-of-record via IRepository seam). Complete. Agents act on their work without a keystroke. The product runs.

→
v1

Workstation Edition

Repository, Transport, and Adapter seams + embedded DB + install package. Mostly packaging and hardening of a proven core. Ships adoption.

→
v2

Hub Edition + MCP

Relational store, real-time transport, cross-workstation visibility, the governance MCP server, SSO / multi-tenancy. The real enterprise build. Ships the differentiator.

→

Proven vs. To Be Built

Held to the same anti-advocacy discipline as everything else we publish: what runs today, and what the enterprise build adds. We do not claim the Hub exists in production.

Proven Today

  • The graph model, external-verifier invariant, decision register, and recovery paths — working in a regulated enterprise environment across 2 completed sprints at 2.6x velocity
  • A durable message broker (Redis Streams) + state service (Node HTTP API over IRepository seam, Postgres system-of-record) on a container platform
  • Autonomy driver — PROVEN: self-continue driver, convergence gates, cold-start supervisor all operational
  • 41 specialized agents coordinating across 10+ projects via graph orchestration
  • 43+ infrastructure standards ratified — concurrent-write safety, build provenance, liveness detection, multi-orchestrator topology

The Enterprise Build

  • The four abstractions as shipped interfaces + their edition backends
  • Relational store, real-time push, SSO, multi-tenancy, the MCP server, cloud hosting
  • Additional model adapters and non-default model participation

The graph model, governance, autonomy driver, and coordination infrastructure are proven in production across two completed sprints with 41 agents. The enterprise substrate (Hub edition, SSO, multi-tenancy) is a genuine build. The two are never conflated — where the target is vision, it is labeled vision.

See the Complete Solution

From a single governed workstation to a corporate-wide, model-agnostic governance platform. Start with an assessment and we'll map the path for your enterprise.