{
  "title": "Code execution",
  "description": "Run generated code in a documented execution environment.",
  "slug": "code-execution",
  "locale": "en",
  "seoTitle": "Code execution — Can My Agent Use",
  "socialTitle": "Code execution",
  "socialDescription": "Compare documented code-execution environments, permissions, and isolation.",
  "llmSummary": "Code execution runs generated code in a product-provided environment. Sandbox isolation, workspace access, permissions, language support, and persistence are qualifiers.",
  "audience": "Engineers comparing chat, desktop, and CLI agent harnesses.",
  "contentKind": "feature",
  "status": "published",
  "tags": [
    "tools"
  ],
  "updated": "2026-08-28T00:00:00.000Z",
  "published": "2026-08-28T00:00:00.000Z",
  "category": "tools",
  "summary": "Run generated code in a documented execution environment.",
  "specLabel": "Common product term",
  "aliases": [],
  "capabilityKind": "atomic",
  "related": [],
  "relations": [],
  "highlight": false,
  "notes": [
    {
      "id": 1,
      "text": "Evidence checked 2026-08-28: OpenWork Desktop runs OpenCode and the OpenWork server against a selected workspace and documents shell execution as a permission-sensitive primitive; default sandbox isolation is not established."
    }
  ],
  "issues": [],
  "resources": [
    {
      "title": "Methodology",
      "href": "/methodology",
      "kind": "note"
    },
    {
      "id": "openwork-code-execution",
      "title": "OpenWork — Architecture",
      "href": "https://github.com/different-ai/openwork/blob/dev/ARCHITECTURE.md",
      "kind": "docs",
      "publisher": "OpenWork",
      "evidenceType": "documented",
      "reviewedAt": "2026-08-28"
    }
  ],
  "support": [
    {
      "harness": "openwork-desktop",
      "versions": [
        {
          "track": "current",
          "status": "yes",
          "noteIds": [
            1
          ],
          "target": {
            "kind": "dated-documentation",
            "revision": "current OpenWork architecture documentation",
            "observedAt": "2026-08-28"
          },
          "environmentProfile": "local-default",
          "qualifiers": [
            {
              "type": "runtime",
              "value": "local workspace execution is documented; default sandbox isolation is not"
            },
            {
              "type": "policy",
              "value": "execution is constrained by workspace and approval configuration"
            }
          ],
          "evidence": [
            {
              "resourceId": "openwork-code-execution",
              "type": "documented",
              "observedAt": "2026-08-28"
            }
          ]
        }
      ]
    }
  ],
  "html": "/features/code-execution",
  "markdown": "/features/code-execution.md",
  "json": "/api/v1/features/code-execution.json",
  "body": "Run generated code in a documented execution environment. Sandbox isolation, workspace scope, permissions, persistence, and supported runtimes are recorded separately as qualifiers.\n\nThe matrix below lists published **web**, **desktop**, and **CLI** surfaces. Unreviewed cells remain **unknown** until a dated note and public source support a more specific status.\n\nUse the Markdown and JSON twins if you are an agent reading this site."
}