How amagine-ai/amagine3d works
Amagine3D is a web-based, AI-assisted CAD workbench for turning hardware requirements, images, and dimensions into editable designs and manufacturing artifacts. Users submit a chat request, review iterative CAD generation and checks, inspect previews and reports, adjust parameters, then retrieve or export artifacts. The graph retains documented intent/scene authoring, CAD compilation, geometry validation, rendering, and manufacturing exports as distinct product stages. Some skill internals are unsampled; README capability descriptions support the broader branches, while uncertain implementation links are omitted.
Main entry points: runtime.ts Agent runtime · authoring.py Intent authoring · CadWorkbench.tsx CAD workbench · app.ts HTTP application
Components 24
Workbench
- Workbench shell
src/App.tsx - CAD workbench
src/components/CadWorkbench.tsx - Model preview
src/components/cad-workbench/PreviewPanel.tsx - 3D viewer
src/components/CadViewer.tsx - Agent API client
src/lib/agent-api.ts
Application server
- HTTP application
server/app.ts - Chat route
server/routes/chat.ts - Workbench RPC
server/trpc/router.ts - Session management
server/sessions.ts - Artifact management
server/artifacts.ts
Agent runtime
- Agent runtime
packages/a3d-runtime/src/runtime.ts - Web search broker
packages/a3d-runtime/src/tavily-search-broker.ts
Design and CAD
- Intent authoring
skills/a3d-public/authoring.py - Intent contract
skills/a3d-public/intent_contract.py - Semantic scene
skills/a3d-public/scene_contract.py - Build session
skills/a3d-public/build_session.py - CAD compiler
skills/a3d-public/cad_compile.py - CAD diagnostics
skills/a3d-public/cad_diagnostics.py - Build manifest
skills/a3d-public/build_manifest.py
Review and outputs
- Preview rendering
skills/a3d-public/render_preview.py - 3MF export
skills/a3d-public/color/export_3mf.py - Color and print QA
skills/a3d-public/color/qa_check.py - Artifact storage
server/artifacts.ts
Other components
- Hardware designer
Connections 29
- Hardware designer → Workbench shell: opens
- Workbench shell → CAD workbench: renders
src/App.tsx - CAD workbench → Agent API client: requests
src/components/CadWorkbench.tsx - Agent API client → HTTP application: calls
src/lib/agent-api.ts - HTTP application → Chat route: registers
server/app.ts - HTTP application → Workbench RPC: registers
server/app.ts - Chat route → Agent runtime: executes turns
server/routes/chat.ts - Chat route → Session management: persists turns
server/routes/chat.ts - Workbench RPC → Session management: reads sessions
server/trpc/router.ts - Session management → Artifact management: scans artifacts
server/sessions.ts - Agent runtime → Web search broker: uses broker
packages/a3d-runtime/src/runtime.ts - Hardware designer → Intent authoring: supplies requirements
- Agent runtime → Intent authoring: authors design
- Intent authoring → Intent contract: writes contract
skills/a3d-public/authoring.py - Intent authoring → Semantic scene: authors scene
skills/a3d-public/authoring.py - Agent runtime → Build session: runs design
- Build session → Intent authoring: uses authoring
skills/a3d-public/build_session.py - Build session → CAD compiler: builds geometry
- CAD compiler → CAD diagnostics: checks geometry
- CAD compiler → Build manifest: records build
- Agent runtime → Preview rendering: requests preview
- Preview rendering → Model preview: provides preview
- Model preview → 3D viewer: loads viewer
src/components/cad-workbench/PreviewPanel.tsx - Agent runtime → 3MF export: exports geometry
- 3MF export → Color and print QA: supports checks
skills/a3d-public/color/qa_check.py - Color and print QA → CAD diagnostics: uses diagnostics
- Agent runtime → Artifact storage: saves artifacts
- CAD workbench → Model preview: shows results
src/components/CadWorkbench.tsx - CAD workbench → Workbench RPC: loads workspace
src/components/CadWorkbench.tsx