{"adoption": {"forks": 164, "observed_at": "2026-08-28T04:03:29.904954+00:00", "stars": 1078}, "canonical_url": "https://ross.abutalabs.com/products/mpcpytorch", "card": {"archived": false, "artifact_type": "library", "description": "A fast and differentiable model predictive control (MPC) solver for PyTorch.", "domain": ["machine-learning", "robotics", "reinforcement-learning"], "enriched": true, "function": ["machine-learning", "simulation", "math"], "health_score": 20, "homepage": "https://locuslab.github.io/mpc.pytorch/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["locuslab/mpc.pytorch"], "name": "locuslab/mpc.pytorch", "platform": ["python"], "pushed_at": "2024-08-27T20:26:01+00:00", "repo": "locuslab/mpc.pytorch", "stars": 1078, "tags": ["model-predictive-control", "differentiable-optimization", "pytorch", "optimal-control", "box-ddp", "algorithms"], "topics": [], "urls": [], "use_cases": ["solve model predictive control problems inside PyTorch models", "train neural networks end-to-end through an MPC solver", "implement differentiable MPC for model-based reinforcement learning", "control simulated robots with receding-horizon optimization", "reproduce research from the differentiable MPC and OptNet papers"], "what_it_is": "mpc.pytorch is a fast and differentiable model predictive control (MPC) solver implemented as a PyTorch library. It solves receding-horizon optimal control problems using the box-DDP heuristic and supports gradients flowing through the solver for learning-based applications.", "when_to_avoid": ["you need a production-grade, actively developed MPC solver", "you work outside PyTorch or need non-Python integration", "you need robust support for hard nonlinear constraints beyond box-DDP"], "when_to_choose": ["you need MPC as a differentiable layer in PyTorch", "you are doing model-based RL research with control priors", "you want a GPU-friendly, batched MPC solver in Python"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/mpcpytorch", "repo": "locuslab/mpc.pytorch", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:53:10.202512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "82987aa6cfc316c95b6b3e0dd7ef1326923deb71c83f8a8daf04b7093f2a72a5", "fetched_at": "2026-08-28T04:03:29.904954+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locuslab/mpc.pytorch"}, {"content_hash": "b921a3412b171719c2f76d95cdf04b9095258bb3c616f286dcc6c223d9a3a149", "fetched_at": "2026-08-29T12:54:28.802903+00:00", "kind": "homepage", "missing": false, "url": "https://locuslab.github.io/mpc.pytorch/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:53:10.202512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "82987aa6cfc316c95b6b3e0dd7ef1326923deb71c83f8a8daf04b7093f2a72a5", "fetched_at": "2026-08-28T04:03:29.904954+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locuslab/mpc.pytorch"}, {"content_hash": "b921a3412b171719c2f76d95cdf04b9095258bb3c616f286dcc6c223d9a3a149", "fetched_at": "2026-08-29T12:54:28.802903+00:00", "kind": "homepage", "missing": false, "url": "https://locuslab.github.io/mpc.pytorch/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:53:10.202512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "82987aa6cfc316c95b6b3e0dd7ef1326923deb71c83f8a8daf04b7093f2a72a5", "fetched_at": "2026-08-28T04:03:29.904954+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locuslab/mpc.pytorch"}, {"content_hash": "b921a3412b171719c2f76d95cdf04b9095258bb3c616f286dcc6c223d9a3a149", "fetched_at": "2026-08-29T12:54:28.802903+00:00", "kind": "homepage", "missing": false, "url": "https://locuslab.github.io/mpc.pytorch/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:53:10.202512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "82987aa6cfc316c95b6b3e0dd7ef1326923deb71c83f8a8daf04b7093f2a72a5", "fetched_at": "2026-08-28T04:03:29.904954+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locuslab/mpc.pytorch"}, {"content_hash": "b921a3412b171719c2f76d95cdf04b9095258bb3c616f286dcc6c223d9a3a149", "fetched_at": "2026-08-29T12:54:28.802903+00:00", "kind": "homepage", "missing": false, "url": "https://locuslab.github.io/mpc.pytorch/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:53:10.202512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "82987aa6cfc316c95b6b3e0dd7ef1326923deb71c83f8a8daf04b7093f2a72a5", "fetched_at": "2026-08-28T04:03:29.904954+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locuslab/mpc.pytorch"}, {"content_hash": "b921a3412b171719c2f76d95cdf04b9095258bb3c616f286dcc6c223d9a3a149", "fetched_at": "2026-08-29T12:54:28.802903+00:00", "kind": "homepage", "missing": false, "url": "https://locuslab.github.io/mpc.pytorch/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:53:10.202512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "82987aa6cfc316c95b6b3e0dd7ef1326923deb71c83f8a8daf04b7093f2a72a5", "fetched_at": "2026-08-28T04:03:29.904954+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locuslab/mpc.pytorch"}, {"content_hash": "b921a3412b171719c2f76d95cdf04b9095258bb3c616f286dcc6c223d9a3a149", "fetched_at": "2026-08-29T12:54:28.802903+00:00", "kind": "homepage", "missing": false, "url": "https://locuslab.github.io/mpc.pytorch/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:29.904954+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:53:10.202512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "82987aa6cfc316c95b6b3e0dd7ef1326923deb71c83f8a8daf04b7093f2a72a5", "fetched_at": "2026-08-28T04:03:29.904954+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locuslab/mpc.pytorch"}, {"content_hash": "b921a3412b171719c2f76d95cdf04b9095258bb3c616f286dcc6c223d9a3a149", "fetched_at": "2026-08-29T12:54:28.802903+00:00", "kind": "homepage", "missing": false, "url": "https://locuslab.github.io/mpc.pytorch/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:53:10.202512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "82987aa6cfc316c95b6b3e0dd7ef1326923deb71c83f8a8daf04b7093f2a72a5", "fetched_at": "2026-08-28T04:03:29.904954+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locuslab/mpc.pytorch"}, {"content_hash": "b921a3412b171719c2f76d95cdf04b9095258bb3c616f286dcc6c223d9a3a149", "fetched_at": "2026-08-29T12:54:28.802903+00:00", "kind": "homepage", "missing": false, "url": "https://locuslab.github.io/mpc.pytorch/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:53:10.202512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "82987aa6cfc316c95b6b3e0dd7ef1326923deb71c83f8a8daf04b7093f2a72a5", "fetched_at": "2026-08-28T04:03:29.904954+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locuslab/mpc.pytorch"}, {"content_hash": "b921a3412b171719c2f76d95cdf04b9095258bb3c616f286dcc6c223d9a3a149", "fetched_at": "2026-08-29T12:54:28.802903+00:00", "kind": "homepage", "missing": false, "url": "https://locuslab.github.io/mpc.pytorch/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:53:10.202512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "82987aa6cfc316c95b6b3e0dd7ef1326923deb71c83f8a8daf04b7093f2a72a5", "fetched_at": "2026-08-28T04:03:29.904954+00:00", "kind": "readme", "missing": false, "url": "https://github.com/locuslab/mpc.pytorch"}, {"content_hash": "b921a3412b171719c2f76d95cdf04b9095258bb3c616f286dcc6c223d9a3a149", "fetched_at": "2026-08-29T12:54:28.802903+00:00", "kind": "homepage", "missing": false, "url": "https://locuslab.github.io/mpc.pytorch/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2892, "days_push": 736, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}