agent configure command sets up a Novita Agent Runtime project. It analyzes your project directory, collects agent metadata, and generates the configuration and build files needed to deploy your agent. Run it from your project root.
Usage
CLI
CLI
Options
What it generates
On success, the command writes three files into your project and prints their paths:- The agent configuration file — a Kubernetes-style manifest describing the agent.
- A Dockerfile — used to build the agent runtime image.
- A .dockerignore — controls which files are excluded from the build context.
Output
Configuration structure
The generated configuration uses a Kubernetes-style manifest. The key fields are:The
status section of the manifest (deployment phase, agent ID, build ID, last deployed time) is maintained by the system during deployment. Do not edit it manually.Overwriting an existing configuration
If a configuration file already exists, the behavior depends on the flags:- With
--force, the existing configuration is overwritten without prompting. - In interactive mode, you are prompted to type
Yto confirm the overwrite; any other input cancels the operation. - With
--no-interactive(and no--force), the configuration is automatically overwritten.