Skip to content

Validate in Isaac Sim ​

PREVIEW

Simulation validation is a preview feature. It is off by default and is enabled per user in Tzara Settings.

With simulation enabled, Tzara can go beyond generating an application: it builds simulated robot cells from scratch or loads ready-made asset-library environments, visually locates mounting surfaces in CAD scenes, plans collision-free pick-and-place motion offline, runs the application against NVIDIA Isaac Sim, checks whether the task actually succeeded, and repairs failures — all in the same conversation, before anything touches real hardware.

How It Works ​

  1. Build or ground the scene. Tzara can build a complete USD cell (build_cell_scene with verified tables, pallets, bins, robots, grippers, and cameras) or load a ready-made environment from the asset library (pick_and_place, machine_tending, palletizing, bin_picking, welding). When a CAD scene has unlabeled pedestals or fixtures, Tzara uses visual Set-of-Mark grounding (annotate_scene_surfaces) to project numbered markers onto horizontal surfaces and read their exact 3D coordinates.
  2. Settle & verify geometry. settle_check steps physics briefly and captures multi-angle renders to verify nothing floats, sinks, or collides before planning.
  3. Plan motion offline. plan_pick_and_place (or find_start_posture + plan_robot_motion) computes collision-free trajectories, grip depths, container rim clearances, and grid slots offline using Synapse kinematics before launching a full run.
  4. Generate & define checks. Tzara writes the application (app/) and validation harness (sim/) with measurable acceptance checks (for example, "each blank placed upright within tolerance of its outfeed slot"). These checks stay fixed across repairs.
  5. Run & repair. After your approval, run_simulation executes the application in Isaac Sim and records a structured report. If a check fails, debug_simulation_run inspects the logs and post-run renders, fixes the root cause, and reruns — up to the run limit (3 runs per message by default).

A run passes only when every required check passes. A script that merely exits without errors is not a pass.

Requirements ​

  • NVIDIA Isaac Sim with the Telekinesis Isaac Sim bridge running (Linux or Windows x86_64 with an NVIDIA GPU). See Install Isaac Sim Extension. On macOS or CPU-only machines without Isaac Sim, leave simulation disabled for normal hardware/SDK coding, or point Isaac Sim bridge URL at a remote GPU machine running Isaac Sim.
  • A Python 3.11/3.12 environment with the Telekinesis SDK (telekinesis-ai, telekinesis-synapse >= 0.10.19, telekinesis-isaacsim-client >= 0.9.4) and usd-core (pxr) installed. This can be either your isaacsim conda environment or a dedicated Telekinesis SDK environment — Tzara runs offline motion planning, USD probing, run_simulation, and run_command with this interpreter.
  • A trusted workspace folder where Tzara saves the scene, configuration, application, and validation files. It can be a new, empty folder.

Set Up Simulation in Tzara Settings ​

Open Tzara Settings (gear icon in the Session Manager, or Tzara: Settings).

  1. Choose the output folder. Under Workspace & Approvals › Output workspace, click Select folder…, or use the folder open in VS Code. If the window is in restricted mode, click Workspace trust and trust the folder.
  2. Keep Fast / Direct mode (compact) enabled (default). Both cloud models (e.g. Gemini 3.8 Flash) and local Ollama models (e.g. Inkling 2 Mini) use compact mode to build cells, plan motion offline, and run simulations directly.
  3. Enable simulation. Under Isaac Sim, turn on Enable scene inspection and simulation.
  4. Connect to the bridge. Set Isaac Sim bridge URL (default http://127.0.0.1:8766) and Simulation Python executable (full path to the python / python.exe with telekinesis-synapse, telekinesis-isaacsim-client, and usd-core; leave empty to use VS Code's selected interpreter).
  5. Click Save simulation settings.
  6. Custom scene override (optional). Only if targeting an existing custom USD stage directly, expand Advanced & Legacy Overrides and set Isaac Sim scene override (USD). Leave it empty when using built-in environments or generated cells.
  7. Send a new message. Settings apply to your next request. If a request is waiting, stop it first.

INFO

Saving the settings doesn't test the connection. Tzara runs sim_doctor at the start of a simulation request to verify the bridge, Isaac Sim timeline, and Python environment.

Example Prompts ​

Both of these are built-in one-click starter cards on Tzara's welcome screen:

text
Build a pick-and-place cell with a UR5e and Schunk EGU 50 gripper,
place a cube into a bin, and validate it in Isaac Sim.
text
Build a palletizing cell with a UR10e and suction gripper to stack four
cartons in a 2x2 grid on a Euro pallet, and validate it in Isaac Sim.

You don't need to specify table coordinates or robot stand heights — build_cell_scene derives the stand, robot base height, and reachable station layout automatically from the robot's reach.

Approving Runs ​

Before each simulation run, Tzara shows an approval card in the chat (Allow once / Reject), unless you toggle ⚡ Auto in the chat composer (synced with Automatically approve actions in Tzara Settings) or allow it with a tool policy. Connecting to the bridge to inspect the scene can also ask for approval; inspection only reads the scene.

For unattended iteration in a simulation-only setup, you can allow the simulation tools in tzara.tools.policy (user settings):

json
"tzara.tools.policy": [
  { "tool": "inspect_simulation", "action": "allow" },
  { "tool": "run_simulation", "action": "allow" }
]

Runs are not sandboxed

The validation script runs on your machine with the selected interpreter and your user account's permissions. Make sure the application is configured for simulation — not a real robot — before approving a run.

Results and Logs ​

Each run keeps its results in your workspace under .tzara/simulation/<run-id>/: the run result, the validation report, and the stdout and stderr logs. Tzara uses these to diagnose failures, and you can open them to see exactly what happened.

When the run limit is reached without a pass, Tzara stops and reports the unresolved findings. Send another message to continue — the run limit resets with each new message.

Reset the scene between runs

Tzara doesn't reset Isaac Sim between runs. If a run times out or leaves objects in the wrong place, restore the scene before running again.

VS Code Settings ​

You can configure these either in Tzara Settings (gear icon) or directly in your VS Code User settings.json:

json
{
  "tzara.simulation.enabled": true,
  "tzara.simulation.baseUrl": "http://127.0.0.1:8766",
  "tzara.simulation.pythonPath": "/home/<user>/miniconda3/envs/isaacsim/bin/python",
  "tzara.simulation.maxRuns": 3,
  "tzara.approvals.autoApprove": true
}
json
{
  "tzara.simulation.enabled": true,
  "tzara.simulation.baseUrl": "http://127.0.0.1:8766",
  "tzara.simulation.pythonPath": "C:\\Users\\<user>\\miniconda3\\envs\\isaacsim\\python.exe",
  "tzara.simulation.maxRuns": 3,
  "tzara.approvals.autoApprove": true
}
SettingDefaultRequired for Isaac Sim?Description
tzara.simulation.enabledfalseYes (true)Enable Isaac Sim inspection and validation tools in trusted workspaces.
tzara.simulation.baseUrlhttp://127.0.0.1:8766Yes (default works locally)Telekinesis Isaac Sim bridge endpoint. Use http://<host>:8766 if Isaac Sim runs on another machine.
tzara.simulation.pythonPath""RecommendedFull path to the Python 3.11/3.12 executable with telekinesis-synapse, telekinesis-isaacsim-client, and usd-core. Leave empty only if VS Code's selected interpreter already has them.
tzara.simulation.maxRuns3OptionalMaximum simulation runs per message, including repair attempts (1–10).
tzara.simulation.scenePath""Optional (leave empty for generated cells)USD scene path on the Isaac Sim machine. Leave empty to use built-in environments, generated cells, or the currently open stage.
tzara.approvals.autoApprovefalseOptional (or toggle ⚡ Auto in chat)Automatically approve file edits, commands, and simulation runs in trusted workspaces.
tzara.sourceRoots{}OptionalMap of names to extra local source folders (for example, your own checkout of an application package) that Tzara can read as reference. Read-only; it doesn't install packages.

Limitations ​

  • Checks are written by the agent. A pass means the checks in the report passed. Review the checks to confirm they measure what you care about; simulation is not proof that the real cell will behave the same way.
  • One scene at a time. Runs act on the live Isaac Sim scene.
  • Real hardware is your decision. Moving from simulation to a physical robot is a separate step that you review and run yourself.