Skip to main content

Create Agent

To create a new agent, open the agent swarm detail and select Choose Action › Create New Agent (or + Create Agent in the Agents card).

Create Agent page
  1. Name and Repository — the agent name and its technical name (both unique within the swarm). Use + Add Description to add a description.
  2. Git Settings — New Source Code from Template or Link Existing Source Code, the Git provider and repository, and Monorepo if the agent shares a repository.
  3. Agent Template — the technology template of the agent (for example AI Agent (LangChain)). It defines the stack, the project structure and the default .codenow.config.yaml.
  4. Template Configuration — options specific to the selected template.
  5. Connected Services — optional bindings to Service Templates; instances are assigned per environment.

Click Confirm. While the Agent Gateway is not enabled for the account, the page shows Agent Gateway is turned off for this account. Contact your CodeNOW administrator to turn it on. and Confirm stays disabled. When no gateway is installed, the message is No Agent Gateway is installed on any cluster of this account. Contact your CodeNOW administrator., and when the state cannot be checked, Could not verify whether the AI feature is available for this account. Please try again later. The setting cannot be changed in the portal — see Enabling the Agent Gateway. A repository used by another agent is rejected (Selected repository is used in another agent.).