Your agent builds. Then code runs.
What it builds runs on your Mac as ordinary code: fast, the same every time, with your data kept on your Mac, and still working when your agent is away. Your agent comes in when you ask for a change, when something breaks, or when you press a button that asks for its judgment.