<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Agentic Mode &#8211; Xojo Programming Blog</title>
	<atom:link href="https://blog.xojo.com/tag/agentic-mode/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.xojo.com</link>
	<description>Blog about the Xojo programming language and IDE</description>
	<lastBuildDate>Tue, 24 Nov 2026 16:18:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.12</generator>
	<item>
		<title>How to Get AI Coding Agents to Follow Your Project Rules with AGENTS.md</title>
		<link>https://blog.xojo.com/2026/11/24/how-to-get-ai-coding-agents-to-follow-your-project-rules-with-agents-md/</link>
		
		<dc:creator><![CDATA[Gabriel Ludosanu]]></dc:creator>
		<pubDate>Tue, 24 Nov 2026 16:18:57 +0000</pubDate>
				<category><![CDATA[Cross-Platform]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Agentic Mode]]></category>
		<category><![CDATA[AGENTS.md]]></category>
		<category><![CDATA[AI Coding Agents]]></category>
		<category><![CDATA[Git]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=16832</guid>

					<description><![CDATA[With Agentic Mode in Xojo 2026r3, a coding agent can read and edit your project files. Additionally, it can ask Xojo to build and run&#8230;]]></description>
										<content:encoded><![CDATA[
<p>With Agentic Mode in Xojo 2026r3, a coding agent can read and edit your project files. Additionally, it can ask Xojo to build and run your app in debug mode. If the build fails, the agent can use the compiler errors to fix the code.</p>



<p>Think of the agent as a developer intern on their first day. Explain what the app does and how you work on it. Give the agent one small task with a clear result, then review its changes and try them in Xojo.</p>



<p>Say you’re working on an inventory app where “low stock” means five units or fewer. Save that rule in&nbsp;<code>AGENTS.md</code>&nbsp;so the agent can use it again. In the agent’s chat, ask for a checkbox that shows only products with low stock.</p>



<p>You can adapt these examples to your own Xojo project. If you need help connecting your coding agent to Xojo, start with the QuickStart. <a href="https://documentation.xojo.com/getting_started/quickstarts/ai_quickstart.html" target="_blank" rel="noreferrer noopener">Xojo AI QuickStart</a></p>



<h2 class="wp-block-heading" id="the-two-files-xojo-uses-in-agentic-mode">The two files Xojo uses in Agentic Mode</h2>



<p>When you enable Agentic Mode, Xojo creates <code>XOJO-CODING.md</code> in the project folder. It contains Xojo’s guidance on working with project files, finding the documentation, and running the project. Each time you open the project in Agentic Mode, Xojo retrieves a fresh copy from its servers so we can keep that guidance up to date. We regularly test different AI models and refine the instructions to help them write correct Xojo code. <a href="https://documentation.xojo.com/getting_started/using_the_ide/agentic_mode.html" target="_blank" rel="noreferrer noopener">Xojo Agentic Mode documentation</a></p>



<p><strong>Do not edit&nbsp;<code>XOJO-CODING.md</code>. Xojo overwrites it the next time you open the project in Agentic Mode.</strong>&nbsp;Put your own instructions in&nbsp;<code>AGENTS.md</code>.</p>



<p>If your project folder has no <code>AGENTS.md</code>, Xojo creates a starter whose only job is to point the agent to <code>XOJO-CODING.md</code>. If you already have an <code>AGENTS.md</code>, Xojo keeps it. Open <code>AGENTS.md</code> in a plain-text editor and add your own sections below the existing Xojo reference. If your file is missing that reference, <a href="http://Agentic Mode introduction" target="_blank" rel="noreferrer noopener">this</a> blog post shows how to add it. </p>



<h3 class="wp-block-heading" id="give-the-agent-rules-it-can-use-again">Give the agent rules it can use again</h3>



<p>Think of questions that a new developer would ask you to get started on this project. Which module handles database access? What should they check after changing the import?</p>



<p>Suppose your&nbsp;<code>AGENTS.md</code>&nbsp;starts like this.</p>



<pre class="wp-block-code"><code># AGENTS.md

@XOJO-CODING.md</code></pre>



<p>Add your own section below the existing&nbsp;<code>XOJO-CODING.md</code>&nbsp;reference. Some projects use a longer block for the reference. Keep that block intact too.</p>



<pre class="wp-block-code"><code># AGENTS.md

@XOJO-CODING.md

## Inventory app

- Low stock means five units or fewer, including zero.
- Filters only change which rows are visible. Ask before changing how inventory is saved.
- When you change a filter, tell me how to check the cutoff and what happens when no rows match.</code></pre>



<p>You can ask the agent to write a short overview of an existing project. Try asking, “Review the whole project and add a&nbsp;<code>Project overview</code>&nbsp;section to&nbsp;<code>AGENTS.md</code>. Explain what the app does, where its main features live, and any project conventions you can verify. Keep the&nbsp;<code>XOJO-CODING.md</code>&nbsp;reference intact.” Review what it writes and correct anything it misunderstood.</p>



<p>When you find yourself asking for the same test again, save it as a rule. “Add a bullet to&nbsp;<code>AGENTS.md</code>&nbsp;asking future agents to check items with zero, five, and six units when they change the low-stock filter. Keep the&nbsp;<code>XOJO-CODING.md</code>&nbsp;reference intact and show me the new bullet.”</p>



<h3 class="wp-block-heading" id="three-sections-you-can-borrow-for-agentsmd">Three sections you can use for&nbsp;<code>AGENTS.md</code></h3>



<p>In one of my projects, I kept&nbsp;<code>@XOJO-CODING.md</code>&nbsp;at the top and added the sections below. Copy whichever sections suit your project.</p>



<pre class="wp-block-code"><code># AGENTS.md

@XOJO-CODING.md

## Code conventions

- Prefer native Xojo objects unless the task calls for something else.
- Use `Str(expression)` to convert an arithmetic expression to a string.
- Use descriptive variable names. Avoid `text` as a variable name.
- Follow the &#91;Xojo coding guidelines](https://documentation.xojo.com/topics/code_management/coding_guidelines.md) where this project has no convention of its own.

## Analyze the Project

Project &gt; Analyze Project compiles the whole project for the current target but doesn't build or run it. Treat it as the compiler with warnings on. It checks correctness, not style or the coding guidelines.

- <strong>**Errors**</strong>: anything that would stop the build.
- <strong>**Warnings**</strong>: whatever the user has enabled in the IDE's Analysis Warnings settings. Usually deprecated APIs that have a replacement, unused locals and parameters, lossy implicit conversions, and `#Pragma Warning` messages.

<strong>**When:**</strong> after each round of edits, before Build &amp; Run. It's faster and finds the same compile errors. Before finishing, the project must analyze with no errors. Then also Build &amp; Run, as XOJO-CODING.md requires. If running isn't possible, a clean Analyze is the minimum.

<strong>**Limits:**</strong>

- It checks the current target only. Code in another platform's `#If` branch is skipped and may still have errors. Variables used only there are reported as unused. Don't delete them.
- A missing warning doesn't mean the code is clean, because the user may have that check turned off.
- Ignore warnings from encrypted classes and third-party plugins.

<strong>**Run**</strong> the command for your OS once. If you get no reply within 5 seconds, don't retry. Ask the user to run Project &gt; Analyze Project and paste the contents of the Errors &amp; Warnings pane.

Windows:

```powershell
$b = &#91;Text.Encoding]::UTF8.GetBytes("{`"protocol`":2}`0" + '{"tag":"t","script":"DoCommand(\"CheckProjectErrors\")\nPrint \"done\""}' + "`0")
$cl = foreach ($p in (Get-NetTCPConnection -OwningProcess (Get-Process Xojo).Id -State Listen).LocalPort) { try { $t = &#91;Net.Sockets.TcpClient]::new('127.0.0.1', $p); $t.GetStream().Write($b, 0, $b.Length); $t } catch {} }
Start-Sleep 5
foreach ($t in $cl) { $s = $t.GetStream(); $r = New-Object byte&#91;] 65536; while ($s.DataAvailable) { &#91;Text.Encoding]::UTF8.GetString($r, 0, $s.Read($r, 0, 65536)).Replace("`0", "`n") }; $t.Close() }
```

macOS/Linux:

```bash
(printf '{"protocol":2}\0'; printf '{"tag":"t","script":"%s"}\0' 'DoCommand(\"CheckProjectErrors\")\nPrint \"done\"'; sleep 4) | nc -U /tmp/XojoIDE | tr '\0' '\n'
```

<strong>**Result:**</strong>

- If no reply or the reply is `"done"`, the project is clean.
- Otherwise, `buildError.errors` and/or `buildError.warnings` come first, followed by `"done"`. The same items go to `XojoCompileErrors.txt`, and a clean analyze clears that file.
- Fix every error, then analyze again.
- Fix warnings only in code you changed. For a deprecation, use the replacement API the warning names. List any other warnings in your summary instead of fixing them. If a parameter is unused on purpose, add `#Pragma Unused paramName`.

## Runtime Logging (Optional)

- When a bug depends on a value you can only see at runtime, add a temporary `System.DebugLog` call near the relevant code. Prefix the message so it is easy to find and name the value you are logging.
- Run the app in the Xojo debugger and reproduce the problem. If you can’t see the IDE’s Messages panel, ask me to paste the lines with the `&#91;AGENT-XOJO-DBG]` prefix.
- Remove temporary logging before finishing the task.

```xojo
#If DebugBuild Then
  System.DebugLog("&#91;AGENT-XOJO-DBG] " + CurrentMethodName + " quantity=" + Str(quantity))
#EndIf
```</code></pre>



<p>Adapt the coding conventions to your project. <br><a href="https://documentation.xojo.com/getting_started/debugging/introduction.html" target="_blank" rel="noreferrer noopener">Analyzing and debugging a Xojo project</a> · <a href="https://documentation.xojo.com/api/os/system.html#system-debuglog" target="_blank" rel="noreferrer noopener">System.DebugLog</a> · <a href="https://documentation.xojo.com/api/compiler_directives/debugbuild.html" target="_blank" rel="noreferrer noopener">DebugBuild</a> · <a href="https://documentation.xojo.com/api/text/str.html" target="_blank" rel="noreferrer noopener">Str</a></p>



<h3 class="wp-block-heading" id="different-agents-follow-instructions-differently">Different agents follow instructions differently</h3>



<p>New coding agents and models come out regularly. Some follow project instructions more reliably than others. Xojo controls the guidance it ships and how the IDE responds. The agent and its model determine how closely they follow that guidance.</p>



<p>When you try a new agent or model, ask it to read&nbsp;<code>AGENTS.md</code>&nbsp;and the referenced&nbsp;<code>XOJO-CODING.md</code>, then explain one project rule in its own words. If it gets the rule wrong, check which folder it’s working in and whether it read both files. After its first task, check that the changes follow the rule.</p>



<h2 class="wp-block-heading" id="save-a-working-version-with-local-git">Save a working version with local Git</h2>



<p>A Git repository keeps a history of your project files. A commit records a version you can compare with later changes. The whole history can live on your computer.</p>



<p>When I start a new app, I drag the blank Xojo project folder into my coding agent app. The first thing I ask the agent to do is create a local Git repository and commit the blank project. Then I explain what the app is for and what the first usable version needs to do. That first commit gives me a starting point I can compare with the changes the agent makes.</p>



<p>For an existing app, run it first to make sure it still works. Use its Git repository if it has one. To set up Git for a project for the first time, ask the agent to make the initial commit.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Create a local Git repository for this Xojo project. Include the project source, required resources, and&nbsp;<code>AGENTS.md</code>. Add a&nbsp;<code>.gitignore</code>&nbsp;for files such as&nbsp;<code>*.xojo_uistate</code>&nbsp;and generated builds. Make the initial commit. Keep the repository local.</p>
</blockquote>



<h2 class="wp-block-heading" id="what-to-ask-your-coding-agent">What to ask your coding agent</h2>



<p>Use the names you see in the Xojo Navigator so the agent knows where to look. Tell it whether you want an explanation or an edit.</p>



<p><strong>Understand existing code.</strong>&nbsp;“Where does the inventory list get its rows? Show me the window and method to open in the Xojo Navigator.”</p>



<p><strong>Plan a change.</strong>&nbsp;“How would you add a low-stock filter that works with the existing search box? Tell me which project items you’d edit and wait for me before changing them.”</p>



<p><strong>Make the change.</strong>&nbsp;“Add a ‘Low stock only’ checkbox to the Inventory window and leave it unchecked by default. When it’s checked, show rows that match the current search and the low-stock rule in&nbsp;<code>AGENTS.md</code>. When it’s cleared, show all rows that match the current search. Tell me what you changed and what you tested.”</p>



<p><strong>Investigate a bug.</strong>&nbsp;“With ‘Low stock only’ checked and the search box empty, an item with five units disappears. An item with four units still shows up. Find where the cutoff is applied and explain the likely cause before editing.”</p>



<h3 class="wp-block-heading" id="update-part-of-an-older-project-to-api-20">Update part of an older project to API 2.0</h3>



<p>Before changing an older app, run it in the Xojo version you plan to use and save that working version in Git. Turn on deprecation warnings under <strong>Project > Analysis Warnings</strong>, then use <strong>Project > Analyze Project</strong> to find calls with documented replacements. Start with one method or module so you can check that it still behaves the same way after the update. <a href="https://documentation.xojo.com/topics/api_design/moving_to_api_2.0.html" target="_blank" rel="noreferrer noopener">Moving to API 2.0</a> · <a href="https://documentation.xojo.com/resources/updating_older_projects.html" target="_blank" rel="noreferrer noopener">Updating older projects</a></p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Start with the inventory import method. Identify any deprecated API 1.0 calls and propose replacements from the current Xojo documentation. Preserve the existing import behavior, including what happens when the file is missing or invalid. Tell me how to check each case in Xojo.</p>
</blockquote>



<p><a href="https://www.youtube.com/watch?v=CWXGoysjTa0" target="_blank" rel="noreferrer noopener">Watch the Xojo video on YouTube</a></p>



<h2 class="wp-block-heading" id="verify-the-task-and-ask-the-agent-to-commit-it">Verify the task and ask the agent to commit it</h2>



<p>Ask the agent to run the project in Xojo after its edits and report what it could verify. For the inventory checkbox, try items with 0, 5, and 6 units. With the filter on, only the first two should appear when the search field is empty. Type a search that matches one of those items, then try one that matches nothing. Clear the checkbox and check that the six-unit item can show up again when it matches the search. The quantities should stay the same throughout. If the agent can only confirm that the app launched, do these checks in the running app yourself. <a href="https://documentation.xojo.com/getting_started/using_the_ide/agentic_mode.html" target="_blank" rel="noreferrer noopener">Xojo Agentic Mode documentation</a></p>



<p>A bug fix or refactor can take several debug runs. Once the task is complete, confirm that the app runs in debug mode and check the behavior you changed. Review the edits, then ask the agent for one local commit for the whole task.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>The app ran successfully in Xojo and the filter checks passed. Make a local Git commit with the message “Add low-stock filter to inventory.” Include only the changes for this task. Give me the commit ID and tell me if any changes are still pending.</p>
</blockquote>



<p>If you want to make this a regular part of working with the agent, add a rule to&nbsp;<code>AGENTS.md</code>. For example, “For each completed coding task, confirm the project ran successfully in Xojo and check the relevant behavior. Ask me to do any checks you can’t perform. After I review the changes, make one local commit for the task and report the commit ID.”</p>



<p>Happy coding! P.S.: ask the agent about <code>worktrees</code> <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<p><em>Gabriel is a digital marketing enthusiast who loves coding with Xojo to create cool software tools for any platform. He is always eager to learn and share new ideas!</em></p>



<ul class="wp-block-social-links has-normal-icon-size is-content-justification-center is-layout-flex wp-container-core-social-links-is-layout-16018d1d wp-block-social-links-is-layout-flex"><li class="wp-social-link wp-social-link-facebook  wp-block-social-link"><a rel="noopener nofollow" target="_blank" href="https://www.facebook.com/goxojo" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"></path></svg><span class="wp-block-social-link-label screen-reader-text">Facebook</span></a></li>

<li class="wp-social-link wp-social-link-x  wp-block-social-link"><a rel="noopener nofollow" target="_blank" href="https://x.com/xojo" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg><span class="wp-block-social-link-label screen-reader-text">X</span></a></li>

<li class="wp-social-link wp-social-link-linkedin  wp-block-social-link"><a rel="noopener nofollow" target="_blank" href="https://www.linkedin.com/company/xojo" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"></path></svg><span class="wp-block-social-link-label screen-reader-text">LinkedIn</span></a></li>

<li class="wp-social-link wp-social-link-github  wp-block-social-link"><a rel="noopener nofollow" target="_blank" href="https://github.com/topics/xojo" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"></path></svg><span class="wp-block-social-link-label screen-reader-text">GitHub</span></a></li>

<li class="wp-social-link wp-social-link-youtube  wp-block-social-link"><a rel="noopener nofollow" target="_blank" href="https://www.youtube.com/c/XojoInc" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"></path></svg><span class="wp-block-social-link-label screen-reader-text">YouTube</span></a></li></ul>



<p class="has-text-align-center has-text-color has-link-color wp-elements-a0a2ac26ad214a49dac577734d259176" style="color:#84bd00"><a href="https://xojo.com/download/" target="_blank" rel="noreferrer noopener">Download Xojo</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Use AI Coding Agents with Xojo Agentic Mode</title>
		<link>https://blog.xojo.com/2026/10/20/use-ai-coding-agents-with-xojo-agentic-mode/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Tue, 20 Oct 2026 16:52:47 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[2026r3]]></category>
		<category><![CDATA[Agentic Mode]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[AI Code Generation]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<guid isPermaLink="false">https://blog.xojo.com/?p=16563</guid>

					<description><![CDATA[In Xojo 2026r3, the new Agentic Mode makes it easy to work with your favorite coding agent to help make apps. For about a year&#8230;]]></description>
										<content:encoded><![CDATA[
<p>In Xojo 2026r3, the new Agentic Mode makes it easy to work with your favorite coding agent to help make apps.</p>



<p>For about a year now, Jade, Xojo&#8217;s built-in AI chat assistant, has been able to help you with coding questions, code reviews, bug fixes and focused code generation. Agentic Mode takes things to an entirely new level.</p>



<p>Coding agents are separate products that are able to do interactive code generation directly on project files. Popular coding agents include <a href="https://claude.com/product/claude-code" target="_blank" rel="noreferrer noopener">Claude Code</a> and <a href="https://chatgpt.com/codex" target="_blank" rel="noreferrer noopener">ChatGPT Codex</a>, but there are many others. I&#8217;ve personally found that Claude Code works well from inside the Claude desktop app.</p>



<p>Although most of the AI companies let you use their chat products for free, you usually have to purchase a plan to get access to the coding agent. Of course, there are some free plans around and you could even install a local LLM and an open-source agent if you wanted. Since the coding agent works directly on the project files, any coding agent will work with Agentic Mode in Xojo.</p>



<h2 class="wp-block-heading">What is Agentic Mode?</h2>



<p>For Xojo, <a href="https://documentation.xojo.com/getting_started/using_the_ide/agentic_mode.html" target="_blank" rel="noreferrer noopener">Agentic Mode</a> is a setting in the File menu that provides some guidance to the coding agent and allows the agent to request to run Xojo projects and get back compilation errors. It also tells Xojo to regularly reload files in the project as they are changed.</p>



<p>To use Agentic Mode you first have to save the project to text format. After doing this, you can select File-&gt;Agentic Mode to turn it on. This displays the Messages panel so you can see information about project files that get reloaded.</p>



<p>You can now go to your coding agent and add the folder containing your text project as a work folder. After doing that you can type prompts to the coding agent and watch it do its thing. The agent will think, change files, request to run the project, review any compilation errors and generally just chug along until it has finished the task you gave it. While this is all happening, you&#8217;ll be able to watch project items change in Xojo and even see the debug app start and stop.</p>



<p>Each coding agent works similarly, but they have their differences as well. They are also all highly capable and will learn new features as they work through your project and your prompts.</p>



<h2 class="wp-block-heading">Agentic Mode in Action</h2>



<p>To show you how Agentic Mode works, we will do two quick examples.</p>



<p>This first example creates an empty project and asks the coding agent to create an app.</p>



<p>Start Xojo, from the Project Chooser select Desktop and give it the name StockTicker. Check the &#8220;for AI (Agentic Mode)&#8221; checkbox and click Create. You will be immediately prompted to choose a folder. Select a folder and Xojo will automatically create a new folder in that folder with the name StockTicker, save the project as text into the folder and turn on Agentic Mode.</p>



<p>You can now open your coding agent (I&#8217;m using Claude Code for this example) and start a new session. Add the StockTicker folder as a working directory and select your preferred model (I used Sonnet 5.5/Medium). Now enter the prompt to create the app. I used this:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Create a stock ticker app. By default have it show some common stocks in the S&amp;P 500, but allow the user to enter their own stock tickers. Use a web service to get values for stocks in common indices. Display the stock prices in a list.</p>
</blockquote>



<p>Here is my initial setup with Xojo and Claude Code both open:</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="446" src="https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.09.06@2x-1024x446.png" alt="" class="wp-image-16585" srcset="https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.09.06@2x-1024x446.png 1024w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.09.06@2x-300x131.png 300w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.09.06@2x-768x334.png 768w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.09.06@2x-1536x668.png 1536w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.09.06@2x-2048x891.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Claude Code chugged for a couple minutes and when it was done it had created this app:</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="750" src="https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.14.19@2x-1024x750.png" alt="" class="wp-image-16586" srcset="https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.14.19@2x-1024x750.png 1024w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.14.19@2x-300x220.png 300w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.14.19@2x-768x562.png 768w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.14.19@2x-1536x1125.png 1536w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-14.14.19@2x.png 1584w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Here is a (sped-up) video of the overall process:</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Using Xojo&#039;s Agentic Mode - ToDo Claude Example" width="500" height="281" src="https://www.youtube.com/embed/dRDzpOHi9Bw?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p>The next example modifies an existing project. In this case, we will use the ToDo project that is included as a Xojo example. Using the Project Chooser, open the Desktop ToDo example and save it as a text project to a folder called DesktopToDo. Turn on Agentic Mode (File-&gt;Agentic Mode).</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="663" src="https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.42.29@2x-1024x663.png" alt="" class="wp-image-16574" srcset="https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.42.29@2x-1024x663.png 1024w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.42.29@2x-300x194.png 300w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.42.29@2x-768x497.png 768w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.42.29@2x-1536x994.png 1536w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.42.29@2x-2048x1325.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Open your coding agent, add the DesktopToDo folder and give it your prompt. I used this:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Please review and improve this project. Perhaps make the UI a little snazzier and clean up code as necessary.</p>
</blockquote>



<p>The ToDo app UI went from looking like this:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="711" src="https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.45.09@2x-1024x711.png" alt="" class="wp-image-16575" srcset="https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.45.09@2x-1024x711.png 1024w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.45.09@2x-300x208.png 300w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.45.09@2x-768x533.png 768w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.45.09@2x-1536x1067.png 1536w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.45.09@2x-2048x1422.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>To this:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="713" src="https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.50.08@2x-1024x713.png" alt="" class="wp-image-16576" srcset="https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.50.08@2x-1024x713.png 1024w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.50.08@2x-300x209.png 300w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.50.08@2x-768x535.png 768w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.50.08@2x-1536x1069.png 1536w, https://blog.xojo.com/wp-content/uploads/2026/09/CleanShot-2026-09-29-at-11.50.08@2x-2048x1426.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>It took less than two minutes for Claude Code to make these changes, fixing some of its own compile errors along the way. There were also code changes, of course. It even offered to make additional changes, such as add the ability to save the ToDo items between app launches.</p>



<p>Here is a (sped up) video of Claude Code working on this with Xojo:</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Using Xojo&#039;s Agentic Mode - ToDo Claude Example" width="500" height="281" src="https://www.youtube.com/embed/dRDzpOHi9Bw?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p>Keep in mind that because these AI systems are non-deterministic you will get wildly different results from the same prompt. For example, in different tests with this same example and prompt, I got a changed ToDo app UI that was more colorful and had automatic saving and loading.</p>



<h2 class="wp-block-heading">Other Agentic Mode Notes</h2>



<p>You can toggle Agentic Mode on or off via IDE scripting with this command:</p>



<pre class="wp-block-code"><code>DoCommand("ToggleAgenticMode")</code></pre>



<p>Many coding agents have their own built-in browser and can use that to run and test Xojo web apps.</p>



<p>You can use Xojo while a coding agent is changing things, but keep in mind that changes you make might get overwritten by agent changes.</p>



<p>When Agentic Mode is turned on, Xojo adds an empty AGENTS.md file to the project folder that imports the XOJO-CODING.md guidelines file. You can add your own tips and suggestions to AGENTS.md (and even have the agent do it itself), but keep the link to XOJO-CODING.md intact. If you already have an AGENTs.md file in that folder that you added then Xojo won&#8217;t overwrite it, so be sure to tell it to reference XOJO-CODING.md with something like this:</p>



<pre class="wp-block-code"><code>&lt;xojo-coding&gt;
Before answering ANY message (including questions, suggestions, and planning) read the @XOJO-CODING.md file, right now.
Begin your first reply with one line: "XOJO-CODING.md loaded", then answer normally.
&lt;/xojo-coding&gt;</code></pre>



<p>The Agentic Mode setting is saved with your Xojo text project file. This allows you to have projects that automatically activate Agentic Mode when they are opened.</p>



<p>I hope you find Agentic Mode helpful for your workflow! Read more in the <a href="https://documentation.xojo.com/getting_started/using_the_ide/agentic_mode.html" target="_blank" rel="noreferrer noopener">Xojo Docs</a> or get started with the <a href="https://documentation.xojo.com/getting_started/quickstarts/ai_quickstart.html" target="_blank" rel="noreferrer noopener">AI QuickStart</a>.</p>



<figure class="wp-block-image size-full"><a href="https://knowyourmeme.com/memes/i-for-one-welcome-our-new-insect-overlords"><img loading="lazy" decoding="async" width="577" height="433" src="https://blog.xojo.com/wp-content/uploads/2026/09/image.png" alt="" class="wp-image-16568" srcset="https://blog.xojo.com/wp-content/uploads/2026/09/image.png 577w, https://blog.xojo.com/wp-content/uploads/2026/09/image-300x225.png 300w" sizes="auto, (max-width: 577px) 100vw, 577px" /></a></figure>



<p><em>Paul learned to program in BASIC at age 13 and has programmed in more languages than he remembers, with Xojo being an obvious favorite. When not working on Xojo, you can find him talking about retrocomputing at <a href="https://goto10.substack.com" target="_blank" rel="noreferrer noopener">Goto 10</a> and </em>on Mastodon @lefebvre@hachyderm.io.</p>



<ul class="wp-block-social-links has-normal-icon-size is-content-justification-center is-layout-flex wp-container-core-social-links-is-layout-16018d1d wp-block-social-links-is-layout-flex"><li class="wp-social-link wp-social-link-facebook  wp-block-social-link"><a rel="noopener nofollow" target="_blank" href="https://www.facebook.com/goxojo" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"></path></svg><span class="wp-block-social-link-label screen-reader-text">Facebook</span></a></li>

<li class="wp-social-link wp-social-link-x  wp-block-social-link"><a rel="noopener nofollow" target="_blank" href="https://x.com/xojo" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg><span class="wp-block-social-link-label screen-reader-text">X</span></a></li>

<li class="wp-social-link wp-social-link-linkedin  wp-block-social-link"><a rel="noopener nofollow" target="_blank" href="https://www.linkedin.com/company/xojo" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"></path></svg><span class="wp-block-social-link-label screen-reader-text">LinkedIn</span></a></li>

<li class="wp-social-link wp-social-link-github  wp-block-social-link"><a rel="noopener nofollow" target="_blank" href="https://github.com/topics/xojo" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12,2C6.477,2,2,6.477,2,12c0,4.419,2.865,8.166,6.839,9.489c0.5,0.09,0.682-0.218,0.682-0.484 c0-0.236-0.009-0.866-0.014-1.699c-2.782,0.602-3.369-1.34-3.369-1.34c-0.455-1.157-1.11-1.465-1.11-1.465 c-0.909-0.62,0.069-0.608,0.069-0.608c1.004,0.071,1.532,1.03,1.532,1.03c0.891,1.529,2.341,1.089,2.91,0.833 c0.091-0.647,0.349-1.086,0.635-1.337c-2.22-0.251-4.555-1.111-4.555-4.943c0-1.091,0.39-1.984,1.03-2.682 C6.546,8.54,6.202,7.524,6.746,6.148c0,0,0.84-0.269,2.75,1.025C10.295,6.95,11.15,6.84,12,6.836 c0.85,0.004,1.705,0.114,2.504,0.336c1.909-1.294,2.748-1.025,2.748-1.025c0.546,1.376,0.202,2.394,0.1,2.646 c0.64,0.699,1.026,1.591,1.026,2.682c0,3.841-2.337,4.687-4.565,4.935c0.359,0.307,0.679,0.917,0.679,1.852 c0,1.335-0.012,2.415-0.012,2.741c0,0.269,0.18,0.579,0.688,0.481C19.138,20.161,22,16.416,22,12C22,6.477,17.523,2,12,2z"></path></svg><span class="wp-block-social-link-label screen-reader-text">GitHub</span></a></li>

<li class="wp-social-link wp-social-link-youtube  wp-block-social-link"><a rel="noopener nofollow" target="_blank" href="https://www.youtube.com/c/XojoInc" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"></path></svg><span class="wp-block-social-link-label screen-reader-text">YouTube</span></a></li></ul>



<p class="has-text-align-center has-text-color has-link-color wp-elements-a0a2ac26ad214a49dac577734d259176" style="color:#84bd00"><a href="https://xojo.com/download/" target="_blank" rel="noreferrer noopener">Download Xojo</a></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
