Skip to main content

Hermes Agent

Hermes Agent is an open-source terminal AI programming assistant. It supports intelligent conversation and code assistance by allowing the integration of custom models.

Prerequisites

  • You have activated a TCB environment and obtained the environment ID cloudBaseEnvID
  • Enable the required model in the AI console
  • Obtain the Base URL and API Key in the AI console
Base URLhttps://<ENV_ID>.api.tcloudbasegateway.com/v1/ai/cloudbase

codebuddy

Configuration Steps

CC Switch is an open-source desktop application for centrally managing provider configurations for multiple AI coding tools. For installation instructions, refer to the CC Switch configuration guide.

  1. Open CC Switch and add CloudBase as a provider
FieldDescription
API KeyObtained from the AI console
Base URLhttps://{{cloudBaseEnvID}}.api.tcloudbasegateway.com/v1/ai/cloudbase
API FormatChat Completions
  1. Switch to the CloudBase provider and start using Hermes Agent

Common Error Troubleshooting

Error MessageSolution
404 AI_MODEL_NOT_FOUNDThe Base URL is entered incorrectly. Go to the AI console to copy the correct Base URL.
401 Authentication FailedThe API Key is entered incorrectly or may have been deleted.
429 Token usage exceeded quotaAn incorrect large model name is configured, or the large model is not enabled in the AI console.