AI Coding Assistents, DSLs and MPS

Hi,

I am just wondering if there are any plans for the integration of ai assistants into mps? Specifically, assistants for DSL users would be very interesting, e.g. letting an ai assistant work with the java baselang withing MPS.

Is there a general MPS roadmap available?

All the best,

Daniel

Hi Daniel,

Yes, we’re actively exploring the options here (AI Assistant, the IntelliJ MCP server, etc.). It is too early to make any concrete promises, but we certainly won’t keep it a secret once we have something tangible.

We’ll let you know as soon as we have an update. Let me know if you have any specific thoughts or feature requests in the meantime!

Best,

Vaclav

Hi Vaclav,

my thoughts are turning towards an agent operation of a DSL. As you know, we are modelling application ui’s with a DSL.

An agent in mps might allow me to formulate a prompt like “create a pagepane with a grid layout containing a delegateform bound to a “Knoten”. Guess the agent needs some kind of documentation or might probably access the concepts in mps directly.

Another case would be the formulation of some logic or algorithm and the agent can implement requested stuff in a mps java baselang class.

Thanks for sharing your idea. This makes perfect sense as a use case.

Vaclav

Hi Vaclav,

pretty strange, i don’t know if you are aware of it. But gpt 4.5 can manipulate mps xml files directly and correctly. I just tested twice. Unique ID s of are correctly handled and concepts are looked up in examples. In my examples, even the collection language was applied correctly to a problem ….

I also manipulated a dataux form of mine directly in a *.mps. Probably just need some sort of language export, or probably just the structure of the language as reference.

This solves my use case almost perfectly….

Dan

Hi Daniel,

this is great to hear. I tried not so long ago with mixed results (I think it was on Junie/Gemini 3 Flash) and the results were mixed - some changes worked beautifully, some resulted in corrupt model files.

I guess the tendency over time will be that the models will be getting better at handling large xmls.

Anyway, maybe giving the agents a dedicated access/tools to manipulate MPS models could provide a more robust way.

Vaclav

I was pleasently surprised at how good Opus 4.6 is at editing MPS XML files. It burns tokens like crazy though. I had it generate md files with the structure of our langauage, containing node ids and indexs for important concepts. Now it’s able to one-shot smaller language changes, including typesystem and BaseLang generators. The Claude Code plugin with MPS also integrates well with “ask before editing” mode and shows diffs in the MPS editor.