Skip to content
All projects
AutomationJul 2026Live

Forge: The AI Ops Platform That Repairs Its Own Workflows

The AI Ops Platform That Repairs Its Own Workflows

Describe an automation in plain English. An agent layer generates a valid n8n workflow, validates it, deploys it as an immutable version and watches every run. When a run fails, it either repairs the workflow or files a readable incident with a proposed patch.

forge-charan.vercel.app
Forge, the live site
Year
Jul 2026
Timeline
6 phases
Type
Automation
Status
Live
01

Overview

Automation platforms run the workflow you give them and stop there. When a step breaks at 3am, it stays broken until someone notices. Forge closes that loop. You describe the automation ("watch for ML job postings daily and draft cold emails"), an agent layer turns it into a schema-valid n8n workflow, deploys it as an immutable version, and monitors every run. When one fails, a diagnostic agent reads the logs, works out the root cause, and either repairs the workflow or files an incident with a proposed patch.

02

The hard parts

  1. 01

    Turning a plain-English request into workflow JSON that n8n will accept: node types that exist, connections that resolve, credentials referenced correctly.

  2. 02

    Letting an agent modify production automations without making a destructive change unnoticed.

  3. 03

    Keeping LLM cost bounded and predictable when an agent can call the model on every failure.

  4. 04

    Making deploys reversible so a bad generated workflow is one call away from rollback.

03

The approach

Workflows are not hand-edited in the UI. Natural language goes through the workflow generator to schema-validated JSON, then a static validator checks node types, connection resolution and credential references, and blocks destructive actions unless an approval flag is set. Every deploy is an immutable version in a registry, with a backup and audit entry written first, so rollback is one API call. Every model call passes through a single LLM gateway with cost logging, a hard daily budget, exponential-backoff retries and a local Ollama fallback. The run monitor tracks health and the diagnostician proposes patches. Risky patches wait for approval in an incident feed.

04

Outcome

The platform was built in six phases: a Docker Compose stack (Postgres, Redis, n8n, a FastAPI agent layer and a Next.js dashboard), natural-language-to-workflow generation as background jobs, health tracking with auto-repair behind approval gates, and a dashboard for workflows, runs, incidents and costs. The live demo runs in the browser on seeded data. You can approve a proposed patch in the incident feed, open a workflow's run timeline and read the LLM cost breakdown without a backend or login.

05

What I'd do differently

Most of the engineering effort went into the guardrails rather than the generation: an audit trail for every agent action, and approval gates that decide, per patch, whether the agent may act alone. My DRDO internship on engine-control software taught me that a system that fails without telling anyone is the most dangerous kind, and Forge is built around that idea.

06

Stack

agent
PythonFastAPIAnthropicOllama fallback
infra
PostgreSQL 16Redis 7n8nDocker Compose
web
Next.js 14TypeScriptTailwind
quality
pytestruffblackmypy

Like what you see?

Let's build the next one.

Hiring, or have a problem that needs this kind of engineering? I read every message myself.