Letta · Schema

LocalSandboxConfig

AIAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen Source

Properties

Name Type Description
sandbox_dir object Directory for the sandbox environment.
use_venv boolean Whether or not to use the venv, or run directly in the same run loop.
venv_name string The name for the venv in the sandbox directory. We first search for an existing venv with this name, otherwise, we make it from the requirements.txt.
pip_requirements array List of pip packages to install with mandatory name and optional version following semantic versioning. This only is considered when use_venv is True.
View JSON Schema on GitHub

JSON Schema

letta-localsandboxconfig-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LocalSandboxConfig",
  "title": "LocalSandboxConfig",
  "properties": {
    "sandbox_dir": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sandbox Dir",
      "description": "Directory for the sandbox environment."
    },
    "use_venv": {
      "type": "boolean",
      "title": "Use Venv",
      "description": "Whether or not to use the venv, or run directly in the same run loop.",
      "default": false
    },
    "venv_name": {
      "type": "string",
      "title": "Venv Name",
      "description": "The name for the venv in the sandbox directory. We first search for an existing venv with this name, otherwise, we make it from the requirements.txt.",
      "default": "venv"
    },
    "pip_requirements": {
      "items": {
        "$ref": "#/components/schemas/PipRequirement"
      },
      "type": "array",
      "title": "Pip Requirements",
      "description": "List of pip packages to install with mandatory name and optional version following semantic versioning. This only is considered when use_venv is True."
    }
  },
  "type": "object"
}