matlab/simulink-agentic-toolkit

The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Simulink and Model-Based Design.

What it solves

Simulink models are complex, and AI coding agents often struggle to work with them because they lack domain knowledge and context. This toolkit gives agents the ability to read, build, edit, and test Simulink models reliably, following Model-Based Design best practices. It prevents agents from hallucinating about model structure, missing new features, or wasting time on steps that experienced Simulink users would skip.

How it works

The toolkit connects AI agents to Simulink through the MATLAB MCP Server. It provides two key pieces:

  • MCP tools – a set of tools the agent can call to inspect, modify, query, test, and validate Simulink models (e.g., model_overview, model_read, model_edit, model_check, model_test). These tools give the agent hands-on capabilities via the MCP protocol.
  • Agent skills – these are files (each with a SKILL.md and manifest.yaml) that encode best practices for tasks like building models, running simulations, specifying plants, testing, handling requirements, managing projects, and architecture modeling. The agent reads these skills to gain domain knowledge before acting.

During setup, a MATLAB function (setupAgenticToolkit) installs the MCP server, configures your AI agent, and registers all skills. The agent then uses the skills for context and calls the MCP tools to perform actions on the models.

Supported AI agents include Claude Code, GitHub Copilot, OpenAI Codex, Gemini CLI, and Sourcegraph Amp. The automated setup is verified on these platforms.

Who it’s for

This toolkit is for engineers and developers who use Simulink and want to leverage AI coding agents to accelerate model development, testing, and maintenance. It is especially useful for teams practicing Model-Based Design who want to integrate AI assistance without sacrificing correctness or best practices.

Highlights

  • Pre-built MCP tools for reading, editing, querying, testing, and validating Simulink models, including fast regex scanning of model files.
  • Curated skill groups covering model-based design, system engineering, verification & validation, simulation, modeling, control systems, signal processing, physical modeling, code generation, real-time simulation, block authoring, and aerospace.
  • Automated setup with a single MATLAB function that installs the MCP server, configures the agent, and registers skills.
  • Custom library support – register your own Simulink block libraries and optionally build a knowledge base for them.
  • Research preview – Agentic Task Explorer provides curated multi-step tasks to demonstrate agent capabilities on Simulink models.

Related

  • Project
  • Project
  • Project
  • Project
  • Project