config shows or changes the cloud provider and region for the current project. It can also manage user-wide defaults. Project settings are stored in .agentkit/agentkit.yaml; global settings are stored in ~/.agentkit/config.yaml.
config
Without --global, the command operates on the current project. When the provider or region changes, the CLI updates existing runtime, messaging, frontend, container-registry, and TOS regions. CLI-generated Dockerfiles, .env.example, and continuous-deployment files are updated as applicable.
This command modifies project configuration and related generated files. Commit existing changes before switching providers, then review the resulting regions, images, and credential environment variables.
Project mode requires .agentkit/agentkit.yaml in the current directory. Run agentkit init or agentkit deploy config first for an uninitialized project, or use --global when only user-wide defaults are needed.