Desktop PySide6 main window and background pipeline worker
CLI cad-analyze, cad-revision, desktop launcher
Web SPA React + Vite drawing viewer, prompts, approvals
Claude plugin Skill surface invokes the packaged command workflow
Ingress and sessions FastAPI upload/plan/apply/revision APIs; local desktop and CLI enter below HTTP.
Objective + intent routing Classifies what the user wants and why, then selects an ordered strategy.
Typed stage pipeline Registered handlers execute in order. Every stage emits a gate; rejection stops downstream work.
Validation + approval gates Pydantic schemas, protected-layer rules, previews, explicit approvals, bounded agent turns.
Drawing context DXFReader, typed geometry, units, elevation, CRS, entity index.
Analysis families Compliance, health, takeoff, Q&A, summaries, RFIs, zones, comparison.
Edit + revision engine Validated operations only; ezdxf performs mutation and revision notes.
Local artifacts Original input, preview renders, save-as DXF, changelog, overlays, bundles.
Model seam Mock or BYOK model + compatible endpoint
ODA converter Required for real DWG conversion
Cloud + OTel Operator-owned hosting, persistence, telemetry
CAD AI Agent component and data-flow architecture
Desktop, command-line, web, and Claude Code plugin surfaces converge on objective routing and a typed stage pipeline. Drawing context feeds deterministic analysis or a model planning seam. Validation and approval gates control the edit engine, which writes new local artifacts without overwriting the original.
direct context typed result plan() convert