Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

reflect the the .env to .env.example

Forhad Hosainacec0885c783
diff --git a/packages/runtime/.env.example b/packages/runtime/.env.example
index 79bb4ec2..ad4244ca 100644
--- a/packages/runtime/.env.example
+++ b/packages/runtime/.env.example
@@ -1,39 +1,27 @@
-# Runtime Server Configuration
-PORT=5000
-NODE_ENV=DEV
-
-# Server Mode Configuration
-# Set to 'agent' for agent mode, 'debugger' for debug mode, 'embodiment' for embodiment mode, or 'unified' for all modes
-SERVER_MODE=unified
-
-# Common Configuration
-LOGTO_M2M_APP_ID=your_logto_m2m_app_id
-LOGTO_M2M_APP_SECRET=your_logto_m2m_app_secret
-LOGTO_SERVER=https://your-logto-server.com
-LOGTO_API_RESOURCE=https://api.smythos.com
-MIDDLEWARE_API_BASE_URL=https://api.smythos.com
-
-# AWS Lambda Configuration (for code execution)
-AWS_LAMBDA_REGION=us-east-1
-AWS_LAMBDA_ACCESS_KEY_ID=your_lambda_access_key
-AWS_LAMBDA_SECRET_ACCESS_KEY=your_lambda_secret_key
-
-# Agent Configuration
-AGENT_DOMAIN=your-agent-domain.com
-AGENT_DOMAIN_PORT=5053
-PROD_AGENT_DOMAIN=your-prod-agent-domain.com
-
-
-# Router Configuration
-ROUTER_BASE_URL=https://your-router-base-url.com
-
-# Session Configuration (for embodiment features)
-SESSION_SECRET=your_session_secret_key
-
-# CORS Configuration (only needed in production)
-# Comma-separated list of allowed origins
-CORS_ORIGINS=https://yourdomain.com,https://anotherdomain.com
-
-# Proxy Configuration (can be removed after full unification)
-SRE_EMBODIMENT_SERVER_URL=http://localhost:3001
-LEGACY_SMYTH_SERVER_URL=http://localhost:3002
\ No newline at end of file
+# Required Environment for both Production and Development
+LOGTO_M2M_APP_SECRET="logto-m2m-app-secret"
+LOGTO_M2M_APP_ID="logto-m2m-app-id"
+LOGTO_SERVER="logto-server"
+LOGTO_API_RESOURCE="logto-api-resource"
+MIDDLEWARE_API_BASE_URL="middleware-api-base-url"
+
+DATA_PATH="path/to/store/data"
+
+# Optional Environment in development
+PORT="5053"
+ADMIN_PORT="5054"
+NODE_ENV="development"
+BASE_URL="http://localhost:5053"
+UI_SERVER="http://localhost:4000"
+SESSION_SECRET="session-secret"
+
+# DEFAULT_AGENT_DOMAIN serves as the staging/development wildcard domain (e.g., agentid.staging.smythos.dev) where non-deployed agents are automatically accessible for testing and development purposes.
+DEFAULT_AGENT_DOMAIN="localhost"
+
+# PROD_AGENT_DOMAIN is the production wildcard domain (e.g., agentid.smythos.ai) where deployed agents are served to end users, with the system automatically routing agents to this domain once they are marked as deployed.
+PROD_AGENT_DOMAIN="agentid.smythos.com"
+AGENT_DOMAIN_PORT="5053"
+BUILD="dev"
+
+# Optional
+CODE_SANDBOX_URL='http://localhost:5055' # url to code sandbox used for code component