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.

✓ Standard Anthropic / OpenAI MCP Spec ✓ AST-Sandboxed Parametric Tooling ✓ Structured geometry and mass queries
Agentic CAD Viewport Model: Coaxial Fluid Assembly
Synthesized autonomously via MCP tools

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.

{ "name": "create_primitive", "parameters": { "type": "cylinder", "radius": 12.0, "height": 45.0, "hollow": true, "wall_thickness": 2.0 } }

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.

{ "status": "error", "code": 400, "message": "Chamfer offset 4.0mm causes self-intersection on edge #3. Recommended max: 2.1mm" }

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.

# Illustrative analysis flow; use the connected tool schema. analysis = request_assembly_analysis(assembly_id) # Review status, supported metrics, and sampling limits.

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.

step_data = export_step(model_id) # Check representation and topology in the receiving CAD tool

Autonomous Rocket Nozzle Synthesis

A Claude 3.5 Sonnet / Gemini agent executing an autonomous 4-step engineering prompt:

STEP 1: SKETCH PROFILE

Agent calculates supersonic expansion bell curve using Rao nozzle parabolic approximation and generates 2D contour points.

STEP 2: REVOLVE SOLID

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.

STEP 3: HELICAL COOLING CHANNELS

Agent sweeps regenerative fluid passages along the outer wall with 12 starts and executes check_interference to ensure minimum wall thickness of 1.2mm.

STEP 4: STEP EXPORT & AUDIT

In this illustrative workflow, the agent requests geometry and mass results, then exports rocket_nozzle_assembly.step.