{
  "id": "smolagents-code-execution-table",
  "kind": "table",
  "slug": "smolagents-code-execution",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/smolagents-code-execution/",
  "title": "Run smolagents CodeAgent tools in a secure sandbox",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "CodeAgent",
      "source": "Hugging Face smolagents",
      "detail": "Python code snippets, local or sandboxed"
    },
    {
      "name": "ToolCallingAgent",
      "source": "Hugging Face smolagents",
      "detail": "structured JSON tool calls, no code execution"
    },
    {
      "name": "E2B or Docker",
      "source": "Hugging Face smolagents",
      "detail": "remote execution sandboxes"
    }
  ],
  "related_slugs": [
    "ao-security-gemini-cli-sandbox",
    "deno-permissions",
    "ao-security-prompt-injection-design"
  ],
  "license": "CC-BY-4.0",
  "source_license": "Apache-2.0 (Hugging Face smolagents); Apache-2.0 (huggingface/smolagents (GitHub)); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}