Skip to main content

AgenticHub

1. Overview

AgenticHub is a dedicated module on the CSGHub platform for developing, configuring, running, and collaborating on AI agents.

The module provides two core capabilities:

  • AgenticFlow: A visual workflow orchestration engine with drag-and-drop design, supporting complex flow designs including conditional branches and loops.
  • CSGBot: An AI assistant service supporting conversation, code generation, web search, document parsing, and more.

This Chart provides a standardized deployment method via Helm, supporting flexible configuration and automated resource management.

2. Environment Requirements

ProjectRequirement
Kubernetes Versionv1.33+
Helm Versionv3.12+
Network RequirementsCluster nodes must be able to access the CSGHub Server and external image registries.
PermissionsRequires the ability to create namespaces and RBAC resources.

3. Components

3.1 AgenticFlow

A visual workflow orchestration engine with features:

  • Drag-and-drop flow design
  • Support for conditional branches and loops
  • Built-in functional nodes (LLM, Tool, Code, etc.)
  • Python/JavaScript script execution support

3.2 CSGBot

An AI assistant service with features:

  • Conversation and Q&A
  • Code generation and explanation
  • Web Search integration
  • Document parsing and processing
  • Sandbox execution environments (GeniusSandbox, DocSandbox, OpenClaw)

4. Deployment

Prerequisite: Deploying AgenticHub requires an EE License. Please contact OpenCSG for authorization.

4.1 Add Helm Repository

helm repo add csghub https://charts.opencsg.com/csghub
helm repo update

4.2 Create Namespace (Optional)

kubectl create namespace csghub

4.3 Obtain CSGHub Configuration

Obtain the following information from the CSGHub main service:

  • externalUrl: CSGHub access URL

    helm get notes csghub -n csghub | grep -A 6 'Access your CSGHub'
  • hubAPIToken: API Token

    kubectl get cm csghub-core -o yaml -n csghub | grep 'API_TOKEN' | awk '{print $NF}'

4.4 Execute Deployment

helm install agentichub csghub/agentichub \
--namespace csghub \
--create-namespace \
--set externalUrl="<csghub external_url>" \
--set hubAPIToken="<csghub hub_api_token>" \
--set global.gateway.external.domain="example.com"

💡 Tip:

  • For deployment in China, add: --set global.image.registry="opencsg-registry.cn-beijing.cr.aliyuncs.com"
  • It is recommended to write custom configurations into a custom-values.yaml file for easier upgrades and version management.

4.5 Using External Database (Optional)

helm install agentichub csghub/agentichub \
--namespace csghub \
--set externalUrl="https://csghub.example.com" \
--set hubAPIToken="<token>" \
--set global.postgresql.enabled=false \
--set agenticflow.postgresql.host="<pg_host>" \
--set agenticflow.postgresql.port=5432 \
--set agenticflow.postgresql.database="csghub_agenticflow" \
--set agenticflow.postgresql.user="csghub" \
--set agenticflow.postgresql.password="<password>"

4.6 Using External Redis (Optional)

helm install agentichub csghub/agentichub \
--namespace csghub \
--set global.redis.enabled=false \
--set agenticflow.redis.host="<redis_host>" \
--set agenticflow.redis.port=6379 \
--set agenticflow.redis.password="<password>"

5. Post-Deployment Configuration for CSGHub

After deploying AgenticHub, you need to configure the CSGHub main service to connect to AgenticFlow and CSGBot.

5.1 Get HTTPRoute Addresses

AgenticHub exposes services through HTTPRoute. Run the following commands to get the domains:

# Get AgenticFlow access address
kubectl get httproute -n csghub -o wide | grep agenticflow

# Get CSGBot access address
kubectl get httproute -n csghub -o wide | grep csgbot

Example output:

NAME HOSTNAMES AGE
agentichub-agenticflow-xxx agenticflow.example.com 5m
agentichhub-csgbot-xxx csgbot.example.com 5m

5.2 Configure CSGHub

Update the CSGHub configuration file (custom-values.yaml) with the following:

server:
agenticflow:
host: "http://agenticflow.example.com" # Replace with actual AgenticFlow domain
token: "<FLOW_ACCESS_TOKEN from agentichub-agenticflow configmap>" # AgenticFlow API Token (required)

csgbot:
host: "http://csgbot.example.com" # Replace with actual CSGBot domain
port: 80

Get AgenticFlow Token:

kubectl get cm agentichub-agenticflow -o yaml -n csghub | grep 'FLOW_ACCESS_TOKEN' | awk '{print $NF}'

Or use --set parameters directly:

helm upgrade csghub csghub/csghub -n csghub \
--set server.agenticflow.host="http://agenticflow.example.com" \
--set server.agenticflow.token="<agentichub_agenticflow_token>" \
--set server.csgbot.host="http://csgbot.example.com" \
--set server.csgbot.port=80

💡 For more configuration options, see CSGHub Standard Installation.

5.3 Verify Connection

# Check CSGHub Server logs to confirm successful connection
kubectl logs -f deploy/csghub-server -n csghub | grep -i "agenticflow\|csgbot"

5.4 LLM Configuration

Configure Model API services for AgenticHub:

  1. Click the avatar in the top right corner, select Admin Dashboard
  2. Select Business API from the sidebar
  3. Configure the required Model API services with the following parameters:
ParameterDescription
Model NameCustom name, e.g., MiniMax-M2.7
Official NameOfficial model name, e.g., MiniMax-M2.7
API AddressModel API endpoint, e.g., https://api.minimaxi.com/v1/chat/completions
Auth HeaderAPI key auth header, e.g., {"Authorization": "Bearer sk-cp-***"}
ProviderProvider name, e.g., minimax
Type16
Routing PolicySelect Single Node
Attributese.g., {"is_csgbot_model":true,"tasks":["text-generation"]}

⚠️ Note: The above is a configuration example. Please adjust according to your actual model service.

6. Configuration Details

6.1 Global Configuration

ParameterDefault ValueDescription
global.editioneeEdition: ce / ee / saas. AgenticHub requires ee or saas (suppressed in ce)
global.gateway.external.domainexample.comBase access domain for the platform
global.gateway.service.typeLoadBalancerService type: LoadBalancer or NodePort
global.image.registrydocker.ioImage registry address
global.image.taglatestImage version tag
global.postgresql.enabledtrueEnable built-in PostgreSQL
global.redis.enabledtrueEnable built-in Redis

6.2 AgenticHub Configuration

ParameterDefault ValueDescription
externalUrlhttps://csghub.example.comCSGHub external access URL
hubAPIToken""CSGHub API authentication token

6.3 AgenticFlow Configuration

ParameterDefault ValueDescription
agenticflow.image.repositoryopencsghq/agenticflowImage repository address
agenticflow.image.tagee-v0.6-4Image version (was v0.5.1-ee in v0.5.x)
agenticflow.service.port7860Service port
agenticflow.persistence.size20GiStorage size

6.4 CSGBot Configuration

ParameterDefault ValueDescription
csgbot.image.repositoryopencsghq/csgbotImage repository address
csgbot.image.tagv0.6.2-eeImage version (was v0.5.1-ee in v0.5.x)
csgbot.service.port8070Service port
csgbot.persistence.size20GiStorage size

6.5 CSGBot Sandbox Configuration

ParameterDefault ValueDescription
csgbot.config.aigateway.modelqwen3.6-plusAI model ID for csgbot
csgbot.config.aigateway.temperature0.1Model temperature
csgbot.config.starship.endpoint""Starship endpoint URL
csgbot.config.speechToText.modelIdqwen3-asr-flashSTT model ID
csgbot.config.sandbox.genius.imageopencsghq/genius-sandboxGenius sandbox image
csgbot.config.sandbox.doc.imageopencsghq/doc-sandboxDoc sandbox image
csgbot.config.sandbox.openclaw.imageopencsghq/openclaw-sandboxOpenClaw sandbox image
csgbot.config.sandbox.csgclawServer.imageopencsghq/csgclaw-server-sandboxCSGClaw server sandbox image
csgbot.config.sandbox.csgclawAgent.imageopencsghq/csgclaw-agent-sandboxCSGClaw agent sandbox image
csgbot.config.sandbox.timeoutSeconds600Sandbox execution timeout
csgbot.config.sandbox.maxUploadFileBytes52428800Max upload file size per sandbox
csgbot.config.integrations.notification.enabledfalseEnable Feishu notifications
csgbot.config.fileServer.endpoint""File server endpoint URL
csgbot.config.observability.serviceNamecsgbot-eeObservability service name
csgbot.config.observability.phoenixEndpoint""Phoenix endpoint
csgbot.config.logging.logPathlogs/server.logLog file path
csgbot.config.logging.logLevelINFOLog level

⚠️ v0.6.x schema change: The keys csgbot.config.webSearch.*, integrations.feishuEnabled, and externalDocs.* have been removed. If you were using them, migrate to the new keys above before upgrading.

6.6 Built-in PostgreSQL Configuration

ParameterDefault ValueDescription
postgresql.image.tag15.17PostgreSQL version
postgresql.service.typeClusterIPService type
postgresql.service.port5432Service port
postgresql.persistence.size50GiStorage size
postgresql.databases["agentichub_agenticflow"]Auto-created databases

6.7 Built-in Redis Configuration

ParameterDefault ValueDescription
redis.image.tag7.2.5Redis version
redis.service.typeClusterIPService type
redis.service.port6379Service port
redis.requirePassfalseRequire password
redis.persistence.size10GiStorage size

7. Verify Deployment

After deployment, verify the status using:

kubectl get pods -n csghub
kubectl get svc -n csghub

View component logs:

# View AgenticFlow logs
kubectl logs -f deploy/agentichub-agenticflow -n csghub

# View CSGBot logs
kubectl logs -f deploy/agentichub-csgbot -n csghub

Get access endpoints:

helm status agentichub -n csghub

8. Upgrade and Uninstallation

8.1 Upgrade Chart

helm upgrade agentichub csghub/agentichub -n csghub -f custom-values.yaml

8.2 Uninstall Chart

helm uninstall agentichub -n csghub

9. FAQ

IssueSolution
AgenticFlow cannot connect to CSGHubVerify externalUrl and hubAPIToken configuration.
CSGBot sandbox execution failedCheck if sandbox images can be pulled and network is reachable.
Database connection failedCheck PostgreSQL configuration and network connectivity.
Redis connection failedCheck Redis configuration and password correctness.
Image pull failureVerify registry access permissions and global.image.pullSecrets configuration.