Show HN: Agentic interface for mainframes and COBOL

17 hours ago (hypercubic.ai)

Hi HN, we’re Sai and Aayush, and we’re building Hypercubic (https://www.youtube.com/watch?v=q81L5DcfBvE.

Mainframes still run a surprising amount of critical infrastructure: banking, payments, insurance, airlines, government programs, logistics, and core operations at large institutions. Many of these systems are decades old, but they continue to process enormous transaction volumes because they are reliable, secure, and deeply embedded into business operations.

A lot of that software is written in COBOL and runs on IBM z/OS. The development environment looks very different from modern cloud or Unix-style development. Instead of GitHub, shell commands, package managers, and CI pipelines, developers often work through TN3270 terminal sessions, ISPF panels, partitioned datasets, JCL, JES queues, spool output, return codes, VSAM files, CICS transactions, and shop-specific conventions.

TN3270 is the terminal interface used to interact with many IBM mainframe systems. ISPF is the menu and panel system developers use inside that terminal to browse datasets, edit source, submit jobs, and inspect output. It is powerful and reliable, but it was designed for expert humans navigating screens, function keys, and fixed-width workflows, not AI agents.

A simple COBOL change might require finding the right source member, checking copybooks, locating compile JCL, submitting a job, reading JES/SYSPRINT output, interpreting condition codes, patching fixed-width source, and resubmitting.

Much of this work is so well-defined and repetitive that it's a good fit for agentic AI. To get that working, however, a chatbot next to a terminal is not enough. The agent needs to operate inside the mainframe environment.

Hopper combines three things: (1) A real TN3270 terminal, (2) Mainframe-aware panels for datasets, members, jobs, and spool output, and (3) An AI agent that can operate across those z/OS surfaces.

For example, here is a tiny version of the kind of thing Hopper can help debug:

  COBOL:

   IDENTIFICATION DIVISION.
   PROGRAM-ID. PAYCALC.

   DATA DIVISION.
   WORKING-STORAGE SECTION.
   01  CUSTOMER-BALANCE     PIC 9(7)V99.

   PROCEDURE DIVISION.
       ADD 100.00 TO CUSTOMER-BALNCE
       DISPLAY "UPDATED BALANCE: " CUSTOMER-BALANCE
       STOP RUN.


  JCL:

    //PAYCOMP  JOB (ACCT),'COMPILE',CLASS=A,MSGCLASS=X
    
    //COBOL    EXEC IGYWCL
    
    [//COBOL.SYSIN](https://cobol.sysin/) DD DSN=USER1.APP.COBOL(PAYCALC),DISP=SHR
    
    [//LKED.SYSLMOD](https://lked.syslmod/) DD DSN=USER1.APP.LOAD(PAYCALC),DISP=SHR

A human would submit this job, inspect JES output, open `SYSPRINT`, find the undefined `CUSTOMER-BALNCE`, map it back to the source, patch the member, and resubmit. Hopper is designed to let an agent operate through that same loop autonomously.

Hopper is not trying to hide the mainframe behind a generic abstraction, and it's not a chatbot. The design principle is simple: preserve the fidelity of the mainframe environment, but make it accessible to AI agents.

Sensitive operations require approval, and the terminal remains visible at all times.

Once agents can operate inside the mainframe environment, new workflows become possible: faster job debugging, automated documentation, safer code changes, test generation, migration planning, traffic replay, and modernization verification.

We’re curious to hear your thoughts! especially from anyone who has worked with mainframes, COBOL or has done legacy enterprise modernization.

What was the training data? While there are open source projects for mainframes, most high-quality and battle-tested COBOL code bases are likely proprietary.

Also, will it be trained on the code base it sees? Most companies would be opposed to sharing their IP.

Edit: according to the website, the model won't be trained with your data.

US banks and creditors desperately need this yesterday.

  • That’s what we’ve seen with our customers. Some have only one or two COBOL developers left in some teams, and they are often the only people with the operational knowledge needed to keep these systems running.

    They are either past retirement or about to retire in the coming years.

    • Oh, great. Nobody left who knows the language + vibe coding + banking and financial transactions. What could possibly go wrong...? Good luck!

Is this available to install on Hercules emulator for hobbyists? For people unfamiliar with Mainframes, check out the moshix youtube channel.

  • We don't currently support Hercules, but we are providing free access to a mainframe for people to try out.

Hopefully Llm while it may not allow immediately for like 100% ready to go financial services code

Maybe it gives us good tests ?

That alone for something on cobol might be worthwhile

Built by leading minds behind the world's most advanced AI and technology - Our team unites top researchers, engineers, and strategists from pioneering companies and institutions [...]

https://www.hypercubic.ai/company

Please consider adding more background of the executive and heads of department on the about page to help us understand who these top researchers, engineers, and strategists are.

There are currently no names on the about page, not even the co-founders, however this claim that "our team unites top researchers, engineers, and strategists from pioneering companies and institutions" appears on multiple pages on the website.

It seems:

* Sai was an Apple machine learning engineer for 19 months, then a Apple lead machine learning engineer for 17 months.

* Aayush was an Apple software engineer for 3 years, then an Apple senior software engineer for 8 months at Apple.

  • Hi! I agree we should have a profile page on website.

    Btw, this is Aayush and I was at Apple for almost four years and Sai was there for three. And we have Kevin as our founding engineer who has almost a decade of experience and has worked at Cognition and Windsurf.

    • > And we have Kevin as our founding engineer who has [...] worked at Cognition and Windsurf.

      Kevin was at Cognition as a software engineer for 9 months and Windsurf as a design engineer for 7 months.

      Including company logos on the Hypercubic website because team members worked there for less then a year doesn't convey the endorsement of these companies I'd expect when I see their logo being used.

      9 replies →

> Mainframes still run a surprising amount of critical infrastructure: banking, payments, insurance, airlines, government programs, logistics, and core operations at large institutions. Many of these systems are decades old, but they continue to process enormous transaction volumes because they are reliable, secure, and deeply embedded into business operations.

It saddens me when companies abandon them, it takes so much effort to replicate their power. I often wonder why mainframes never had a more modern easier to maintain and manage programming language designed for them.

  • > I often wonder why mainframes never had a more modern easier to maintain and manage programming language designed for them.

    Although COBOL is one of the primary programming languages for the mainframe, it can also run Java and Python as the others have mentioned. COBOL itself isn't particularly difficult to grasp for modern engineers, it's readable and has an easy to understand English-like syntax.

    The challenge here is learning and becoming proficient in the end to end mainframe ecosystem including the intricacies of z/OS. It's a completely closed off ecosystem and is not as accessible to play around with for the average SWE as compared to windows or linux based development.

  • Java is available on z/OS.

    • And Python: https://www.ibm.com/products/open-enterprise-python-zos

      And node.js: https://www.ibm.com/products/sdk-nodejs-compiler-zos

      And Go: https://www.ibm.com/products/open-enterprise-sdk-go-zos

      IBM z/OS essentially contains three separate environments: (a) environment for running traditional mainframe applications (JCL, VSAM, ISPF, TSO/E, CICS, IMS, DB2, COBOL, PL/I, etc); (b) UNIX-based environment (supports Java, Python, node.js, Go, Kubernetes)–it officially conforms to the UNIX standard, so almost any POSIX app can be ported to it–but sometimes with some difficulty, since it is a bit of a weird UNIX implementation (e.g. by default uses EBCDIC instead of ASCII–although the filesystem has built-in support for translating between ASCII and EBCDIC and Unicode); (c) Linux container environment (zCX), which can run any Linux Docker container, provided it is compiled for the mainframe CPU architecture (z/Architecture aka s390x)

      It is quite common for people to take an existing application written using (a) and add new components to it using (b) and (c). Indeed, IBM themselves tends to rely on (b) a lot in adding new OS features.

      I think the biggest downside of IBM mainframes, is everything associated with them is super-expensive – the hardware, the software licensing, etc. IBM charges ISVs thousands of dollars a year just to get access to a legal development environment. (Hobbyists often use pirated versions of the software, but not a good idea if you are trying to run a business, and IBM keeps on trying to make that harder–most recently they've announced they are going to stop licensing on-premise emulated development environments and force them all to move to the cloud.)

[flagged]

  • According to our software (which is, of course, imperfect), your account has repeatedly been posting AI-generated and/or AI-edited comments. If so, can you please not do that? It's not allowed here, and will eventually get your account banned.

    See https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu....

    (This is not a ding against LLMs - they're incredible tools and we use them heavily ourselves. Just not to replace human-to-human conversation.)

If it ain't broke, don't fix it. So letting an LLM loose on a mainframe is like letting a fox into a henhouse. :)

  • The problem here is that people who understand these systems are all retiring. Majority of the devs are over 60 and there's simply not enough new talent coming in to replace them.

    So the real challenge companies are facing is will there be enough people to safely maintain these systems in the next decade. If they do not, it means failures in credit card systems, airline reservations, insurance claims and more.

    • It sounds like they will still need to hire and train human talent who can understand the code, and evaluate and integrate outputs of AI systems that conform to the specific compliance and data retention requirements of these industries. And also people who can enforce said compliance, and a lot of other things. Sounds like a complex problem without a neat off-the-shelf solution

    • Correct, they are retiring, for sure.

      The last thing I’d ever put into mission-critical systems is an LLM.

      So let’s hope it’s a mainframe sandbox so future COBOL programmers can learn on it. :)

      In any case, COBOL systems work precisely because no one is constantly tinkering with them to “add a new framework”.

      The last time I saw, someone made a “Hello World” app in Electron, and it was 220 MB.

      Howgh.

    • > Majority of the devs are over 60 and there's simply not enough new talent coming in to replace them.

      Yawn this tired old yarn, again. Mainframe development was offshored from the US decades ago. These retiring cobol programmers simply don’t exist in numbers that matter. The market could be to the companies doing the offshore work, but they’ve been throwing bodies at this problem for a long time, maybe there’s a market there maybe not.

      1 reply →