Skip to content

Releases

Alloy 0.1.10

Choose a tag to compare

@Codnay Codnay released this 22 Nov 10:53

Alloy 0.1.10: a physics engine for robot learning, built on Newton, MuJoCo Warp and Warp.

Python 3.11 or 3.12 on Linux x86_64 (CPU or NVIDIA GPU) or macOS on Apple silicon (CPU):

pip install alloy-engine==0.1.10

Newton and MuJoCo Warp ship inside Alloy (alloy/_vendor, listed in alloy/_vendor/VENDORED.md); Warp, MuJoCo
and the other dependencies come from PyPI. Start with README.md, or AGENTS.md for AI agents.

Notes:

0.1.10 follows 0.1.9 on PyPI. It is a fix release with no new API. CHANGELOG.md has every change in full.

  • Robots and scenes: a robot file whose <compiler> has both settotalmass and inertiafromgeom="true" now gets the total mass it asks for. Two objects whose names give one card file name (peg-1 and peg_1) and set their own values (friction=, mass=, ...) now each keep them. An anisotropic cloth from a mesh beside a robot now stops at build with the fix to make, instead of failing with an internal TypeError.
  • Gym and training: VectorEnv gives an invalid world zero observations, as documented, also when it held NaN or Inf and when it is still invalid after an autoreset="next_step" reset. SkrlEnv.reset() after a step where only some worlds ended now restarts every world, and its critic bootstrap works when the policy and critic observations differ in size. ActionDelay now works with an actuator model (alloy.envs.actuators.ActuatorSpec).
  • Files (alloy.io): a finite plane keeps its size through export_scene and import_file, a <connect> to the world keeps its anchor point, a USD stage in units other than metres also scales a sliding joint's drive values, and an MJCF that MuJoCo refuses gives ImportFileError with MuJoCo's message.
  • Camera: sim.render(..., liquids={...}) now raises CameraError in a scene that also has cloth, soft bodies or sand and paste, unless quality="fast" (before, it drew the image without the call's look= and device=). sim.render(look="look.json") now works in scenes with scanned library objects.
  • Checks and health: in alloy.check, one world going NaN no longer hides the energy gain of the others. alloy.audit.audit counts a finding repeated within one round once. PEN_FAIL's "half a thin part" rule counts a static part built from several pieces as one solid in each world.
  • Also fixed: alloy.sysid matches a LeRobot recording whose observation.state columns use actuator names; the tactile sensor plug-in no longer returns NaN for a contact far from every taxel; a sand or paste scene with a topology: block saves the MPM solver's own particle flags with a world's state; and six fixes in engine layers outside the public API (listed in CHANGELOG.md).

What was tested:

  • Release checks: every failure is one 0.1.9 also had, a test time limit, or a test that passed when re-run alone. One GPU test that 0.1.9 also failed (a gift-bag demo with the carton lowered off-centre) now ends differently from run to run; we are looking into it.
  • The release build of this exact commit: every release scanner (every Python file also compiled under Python 3.11), the wheel check, the stage checks (the wheel and the sdist each installed in a fresh environment, every module imported, a CPU robot smoke, the wheel's entry points and base requirements matching the source, a textured look rendered in a base install, and alloy mcp and alloy-engine mcp each listing the MCP server's tools), and the public repository's quick CPU tests and Python 3.11 check on the release tree, each in a fresh container the size of GitHub's runner.
  • A fresh environment from the built wheel, with no GPU: the quick starts of the README and AGENTS.md run on the CPU and pass their health checks, and alloy mcp, alloy-engine mcp and uvx alloy-engine mcp (from the wheel, with an empty cache) each list the MCP server's 25 tools.

Still open: everything on the Keep in mind page (https://alloy.argonrobotics.ai/docs/keep-in-mind/). These are not in 0.1.10 and are still planned:

  • Sand and paste (MPM) after sim.reset() do not repeat a fresh build bit for bit on the CPU.
  • A sealed liquid column drains (an internal solver option; no public API reaches it).
  • Resting box stacks can show the penetration warning PEN_WARN while they settle (DEGRADED only; sim.check() stays ok); a warning sized to the parts is planned.

The files on PyPI (sha256):

37fa4ecc7ce74da8fd565a40b72115cc7413fd834f7a14f621bd36598653f062  alloy_engine-0.1.10-py3-none-any.whl
ebdc6f6b3aad8cf9afe8c9b2299602cf859c09745287d78854859992df2e5353  alloy_engine-0.1.10.tar.gz

Alloy 0.1.9

Choose a tag to compare

@Codnay Codnay released this 20 Nov 08:28

Alloy 0.1.9: a physics engine for robot learning, built on Newton, MuJoCo Warp and Warp.

Python 3.11 or 3.12 on Linux x86_64 (CPU or NVIDIA GPU) or macOS on Apple silicon (CPU):

pip install alloy-engine==0.1.9

Newton and MuJoCo Warp ship inside Alloy (alloy/_vendor, listed in alloy/_vendor/VENDORED.md); Warp, MuJoCo
and the other dependencies come from PyPI. Start with README.md, or AGENTS.md for AI agents.

Notes:

0.1.9 follows 0.1.8 on PyPI. CHANGELOG.md has every change in full.

  • Liquid taken up by cloth (opt-in): add_cloth(..., absorb={"capacity", "rate", "wicking"}) makes a sheet take up liquid resting on it, in whole particles, into a water mass per vertex up to capacity x area. The sheet weighs the water and wicking spreads it; new state keys "<sheet>.water" and "<liquid>.absorbed". The values are yours, not fabric data. Off by default, and nothing changes when it is off.
  • Tearable paper and film: sheets with tear lines no longer gain energy at their seams under contact and go UNCONVERGED. The tearable gift bag (tearable=True) now finishes the gift-bag demo, all 11 criteria in 3 of 3 runs on one L4, at about 3.6x the plain bag's cost.
  • Python 3.11: import alloy.compose (the scene builder) no longer raises SyntaxError; three of its files used f-string syntax that only Python 3.12 accepts. Every module of the package now imports on 3.11 (the vendored libraries' examples and tests aside), and the public CI now checks it.
  • Per-world randomization: scene.randomize now lands on the right objects in scenes where a cable or chain is welded at its root to another object (rows went to the neighbouring object, at build and at reset), and a free body's randomized x, y or z now replaces that coordinate of its per-world pos array instead of being overwritten by it.
  • Precision fits: a part in two precision fits at once (one hole plate with two pegs, for example) now gets precision contact in both; before, only the last fit did and the others fell back to ordinary contact without a message.
  • Needle and suture thread (alloy.solvers.puncture.SolverPuncture, an engine layer outside the public API): with more than one world, each world's thread now matches a one-world run bit for bit; before, only the first world's was solved correctly.

What was tested:

  • Release checks: every failure is one 0.1.8 also had, a test time limit, or a test that passed when re-run alone; none comes from this release's changes.
  • The release build of this exact commit: every release scanner (now also every Python file compiled under Python 3.11), the wheel check, the stage checks (the wheel and the sdist each installed in a fresh environment, every module imported, a CPU robot smoke, the wheel's entry points and base requirements matching the source, a textured look rendered in a base install, and alloy mcp and alloy-engine mcp each listing the MCP server's tools), and the public repository's quick CPU tests and Python 3.11 check on the release tree, each in a fresh container the size of GitHub's runner.
  • A fresh environment from the built wheel, with no GPU: the quick starts of the README and AGENTS.md run on the CPU and pass their health checks, and alloy mcp, alloy-engine mcp and uvx alloy-engine mcp (from the wheel, with an empty cache) each list the MCP server's 25 tools.

Still open: everything on the Keep in mind page (https://alloy.argonrobotics.ai/docs/keep-in-mind/). These are not in 0.1.9 and are still planned:

  • Sand and paste (MPM) after sim.reset() do not repeat a fresh build bit for bit on the CPU.
  • A sealed liquid column drains (an internal solver option; no public API reaches it).
  • Resting box stacks can show the penetration warning PEN_WARN while they settle (DEGRADED only; sim.check() stays ok); a warning sized to the parts is planned.

The files on PyPI (sha256):

2eef79c66d57f8a435e37428edb74bee92c6d516cff8ad5b337c990478afcefe  alloy_engine-0.1.9-py3-none-any.whl
f0736ce8174cb45dcad7eba629606cd8706e876ed7a12eb178f51563ea0e0682  alloy_engine-0.1.9.tar.gz

Alloy 0.1.8

Choose a tag to compare

@Codnay Codnay released this 19 Nov 12:20

Alloy 0.1.8: a physics engine for robot learning, built on Newton, MuJoCo Warp and Warp.

Python 3.11 or 3.12 on Linux x86_64 (CPU or NVIDIA GPU) or macOS on Apple silicon (CPU):

pip install alloy-engine==0.1.8

Newton and MuJoCo Warp ship inside Alloy (alloy/_vendor, listed in alloy/_vendor/VENDORED.md); Warp, MuJoCo
and the other dependencies come from PyPI. Start with README.md, or AGENTS.md for AI agents.

Notes:

0.1.8 follows 0.1.7 on PyPI. CHANGELOG.md has every change in full.

  • Liquid on cloth: a stream poured onto a fabric sheet with self-contact on (the default) no longer makes the world INVALID. The cloth's self-contact detection now leaves the liquid's particles out (one L4, 1,024 worlds of a 20 ml pour on a cotton sheet: 660 INVALID by 0.105 s before, none to 0.26 s after), and cloth on water steps about 4x faster after touch. ALLOY_VBD_FOREIGN_SELF_CONTACT=off restores the old detection, for comparisons.
  • Surface tension: with alloy.Scene(liquid_tension=True), droplets and streams one or two particles wide no longer gain energy from the surface force. At liquid_accuracy="ultra" a tilted pour no longer flings droplets off (a 50 mm receiver caught 94 % of it and now catches 100 % in five runs), and a 15 mm vial catches 92-99.5 % of what leaves the beaker at "super" and 72-86 % at "ultra" (52-57 % and 48-56 % before). Without tension nothing changes, bit for bit.
  • Sand and pastes in fixtures: MPM material in add_open_box, add_open_cylinder or add_block_with_hole, static or kinematic, takes its voxel from the fixture's inner width, held to a third of its wall. A tilted kinematic vial now holds its sand better: a 20 mm cube turned outward about the vial's lip had 15 % of its grains cross the walls (1-2 grains when tipped to pour) and now none, at 27,000 particles instead of 512 (24-30x the CPU run time), and a static default vial seeds 2.4x fewer particles. The build warns when the walls raise the count 4x or more and names the wall thickness that keeps the material's own voxel. Some scenes that built before now fail: a kinematic thin-walled fixture raises the particle count of every sand or paste fill in the scene, which can end in CapacityError, and a fill of more than 2,000 grains fails with a jamming error in any fixture opening under about 12 grain diameters. ALLOY_MPM_CAVITY=off restores the 0.1.7 rule, for comparisons.
  • Tearable gift bag (opt-in): object gift_bag_kraft_tear and the gift-bag task's tearable=True judge the bag by its torn seam length, and an object card's film.vbd_iterations raises its film sheet's VBD iterations. It costs about 8x the plain bag's run time, and the full demo does not finish with it yet.
  • Camera: a process that renders a second set of materials with quality="full" no longer compiles that set's kernel again when the cache is warm (about 120 s on an L4 and 8.5 s on a CPU; now about 0.2 s). White balance with a look is measured once per look in a process. A light too coloured to have a colour temperature keeps 6500 K, tint 10, with a warning, and a set {"kelvin": K, "tint": t} is held to 1,800-100,000 K and tint -500 to 500.

What was tested:

  • Release checks: every failure is one 0.1.7 also had, a test time limit, or a test that passed when re-run alone; none comes from this release's changes.
  • The release build of this exact commit: every release scanner, the wheel check, the stage checks (the wheel and the sdist each installed in a fresh environment, every module imported, a CPU robot smoke, the wheel's entry points and base requirements matching the source, a textured look rendered in a base install, and alloy mcp and alloy-engine mcp each listing the MCP server's tools), and the public repository's quick CPU tests on the release tree, in a fresh container the size of GitHub's runner.
  • A fresh environment from the built wheel, with no GPU: the quick starts of the README and AGENTS.md run on the CPU and pass their health checks, and alloy mcp, alloy-engine mcp and uvx alloy-engine mcp (from the wheel, with an empty cache) each list the MCP server's 25 tools.
  • The Isaac Lab install line on a fresh L4 GPU machine: Isaac Lab 3.0, then this wheel, then isaaclab train on Isaac-Cartpole-Direct with physics=alloy, which ran on Alloy at the task's own physics step and finished its training run.

Still open: everything on the Keep in mind page (https://alloy.argonrobotics.ai/docs/keep-in-mind/). These are not in 0.1.8 and are still planned:

  • Sand and paste (MPM) after sim.reset() do not repeat a fresh build bit for bit on the CPU.
  • A sealed liquid column drains (an internal solver option; no public API reaches it).
  • Resting box stacks can show the penetration warning PEN_WARN while they settle (DEGRADED only; sim.check() stays ok); a warning sized to the parts is planned.

The files on PyPI (sha256):

2a8b0f6324879295715aa229aea982291930ddd21c2ff1834fc6ee6ca4412be3  alloy_engine-0.1.8-py3-none-any.whl
6ea47b3b00d0920758ec467ca438cdf43c467fa68a09b14b0ca33426fab1ca7b  alloy_engine-0.1.8.tar.gz

Alloy 0.1.7

Choose a tag to compare

@Codnay Codnay released this 18 Nov 03:48

Alloy 0.1.7: a physics engine for robot learning, built on Newton, MuJoCo Warp and Warp.

Python 3.11 or 3.12 on Linux x86_64 (CPU or NVIDIA GPU) or macOS on Apple silicon (CPU):

pip install alloy-engine==0.1.7

Newton and MuJoCo Warp ship inside Alloy (alloy/_vendor, listed in alloy/_vendor/VENDORED.md); Warp, MuJoCo
and the other dependencies come from PyPI. Start with README.md, or AGENTS.md for AI agents.

Notes:

0.1.7 follows 0.1.6 on PyPI. CHANGELOG.md has every change in full.

  • Liquids: alloy.Scene(liquid_tension=True) gives each liquid its material's surface tension (water 0.072 N/m; off by default), so a thin stream holds together: poured from a tilted 50 mm beaker into a 15 mm vial at 2 mm particles, the vial caught 52-57 % of what left the beaker, against 2-5 % without, at about the same cost. liquid_accuracy="ultra" puts particles 1.5 mm apart, 8 across a 12 mm opening, at about 50x the default's work. Water at rest in a narrow round cup (add_open_cylinder) no longer starts INVALID, and liquid holds in walls thinner than its particles: static and kinematic walls down to 1 mm build with nothing declared.
  • Camera: full-quality renders with a look apply the look's white balance (render.white_balance, "auto" unless the look says otherwise), so under a 2800 K light a grey ball reads grey, not orange; "off" gives the image as before, and a render without a look is unchanged. Repeated builds, full-quality renders and closes in one process no longer grow GPU memory, and a camera-only marker on a robot link no longer hides that link's collision shapes in images.
  • Estimates: on the CPU, alloy.estimate charges the parts each free body comes to rest on: three YCB scans dropped into a bin step 1.04-1.14x the estimate (were 2.0-2.6x). measure=True times the first second of the run and charges the rest at the rate of its last quarter (it timed the first 0.2 s, before dropped objects land).
  • Messages: on a machine without an NVIDIA driver, Warp's "Could not find or load the NVIDIA CUDA driver" line no longer prints, and alloy.envs.make prints none of Warp's start-up lines, as alloy.build does (ALLOY_VERBOSE=1 shows them). alloy fetch no longer logs the Hub's note about unauthenticated requests (the library is public). Sand, soil or paste in a container of parts narrower than the material warns once at build, with both particle counts and the fix. Shipped arms and the recorded task scenes no longer print MuJoCo Warp's friction warnings.
  • Environments: a VectorEnv warns at build when a jitter_joint moves a body that a liquid or cloth starts in or on and carry= does not name it, and both array backends offer the same basic math to checks.custom functions.
  • Repository: the quick CPU tests that pull requests run take about 35-45 minutes with a warm kernel cache, up to about 1 h 40 on a cold first run (0.1.6 said about 80 minutes and 2 h 15).

What was tested:

  • Release checks: every failure is one 0.1.6 also had, a test time limit, or a test that passed when re-run alone; none comes from this release's changes.
  • The release build of this exact commit: every release scanner, the wheel check, the stage checks (the wheel and the sdist each installed in a fresh environment, every module imported, a CPU robot smoke, the wheel's entry points and base requirements matching the source, a textured look rendered in a base install, and alloy mcp and alloy-engine mcp each listing the MCP server's tools), and the public repository's quick CPU tests on the release tree, in a fresh container the size of GitHub's runner.
  • A fresh environment from the built wheel, with no GPU: the quick starts of the README and AGENTS.md run on the CPU and pass their health checks, and alloy mcp, alloy-engine mcp and uvx alloy-engine mcp (from the wheel, with an empty cache) each list the MCP server's 25 tools.
  • The Isaac Lab install line on a fresh L4 GPU machine: Isaac Lab 3.0, then this wheel, then isaaclab train on Isaac-Cartpole-Direct with physics=alloy, which ran on Alloy at the task's own physics step and finished its training run.

Still open: everything on the Keep in mind page (https://alloy.argonrobotics.ai/docs/keep-in-mind/). These are not in 0.1.7 and are still planned:

  • Sand and paste (MPM) after sim.reset() do not repeat a fresh build bit for bit on the CPU.
  • A sealed liquid column drains (an internal solver option; no public API reaches it).
  • Resting box stacks can show the penetration warning PEN_WARN while they settle (DEGRADED only; sim.check() stays ok); a warning sized to the parts is planned.

The files on PyPI (sha256):

a4283a99c0631cdce20663918e4ba8528ef87a3e98f0e189ebf129147bfc6d61  alloy_engine-0.1.7-py3-none-any.whl
29d66fd079cb3c6306492805d4933fa843af667e3ed137f00082cec44dab6c4f  alloy_engine-0.1.7.tar.gz

Alloy 0.1.6

Choose a tag to compare

@Codnay Codnay released this 17 Nov 09:01

Alloy 0.1.6: a physics engine for robot learning, built on Newton, MuJoCo Warp and Warp.

Python 3.11 or 3.12 on Linux x86_64 (CPU or NVIDIA GPU) or macOS on Apple silicon (CPU):

pip install alloy-engine==0.1.6

Newton and MuJoCo Warp ship inside Alloy (alloy/_vendor, listed in alloy/_vendor/VENDORED.md); Warp, MuJoCo
and the other dependencies come from PyPI. Start with README.md, or AGENTS.md for AI agents.

Notes:

0.1.6 follows 0.1.5 on PyPI. CHANGELOG.md has every change in full.

  • Scenes: a scene of only static and kinematic parts builds and steps (posed parts drawn with sim.set_pose, a tray moved with sim.drive), and alloy.check runs it; before, the build needed something in the scene that could move freely. A part too small for MuJoCo's inertia limit at its default density (a 0.37 mm thread segment) builds instead of failing with MuJoCo's bare ValueError; a free one turns far too slowly on the raised inertia, and the build warns once, naming it.
  • Camera: full-quality renders with a look honour the look's world keys (rotation_deg, show_hdri, background_color, background_from_hdri) and raise CameraError for one they cannot draw; without show_hdri they draw the look's dark background_color, not the studio gradient. A look rule on an item also reaches the mesh drawn in place of its collision hulls. american_walnut_veneer (CC0) joins the public wood textures.
  • Environments: ClothFold-v0's towel has 19 cells a side by default (was 13), so the half being turned over no longer pushes the half lying on the table off its place; a step costs about 1.5x on an L4, and make("ClothFold-v0", resolution=13) gives the earlier towel.
  • Repository: the quick CPU tests that pull requests run keep about 87 % of the CPU suite and take about 80 minutes with a warm kernel cache, up to about 2 h 15 on a cold first run (0.1.5 said under 90 minutes); the job's limit is now 180 minutes.

What was tested:

  • Release checks: the CPU test suite on both CPU routes (MuJoCo C and Warp), and the GPU test suite on NVIDIA L4 GPUs. Every failure is one 0.1.5 also had, a test time limit, or a test that passed when re-run alone; none comes from this release's changes.
  • The release build of this exact commit: every release scanner, the wheel check, the stage checks (the wheel and the sdist each installed in a fresh environment, every module imported, a CPU robot smoke, the wheel's entry points and base requirements matching the source, a textured look rendered in a base install, and alloy mcp and alloy-engine mcp each listing the MCP server's tools), and the public repository's quick CPU tests on the release tree, in a fresh container the size of GitHub's runner.
  • A fresh environment from the built wheel, with no GPU: the quick starts of the README and AGENTS.md run on the CPU and pass their health checks, and alloy mcp, alloy-engine mcp and uvx alloy-engine mcp (from the wheel, with an empty cache) each list the MCP server's 25 tools.
  • The Isaac Lab install line on a fresh L4 GPU machine: Isaac Lab 3.0, then this wheel, then isaaclab train on Isaac-Cartpole-Direct with physics=alloy, which ran on Alloy at the task's own physics step and finished its training run.

Still open: everything on the Keep in mind page (https://alloy.argonrobotics.ai/docs/keep-in-mind/). These are not in 0.1.6 and are still planned:

  • Sand and paste (MPM) after sim.reset() do not repeat a fresh build bit for bit on the CPU.
  • A sealed liquid column drains (an internal solver option; no public API reaches it).
  • Resting box stacks can show the penetration warning PEN_WARN while they settle (DEGRADED only; sim.check() stays ok); a warning sized to the parts is planned.

The files on PyPI (sha256):

5240a688204cb37ae4f531650f5b8c04bcdee5b974214fa3e564fe95a29ed842  alloy_engine-0.1.6-py3-none-any.whl
7f7ff3dad815c0e1aa17f8b212c42eb38b170e7b65c9c599174e450f045f2587  alloy_engine-0.1.6.tar.gz

Alloy 0.1.5

Choose a tag to compare

@Codnay Codnay released this 16 Nov 01:39

Alloy 0.1.5: a physics engine for robot learning, built on Newton, MuJoCo Warp and Warp.

Python 3.11 or 3.12 on Linux x86_64 (CPU or NVIDIA GPU) or macOS on Apple silicon (CPU):

pip install alloy-engine==0.1.5

Newton and MuJoCo Warp ship inside Alloy (alloy/_vendor, listed in alloy/_vendor/VENDORED.md); Warp, MuJoCo
and the other dependencies come from PyPI. Start with README.md, or AGENTS.md for AI agents.

Notes:

0.1.5 follows 0.1.4 on PyPI. CHANGELOG.md has every change in full.

  • Liquid: liquid beside rigid bodies or robots steps at its own stable step again, as in 0.1.2 (since 0.1.3 a robot scene with 16,575 liquid particles ran 1.9x slower); liquid beside cloth or a soft body keeps its extra margin.
  • Robots: add_robot(name, mjcf=<text>) reads the files the text names from the working directory, as MuJoCo reads an XML string, and a file that is not there raises SceneError naming the robot, the element and the path.
  • Errors name the fix: a soft-material mesh object on a base install names rigid=True first; a part thinner than 1.25 mm names the card_extra form that keeps it rigid; a texture missing from the local cache names the public fetch command; the "wavefront-warp" and "optix" render backends raise CameraError when the render device is not a CUDA GPU.
  • Memory: the first alloy.build() of a process is freed after del sim, like every later build; the learned denoiser no longer leaves PyTorch holding GPU memory after a render; sim.check() no longer runs out of device memory where the run itself fits, and collides MJCF meshes as their convex hulls, as MuJoCo does.
  • Camera: camera_scene(sim, lighting=Lighting(...)) lights every later render of that sim.
  • Repository: pull requests on GitHub run the quick CPU tests, about 89 % of the CPU suite, in under 90 minutes; the whole CPU and GPU suites run before each release.

What was tested:

  • Release checks: the CPU test suite on both CPU routes (MuJoCo C and Warp), and the GPU test suite and robot tests on NVIDIA L4 GPUs. Every failure is one 0.1.4 also had, a test time limit, or a test that passed when re-run alone; none comes from this release's changes.
  • The release build of this exact commit: every release scanner, the wheel check, the stage checks (the wheel and the sdist each installed in a fresh environment, every module imported, a CPU robot smoke, the wheel's entry points and base requirements matching the source, a textured look rendered in a base install, and alloy mcp and alloy-engine mcp each listing the MCP server's tools), and the public repository's quick CPU tests on the release tree, in a fresh container the size of GitHub's runner.
  • A fresh environment from the built wheel, with no GPU: the quick starts of the README and AGENTS.md run on the CPU and pass their health checks, and alloy mcp, alloy-engine mcp and uvx alloy-engine mcp (from the wheel, with an empty cache) each list the MCP server's 25 tools.
  • The Isaac Lab install line on a fresh L4 GPU machine: Isaac Lab 3.0, then this wheel, then isaaclab train on Isaac-Cartpole-Direct with physics=alloy, which ran on Alloy at the task's own physics step and finished its training run.

Still open: everything on the Keep in mind page (https://alloy.argonrobotics.ai/docs/keep-in-mind/). These are not in 0.1.5 and are still planned:

  • Sand and paste (MPM) after sim.reset() do not repeat a fresh build bit for bit on the CPU.
  • A sealed liquid column drains (an internal solver option; no public API reaches it).
  • Resting box stacks can show the penetration warning PEN_WARN while they settle (DEGRADED only; sim.check() stays ok); a warning sized to the parts is planned.

The files on PyPI (sha256):

13944c3c990369640b20d0f954160cb35ebda31fddf97aff176f562eea822cc6  alloy_engine-0.1.5-py3-none-any.whl
89114c50d43b8280109f9adc297bed79da924b6a3472945c4e44591d853da7e4  alloy_engine-0.1.5.tar.gz

Alloy 0.1.4

Choose a tag to compare

@Codnay Codnay released this 15 Nov 08:41

Alloy 0.1.4: a physics engine for robot learning, built on Newton, MuJoCo Warp and Warp.

Python 3.11 or 3.12 on Linux x86_64 (CPU or NVIDIA GPU) or macOS on Apple silicon (CPU):

pip install alloy-engine==0.1.4

Newton and MuJoCo Warp ship inside Alloy (alloy/_vendor, listed in alloy/_vendor/VENDORED.md); Warp, MuJoCo
and the other dependencies come from PyPI. Start with README.md, or AGENTS.md for AI agents.

Notes:

0.1.4 follows 0.1.3 on PyPI. CHANGELOG.md has every change in full.

  • Install: Pillow now installs with Alloy, so looks with image textures render on a plain pip install alloy-engine (before, the first textured frame raised CameraError unless the import extra was installed).
  • Bundled engines: Newton moves to its public v1.8.0 release, with the same commits and patches of ours; every scene steps as before (alloy/_vendor/VENDORED.md lists them).
  • Robots: add_robot(..., pos=(worlds, 3)) and per-world scene.randomize coordinates now move the whole robot file in each world, its floor and welded parts too, as the docs say; a file with a welded part no longer raises "no free base" for per-world starts or sim.set_pose.
  • Contact: objects resting beside a robot or a moving fixture no longer jitter; a collision="convex" mesh collides with a hull that follows its own closely (hull_vertices=64 keeps the earlier fast hull); a ball's restitution matches its setting in scenes of free rigid bodies only.
  • Memory: an sdf or mesh collision shape beside liquid or sand no longer reserves contact room for every particle.
  • On the CPU's default route: sim.reset() after sim.settle(), and a run resumed from a saved state, continue bit for bit; a body welded to the world at a different pose in each world (engine-layer models) stands at its own world's pose.
  • add_cloth's resolution is documented as what it builds (cells along the longer side), and a grid the build cannot keep warns.

What was tested:

  • Release checks: the CPU test suite on both CPU routes (MuJoCo C and Warp), and the GPU test suite and robot tests on NVIDIA L4 GPUs. Every failure is one 0.1.3 also had or a test time limit; none comes from this release's changes.
  • The release build of this exact commit: every release scanner, the wheel check, and the stage checks (the wheel and the sdist each installed in a fresh environment, every module imported, a CPU robot smoke, the wheel's entry points and base requirements matching the source, a textured look rendered in a base install, and alloy mcp and alloy-engine mcp each listing the MCP server's tools).
  • A fresh environment from the built wheel, with no GPU: the quick starts of the README and AGENTS.md run on the CPU and pass their health checks, and alloy mcp, alloy-engine mcp and uvx alloy-engine mcp (from the wheel, with an empty cache) each list the MCP server's 25 tools.
  • The Isaac Lab install line on a fresh L4 GPU machine: Isaac Lab 3.0, then this wheel, then isaaclab train on Isaac-Cartpole-Direct with physics=alloy, which ran on Alloy at the task's own physics step and finished its training run.

Still open: everything on the Keep in mind page (https://alloy.argonrobotics.ai/docs/keep-in-mind/). These are not in 0.1.4 and are still planned:

  • Sand and paste (MPM) after sim.reset() do not repeat a fresh build bit for bit on the CPU.
  • A sealed liquid column drains (an internal solver option; no public API reaches it).
  • Resting box stacks can show the penetration warning PEN_WARN while they settle (DEGRADED only; sim.check() stays ok); a warning sized to the parts is planned.

The files on PyPI (sha256):

c136a33cc75918191984e47cff175ae7c3338f9b8df7fb7a23077f1d61a89d43  alloy_engine-0.1.4-py3-none-any.whl
3d5ad66ff215efc44e59e014a73e79d24cf6b1b163f5249e72d6acb92039cf04  alloy_engine-0.1.4.tar.gz

Alloy 0.1.3

Choose a tag to compare

@Codnay Codnay released this 13 Nov 21:35

Alloy 0.1.3: a physics engine for robot learning, built on Newton, MuJoCo Warp and Warp.

Python 3.11 or 3.12 on Linux x86_64 (CPU or NVIDIA GPU) or macOS on Apple silicon (CPU):

pip install alloy-engine==0.1.3

Newton and MuJoCo Warp ship inside Alloy (alloy/_vendor, listed in alloy/_vendor/VENDORED.md); Warp, MuJoCo
and the other dependencies come from PyPI. Start with README.md, or AGENTS.md for AI agents.

Notes:

0.1.3 follows 0.1.2 on PyPI. CHANGELOG.md has every change in full.

  • Isaac Lab (optional, new): with Isaac Lab 3.0 in the same environment, physics=alloy runs Isaac Lab tasks that offer physics=newton_mjwarp unchanged on Alloy's rigid route, at the task's own physics step, with Alloy's per-world health checks (alloy.isaaclab; docs/guide/isaaclab.md lists the tasks checked).
  • New options: alloy.build(scene, clock_worlds=n) steps the few worlds that need the smallest exchange step in a second simulation (opt-in); scene.relax_contact_depth(...) lets health judge contacts a robot file makes soft on purpose by their own width, so such a robot standing reads OK; jitter_joint(..., carry=[...]) also carries a liquid or a cloth on a jittered slide.
  • Imitation learning (alloy.il): episodes whose world went INVALID are marked and counted; HDF5Writer(resume=True), next_obs_images=False and copy_hdf5; observation groups record into LeRobot datasets and replay; teleop_loop no longer saves attempts nobody approved; replay runs each episode with the random draws of the world that recorded it.
  • Robots: the shipped arms (FR3, Panda, UR10e with the 2F-85) have firm contacts, so a hand pressed on its table no longer freezes worlds; the shipped LEAP hand takes MuJoCo Playground's joint and servo values; a body with several MJCF joints drives each of its coordinates; part names keep a "/" from the robot file; .usdz robot files load; servo kinds follow MuJoCo's meaning; non-finite or malformed targets raise SimulationError naming the joint; sim.reset() puts targets and controls back to the start.
  • On a GPU, one articulation with more than 6 joints in a chain beside many free objects no longer makes the whole scene solve its contacts the slow way.
  • Changes to check in your code: rest_on_floor rests the object in every world by that world's own shift and returns the shifts as an array (it returned one float); delta and hand-motion actions start each step from the last target pulled back toward the measured joints; a cloth whose material card has an elastic.cloth block (such as cotton_woven_aniso) routes to the orthotropic cloth by default; a free-base robot's per-world pos and its x / y / z draws move the whole robot file, as a pos tuple does; add_pour pours its volume to within half a particle.
  • Fixes in stepping: sim.drive turns per-world fixtures about their own centres, moves for exactly its time, and keeps liquid in a moved container simulated; sim.set_pose on a kinematic body beside cloth, soft bodies or cables starts it at rest; sim.reset() after sim.settle() goes on from a settled pour; resetting some worlds with scene.randomize resets only those; contact-force plug-ins work beside liquid, cloth, soft bodies and sand; a pour beside cloth, in a scene without a free rigid body, no longer splashes over the rim with health OK; meshes with non-finite vertices or faces wound both ways raise an error with a fix.
  • Scenes and files: scene.add_object takes the shared keywords (static, kinematic, mass, friction, ...); alloy.objects() lists the objects on disk; scene.save() copies what its cards take from the scene's own card roots and refers to an mjcf= robot relative to the saved folder; an object with its own mass or friction keeps its material's look; scene.randomize moves a whole kinematic fixture; sim.check() names robot parts by the name given to add_robot.
  • Reinforcement learning: a world the engine froze earns nothing and the rsl_rl, Stable-Baselines3 and skrl wrappers never bootstrap it; the rsl_rl wrapper keeps the env's own seed; ObsNoise works on a flat observation list; absolute-mode actions show the clipped action; a rod's centre line is in the task state.
  • examples/export/rerun_live.py runs with --worlds 1.
  • Packaging: the package also installs an alloy-engine command, so uvx alloy-engine mcp starts the MCP server; the package metadata links the paper on arXiv; the README opens a quick start notebook on Colab; the repository has server.json for the MCP registry and smithery.yaml.

What was tested:

  • Release checks: the CPU test suite on both CPU routes (MuJoCo C and MuJoCo Warp) and the GPU test suite on NVIDIA L4 GPUs. Every failure is one 0.1.2 also had, a known timeout, or a test-only fix due in the next update.
  • The release build of this exact commit: every release scanner, the wheel check, and the stage checks (the wheel and the sdist each installed in a fresh environment, every module imported, a CPU robot smoke, the wheel's entry points matching the source, and alloy mcp and alloy-engine mcp each listing the MCP server's tools).
  • A fresh environment from the built wheel, with no GPU: the quick starts of the README and AGENTS.md run on the CPU and pass their health checks, and alloy mcp, alloy-engine mcp and uvx alloy-engine mcp (from the wheel, with an empty cache) each list the MCP server's 25 tools.
  • The Isaac Lab install line on a fresh L4 GPU machine: Isaac Lab 3.0, then this wheel, then isaaclab train on Isaac-Cartpole-Direct with physics=alloy, which ran on Alloy at the task's own physics step and finished its training run.

Still open: everything on the Keep in mind page (https://alloy.argonrobotics.ai/docs/keep-in-mind/). These are not in 0.1.3 and are still planned:

  • Sand and paste (MPM) after sim.reset() do not repeat a fresh build bit for bit on the CPU.
  • A sealed liquid column drains (an internal solver option; no public API reaches it).
  • Resting box stacks can show the penetration warning PEN_WARN while they settle (DEGRADED only; sim.check() stays ok); a warning sized to the parts is planned.

The files on PyPI (sha256):

b798bfe5a8a0129fb98348da1bbe7cade1f4099adbf4567468c805885444a3fc  alloy_engine-0.1.3-py3-none-any.whl
26f80d02d8213f706c3183fed5bdb00fbadb3f8c527379413f15cd36f5b16cb6  alloy_engine-0.1.3.tar.gz

Alloy 0.1.2

Choose a tag to compare

@Codnay Codnay released this 12 Nov 04:26

Alloy 0.1.2: a physics engine for robot learning, built on Newton, MuJoCo Warp and Warp.

Python 3.11 or 3.12 on Linux x86_64 (CPU or NVIDIA GPU) or macOS on Apple silicon (CPU):

pip install alloy-engine==0.1.2

Newton and MuJoCo Warp ship inside Alloy (alloy/_vendor, listed in alloy/_vendor/VENDORED.md); Warp, MuJoCo
and the other dependencies come from PyPI. Start with README.md, or AGENTS.md for AI agents.

Notes:

0.1.2 follows 0.1.0.post1 on PyPI. There was no public 0.1.1, so these notes cover everything since 0.1.0.

  • Camera environments with vary=True on a fresh install (texture images not downloaded) now draw a varied look in a mid-tone of its texture family (a brown floor, honey wood, mid-grey plastic), with one warning naming python -m alloy.looks --fetch-textures. Before, such a look fell back to its white placeholder colour, so the floor drew pure white.
  • The fast camera behind Gym camera observations reads a look's base colour as sRGB and converts it to linear, as the full-quality camera does. Before, varied looks were drawn too bright. A policy trained on 0.1.0's camera images sees different colours: retrain it.
  • PickCube-v0's rsl_rl recipe takes an entropy term of 0.003 (it had none), and the documented training command runs 1,000 iterations (it ran 500). Results vary between runs on a GPU, so watch the success rate the trainer prints.
  • python -m alloy runs the command line and prints its help when given no arguments.
  • A build that finds no NVIDIA GPU and holds cloth, liquid, sand or paste, or soft bodies logs one line: such scenes run many times slower than real time on the CPU, and alloy.estimate predicts the wall time. device="cpu" keeps the line quiet; rigid and robot scenes get none.
  • alloy.__version__ reads the installed package's version (0.1.0.post1 reported 0.1.0) and never raises.
  • alloy.compose: a scene that leaves out an object it was asked for fails the call (ok false), and when the Hub library is out of reach the fix names pip install "alloy-engine[import]".
  • python -m alloy.looks --fetch-textures without the import extra prints one error naming pip install "alloy-engine[import]", not a traceback.
  • The camera kernels compile without the compiler's integer-constant warnings on the first render; images are unchanged.
  • Documentation: every page's "Limits" section is now "Keep in mind". New pages: "What ships" (the ready-made environments, the robots with their source licences and the object libraries), a FAQ, how-to pages and comparison pages. The docs take the corrections from outside testers' review of the website: the README and the PyPI description say Python 3.11 or 3.12, with a uv line for systems whose Python is older, and give the range of worlds a robot arm runs at as the docs measure it. The README describes the MCP server: alloy mcp serves the engine as Model Context Protocol tools over stdio. Internal team and work-item names are gone from the known-limit pages, other text and data notes.
  • Packaging: pip install alloy-engine is the only install path (there is no install script, and this Release carries notes only). The package metadata links this repository and its issue tracker, has PyPI keywords and classifiers, and llms.txt ships in the package beside AGENTS.md. The repository has CITATION.cff (how to cite Alloy) and context7.json.

What was tested:

  • 0.1.2 is 0.1.1's release candidate plus the changes above. That candidate passed 12 release test runs on an NVIDIA L4 GPU, every public docs page's code run from the installed package on that GPU, and python -m alloy.docs from the installed package.
  • 0.1.2's own changes were tested on an L4 GPU and on a CPU: the CPU test suites and the GPU camera tests pass, the camera's images are byte-identical to before the kernel change, import alloy takes as long as before, and the no-GPU line appears only where it should. The documentation changes were checked by the docs tests and a review of the comparison pages.
  • The release build of this exact commit: every release scanner (now also failing on internal team names in text and data), the wheel check, and the stage checks (the wheel and the sdist each installed in a fresh environment, every module imported, a CPU robot smoke).

Still open: everything on the Keep in mind page (https://alloy.argonrobotics.ai/docs/keep-in-mind/). These fixes, earlier said to come in 0.1.1, are not in 0.1.2 and are still planned:

  • Sand and paste (MPM) after sim.reset() do not repeat a fresh build bit for bit on the CPU (up to 0.47 mm after 0.3 s).
  • A sim.drive that ends by its duration moves one physics substep past its end (in one sand check, a hold force about 3 % high).
  • A sealed liquid column drains (an internal solver option; no public API reaches it).
  • Resting box stacks can show the penetration warning PEN_WARN while they settle (DEGRADED only; sim.check() stays ok); a warning sized to the parts is planned.
  • Robot files whose contacts are deliberately soft (for example the ANYmal C feet in MuJoCo Menagerie) rest more than 1 cm deep and read INVALID; a public option to relax that check is planned.
  • Two GPU cloth regression tests are red (a drape test whose reference was not updated after a precision fix, and a speed bar missed by 0.4 %); the documented cloth numbers are unchanged.

The files on PyPI (sha256):

5dc66c5f454ddf95e02f3c31d93e3d82abdb0d8eede02bc74f93f45d14a733c2  alloy_engine-0.1.2-py3-none-any.whl
80468434ba6cd93159a9f74e5ece8b30baeafc0682a566e74cca9d016d1f92d4  alloy_engine-0.1.2.tar.gz