Energy trading · Load-serving entities · Banks

From Monolith (Excel, Cobol, …)
to the Cloud (Microservices) — in weeks.

Our domain-specific AI agents read your VBA workbooks and legacy monoliths, extract every business rule with a citation to the exact source line, and rebuild them as tested, documented microservices on any cloud — then generated SRE agents run Day-1 and Day-2 operations. Humans approve at every gate you choose.

Zero-hallucination gatesSource-cited rulesGolden-master parity testsAudit-ready by design
fahrplan_FINAL_v7(2).xlsm → k8s
BR-001…nrules, each cited
ADR + OpenAPIper service
100 % parityvs. golden master
The problem

Your trading floor runs on a workbook nobody dares to open.

Energy traders, balance-responsible parties and load-serving entities (the suppliers who must buy enough power to cover their customers' demand) still run scheduling, nominations, forecasts and settlement in Excel and VBA (Visual Basic for Applications, the macro language inside Office). It worked — until 15-minute products, intraday volume, regulators and the one person who understands the macros all arrived at once.

Fahrplan15minCopy_of_Nom (3)Settlement_OLDHilfsblatt
ABCD
1DeliveryMWPrice €Status
200:00–00:15=Fcst!B2*1,0787,40ok
300:15–00:30#REF!87,10??
400:30–00:45=SVERWEIS(…)#N/Amanual
500:45–01:0042,086,95ok?
Sub Nominate_ALL()
  ' 2014. DO NOT CHANGE. Author left in 2017.
  On Error Resume Next
  Workbooks.Open "\\fs01\handel\Fahrplan_FINAL_v7(2).xlsm"
  ' TODO: fix rounding after DST switch
End Sub
01

Key-person risk

Business logic lives in macros written years ago by people who've moved on. Nobody can say with certainty what the workbook actually does.

02

No tests, no versioning, no audit trail

"Final_v7(2).xlsm" on a file share is not a release process. Auditors and regulators — REMIT (EU wholesale energy market integrity rules), MaRisk/BAIT and DORA (EU Digital Operational Resilience Act) for banks — expect traceability you can't produce.

03

It doesn't scale to 15-minute markets

Quarter-hour products, intraday trading and growing renewables multiply the data volume. Workbooks freeze, links break, gate-closure deadlines slip.

04

Classic rewrites take years — and fail

Manual reverse engineering, specs that drift from reality and big-bang migrations. By the time the new system ships, the business has changed.

The approach

A harnessed agent pipeline — with a human gate after every step you choose.

Each stage is a specialised, context-engineered agent with one job, fixed inputs and a verifiable output artifact. Agents never approve their own work: author, implementer and reviewer are always different agents, and guardrails are enforced by hooks and policies — not by hoping the model behaves. Toggle the gates and run it.

Click a step for details · flip a switch to add/remove a human gate
    Traceability chain

    Every line of new code points back to a line of the old system.

    Hallucination-free isn't a promise, it's a gate: any rule, requirement or design statement without a verifiable citation to the upstream source is rejected automatically. The result is an unbroken, auditable chain from the legacy macro to the running container.

    Illustrative example. SBOM = software bill of materials, the signed list of every component inside a container image. ADR = architecture decision record.

    # rules/BR-042.yaml — generated by the Rules Agent, verified by the Citation Verifier id: BR-042 statement: "Nominated volume per 15-min interval is rounded to 0.1 MW, half-up." source: file: legacy/vba/modNomination.bas lines: 214-231 commit: a3c91e0 quote: "vol = Int(vol * 10 + 0.5) / 10" verified: true # quote found verbatim at cited location traces_to: [REQ-042, ACC-042, ADR-007, test_br042_parity, nomination-svc/rounding.py:31] approved_by: domain-owner@your-company gate: G3 · 2026-11-12T09:41Z
    What makes it different

    Six properties generic "AI code generation" can't give you.

    ⚓

    Grounded

    Agents work only from retrieved upstream sources — your code, workbooks, specs and data — never from model memory. Context engineering (curating exactly what each agent may see) keeps them on-domain.

    🔍

    Verifiable & hallucination-gated

    A separate verifier checks every citation verbatim against the cited file and line. No citation, no merge. Unverifiable statements never reach the next stage.

    🧪

    Automatically tested

    A frozen golden master (recorded outputs of the legacy system) plus characterization, parity and acceptance tests prove the new services behave exactly like the old ones.

    🧾

    Auditable

    Every agent run is logged: inputs, model, prompt version, output hash, approver and timestamp. Hand your auditor the chain, not a slide deck.

    🚦

    Configurable human gates

    Put a human approval after any step — or only the ones your risk policy needs. Domain owners approve rules, architects approve ADRs, ops approves releases.

    🛡️

    Separation of duties

    Test author ≠ implementer ≠ reviewer. Hooks block disallowed changes (e.g. an implementer editing tests). Agents never approve their own work.

    Classic rewrite / generic AI codingDerSalvador Domain-Specific Agent Architecture
    Time to running services12–36 months, big bangWeeks — pipeline throughput, not headcount, sets the pace
    Business-logic complexityDrives cost and duration up linearlyAbsorbed by extraction + parity tests; more rules ≠ more months
    Where do rules come from?Interviews, memory, guessworkExtracted from code, each with a verbatim source citation
    Proof of correctnessManual UAT (user acceptance testing)Golden-master parity + acceptance tests in CI (continuous integration)
    DocumentationWritten last, outdated firstRules, ADRs, OpenAPI contracts generated and kept in sync
    OperationsHandover to an ops team, runbooks "later"SRE agents generated with the services, live from Day 1
    Deploy anywhere

    Hyperscaler, sovereign EU cloud or your own data centre — same pipeline.

    The Platform Agent generates infrastructure as code (Terraform, Bicep, Crossplane), Kubernetes manifests, policies and pipelines for your target. Containers are non-root, signed and shipped with an SBOM; mTLS (mutual TLS, both sides of every service call prove their identity) and network policies come by default.

    AzureAKS · Container Apps
    AWSEKS · ECS · Lambda
    Google CloudGKE · Cloud Run
    STACKITSKE · sovereign
    IONOSManaged K8s
    HetznerK8s on cloud/bare metal
    PulseManaged platform
    OpenShiftRed Hat, any infra
    On-PremiseAir-gapped possible
    + moreOVHcloud, Open Telekom…
    AIOps · Day 1 / Day 2

    The services ship with their own SRE agents.

    SRE (site reliability engineering) agents are generated from the same ADRs, SLOs (service-level objectives — e.g. "99.9 % of nominations accepted within 2 s") and runbooks as the services, and deployed to the same platform. They detect, triage, find root causes and remediate within the policy you set — escalating to a human where you want one.

    DAY 1Go-live, wired and observable

    • Provisioning, config and secrets via GitOps (Git as the single source of truth for what runs)
    • OpenTelemetry traces, Prometheus metrics, Grafana dashboards and alerts
    • SLOs and error budgets derived from your acceptance criteria
    • Runbooks generated from ADRs — executable, not wiki pages

    DAY 2Autonomous incident management

    • Anomaly detection and alert correlation across logs, metrics and traces
    • Root-cause analysis with cited evidence (trace IDs, deploys, config diffs)
    • Policy-bounded remediation: rollback, scale, restart, failover
    • Postmortem drafts and fixes as pull requests — learnings flow back into the agents' skills
    sre-agent · incident #2207 (simulated)
    05:42:07 ALERT nomination-svc p99 latency 4.8 s > SLO 2 s
    05:42:08 triage-agent correlated: deploy v1.4.3 at 05:39, 3 of 3 pods
    05:42:11 rca-agent evidence: trace 7ac2… DB pool=5 (was 20) [cite: config diff 1f9e]
    05:42:12 policy sev-2, gate closure in 18 min → auto-rollback allowed
    05:42:31 REMEDIATED rollback to v1.4.2 · p99 0.6 s · SLO green
    05:43:02 postmortem-agent PR #318 opened: pool size guard + test
    05:43:03 human gate on-call engineer notified for review ✓
    Where it's applied

    Domain-specific agents, proven in regulated industries.

    "Domain-specific" means each agent carries the vocabulary, rules and regulations of your industry as curated context — so it knows a nomination from a settlement and a balance group from a booking.

    applied
    ⚡

    Energy trading

    Scheduling, nominations and position keeping out of VBA workbooks.

    • Fahrplan / schedule management
    • 15-min & intraday
    • ETRM (energy trading & risk management) lifecycle
    applied
    🏭

    Utilities & load-serving entities

    Energy desks, forecasting and settlement for municipal utilities.

    • Load & price forecasting
    • Mark-to-market, settlement
    • Balance-group (Bilanzkreis) processes
    applied
    🏦

    Banking

    Kubernetes, SRE and AIOps introduction under banking regulation.

    • Private & retail banking
    • AIOps / NoOps operations
    • MaRisk, BAIT, DORA-ready audit trails
    applied
    🏛️

    Public sector

    Platform engineering delivered by harnessed agents for a federal agency.

    • Kubernetes operators in Go
    • Policy-as-code (Kyverno)
    • Evals as the specification

    Next in line: insurance, telecom, grid operators (TSO/DSO — transmission and distribution system operators) and any business running critical logic in spreadsheets.

    Proven projects

    Monoliths re-engineered — independent of business-logic complexity.

    A selection of recent engagements. Client names are confidential; references available on request under NDA.

    Energy trading2026 · ongoing

    VBA/Excel scheduling application → microservices

    Reverse engineering of a VBA/Excel scheduling application (modules, dependencies, data flows, configuration) and migration of its business logic into containerised Python services on Kubernetes — delivered end-to-end by harnessed agents.

    Every business rule traced with a source citation from legacy code through spec and test to code; golden-master parity proves behaviour preservation.

    7FastAPI services
    100 %rules source-cited
    0self-approved changes
    Claude Code headlessGitHub Actions stagesGolden masterIstio ambient mTLSKyvernoOpenTelemetrycosign + SBOM
    Energy & heat utilityBerlin · 2026

    AI energy desk & RAG platform on Azure

    An AI-assisted energy desk: microservices for positions, forecast, anomaly detection, mark-to-market, nomination, settlement and the ETRM lifecycle, plus a trader cockpit — grounded with RAG (retrieval-augmented generation: the model answers only from retrieved source documents).

    14microservices
    3months to platform
    Azure Container AppsFastAPINext.js cockpitAzure AI SearchHybrid retrieval
    Private bank2025 – 2026

    Kubernetes introduction with SRE and AIOps/NoOps

    Container platform introduction with an SRE operating model, AI-assisted operations, chaos engineering (deliberately injecting failures to prove resilience) and full observability with OpenTelemetry and flow metrics — context-engineered with SKILL.md/AGENTS.md bundles and MCP servers.

    KubernetesChaos Mesh · SteadybitLinkerdOpenTelemetryMCPAnsible
    Federal agencyGermany · 2026 · ongoing

    Kubernetes operator + policy-as-code by harnessed agents

    A Go Kubernetes operator that turns custom resources into enforced, observable Kyverno policy. Implementation by context-engineered coding agents in a purpose-built harness; task-level evals define "done" and gate every agent change; a self-improving loop feeds failures back into the agents' skills.

    Go · KubebuilderKyvernoEvals as specPre/post-action hooksAzure DevOps
    How an engagement runs

    From workbook to production — a typical path.

    WEEK 0

    Workbook audit

    Export agents inventory your workbooks, macros, connections and monolith code — on your premises if required.

    Output: system map + effort estimate
    WEEKS 1–2

    Rules & architecture

    Cited business-rules catalog and ADRs, reviewed and approved by your domain owners at the gates.

    Output: BR catalog, ADRs, contracts
    WEEKS 2–5

    Build & prove

    Golden master, tests first, services, review — running in parallel against your legacy outputs.

    Output: services at parity, green CI
    GO-LIVE →

    Operate with SRE agents

    Deployment to your target cloud, SLOs live, Day-2 incident management, handover and enablement of your team.

    Output: running platform + AIOps

    Durations depend on scope and gate turnaround; your estimate comes out of the Week-0 audit.

    Let's talk

    Send us your scariest workbook.

    We'll show you its business rules — cited to the line — and a target architecture, before you commit to anything.

    • Free workbook assessment — inventory, rule sample, effort estimate
    • NDA first, on-premise analysis possible, your data never trains a model
    • Mostly remote, German / English, Switzerland & EU

    Or write directly: michael.santana@dersalvador.com