1. What the Agent Does — and What It Does Not Do
The XyzPilot agent is a translator. You tell it what geometry you want in plain English. It works out which operator to use, checks that your inputs exist, and calls the correct XyzPilot function. XyzPilot computes the geometry. The agent reports the result.
The agent does not compute geometry itself. It does not guess coordinates. It does not approximate. Every number in every result comes from XyzPilot's exact analytic engine.
- You can describe what you want in natural language — the agent handles the syntax
- Results are always exact — the agent cannot introduce rounding or approximation
- If the agent cannot match your command to a known operator, it tells you — it does not invent geometry
- If your inputs do not exist yet, the agent tells you — it does not assume
2. The Two-Tier Entity Model — Points vs. Geometry
| Tier | What It Includes | Persistence | What Happens When Deleted |
|---|---|---|---|
| Construction | Points (P0, P1, P2…) | Disposable — delete freely after use. Points exist on their own layer and can be hidden, shown, or cleared all at once via Edit → Clear All Points. | Nothing. Lines and arcs built from them are unaffected. |
| Product | Lines, Arcs, Circles, Toolpaths | Persistent — the output you are building toward | Downstream geometry that depends on it is flagged as inconsistent. |
The Baking Rule
When you use points to construct a line or arc, the line or arc geometry is baked — its coordinates are computed and stored as fixed numbers at the moment of creation. The points are no longer needed.
3. How Natural Language Becomes Geometry
Every command you give the agent goes through the same four-step process before any geometry is created.
| Step | What Happens | Example |
|---|---|---|
| 1 | Parse intent | "Create the YLarge intersection of L2 and C1" → operator = line-circle intersection, selector = YLarge, inputs = L2, C1 |
| 2 | Validate inputs | Agent checks: does L2 exist? Is it a line? Does C1 exist? Is it a circle? If anything is missing, it stops here. |
| 3 | Resolve selector | Selector is YLarge — explicitly stated. Agent confirms: "I will create the upper intersection point." |
| 4 | Call XyzPilot | Agent calls Point_LineCircleIntersection(L2, C1), selects YLarge candidate, creates P5. |
Shortcut Input
If you know the operator syntax, you can use shortcut input directly:
What the Agent Validates Before Executing
- All referenced entities exist in the model (L2, C1, P1, etc.)
- Each entity is the correct type for the operator
- All required inputs are supplied — no missing arguments
- The selector is valid for this operator
4. Selectors — Resolving Ambiguous Geometry
Many geometry operations have more than one valid solution. Selectors tell XyzPilot which solution you want.
When You Must Specify a Selector
- Line-circle intersections — two points (use XLarge/XSmall or YLarge/YSmall)
- Circle-circle intersections — two points
- Parallel lines — two sides
- Tangent lines from a point to a circle — two lines
- Arc direction — CW or CCW
What Happens If You Do Not Specify One
The agent will not guess. It will present both candidates and ask you to choose:
Selector Quick Reference
| Selector | Applies To | Picks |
|---|---|---|
XLarge | Points, Lines, Circles | The solution with the largest X coordinate |
XSmall | Points, Lines, Circles | The solution with the smallest X coordinate |
YLarge | Points, Lines, Circles | The solution with the largest Y coordinate |
YSmall | Points, Lines, Circles | The solution with the smallest Y coordinate |
OUT | Circle tangency | External tangency — new circle sits outside the reference circle |
IN | Circle tangency | Internal tangency — new circle sits inside the reference circle |
CW | Arcs, Trim | Clockwise traversal direction |
CCW | Arcs, Trim | Counter-clockwise traversal direction |
Start / End | Lines, Arcs | Moves or references the start/end endpoint |
Flip | Fillets | Toggles to the opposite-corner fillet solution |
5. Practical Workflow Examples
Simple Point Creation
Multi-Step Construction
Tangency Workflow
6. When Geometry Changes — Undo and Downstream Effects
XyzPilot uses an Undo system rather than explicit entity deletion. Geometry is removed by undoing the operations that created it — not by selecting and deleting entities directly.
How Undo Works with Dependencies
When you undo a sequence of operations, XyzPilot automatically handles dependencies in the correct order. If an arc was created from L0 and L1, undoing back to L1 will first undo the arc, then undo L1 — the dependency relationship is resolved automatically by the undo sequence.
Preview Undo and Preview Redo
XyzPilot provides Preview Undo and Preview Redo controls in the toolbar. These allow you to step back through the transient preview states before committing an operation — useful for reviewing geometry before it is permanently created.
7. Deferred Commands — Working Ahead
Sometimes you want to describe a construction before all the inputs exist. The agent supports this through deferred commands.
8. When the Agent Cannot Help
The agent can only execute operations that exist in the XyzPilot operator catalog. If you ask for something that is not supported, it will tell you clearly and suggest the nearest available alternatives.
Common Unsupported Operations
- Splines and NURBS curves
- 3D surface operations
- Freeform sketching
- Dimension annotations
- Hatching and fill patterns
9. Common Mistakes and How to Avoid Them
| Mistake | How to Avoid It |
|---|---|
| Omitting the selector for a two-solution operation | Always specify XLarge/XSmall/YLarge/YSmall when creating intersections, parallel lines, or tangent circles. |
| Using the wrong selector axis | Use the selector on the axis where the two solutions differ. For a vertical line intersecting a circle, use YLarge/YSmall. |
| Referencing a point that has already been deleted | Points are disposable — but only after the geometry built from them is complete. |
| Trying to delete geometry directly instead of using Undo | XyzPilot uses Undo to remove geometry — not explicit deletion. Use Preview Undo in the toolbar to step back through the construction sequence. Undo handles dependency order automatically. |
| Expecting the agent to compute geometry itself | The agent is a translator. It calls XyzPilot functions. It does not compute coordinates or approximate results. |
| Issuing a command with vague spatial language | "Create a point near the top of C1" is ambiguous. Use "Create the YLarge point on C1 at angle 90°" instead. |
| Ignoring the agent's interpretation confirmation | For complex commands, the agent shows its interpretation before executing. Read it carefully. |
10. Quick Reference Card
Entity Types at a Glance
| Prefix | Type | Tier | Delete Freely? |
|---|---|---|---|
P0, P1, P2… | Points | Construction | Yes — after geometry is baked from them |
L0, L1, L2… | Lines | Product | Only if nothing downstream depends on them |
C0, C1, C2… | Circles | Product | Only if nothing downstream depends on them |
A0, A1, A2… | Arcs | Product | Only if nothing downstream depends on them |
T0, T1, T2… | Toolpaths | Product | Only if nothing downstream depends on them |