Skip to content

AI deployment and upgrade ​

Applies to Data Agent in HENGSHI SENSE 7.0. Data Agent is optional and licensed. Core BI startup does not depend on browser model loops or legacy vector services.

Enablement checks ​

Data Agent uses ordinary container sandboxes provided by OpenSandbox; nested virtualization is not required. OpenSandbox is a separate service that can run on a suitable host alongside HENGSHI, on a dedicated Linux host, or in a Kubernetes cluster. Kernel and container-network requirements apply to the host or worker that actually creates sandboxes; the HENGSHI service can remain on its existing VM.

7.0 deployment and enablement steps ​

  1. Choose where sandboxes will run. Check that the Linux host or Kubernetes worker planned for sandbox execution meets the container-network and egress requirements in the 7.0 runtime package. If a legacy VM kernel does not support the current dns+nft network mode, keep the HENGSHI service on that VM and run OpenSandbox and sandbox containers on a suitable separate host.
  2. Prepare images from the same delivery batch. Use the HENGSHI Data Agent runtime image and the pinned OpenSandbox Server, execd, and egress image versions and digests in the 7.0 delivery materials. Kubernetes also requires the matching CRDs and controller. The sandbox host or worker pulls the runtime image; do not mix images from different delivery batches.
  3. Install OpenSandbox for the deployment type. Linux package and Ansible deployments use the Docker Compose configuration in the 7.0 runtime package, either on a suitable colocated host or a separate Linux host. For HENGSHI Docker Compose, start the separate OpenSandbox project and configure a shared local network or private cross-host connection. For Kubernetes, the platform administrator installs cluster-level CRDs / controller first, followed by the Data Agent runtime and HENGSHI Chart configuration.
  4. Configure the HENGSHI connection. Set the OpenSandbox URL, matching API credential, Data Agent runtime image, and persistent session key through the configuration entry point for the installation package, containers, or Chart. Traditional Linux packages can use HS_DATA_AGENT_* compatibility variables for sandbox mode, provider, Server URL, and runtime image; the API token and session key use CHATBI_AGENT_SANDBOX_SERVER_TOKEN and CHATBI_AGENT_CODEX_SESSION_KEY. All HENGSHI service replicas in a cluster use the same URL and key; preserve the session key across upgrades, restarts, and scaling.
  5. Verify each link from HENGSHI's network path. Check the OpenSandbox health endpoint and authenticated API, then confirm that HENGSHI capabilities are available. Finally, submit a real question and verify sandbox creation, tool execution, sandbox access to the HENGSHI API and model service, and conversation continuation. Success from an operator laptop or the sandbox host alone does not prove HENGSHI connectivity.

For the detailed procedure, image sources, network ports, and verification commands for each deployment type, see Data Agent deployment and system requirements under Installation and startup.

Then:

  1. Check the Data Agent license.
  2. Create and verify Responses profiles, with a default or application binding.
  3. Verify user resource/data permissions, a question, and history readback.
  4. Upload and verify Runtime Skills if needed.
  5. Configure SDK authentication/CORS using the integration overview, then validate in a browser.

When licensing or runtime is unavailable, Data Agent returns an unavailable capability state. Do not bypass it by starting a separate browser Agent.

Upgrade from earlier versions ​

Keep two interfaces distinct: the Responses API is how Data Agent connects to a model service; customer systems integrate with Data Agent through the 7.0 conversation API / SDK. Configure and validate them separately.

Before upgrading ​

  1. Confirm that the target model service supports the Responses API and obtain its URL, model identifier, and authentication requirements.
  2. Back up legacy tuning prompts and Workflows, note the rules and representative questions that must be kept, and assign a skill migration owner.
  3. Inventory iframe, SDK, and API callers and their versions, and prepare test users, the portal origin, and an integration environment.
  4. Confirm the sandbox runtime, images, kernel/network conditions, and delivery batch; the main service and sandboxes do not need to run on the same host.

Pre-launch checklist ​

RoleBefore upgradeAfter upgrade
Platform / operationsConfirm the delivery version, maintenance window, database and object-storage backups, rollback owner, runtime nodes, and network policySandboxes can be created, executed, and reclaimed; verify the actual network paths from both the main service and the sandbox side
Model administratorConfirm the Responses API URL, model, authentication, and egress policy; inventory application/data package model bindingsReal questions complete model calls, tool calls, result rendering, and multi-turn follow-ups
Business ownerBack up legacy prompts and Workflows, note retained rules and representative questions, and prepare skill migrationKey skills take effect in new conversations; query scope is correct and metric results match business definitions
Application developerInventory iframe, SDK, and API callers and versions; prepare test users, portal origin, and an integration environmentSSE, charts/clarifications, cancel, history readback, and recovery pass in the customer host system

Configuration and capability mapping ​

Former setting or capability7.0 handling
Chat Completions providers and model parametersRecreate as Responses profiles; no automatic migration
Dataset-level scope selectionScope is an application/data package, one measure subject, or one saved dashboard; once selected, mode and scope are fixed at conversation creation, so switching requires a new conversation
Optional query scopeOn by default (SCOPE_OPTIONAL). When on, ChatBI and sidebar read-only conversations may start without a scope and the system locates the application/dataset within the user's accessible data. When off, new read-only conversations on the page must select a scope. App Market and dashboard interpretation always use a fixed scope
Prompt groups, Workflow tuning, intelligent learningNot migrated; extract business definitions into dataset knowledge or validated Runtime Skills
Vectorization settings and entry pointsNot a Data Agent prerequisite; do not apply former vector installation steps
Browser Agent, Node Agent CLI, global JS ToolsUse the conversation service and controlled skills
Browser welcome overridesOptional WELCOME_MESSAGE; empty means hidden
Page voice input and temporary boardsRetired; use text input and formal dashboards

Old conversation history remains readable. Start new conversations for historical conversations without fixed scope; model configuration changes take effect on the next turn, and only a disabled or unavailable profile requires restoring a valid profile or creating a new conversation. Removing vector databases and other physical infrastructure requires a separate migration; do not delete databases or historical migrations merely because an entry point is retired.

User Manual for Hengshi Analysis Platform