Agent Sandbox Registry

agent-sandbox

{

无中文版

docs/design/fixtures/config-keys.json

{
  "schema_version": 1,
  "builtin_provider": {
    "id": "alicloud-express",
    "name": "Alibaba Cloud Express Edition",
    "name_zh": "阿里云极速版"
  },
  "reserved_provider_ids": [
    "alicloud-express",
    "default",
    "all",
    "none",
    "builtin",
    "shortcuts",
    "core",
    "transport",
    "providers",
    "e2b"
  ],
  "reserved_provider_prefixes": [
    "abx-",
    "alicloud-",
    "shortcuts"
  ],
  "generic_endpoint_keys": [
    "sandbox_api_key",
    "sandbox_base_url",
    "sandbox_domain"
  ],
  "tuning_keys": [
    "http_timeout",
    "http2",
    "max_retries",
    "max_connections",
    "max_keepalive_connections",
    "keepalive_expiry",
    "ws_ping_interval",
    "retry_base_delay"
  ],
  "keys": [
    {
      "key": "provider",
      "scope": "core",
      "type": "str",
      "secret": false,
      "credential": false,
      "settable": true,
      "env": "ABX_PROVIDER",
      "aliases": [],
      "env_names": [
        "ABX_PROVIDER"
      ],
      "toml_section": "core",
      "storage_phase1": {
        "file": "toml",
        "name": "provider",
        "section": "core"
      },
      "storage_phase2": {
        "file": "toml",
        "name": "provider",
        "section": "core"
      },
      "default": "alicloud-express",
      "choices": [],
      "group": "Provider",
      "description": "Default provider id (see 'abx provider list')"
    },
    {
      "key": "sandbox_api_key",
      "scope": "core",
      "type": "str",
      "secret": true,
      "credential": true,
      "settable": true,
      "env": "ABX_SANDBOX_API_KEY",
      "aliases": [],
      "env_names": [
        "ABX_SANDBOX_API_KEY"
      ],
      "toml_section": null,
      "storage_phase1": {
        "file": "env",
        "name": "ABX_SANDBOX_API_KEY"
      },
      "storage_phase2": {
        "file": "env",
        "name": "ABX_SANDBOX_API_KEY"
      },
      "default": null,
      "choices": [],
      "group": "Sandbox authentication",
      "description": "Agent Sandbox API key of the active provider"
    },
    {
      "key": "sandbox_base_url",
      "scope": "core",
      "type": "url",
      "secret": false,
      "credential": false,
      "settable": true,
      "env": "ABX_SANDBOX_BASE_URL",
      "aliases": [],
      "env_names": [
        "ABX_SANDBOX_BASE_URL"
      ],
      "toml_section": "transport",
      "storage_phase1": {
        "file": "toml",
        "name": "sandbox_base_url",
        "section": "transport"
      },
      "storage_phase2": {
        "file": "toml",
        "name": "sandbox_base_url",
        "section": "transport"
      },
      "default": "https://api.cn-hangzhou.e2b.fc.aliyuncs.com",
      "choices": [],
      "group": "Connection",
      "description": "Agent Sandbox API endpoint of the active provider"
    },
    {
      "key": "sandbox_domain",
      "scope": "core",
      "type": "str",
      "secret": false,
      "credential": false,
      "settable": true,
      "env": "ABX_SANDBOX_DOMAIN",
      "aliases": [],
      "env_names": [
        "ABX_SANDBOX_DOMAIN"
      ],
      "toml_section": "transport",
      "storage_phase1": {
        "file": "toml",
        "name": "sandbox_domain",
        "section": "transport"
      },
      "storage_phase2": {
        "file": "toml",
        "name": "sandbox_domain",
        "section": "transport"
      },
      "default": "cn-hangzhou.e2b.fc.aliyuncs.com",
      "choices": [],
      "group": "Connection",
      "description": "Envd data-plane domain"
    },
    {
      "key": "http_timeout",
      "scope": "core",
      "type": "float",
      "secret": false,
      "credential": false,
      "settable": true,
      "env": "ABX_HTTP_TIMEOUT",
      "aliases": [],
      "env_names": [
        "ABX_HTTP_TIMEOUT"
      ],
      "toml_section": "transport",
      "storage_phase1": {
        "file": "toml",
        "name": "http_timeout",
        "section": "transport"
      },
      "storage_phase2": {
        "file": "toml",
        "name": "http_timeout",
        "section": "transport"
      },
      "default": 30.0,
      "choices": [],
      "group": "Connection",
      "description": "HTTP request timeout in seconds"
    },
    {
      "key": "http2",
      "scope": "core",
      "type": "bool",
      "secret": false,
      "credential": false,
      "settable": true,
      "env": "ABX_HTTP2",
      "aliases": [],
      "env_names": [
        "ABX_HTTP2"
      ],
      "toml_section": "transport",
      "storage_phase1": {
        "file": "toml",
        "name": "http2",
        "section": "transport"
      },
      "storage_phase2": {
        "file": "toml",
        "name": "http2",
        "section": "transport"
      },
      "default": true,
      "choices": [],
      "group": "Connection",
      "description": "Use HTTP/2"
    },
    {
      "key": "max_retries",
      "scope": "core",
      "type": "int",
      "secret": false,
      "credential": false,
      "settable": true,
      "env": "ABX_MAX_RETRIES",
      "aliases": [],
      "env_names": [
        "ABX_MAX_RETRIES"
      ],
      "toml_section": "transport",
      "storage_phase1": {
        "file": "toml",
        "name": "max_retries",
        "section": "transport"
      },
      "storage_phase2": {
        "file": "toml",
        "name": "max_retries",
        "section": "transport"
      },
      "default": 3,
      "choices": [],
      "group": "Connection",
      "description": "Maximum automatic retries"
    },
    {
      "key": "max_connections",
      "scope": "core",
      "type": "int",
      "secret": false,
      "credential": false,
      "settable": false,
      "env": "ABX_MAX_CONNECTIONS",
      "aliases": [],
      "env_names": [
        "ABX_MAX_CONNECTIONS"
      ],
      "toml_section": "transport",
      "storage_phase1": null,
      "storage_phase2": null,
      "default": 100,
      "choices": [],
      "group": "",
      "description": ""
    },
    {
      "key": "max_keepalive_connections",
      "scope": "core",
      "type": "int",
      "secret": false,
      "credential": false,
      "settable": false,
      "env": "ABX_MAX_KEEPALIVE_CONNECTIONS",
      "aliases": [],
      "env_names": [
        "ABX_MAX_KEEPALIVE_CONNECTIONS"
      ],
      "toml_section": "transport",
      "storage_phase1": null,
      "storage_phase2": null,
      "default": 20,
      "choices": [],
      "group": "",
      "description": ""
    },
    {
      "key": "keepalive_expiry",
      "scope": "core",
      "type": "float",
      "secret": false,
      "credential": false,
      "settable": false,
      "env": "ABX_KEEPALIVE_EXPIRY",
      "aliases": [],
      "env_names": [
        "ABX_KEEPALIVE_EXPIRY"
      ],
      "toml_section": "transport",
      "storage_phase1": null,
      "storage_phase2": null,
      "default": 30.0,
      "choices": [],
      "group": "",
      "description": ""
    },
    {
      "key": "ws_ping_interval",
      "scope": "core",
      "type": "float",
      "secret": false,
      "credential": false,
      "settable": false,
      "env": "ABX_WS_PING_INTERVAL",
      "aliases": [],
      "env_names": [
        "ABX_WS_PING_INTERVAL"
      ],
      "toml_section": "transport",
      "storage_phase1": null,
      "storage_phase2": null,
      "default": 30.0,
      "choices": [],
      "group": "",
      "description": ""
    },
    {
      "key": "retry_base_delay",
      "scope": "core",
      "type": "float",
      "secret": false,
      "credential": false,
      "settable": false,
      "env": "ABX_RETRY_BASE_DELAY",
      "aliases": [],
      "env_names": [
        "ABX_RETRY_BASE_DELAY"
      ],
      "toml_section": "transport",
      "storage_phase1": null,
      "storage_phase2": null,
      "default": 1.0,
      "choices": [],
      "group": "",
      "description": ""
    },
    {
      "key": "log_level",
      "scope": "core",
      "type": "enum",
      "secret": false,
      "credential": false,
      "settable": true,
      "env": "ABX_LOG_LEVEL",
      "aliases": [],
      "env_names": [
        "ABX_LOG_LEVEL"
      ],
      "toml_section": "transport",
      "storage_phase1": {
        "file": "toml",
        "name": "log_level",
        "section": "transport"
      },
      "storage_phase2": {
        "file": "toml",
        "name": "log_level",
        "section": "transport"
      },
      "default": "WARNING",
      "choices": [
        "DEBUG",
        "INFO",
        "WARNING",
        "ERROR",
        "CRITICAL"
      ],
      "group": "",
      "description": "Log level"
    },
    {
      "key": "default_template",
      "scope": "core",
      "type": "str",
      "secret": false,
      "credential": false,
      "settable": true,
      "env": "ABX_DEFAULT_TEMPLATE",
      "aliases": [],
      "env_names": [
        "ABX_DEFAULT_TEMPLATE"
      ],
      "toml_section": "transport",
      "storage_phase1": {
        "file": "toml",
        "name": "default_template",
        "section": "transport"
      },
      "storage_phase2": {
        "file": "toml",
        "name": "default_template",
        "section": "transport"
      },
      "default": "base",
      "choices": [],
      "group": "",
      "description": "Template used when none is given"
    },
    {
      "key": "github_token",
      "scope": "core",
      "type": "str",
      "secret": true,
      "credential": false,
      "settable": true,
      "env": "GITHUB_TOKEN",
      "aliases": [],
      "env_names": [
        "GITHUB_TOKEN"
      ],
      "toml_section": null,
      "storage_phase1": {
        "file": "env",
        "name": "GITHUB_TOKEN"
      },
      "storage_phase2": {
        "file": "env",
        "name": "GITHUB_TOKEN"
      },
      "default": null,
      "choices": [],
      "group": "Integrations",
      "description": "GitHub token for the template index"
    },
    {
      "key": "template_index_url",
      "scope": "core",
      "type": "url",
      "secret": false,
      "credential": false,
      "settable": false,
      "env": "ABX_TEMPLATE_INDEX_URL",
      "aliases": [],
      "env_names": [
        "ABX_TEMPLATE_INDEX_URL"
      ],
      "toml_section": null,
      "storage_phase1": null,
      "storage_phase2": null,
      "default": null,
      "choices": [],
      "group": "",
      "description": ""
    },
    {
      "key": "template_dir",
      "scope": "core",
      "type": "path",
      "secret": false,
      "credential": false,
      "settable": false,
      "env": "ABX_TEMPLATE_DIR",
      "aliases": [],
      "env_names": [
        "ABX_TEMPLATE_DIR"
      ],
      "toml_section": null,
      "storage_phase1": null,
      "storage_phase2": null,
      "default": null,
      "choices": [],
      "group": "",
      "description": ""
    },
    {
      "key": "mcp_auth_token",
      "scope": "core",
      "type": "str",
      "secret": true,
      "credential": false,
      "settable": false,
      "env": "ABX_MCP_AUTH_TOKEN",
      "aliases": [],
      "env_names": [
        "ABX_MCP_AUTH_TOKEN"
      ],
      "toml_section": null,
      "storage_phase1": null,
      "storage_phase2": null,
      "default": null,
      "choices": [],
      "group": "",
      "description": ""
    },
    {
      "key": "mcp_allowed_origins",
      "scope": "core",
      "type": "str",
      "secret": false,
      "credential": false,
      "settable": false,
      "env": "ABX_MCP_ALLOWED_ORIGINS",
      "aliases": [],
      "env_names": [
        "ABX_MCP_ALLOWED_ORIGINS"
      ],
      "toml_section": null,
      "storage_phase1": null,
      "storage_phase2": null,
      "default": null,
      "choices": [],
      "group": "",
      "description": ""
    },
    {
      "key": "mcp_runtime_dir",
      "scope": "core",
      "type": "path",
      "secret": false,
      "credential": false,
      "settable": false,
      "env": "ABX_MCP_RUNTIME_DIR",
      "aliases": [],
      "env_names": [
        "ABX_MCP_RUNTIME_DIR"
      ],
      "toml_section": null,
      "storage_phase1": null,
      "storage_phase2": null,
      "default": null,
      "choices": [],
      "group": "",
      "description": ""
    },
    {
      "key": "region",
      "scope": "alicloud-express",
      "type": "str",
      "secret": false,
      "credential": false,
      "settable": true,
      "env": "ALIBABA_CLOUD_REGION_ID",
      "aliases": [],
      "env_names": [
        "ALIBABA_CLOUD_REGION_ID"
      ],
      "toml_section": null,
      "storage_phase1": {
        "file": "toml",
        "name": "region",
        "section": "transport"
      },
      "storage_phase2": {
        "file": "toml",
        "name": "region",
        "section": "transport"
      },
      "default": "cn-hangzhou",
      "choices": [],
      "group": "Connection",
      "description": "Region id (derives the API URL and domain)"
    },
    {
      "key": "access_key_id",
      "scope": "alicloud-express",
      "type": "str",
      "secret": false,
      "credential": true,
      "settable": true,
      "env": "ALICLOUD_ACCESS_KEY_ID",
      "aliases": [],
      "env_names": [
        "ALICLOUD_ACCESS_KEY_ID"
      ],
      "toml_section": null,
      "storage_phase1": {
        "file": "env",
        "name": "ALICLOUD_ACCESS_KEY_ID"
      },
      "storage_phase2": {
        "file": "env",
        "name": "ALICLOUD_ACCESS_KEY_ID"
      },
      "default": null,
      "choices": [],
      "group": "Alibaba Cloud credentials",
      "description": "Alibaba Cloud AccessKey ID"
    },
    {
      "key": "access_key_secret",
      "scope": "alicloud-express",
      "type": "str",
      "secret": true,
      "credential": true,
      "settable": true,
      "env": "ALICLOUD_ACCESS_KEY_SECRET",
      "aliases": [],
      "env_names": [
        "ALICLOUD_ACCESS_KEY_SECRET"
      ],
      "toml_section": null,
      "storage_phase1": {
        "file": "env",
        "name": "ALICLOUD_ACCESS_KEY_SECRET"
      },
      "storage_phase2": {
        "file": "env",
        "name": "ALICLOUD_ACCESS_KEY_SECRET"
      },
      "default": null,
      "choices": [],
      "group": "Alibaba Cloud credentials",
      "description": "Alibaba Cloud AccessKey secret"
    }
  ]
}