DEV Community

Cover image for A Little Look At The Engine That Generates MegaBit-trajectories
Sumama-Jameel
Sumama-Jameel

Posted on Edited on

A Little Look At The Engine That Generates MegaBit-trajectories

Long story short:

Trajectories are public but engine is not. Engine got a lot better in past few days. It got a new power, Cyber. It got a real test, Scorecard v6. And future plans are small tools, then a big one: data for consciousness.

A Factory, Not A Shop

MegaBit is a teacher factory for AI coding agents. Not assistants, agents.

It takes a real code change from an open source project. It makes an AI agent recreate that change from scratch inside a real sandbox. Every single thing the AI does gets recorded. Every file it reads, every command it runs, every mistake it makes.

That recording becomes training data for the next AI. So trajectories are the lessons. Engine is the factory that makes them.

Nothing Is Faked

Most synthetic data is fake. MegaBit is not.

Every command really runs. No faked outputs. If AI tries to fake a terminal output, it gets caught. The answer AI produce is scored against the real answer. That is why labs should trust it. It does not show only the final code. It shows how to code, with mistakes, debugging, and real outputs.

Open Products, Closed Factory

Only first 100 trajectories are open. Engine itself is never open sourced. People can download trajectories and use them. They cannot copy the factory: MegaBit-trajectories

66 trajectories are out now.

Now It Teaches Attacks Too

New second product. MegaBit-Cyber.

It turns published security advisories into attack and defence episodes. So now engine does not only teach coding. It teaches offensive cyber security skills. Pre training data for that.

Still in progress. But it is a new power.

I Tested It. And It Failed The Gate :')

I trained Qwen 0.6B Base on my data. Continued pretraining. Full run, 717 steps, 3 epochs.

Two instruments:

  • Error recovery went from 0 to 87 out of 99.
  • Tool call emission went from 0 to 2 out of 8. That is below the shipping floor of 4.

Gate says NO SHIP. Because 2 is less than 4. I am not faking a win. I am saying it failed the gate. But it shows the data teaches something. Error recovery and tool call emission moved. That is the honest result. But the thing here is to remember the trajectories count: 66. ONLY 66.

Future of MegaBit

Future is small tools. Repo already has tools like that.

One tool changes tool names in the data. You can make it bash, shell, command_run, or whatever fits your pipeline. Because every pipeline uses different names. Another tool reformats the data to cover most of the fine tuning tools like LoRA, or ShareGPT, and more.

More tools coming. Like finetuning ready data in one command. Because megabit trajectories are for pre training now. You have to clean this if using for fine tuning. I want to make that one command.

Once I have scaled these things, the next milestone would be to create data for consciousness. I do not know the use of it or what it will improve, but I just want to do it. We will plan for it later.

Top comments (0)