Model profiles and custom endpoints
A model profile is a named provider account with one endpoint per API dialect, attachable to a bucket, a project, or a single spawn. It is how a session runs against your gateway, your proxy or your own deployment instead of whatever account the agent CLI would use by itself.
The shape of it
Section titled “The shape of it”A profile holds a key, sealed and write-only. An endpoint under it holds a base URL and a model, for one dialect:
| Dialect | Which agents can use it |
|---|---|
anthropic-messages |
Agents speaking Anthropic’s Messages API |
openai-responses |
Agents speaking OpenAI’s Responses API |
google-genai |
Agents speaking Google’s GenAI API |
One profile can carry several dialects, which is what lets the same profile serve whichever agent happens to run.
Manage → Models is where profiles are made and edited: a name and a key, then an endpoint row per dialect carrying a base URL and a model.
A listing shows the profile in redacted form and names the agents it covers, so a half-configured profile is visible before a spawn fails on it. The API is mint-only: nothing reads a stored key back out, in any surface.
Attaching one
Section titled “Attaching one”A profile picker sits beside Default Agent in three places, and each one narrows the scope: on a bucket, on a project, and on the spawn popover for a single session.
Resolution walks up: the session’s own profile, else the project’s, else the bucket’s, else the agent CLI’s own account.
When a spawn is refused
Section titled “When a spawn is refused”A spawn is rejected when the chosen profile has no endpoint the chosen agent can use. That is deliberate — the alternative is a session that silently falls back to an account you were trying not to use.
The same care applies to deleting things. pm models rm is refused while a
bucket, project or resumable session still references the profile, and
rm-endpoint is refused while a resumable session would reselect that dialect
on resume.
Changing a key
Section titled “Changing a key”Replacing or clearing a key is an explicit action on the profile. Editing anything else leaves the key alone.
Omitted fields are left alone, so an edit never drops the stored key by accident.
What this does not do
Section titled “What this does not do”It does not proxy or inspect the traffic. Puppet Master points the agent CLI at an endpoint and the CLI talks to it directly, exactly as it would to the provider. If you want to see what is going over that connection, the thing to point it at is a gateway that shows you.