Self-healing before you review
Every edit runs Mule XML, MUnit, metadata, connector-version and DataWeave compiler checks. If checks still fail when the model tries to finish, the harness holds the turn open and sends the errors back to fix.
MuleSoftForge Studio AI lives inside Anypoint Studio. Ask about flows, DataWeave, Problems, Console output and live debugger events. Every change comes back as a diff, checked against your project, and nothing is written until you accept.
For Anypoint Studio 7.28+ on Java 17 · your own API key · no other Studio extensions needed
Each on-error-propagate repeats the same ee:transform. I moved it into one shared api-error-handler so every error returns the same JSON contract, and checked the project with the change applied.
A short look at MuleSoftForge Studio AI from the first release.
Right-click, or press Cmd/Ctrl+Alt+I. The AI gets exactly what you're looking at, attached to your next message.
Ask, Plan and Diagnose only get read tools, and the tool layer refuses edits in those modes as well.
Reads, proposes and checks its own changes. Nothing is written until you Accept, and Accept refuses if the file changed since the proposal.
When the AI proposes a change to Mule XML, pom.xml or your properties, the plugin checks the project as it would be with the change applied. New problems go back to the AI to fix first.
pom.xml# src/main/resources/config.properties
db.url=jdbc:mysql://hr_admin:«masked-1»@db.internal:3306/hr
db.password=«masked-1»
api.token=«masked-2»
salesforce.password=${secure::sf.password}
<!-- src/main/mule/global.xml -->
<http:basic-authentication username="svc-hr"
password="«masked-3»"/>
<db:my-sql-connection password="${db.password}"/>
Passwords, keys, tokens and client ids become «masked-N» before your message, files, console output or attachments are sent. References like ${secure::x} are kept, so the AI can still follow your configuration.
.env, keys, keystores and credentials*.json are never readSwitch models mid-chat and the conversation carries over. The cost column shows what this chat, today and this month have cost.
A prompt alone won't stop a smaller or local model from inventing Mule XML, breaking indentation, or looping on a bad call. Every model sits inside a six-layer runtime harness built specifically for Mule 4, DataWeave and MUnit.
Every edit runs Mule XML, MUnit, metadata, connector-version and DataWeave compiler checks. If checks still fail when the model tries to finish, the harness holds the turn open and sends the errors back to fix.
connector_reference reads the exact connector schemas Studio generated from your pom.xml, search_connectors queries Anypoint Exchange live, and sandboxed runners test DataWeave and MUnit for real.
Tolerates whitespace, indent and smart-quote drift, re-indents replacements, blocks lazy <!-- ... --> omission comments before they delete code, and returns numbered closest lines on a miss.
Nudges pasted Agent code into diffs, challenges false edit claims, stops repeated or failing tool calls, salvages truncated tool batches, and steps down max_tokens automatically on 400 errors.
Injects MUnit and metadata rules only when needed, funnels 126+ Platform MCP tools through two lightweight search-and-call tools, prunes old tool output, and auto-compacts at 85%.
Routes quick Ask questions and test/endpoint runs to your fast model, and promotes Agent, Plan, Diagnose, DataWeave, MUnit and live debug events to your strong model — with automatic failover.
Under the hood: MuleSoftForge Studio AI Harness. New releases arrive through Studio's own updates: see Update and roll back. Stuck? Troubleshooting. Curious how it works? Build it yourself.