Locus Agent & MCP
Connect AI agents to structured CAD tools for creating geometry, changing parameters, and exporting supported models. Review tool results and validate each design for its intended use.
How AI Agents Engineer with Locus
Rather than guessing raw polygon vertices, LLM agents interact with the Locus kernel using typed parametric tools, receiving deterministic mathematical feedback at each step.
1. Typed Tool Calling Schemas
Every CAD primitive, operation, and transform is mapped to a strict JSON Schema. Agents call tools such as create_primitive, extrude_profile, deform_mesh, and check_interference with exact numeric bounds.
2. Mathematical Error Guidance
When an agent generates a self-intersecting sketch or an impossible chamfer, Locus returns actionable mathematical diagnostics (e.g., "Wall thickness 3.5mm exceeds inner radius 3.0mm; maximum allowable is 2.9mm"), allowing the agent to self-correct automatically.
3. Multi-Body Assembly Clearance
Agents can request assembly analysis through the available tool interface. Inspect the returned analysis status and representation before using a result; sampled mesh checks do not establish exact penetration depth or manufacturing fit.
4. Direct ISO-10303 STEP Production
The agent can request a STEP export for supported geometry. Check the result in your receiving CAD or manufacturing-preparation software before deciding how to use it.
Autonomous Rocket Nozzle Synthesis
A Claude 3.5 Sonnet / Gemini agent executing an autonomous 4-step engineering prompt:
Agent calculates supersonic expansion bell curve using Rao nozzle parabolic approximation and generates 2D contour points.
Agent calls revolve_profile(axis='Z', angle=360.0). Locus Core generates closed cubic NURBS solid on the supported profile path. Timing depends on the model and workload.
Agent sweeps regenerative fluid passages along the outer wall with 12 starts and executes check_interference to ensure minimum wall thickness of 1.2mm.
In this illustrative workflow, the agent requests geometry and mass results, then exports rocket_nozzle_assembly.step.