{"adoption": {"forks": 410, "observed_at": "2026-08-28T04:10:13.116161+00:00", "stars": 8113}, "canonical_url": "https://ross.abutalabs.com/products/monty", "card": {"archived": false, "artifact_type": "library", "description": "A minimal, secure Python interpreter written in Rust for use by AI", "domain": ["programming-languages", "artificial-intelligence", "security", "developer-tools"], "enriched": true, "function": ["interpreter", "security", "llm-inference", "agent-framework", "sdk"], "health_score": 100, "homepage": null, "language": "Rust", "license": "MIT", "license_family": "permissive", "maturity": "experimental", "member_repos": ["pydantic/monty"], "name": "pydantic/monty", "platform": ["rust", "python", "cross-platform"], "pushed_at": "2026-08-26T19:44:01+00:00", "repo": "pydantic/monty", "stars": 8113, "tags": ["sandboxed-python", "llm-code-execution", "microsecond-startup", "snapshotable", "embedded-interpreter", "no-container-sandbox", "sandbox", "interpreters", "ai-agents", "nodejs"], "topics": [], "urls": [], "use_cases": ["safely run python code generated by an llm", "sandbox untrusted python code without docker containers", "embed a python interpreter in a rust application", "pause and resume python execution from a snapshot", "typecheck llm-written python code", "give ai agents controlled access to host functions"], "what_it_is": "Monty is a minimal, secure Python interpreter written in Rust designed for safely executing LLM-generated code without container-based sandboxes. It blocks host access by default, supports snapshotting interpreter state, and can be called from Rust, Python, or JavaScript with sub-microsecond startup.", "when_to_avoid": ["you need full CPython compatibility or arbitrary third-party Python packages", "you need a production-grade, stable interpreter for general-purpose Python workloads", "your code depends on C extensions or native modules"], "when_to_choose": ["you need to execute LLM-generated Python with minimal latency and no container overhead", "you want strict control over filesystem, network, and environment access from executed code", "you need to snapshot and resume interpreter state across requests or processes"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/monty", "repo": "pydantic/monty", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:30:41.235706+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4fed534526ac817b16da107d9a0d5ed1dc7f75427dd64b061391f202605647c1", "fetched_at": "2026-08-28T04:10:13.116161+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pydantic/monty"}, {"content_hash": "9e28c45c22873fc11378f21e5168406389f760303cceb098ab6875bf35a3dd7e", "fetched_at": "2026-08-29T08:28:39.899687+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/monty"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:30:41.235706+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4fed534526ac817b16da107d9a0d5ed1dc7f75427dd64b061391f202605647c1", "fetched_at": "2026-08-28T04:10:13.116161+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pydantic/monty"}, {"content_hash": "9e28c45c22873fc11378f21e5168406389f760303cceb098ab6875bf35a3dd7e", "fetched_at": "2026-08-29T08:28:39.899687+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/monty"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:30:41.235706+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4fed534526ac817b16da107d9a0d5ed1dc7f75427dd64b061391f202605647c1", "fetched_at": "2026-08-28T04:10:13.116161+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pydantic/monty"}, {"content_hash": "9e28c45c22873fc11378f21e5168406389f760303cceb098ab6875bf35a3dd7e", "fetched_at": "2026-08-29T08:28:39.899687+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/monty"}], "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:10:13.116161+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:30:41.235706+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4fed534526ac817b16da107d9a0d5ed1dc7f75427dd64b061391f202605647c1", "fetched_at": "2026-08-28T04:10:13.116161+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pydantic/monty"}, {"content_hash": "9e28c45c22873fc11378f21e5168406389f760303cceb098ab6875bf35a3dd7e", "fetched_at": "2026-08-29T08:28:39.899687+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/monty"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:30:41.235706+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4fed534526ac817b16da107d9a0d5ed1dc7f75427dd64b061391f202605647c1", "fetched_at": "2026-08-28T04:10:13.116161+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pydantic/monty"}, {"content_hash": "9e28c45c22873fc11378f21e5168406389f760303cceb098ab6875bf35a3dd7e", "fetched_at": "2026-08-29T08:28:39.899687+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/monty"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:30:41.235706+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4fed534526ac817b16da107d9a0d5ed1dc7f75427dd64b061391f202605647c1", "fetched_at": "2026-08-28T04:10:13.116161+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pydantic/monty"}, {"content_hash": "9e28c45c22873fc11378f21e5168406389f760303cceb098ab6875bf35a3dd7e", "fetched_at": "2026-08-29T08:28:39.899687+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/monty"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:13.116161+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:30:41.235706+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4fed534526ac817b16da107d9a0d5ed1dc7f75427dd64b061391f202605647c1", "fetched_at": "2026-08-28T04:10:13.116161+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pydantic/monty"}, {"content_hash": "9e28c45c22873fc11378f21e5168406389f760303cceb098ab6875bf35a3dd7e", "fetched_at": "2026-08-29T08:28:39.899687+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/monty"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:30:41.235706+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4fed534526ac817b16da107d9a0d5ed1dc7f75427dd64b061391f202605647c1", "fetched_at": "2026-08-28T04:10:13.116161+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pydantic/monty"}, {"content_hash": "9e28c45c22873fc11378f21e5168406389f760303cceb098ab6875bf35a3dd7e", "fetched_at": "2026-08-29T08:28:39.899687+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/monty"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:30:41.235706+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4fed534526ac817b16da107d9a0d5ed1dc7f75427dd64b061391f202605647c1", "fetched_at": "2026-08-28T04:10:13.116161+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pydantic/monty"}, {"content_hash": "9e28c45c22873fc11378f21e5168406389f760303cceb098ab6875bf35a3dd7e", "fetched_at": "2026-08-29T08:28:39.899687+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/monty"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:30:41.235706+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4fed534526ac817b16da107d9a0d5ed1dc7f75427dd64b061391f202605647c1", "fetched_at": "2026-08-28T04:10:13.116161+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pydantic/monty"}, {"content_hash": "9e28c45c22873fc11378f21e5168406389f760303cceb098ab6875bf35a3dd7e", "fetched_at": "2026-08-29T08:28:39.899687+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/monty"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 85, "rhythm": 96}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1193, "days_push": 7, "days_rel": 24, "gap_med": 3.0, "n_releases_24m": 21}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}