Skip to main content
Agents are turned on by default, but they can’t run until Console has at least one model connection. A model connection tells Console where the model lives, how to authenticate and which model to use. Console calls the model directly from where it runs, with your credentials. Model connections are deployment settings, so you set them where you configure Console, in the YAML configuration file or as environment variables, and restart Console.

Prerequisites

Turn agents on or off

enable_agents is true by default. Administrators, and the users you give agent permissions to, see the agents area in Console. Without a model connection the agents area is still there, and you can create identities, but nothing runs: schedules and events don’t start runs, Run once is refused and Create agent tells you that no model is configured. To hide the agents UI and API for everyone, set enable_agents to false.

Connect a model

Add one or more connections under models. Each connection has an id and a provider: anthropic, openai-compatible or bedrock. What else it needs depends on the provider. As environment variables, connections are numbered from zero (CDK_MODELS_0_..., CDK_MODELS_1_...) and property names lose their underscores, so default_model becomes DEFAULTMODEL. To read a key from a mounted secret file instead of the environment, set CDK_MODELS_0_APIKEY_FILE to the file path.

Anthropic

Console calls the Anthropic Messages API. Only id and api_key are required: provider defaults to anthropic, base_url to https://api.anthropic.com and default_model to claude-opus-5.
Set base_url only to route calls through a proxy or gateway that speaks the Anthropic API.

OpenAI-compatible endpoints

Use provider: openai-compatible for OpenAI and for any other server that accepts the OpenAI Chat Completions format. base_url, api_key and default_model are all required, and base_url includes the version path, such as /v1.
The same connection type works for endpoints such as Azure OpenAI, vLLM, Ollama, LiteLLM and OpenRouter: set base_url to the server’s address and default_model to the model name that server expects. We test against OpenAI. Other endpoints follow the same format, but we haven’t verified each one.
api_key is required even when the server ignores it, as Ollama does. Use any placeholder value.

Amazon Bedrock

Use provider: bedrock to run Claude models on Amazon Bedrock. base_url is required because it depends on the region, and you have to set default_model to the model or inference profile ID that Bedrock gives for the region, such as eu.anthropic.claude-sonnet-5. A Bedrock connection authenticates in one of two ways, never both:
  • AWS credentials: add an aws block with the region and an amazonSecurity block. Console exchanges the credentials for short-lived Bedrock tokens, so no model key is stored.
  • A Bedrock API key: set api_key and leave out the aws block.
amazonSecurity takes one of these types: With an aws block, the AWS identity that Console uses needs bedrock:CallWithBearerToken and bedrock:InvokeModel on the models and inference profiles you use. With FromRole, it also needs sts:AssumeRole on the role.

Model connection properties

Console checks every connection when it starts. A mistake, such as a duplicate id, a missing base_url or a connection with both api_key and aws, stops Console at startup with a message that names the connection.
Add a second connection with a smaller model for frequent or lightweight tasks, and pick the connection per agent. The first connection in the list is the default: Console preselects it when you create an agent.

Check the setup

Restart Console and sign in as an administrator. Use the switch at the top of the sidebar to change from Console to Agentic: the agents home page opens. If the switch isn’t there, enable_agents is false on the running instance. Then go to Models. This page is read-only: to change a connection, update the configuration and restart Console. For each connection, it shows:
  • the name and id, with a Default badge on the first connection
  • how many agents use it, and how many of those are enabled
  • the model and provider
  • how it authenticates (API key or AWS identity), never the key itself
  • the endpoint, token budget and timeout
If agents still point at a connection that’s no longer in the configuration, a warning at the top of the page lists the missing connection and how many agents use it. Those agents fail every run until you edit them to use a configured connection. You’re ready to control who can use agents and create and run your first agent.