{"id":4122,"date":"2026-01-26T13:14:25","date_gmt":"2026-01-26T18:14:25","guid":{"rendered":"https:\/\/blogs.mathworks.com\/matlab\/?p=4122"},"modified":"2026-04-15T19:05:13","modified_gmt":"2026-04-15T23:05:13","slug":"matlab-agentic-ai-the-workflow-that-actually-works","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/matlab\/2026\/01\/26\/matlab-agentic-ai-the-workflow-that-actually-works\/","title":{"rendered":"MATLAB + Agentic AI: The Workflow That Actually Works"},"content":{"rendered":"<div class = rtcContent><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold; font-style: italic;'>Bio:<\/span><span> <\/span><span style=' font-style: italic;'>This blog post is co-authored by Toshi Takeuchi, Community Advocate active in online communities. Toshi has held marketing roles at MathWorks over the last 19 years.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>MathWorks released <\/span><a href = \"https:\/\/www.mathworks.com\/products\/matlab-mcp-core-server.html\"><span style=' font-weight: bold;'>MATLAB MCP Core Server<\/span><\/a><span> in October 2025, enabling coding agents to drive a local MATLAB installation via <\/span><a href = \"https:\/\/blogs.mathworks.com\/matlab\/2025\/11\/03\/exploring-the-matlab-model-context-protocol-mcp-core-server-with-claude-desktop\/\"><span>Model Context Protocol<\/span><\/a><span>. Since then, many of us have been exploring agentic workflows. Toshi recently published a video series showcasing a creative project that caught a lot of attention: recreating a NASA photograph of <\/span><a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:ugcPost:7414296000497995776\/\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>Saturn as a 3D visualization (video)<\/span><\/a><span> in MATLAB, adding a <\/span><a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:ugcPost:7414644341140250624\/\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>flyby animation (video)<\/span><\/a><span>, generating scripts into <\/span><a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:ugcPost:7415008078011473920\/\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>live scripts (video)<\/span><\/a><span>, and wrapping everything into an <\/span><a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:ugcPost:7415379786270875648\/\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>interactive app (video)<\/span><\/a><span>.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Today, I would like to share a chat I had with Toshi about the <\/span><span style=' font-weight: bold;'>Research \/ Plan \/ Implement (RPI)<\/span><span> approach he used in his agentic coding project. I also asked Toshi where all of this is headed - how agentic coding could reshape scientific and engineering workflows, because that\u2019s a question many of us are asking. I hope that you find his answer insightful. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"http:\/\/blogs.mathworks.com\/matlab\/files\/2026\/01\/matlab_agenticAI_blogpost_1.png\" width = \"624\" height = \"332\" alt = \"RPI Screenshot.png\" style = \"vertical-align: baseline; width: 624px; height: 332px;\"><\/img><\/div><h2  style = 'margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>Why 3D Saturn? Why RPI?<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>\u201cI really enjoyed your videos on LinkedIn and Bluesky. Where did the idea come from?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Mike, your earlier <\/span><a href = \"https:\/\/blogs.mathworks.com\/matlab\/2025\/11\/03\/exploring-the-matlab-model-context-protocol-mcp-core-server-with-claude-desktop\/\"><span>blog posts<\/span><\/a><span> got me thinking about trying MATLAB MCP Core Server, but the real spark came when I saw <\/span><a href=\"https:\/\/www.linkedin.com\/posts\/tien-nguyen-a0795a99_this-is-one-of-the-most-breathtaking-photographs-activity-7398052712694722560-Xzxy\/\" target=\"_blank\" rel=\"noopener\"><span>a beautiful image of Saturn on LinkedIn<\/span><\/a><span>. I wondered \u201cCould I recreate this in 3D using MATLAB?\u201d <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I mostly use MATLAB for plotting and had zero experience with advanced graphics, so it felt like the perfect project to try an agentic workflow on. And with <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/communitycontests\/contests\/4\/entries?sort=views_count%2Bdesc\"><span>MATLAB Mini Hack gallery<\/span><\/a><span> full of helpful examples, I had plenty of materials for the coding agent to learn from.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>The results are amazing! I want to run them myself on MATLAB. Where is the code please?<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Sure, I\u2019m happy to share it, but keep in mind that you might not get the exact same results, because LLMs are non-deterministic. And that\u2019s a good thing. The whole point of agentic workflows is that your creativity becomes part of the process. This was my holiday project, so I kept it fun and exploratory. I\u2019d love to see how you make it your own.<\/span><\/div><ul  style = 'margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px; '><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href=\"https:\/\/github.com\/mathworks\/matlab-blog\/blob\/main\/2026\/example.m\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>example.m<\/span><\/a><span> - The example I fed to my coding agent (I converted <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/communitycontests\/contests\/4\/entries\/1116?websocket=on\"><span>this script<\/span><\/a><span> contributed by Adam Danz in MATLAB Mini Hack into plain text live script format)<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href=\"https:\/\/github.com\/mathworks\/matlab-blog\/blob\/main\/2026\/saturn3d_livescript.m\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>saturn3d_livescript.m<\/span><\/a><span> - Main MATLAB script (plain text live script with documentation)<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href=\"https:\/\/github.com\/mathworks\/matlab-blog\/blob\/main\/2026\/saturn3d_app.m\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>saturn3d_app.m<\/span><\/a><span> - Interactive app with uihtml controls<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><a href=\"https:\/\/github.com\/mathworks\/matlab-blog\/blob\/main\/2026\/saturn3d_controls.html\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>saturn3d_controls.html<\/span><\/a><span> - HTML\/JS control interface used within <\/span><span style=' font-style: italic;'>saturn3d_app.m<\/span><span> <\/span><\/li><\/ul><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>\u201cYou mentioned the Research\/Plan\/Implement (RPI) approach in your videos. What does it mean?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I kept seeing people talk about it on Reddit and YouTube. This is probably not a good use case, but in the past I often just told Copilot to \u201cstart coding,\u201d and the results were hit\u2011or\u2011miss. The RPI approach in an agentic workflow forces you to plan first, and I was blown away by the difference. The hype was real.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"http:\/\/blogs.mathworks.com\/matlab\/files\/2026\/01\/matlab_agenticAI_blogpost_2.png\" width = \"598\" height = \"399\" alt = \"RPI Workflow.png\" style = \"vertical-align: baseline; width: 598px; height: 399px;\"><\/img><\/div><h2  style = 'margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span style=' font-weight: bold;'>The RPI Workflow<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>\u201cLet''s start with research. What exactly did you do?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>The <\/span><span style=' font-weight: bold;'>Research<\/span><span> stage begins with a Product Requirements Document (PRD) which the coding agent creates from a prompt we supply. To create a PRD, I turned on the <\/span><span style=' font-weight: bold;'>Plan Mode<\/span><span>, and wrote a description of the goal - recreating Saturn\u2019s appearance in terms of look. Here is the actual prompt I used:<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-family: monospace;'>\"Help me write a PRD for a MATLAB project that recreates NASA's Saturn photo as a 3D graphic. I want the MATLAB output closely mimic the image in 3D, including, shading, colors, halos, and POV. Keep the PRD concise and appropriate for the scope of this project. The reference photo and a MATLAB code example are provided.\"<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Then I dragged in the <\/span><a href=\"https:\/\/www.linkedin.com\/posts\/tien-nguyen-a0795a99_this-is-one-of-the-most-breathtaking-photographs-activity-7398052712694722560-Xzxy\/?websocket=on\" target=\"_blank\" rel=\"noopener\"><span>reference photo<\/span><\/a><span> and example code, and let the coding agent work on it. It asked me clarifying questions and refined the document step by step.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>One interesting moment was when the coding agent asked me if I wanted visual effect or technical accuracy. I went with visual effect, but I wonder what I would have gotten if I had chosen technical accuracy. If I had domain expertise in astrophysics, that would have been an interesting path to go down. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Once the <\/span><a href=\"https:\/\/github.com\/mathworks\/matlab-blog\/blob\/main\/2026\/PRD.md\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>PRD.md<\/span><\/a><span> looked solid, I generated a CLAUDE.md<span> file, which <\/span><span style=' font-weight: bold;'>Claude Code<\/span><span>, the coding agent I used, creates by scanning files in the folder. It works as a persistent configuration file that anchors the agent\u2019s behavior. This file may be called AGENTS.md in other coding agents. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Everything\u2019s just Markdown, so it\u2019s easy to review and edit.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>\u201cThinking through the goals and requirements - Sounds like something we should be doing anyway. What comes next in the Plan stage?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>In the <\/span><span style=' font-weight: bold;'>Plan<\/span><span> stage, the coding agent generates an implementation outline based on the research documents and saves it as <\/span><a href=\"https:\/\/github.com\/mathworks\/matlab-blog\/blob\/main\/2026\/PLAN.md\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>PLAN.md<\/span><\/a><span>. I usually iterate on this a few times to clean up the logic.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Then I have the coding agent create a multi\u2011phased to\u2011do list based on that plan and save it as <\/span><a href=\"https:\/\/github.com\/mathworks\/matlab-blog\/blob\/main\/2026\/TASKS.md\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>TASKS.md<\/span><\/a><span>. This document tracks progress and ensures the implementation happens in phases instead of all at once. If something goes wrong, you can stop the agent before it moves on.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold;'>Do you ever hand edit these files? Or are they something that only the coding agent touches?<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I usually let the coding agent handle those files. That keeps everything consistent across the project without me manually updating each document. But when something needs a small tweak or clarification, I\u2019ll edit it myself.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>\u201cAt this point we have accumulated a lot of Markdown files. Why do we need them?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>To manage the context window - the LLM\u2019s short\u2011term memory. As the window fills, the model starts forgetting details and performance drops. We humans write things down for the same reason. By storing all important details in Markdown files, we can reset the context window between steps while preserving the information that matters.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>\u201cThat makes sense. Then what happens in the implementation stage?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Once the planning documents look good, you exit the <\/span><span style=' font-weight: bold;'>Plan Mode<\/span><span> and let the coding agent start the <\/span><span style=' font-weight: bold;'>Implementation<\/span><span> stage, phase by phase. If anything breaks or looks wrong, you stop it, make corrections, and re\u2011run the phase. The coding agent stays on track thanks to <\/span><span style=' font-weight: bold;'>PLAN.md<\/span><span> and <\/span><span style=' font-weight: bold;'>TASKS.md<\/span><span>. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Once everything is completed, then you can also let the agent generate a <\/span><span style=' font-weight: bold;'>README.md<\/span><span> file. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I still check the generated code, but the process could become even more autonomous if I write unit tests up front and add them to the task list. The coding agent can generate those tests as well, so that\u2019s the next logical improvement.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>\u201cYou mean adding verification and validation steps. This almost sounds like Model-Based Design.\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Right? Good ideas keep coming back.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>\u201cWhat else do you think you can improve on the RPI process?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I see a lot of talks about using of <\/span><a href=\"https:\/\/code.claude.com\/docs\/en\/sub-agents\" target=\"_blank\" rel=\"noopener\"><span>subagents<\/span><\/a><span> and also \"<\/span><a href=\"https:\/\/jpcaparas.medium.com\/ralph-wiggum-explained-the-claude-code-loop-that-keeps-going-3250dcc30809\" target=\"_blank\" rel=\"noopener\"><span>Ralph Wiggum loop<\/span><\/a><span>.\" Subagents are great for delegating self\u2011contained tasks, such as generating a live script, and this helps preserve the main agent's context window. The Ralph Wiggum loop takes the RPI idea even further by running the implementation phase in a continuous loop instead of planning out every step in advance. And beyond local workflows, you can run Claude Code in a <\/span><a href=\"https:\/\/code.claude.com\/docs\/en\/github-actions\" target=\"_blank\" rel=\"noopener\"><span>GitHub Actions<\/span><\/a><span> CI\/CD pipeline in the cloud. For example, you can trigger code review with Claude Code when you push changes. You can <\/span><a href=\"https:\/\/github.com\/matlab-actions\" target=\"_blank\" rel=\"noopener\"><span>use MATLAB with GitHub Actions<\/span><\/a><span> to trigger MATLAB tests as well. <\/span><\/div><h2  style = 'margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span style=' font-weight: bold;'>Setup and Tooling<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>\u201cWhere do you keep all the project files?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>To trust a coding agent, you need a <\/span><span style=' font-weight: bold;'>controlled environment<\/span><span> with easy <\/span><span style=' font-weight: bold;'>rollback -<\/span><span> that means <\/span><span style=' font-weight: bold;'>Git<\/span><span>. In MATLAB, you can right\u2011click a folder to <\/span><span style=' font-weight: bold;'>initialize a local Git repo<\/span><span>, and MATLAB automatically generates <\/span><span style=' font-family: monospace;'>.gitattributes<\/span><span> and <\/span><span style=' font-family: monospace;'>.gitignore<\/span><span>. I love this <\/span><a href = \"https:\/\/www.mathworks.com\/help\/matlab\/matlab_prog\/create-local-git-repository.html\"><span>new feature<\/span><\/a><span>.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I\u2019m on Windows, and I keep everything under <\/span><span style=' font-family: monospace;'>C:\\GitHub<\/span><span>. For a new project, I create a folder there and initialize it as a local repo. All project files live in that folder. <\/span><span style=' font-weight: bold;'>See below all the files I had before starting the RPI workflow<\/span><span>. Claude automatically creates <\/span><span style=' font-family: monospace;'>.claude<\/span><span> folder and <\/span><span style=' font-family: monospace;'>.mcp.json<\/span><span> was created when you set up MATLAB MCP Core Server. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Once <\/span><span style=' font-weight: bold;'>PRD.md<\/span><span> is added, this gives enough files for Claude Code to scan to generate <\/span><span style=' font-weight: bold;'>CLAUDE.md<\/span><span>. Make sure you make the coding agent update all the relevant Markdown files as you make changes. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-family: monospace;'>project\/<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span> <\/span><span style=' font-family: monospace;'>\u251c\u2500\u2500 .claude\/<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span> <\/span><span style=' font-family: monospace;'>\u251c\u2500\u2500 ref\/<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span> <\/span><span style=' font-family: monospace;'>\u2502   \u251c\u2500\u2500 saturn_photo.jpg<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span> <\/span><span style=' font-family: monospace;'>\u2502   \u2514\u2500\u2500 example.m<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span> <\/span><span style=' font-family: monospace;'>\u251c\u2500\u2500 .gitattributes<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span> <\/span><span style=' font-family: monospace;'>\u251c\u2500\u2500 .gitignore<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span> <\/span><span style=' font-family: monospace;'>\u2514\u2500\u2500 .mcp.json<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-weight: bold; font-style: italic;'>\u201cHow did you set up MATLAB MCP Core Server and Claude Code?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>MATLAB MCP Core Server<\/span><span> is just an executable - I put it in <\/span><span style=' font-family: monospace;'>C:\\MCP<\/span><span>. The configuration file for MCP is placed in individual project folders because I may want to customize it by project. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>In my case, I run <\/span><span style=' font-weight: bold;'>Claude Code<\/span><span> inside <\/span><span style=' font-weight: bold;'>VS Code<\/span><span> as the main coding agent and connect to MATLAB through MCP. But I recommend starting with <\/span><a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:ugcPost:7394827245908873216\/?websocket=on\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>Claude Desktop (video)<\/span><\/a><span> or <\/span><a href=\"https:\/\/www.linkedin.com\/feed\/update\/urn:li:ugcPost:7396901924765290497\/?websocket=on\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>GitHub Copilot (video)<\/span><\/a><span> inside VS Code, since both have free plans. It\u2019s a good way to get a feel for agentic workflows with MATLAB. If you use VS Code, don't forget to install <\/span><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=MathWorks.language-matlab\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>MATLAB Extension for VS code<\/span><\/a><span>. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I think Claude Desktop is easier to set up for beginners unless you already use VS Code. And if your Generative AI experience so far is mostly chat\u2011based, coding agents will feel different. You tell the agent what to do instead of asking questions. Get used to that first. Once you\u2019re ready for more, upgrade to the paid plan to use <\/span><span style=' font-weight: bold;'>Claude Code<\/span><span> to get the full benefit of RPI. The transition is smooth because you already installed most of the dependencies when you set up Claude Desktop or GitHub Copilot.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"http:\/\/blogs.mathworks.com\/matlab\/files\/2026\/01\/matlab_agenticAI_blogpost_3.png\" width = \"516\" height = \"385\" alt = \"RPI Tech Stack.png\" style = \"vertical-align: baseline; width: 516px; height: 385px;\"><\/img><\/div><h2  style = 'margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>Aha! Moments<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-style: italic;'>\u201cWhat I liked about your videos was how you used various MATLAB tools together with agentic AI, like creating live scripts and interactive apps. What impressed you the most?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Claude Skills<\/span><span> knocked my socks off - it\u2019s like the \u201cI know kung\u2011fu\u201d moment in <\/span><span style=' font-style: italic;'>The Matrix<\/span><span>. Install a skill, and suddenly the coding agent can do something it couldn't do before. There\u2019s a repo of prebuilt <\/span><a href=\"https:\/\/github.com\/matlab\/skills?websocket=on\" target=\"_blank\" rel=\"noopener\"><span style=' font-weight: bold;'>MATLAB Skills for Claude<\/span><\/a><span>, and they worked incredibly well. I\u2019m sure there are more skills waiting to be created, and anyone can contribute.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-style: italic;'>\u201cWhat surprised you the most about your experience?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>The <\/span><span style=' font-weight: bold;'>sense of control<\/span><span>. With RPI, I know exactly what the coding agent is going to do. I can pause, correct course, and keep it aligned. Before RPI, an agentic workflow felt like a slot machine - occasionally a jackpot, but mostly disappointment. This is a completely different paradigm. I invest more upfront in time, but the implementation becomes effortless and the results are more reliable.<\/span><\/div><h2  style = 'margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span style=' font-weight: bold;'>How to Get Started with Agentic Coding<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-style: italic;'>\u201cWhat\u2019s your recommended starter path for MATLAB users?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Do it with someone else - <\/span><span style=' font-weight: bold;'>vibe coding parties<\/span><span> are fun and surprisingly productive. Start simple: pick an example you like and recreate it. My 3D Saturn project is a great template.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Once you get going, ideas snowball. The agentic workflow closes the gap between ideation and implementation. And having a partner helps you bounce ideas around, get unstuck faster, and keep the energy high.<\/span><\/div><h2  style = 'margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>Becoming Excellent at Agentic Coding<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-style: italic;'>\u201cWhat advice would you give to someone who wants to get really good at this?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>This space evolves really fast. The word \"vibe coding\" didn't exist until February 2025. Claude Code didn't become widely available until June 2025, and MCP also gained momentum around that time. The RPI approach became popular only in the final quarter of 2025. I can't believe how timely it was that MATLAB MCP Core Server came out in that moment. Therefore, It's important to stay informed and keep practicing. I follow Reddit and YouTube. Most agentic content today is from software development community; I rarely see posts focused on scientific computing or engineering. I\u2019d love to see a dedicated community around that so we can level up together.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"http:\/\/blogs.mathworks.com\/matlab\/files\/2026\/01\/matlab_agenticAI_blogpost_4.png\" width = \"551\" height = \"367\" alt = \"RPI Timeline.png\" style = \"vertical-align: baseline; width: 551px; height: 367px;\"><\/img><\/div><h2  style = 'margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span style=' font-weight: bold;'>The Future of Technical Computing<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Mike:<\/span><span> <\/span><span style=' font-style: italic;'>\u201cHow do you see agentic AI changing the way scientists, engineers, and students work in MATLAB?\u201d<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span style=' font-weight: bold;'>Toshi:<\/span><span> <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Agentic coding is perfect for rapid prototyping or student projects. All you need is an idea, and you can go as deep as your domain expertise allows. This can stimulate learning. You can <\/span><span style=' font-weight: bold;'>prototype at the speed of thought, and m<\/span><span>any people speak directly to prompt coding agents because typing feels too slow. If you are on Windows, you can use built-in dictation feature with <\/span><span style=' font-weight: bold; font-family: monospace;'>\u229eWin+H<\/span><span> keyboard shortcut. Mac has something similar. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Agentic coding will change how we communicate ideas. Instead of pitching new ideas with slide decks, we\u2019ll demonstrate them with working prototypes. That eliminates a lot of back\u2011and\u2011forth and get us to \"yes\" or \"no\" much faster - freeing up more time for the next idea. In fact, you can work on multiple ideas in parallel in agentic workflows. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>MATLAB has always been the tool for turning ideas into prototypes; with agentic workflows, I think science and engineering can be accelerated <\/span><span style=' font-weight: bold;'>10\u00d7 or even 100\u00d7<\/span><span>. That\u2019s what excites me most.<\/span><\/div><h2  style = 'margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: 700; text-align: left; '><span>Closing Thoughts<\/span><\/h2><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Toshi\u2019s experience shows that using agentic coding effectively is not about magical prompt engineering - it\u2019s about solid planning and domain expertise. Clear requirements, thoughtful design, and structured execution transform AI experience from a slot machine into a reliable workflow.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>If you\u2019re fired up like I am, reach out - let's plan a vibe coding party!<\/span><\/div><h4  style = 'margin: 3px 10px 5px 4px; padding: 0px; line-height: 18px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 15px; font-weight: 700; text-align: left; '><span>A quick note on safety:<\/span><\/h4><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Agentic tools are powerful, and a few simple habits go a long way toward using them safely, securely, and responsibly:<\/span><\/div><ul  style = 'margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px; '><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span style=' font-weight: bold;'>Scope access narrowly<\/span><span> \u2014 allow the coding agent to see only the specific project folder it needs.<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span style=' font-weight: bold;'>Use Git for traceability<\/span><span> \u2014 version control gives you transparency, history, and easy rollback.<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span style=' font-weight: bold;'>Review everything<\/span><span> \u2014 generated code, terminal commands, file operations, and any external links.<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span style=' font-weight: bold;'>Approve only actions you understand<\/span><span> \u2014 avoid letting the agent execute steps you are not familiar with.<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span style=' font-weight: bold;'>Protect sensitive data<\/span><span> \u2014 do not use confidential or regulated data, content or code with coding agents.<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span style=' font-weight: bold;'>Use trusted components<\/span><span> \u2014 stick to MCP servers, Claude Skills, and plugins from reliable sources.<\/span><\/li><\/ul>\r\n<\/div><script type=\"text\/javascript\">var css = ''; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); head.appendChild(style); style.type = 'text\/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); }<\/script>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/matlab\/files\/2026\/01\/matlab_agenticAI_blogpost_1.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div><p>Bio: This blog post is co-authored by Toshi Takeuchi, Community Advocate active in online communities. Toshi has held marketing roles at MathWorks over the last 19 years.MathWorks released MATLAB MCP... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/matlab\/2026\/01\/26\/matlab-agentic-ai-the-workflow-that-actually-works\/\">read more >><\/a><\/p>","protected":false},"author":176,"featured_media":4117,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[78,63,128,135,85],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/posts\/4122"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/users\/176"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/comments?post=4122"}],"version-history":[{"count":5,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/posts\/4122\/revisions"}],"predecessor-version":[{"id":4178,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/posts\/4122\/revisions\/4178"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/media\/4117"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/media?parent=4122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/categories?post=4122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/matlab\/wp-json\/wp\/v2\/tags?post=4122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}