by adom
Let an AI (Claude, ChatGPT, Codex or any agent) run Altium Designer for you: create symbols and footprints, place parts (also from Altium 365), wire and annotate schematics, Update PCB, set the stack-up and rules, route, pour copper, add mounting holes and stitching vias, run ERC and DRC, and make Gerbers, BOMs and STEP. Free in Hydrogen; bring your own AI and Altium licence.
Agent template fails to compile on the ADDevelop build: Undeclared identifier PostProcess, raised as a modal on the user's screen
Follow-on from issue 2, same box (ADDevelop 26.9.1.9, fresh session, Home Page only, no PCB document open). With the detector fixed, altium_agent_start proceeds: the agent installs (installed true) and the script compiles far enough to HALT on 'Undeclared identifier: PostProcess', which Altium raises as an Error modal on the user's screen; agent alive stays false. Colby saw the dialog pop while working, which is the worst presentation of it.
The template references PCBServer.PostProcess at four sites (AdomAgent.pas.tmpl 140, 719, 1153, 1188 in the v0.1.8 zip). Hypothesis for why your box passed and this one fails: with no PCB document ever opened in the session, the PCB scripting API unit is not registered, so the compiler does not know the identifier; your measured runs had PCB docs in play. If that holds, the fix shape is to gate the PCBServer calls behind a runtime check or move them out of the compiled-at-bootstrap path so the agent comes alive on a fresh session and the PCB helpers bind lazily.
Cleanup verified live: altium_agent_recover cleared the modal (dialogs now zero) exactly as designed. Not attempting a template PR from here: I cannot compile DelphiScript offline, and a guessed edit would just raise another modal on the user's screen; the evidence above should make it a quick one on a box with the API in front of you.