Skip to main content

DevAgent Smart Physical Engine

PyPI Python Status: Production/Stable

Verification-first commissioning engineering: customer Twin import, measured physical evidence, deterministic requirement verification, change-impact regression, and FAT evidence for robotics and industrial automation.

AI proposes. Deterministic engines validate, compile, verify, measure, and gate promotion. OEM robot controllers, PLCs, safety PLCs, and certified safety systems remain authoritative.

DevAgent is designed to answer a commercial engineering question: before engineers travel onsite, what can be proven about this robot cell, what failed, what changed, and what evidence supports the conclusion?

Product workflow

CUSTOMER PROJECT / SITE / WORKCELL
                |
                v
CUSTOMER ASSETS + EXPLICIT TWIN EVIDENCE
                |
                v
IMMUTABLE TWIN REVISION
                |
                v
REQUIREMENTS
                |
                v
VERIFICATION PLAN
 nominal / boundary / pairwise / faults
                |
                v
MEASURED PHYSICAL EVIDENCE
 cycle / clearance / TCP / tracking / collision
                |
                v
DETERMINISTIC VERDICTS
 PASS / FAIL / NOT_TESTED
                |
                v
CHANGE IMPACT + REGRESSION
                |
                v
FAT REPORT
 Markdown / HTML / JSON

Unknown facts stay unknown. Unsupported requirements stay NOT_TESTED. A CAD/URDF/mesh file does not prove its pose, scale, TCP, calibration, or physics merely because the file exists.

Install

Python 3.11+:

python -m pip install devagent-physical-engine

Optional AI providers:

python -m pip install "devagent-physical-engine[openai]"
python -m pip install "devagent-physical-engine[anthropic]"
python -m pip install "devagent-physical-engine[gemini]"
python -m pip install "devagent-physical-engine[ai]"

pip install does not install ROS 2, Gazebo, MoveIt, OEM drivers, or privileged OS packages.

Commercial quick start

Create project identity:

devagent-commercial init warehouse-cnc-04 \
  --name "Warehouse CNC Loading Cell 04" \
  --site atl-01 \
  --workcell cnc-04

Import customer Twin evidence:

devagent-commercial import-twin warehouse-cnc-04 ./customer-cell

Supported inventory includes .urdf, .xacro, .srdf, .stl, .dae, .obj, .step, .stp, .iges, .igs, .yaml, .yml, .json, and .csv. Assets are SHA-256 fingerprinted using bounded streaming I/O. Physical facts are promoted only through an explicit devagent-twin.yaml|yml|json evidence manifest.

Import requirements:

devagent-commercial requirements warehouse-cnc-04 requirements.csv

Generate a deterministic verification plan:

devagent-commercial verification-plan warehouse-cnc-04 verification-plan.yaml \
  --revision twin-r0001

Record measured evidence produced by a simulation/hardware-shadow qualification run:

devagent-commercial record-measurement warehouse-cnc-04 physical-measurement.json \
  --revision twin-r0001

Run requirements against the exact Twin and measurement artifact:

devagent-commercial campaign warehouse-cnc-04 requirements.csv \
  --revision twin-r0001 \
  --measurement art-PHYSICAL

After a Twin revision changes, compute conservative impact:

devagent-commercial impact warehouse-cnc-04 \
  twin-r0001 twin-r0002 requirements.csv

Compare baseline/current campaigns:

devagent-commercial regression warehouse-cnc-04 \
  art-BASELINE art-CURRENT \
  --impact art-IMPACT

Generate customer evidence as Markdown, HTML, or JSON:

devagent-commercial fat-report warehouse-cnc-04 art-CURRENT \
  --regression art-REGRESSION \
  --output FAT_REPORT.html

Inspect readiness and evidence:

devagent-commercial status warehouse-cnc-04
devagent-commercial artifacts warehouse-cnc-04

Default evidence database:

~/.devagent/projects.db

Deterministic requirement checks

Structural/Twin checks:

  • planning_allowed
  • physics_allowed
  • entity_present
  • validation_issue_absent
  • twin_state

Measured physical checks:

  • cycle_time_max_s
  • minimum_clearance_m
  • final_tcp_error_max_m
  • max_tracking_error_rad
  • collision_free
  • physical_completed

Example:

requirement_id,text,check,target,expected,severity
REQ-001,Twin shall be physics ready,physics_allowed,,true,must
REQ-101,Cycle time shall be <= 8 s,cycle_time_max_s,8.0,,must
REQ-102,Minimum clearance shall be >= 30 mm,minimum_clearance_m,0.03,,must
REQ-103,Final TCP error shall be <= 2 mm,final_tcp_error_max_m,0.002,,must
REQ-104,Trajectory shall be collision free,collision_free,,true,must

A physical requirement without exact-Twin measured evidence is NOT_TESTED; it cannot be promoted by an LLM.

Evidence trust and readiness

DevAgent separates three claims:

  • customer_review_ready: the bounded declared/imported scope and mapped requirements passed.
  • production_engineering_ready: mapped physical requirements passed with exact-Twin measurement evidence and explicit run/qualification provenance.
  • site_qualification / real_execution_allowed: remain false in this release.

production_engineering_ready is engineering evidence readiness, not functional-safety certification or commissioning authorization. Simulation evidence does not override guarding, risk assessment, safety PLC validation, OEM controller validation, site acceptance, or engineer sign-off.

The typed Python API can bind PhysicalMotionPlan + MotionExecutionMetrics directly into project evidence so runtime-owned metrics do not have to be manually retyped into free-form JSON.

Physical simulation

The qualified reference direction remains Ubuntu 24.04 + ROS 2 Jazzy + Gazebo Harmonic + gz_ros2_control + Universal Robots ROS 2 driver + ur_simulation_gz + MoveIt 2.

devagent-physical setup --profile ur5e-sim --dry-run
devagent-physical setup --profile ur5e-sim
devagent-physical ros doctor
devagent-physical ros qualify-trajectory-runtime

Hosted Python CI cannot prove a graphical Gazebo/MoveIt/controller stack. Target physical-simulation qualification must run on the exact workstation/adapter stack. Registry entries for ABB, FANUC, KUKA, or other robots do not imply equal physical qualification.

Release quality

Every PR/main update runs Python 3.11/3.12/3.13 regression, compilation, Ruff correctness checks, branch coverage, package build, clean wheel install, and runtime dependency audit. Production-grade authority contracts also have a dedicated high-coverage gate.

Releases are created only from exact green main, rebuilt from the exact tag, clean-installed, accompanied by CycloneDX SBOM + SHA-256 checksums, attached to GitHub Release, and published to PyPI through Trusted Publishing.

Documentation

Project status

v1.1.0 — Production/Stable software workflow with measured physical requirement evidence, deterministic verification-plan generation, change-impact regression, and customer FAT Markdown/HTML/JSON reporting.

Production/Stable applies to the bounded software/API/CLI/evidence workflow. Physical qualification remains robot-, adapter-, workstation-, and evidence-specific. Site qualification, functional-safety certification, and production-hardware command authority are not claimed and remain locked by default.

Ownership

DevAgent Smart Physical Engine
Copyright © 2026 Tom Ha
Original creator: Tom Ha
Original project: https://github.com/tomha85/devagent-physical-engine
All rights reserved.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devagent_physical_engine-1.1.0.tar.gz (271.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devagent_physical_engine-1.1.0-py3-none-any.whl (272.1 kB view details)

Uploaded Python 3

File details

Details for the file devagent_physical_engine-1.1.0.tar.gz.

File metadata

  • Download URL: devagent_physical_engine-1.1.0.tar.gz
  • Upload date:
  • Size: 271.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for devagent_physical_engine-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9e48a57c6ee1622d4e6960266e7143b788d0ab4e5195f5adf69f00842772f2e1
MD5 2baa85edfe42c04f850ff367badbd6ba
BLAKE2b-256 088ff380c3d926ef94c74e4b837145425649114a52f09fe6d75cf62922ed47b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for devagent_physical_engine-1.1.0.tar.gz:

Publisher: release.yml on tomha85/devagent-physical-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devagent_physical_engine-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for devagent_physical_engine-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d55df661d5ae8f2f5a83d5c8f5efbd584d1be04aa97c2e189f057393f80ee33c
MD5 ddeae73ed5aaec41b84f343dbbf67fd4
BLAKE2b-256 a227a73203c9f9cb8a9377b9bff4f59499bdfba5aebab444abe6200944d9ec40

See more details on using hashes here.

Provenance

The following attestation bundles were made for devagent_physical_engine-1.1.0-py3-none-any.whl:

Publisher: release.yml on tomha85/devagent-physical-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2.4.0

2 files

2.3.1

2 files

2.3.0

2 files

2.2.0

2 files

2.1.1

2 files

2.1.0

2 files

2.0.0

2 files

1.9.1

2 files

1.9.0

2 files

1.8.9

2 files

1.8.8

2 files

1.8.6

2 files

1.8.5

2 files

1.8.4

2 files

1.8.2

2 files

1.8.1

2 files

1.8.0

2 files

1.7.2

2 files

1.7.1

2 files

1.7.0

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.5.0

2 files

1.4.1

2 files

1.4.0

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

This release

1.1.0 This release

2 files

1.0.0

2 files

0.13.0

2 files

0.12.5

2 files

0.12.4

2 files

0.12.3

2 files

0.12.2

2 files

0.12.1

2 files

0.12.0

2 files

0.11.6

2 files

0.11.5

2 files

0.11.4

2 files

0.11.3

2 files

0.11.2

2 files

0.10.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page