Agent instructions change what an agent does for every user at once, so they need the discipline of code: keep a mutable working copy, freeze each reviewed change as an immutable version, and point an alias such as production at the version you trust. Roll back by moving the alias. The Databricks documentation marks its Prompt Registry as Beta.
Key Takeaways
- Agent instructions are a release artefact, so they need history, review and a way back.
- Both Databricks and Snowflake pair immutable versions with mutable aliases that your application calls.
- A release is a bundle: instructions, tool descriptions, context sources, model choice and the evaluation set.
- Test the frozen version by its name, and move the alias only after the results hold.
- Editing the live version in front of users, and redeploying with CREATE OR REPLACE, are the two traps the Snowflake documentation describes.
- Pick one source of truth, Git or the platform, and make the other receive changes only.
Why do agent instructions need version control?
An agent's instructions decide which tools it calls, what it refuses and how it words an answer. Change one sentence and the behaviour shifts for every user, with no compile step to catch the mistake. A prompt edited in a text box, with no history, gives you nothing to diff when a complaint arrives on Monday.
Both Databricks and Snowflake document a versioning model for this problem. We use their documentation as the reference here, because two vendors that agree are a better guide than one vendor's preferences. The Databricks Prompt Registry is marked Beta in its documentation, so check its status before you depend on it.
What do the two vendor models have in common?
Databricks describes its Prompt Registry as following "a Git-like model", built from prompts, versions, aliases and tags. Snowflake gives each Cortex Agent a mutable live version and immutable named versions. In both, an alias is the thing your application calls.
| Idea | Databricks Prompt Registry | Snowflake Cortex Agents |
|---|---|---|
| What you edit | Each change creates a new version, because versions are immutable | The live version, a mutable working copy |
| Frozen snapshot | Versions: immutable snapshots with auto-incrementing numbers | Named versions, identified as VERSION$N, created by commit |
| Moving pointer | Aliases, for example production and staging | Aliases, for example production, staging, canary and rollback |
| Rollback | Git-like versioning "enables rollbacks" | Point the alias to a previous named version |
| Link to Git | An application version links to external code such as a Git commit | A named version can be created from a stage or Git repository |
The Snowflake cookbook puts the application side plainly: "Applications never change the version they call. They call !PRODUCTION, and you decide what that means." Your code holds a name, and the release process holds the meaning of the name.
What should you version together?
The vendors version the prompt or the agent object. Most failures we would expect come from what sits outside that object. A release is the bundle of instructions, tool descriptions, the context sources the agent can read, the model choice, and the evaluation set that approved it.
Snowflake's live version covers "the agent's configuration, instructions, tools, and skills", so a commit there captures more than prompt text. Databricks takes a different route. Its LoggedModel acts as "a central record that links to your external code (like a Git commit)" and tracks which registry prompts the application uses.
Whichever you choose, write down what a version number promises. If the answer is "the prompt only", say so in the release note. For the permissions side of the same problem, read our post on martech stratification, which keeps AI agents inside fixed deterministic layers.
How do you promote a change safely?
The sequence matters more than the tooling. Snowflake describes develop, commit, test, promote and roll back. We add one rule: test the frozen version by its name, never by the alias, so the alias only moves after the evidence exists.
- Edit the working copy, which is the live version or a branch in Git.
- Review the change as a diff, with a written reason attached.
- Freeze it as an immutable version with a commit message or comment.
- Run your evaluation set against that version by its system name.
- Move the staging alias, then the production alias, once the results hold.
- Keep the previous version in place, so rollback is one alias change.
Step four is the one teams skip, because the new version already looks fine in a few manual chats. A short, fixed evaluation set catches regressions that a handful of chats will not.
Snowflake shows the promotion statement like this:
ALTER AGENT my_agent MODIFY VERSION VERSION$4 SET ALIAS = production;Databricks shows the same idea in Python:
mlflow.genai.set_prompt_alias(name="docs.default.customer_support", alias="production", version=1)Where do these systems catch teams out?
Each of these is a named failure mode with a cause in the vendor documentation.
Editing the live version while it serves users: Snowflake states that while VERSION$1 is the only committed version, a request with no version specified is served by LIVE. Uncommitted edits are "immediately visible to users". Commit before anyone depends on the agent.
Redeploying with CREATE OR REPLACE: Snowflake notes that this statement "resets the agent to VERSION$1 every time it runs". A deployment script that uses it throws away your history. Use commit and alias moves for releases.
Two sources of truth: Databricks promotes letting non-engineers change prompts through the UI. That is a real benefit, and it also means Git and the registry can disagree. Decide which one is canonical, and make the other one read-only.
Running into the version ceiling: Snowflake caps the number of versions per agent. Agree a pruning rule early, and remember that dependent versions must be dropped from newest to oldest.
How does Git fit alongside a registry?
Snowflake documents an import model for teams that manage agent configurations in Git. You merge through your standard pull request process, then create a named version from the Git-connected stage, which bypasses the live version entirely. The page gives this example:
ALTER AGENT my_agent ADD VERSION FROM @my_repo/tags/v2.1/agents/my_agent COMMENT = 'Automated deploy from CI pipeline';We prefer this shape when more than one person edits instructions. Git carries review, blame and branches, and the platform carries the immutable version and the alias. Nobody edits the live version by hand.
Teams that build their own agents will find that discipline matters most there. CustomerIK's product engineering service covers building custom AI agents and bots.
What does this look like in practice?
Hypothetical example, not drawn from a client. A support agent has an instruction that tells it to offer a voucher for late deliveries. A teammate changes one line so it offers a refund when policy allows.
In a disciplined setup, that edit arrives as a pull request with a reason. After the merge it becomes a new immutable version. The evaluation set runs against that version by name, and a refund case that now fires too often shows up before any customer sees it.
The team fixes the line, commits again, and only then moves the staging alias. If the production alias had moved early, rollback would still be a single alias change.
Frequently Asked Questions
1. Should prompts live in Git or in a registry?
Pick one as the source of truth. We favour Git for review and a registry or platform version for deployment and aliasing. Whichever you choose, the other side should only receive changes, never originate them.
2. Can I fix a mistake in an immutable version?
No, and that is deliberate. Databricks says you must create a new version, and Snowflake says a named version can only have its comment or alias updated, or be dropped. Fix the mistake in a new version and move the alias.
3. Is the Databricks Prompt Registry ready for production?
The documentation pages we read mark the feature as Beta. Check the current status in the Databricks documentation before relying on it for a production workload.
4. What about tool descriptions and context files?
Snowflake's live version covers instructions, tools and skills together. Databricks versions prompt templates and links them to application versions. Keep anything the platform does not version in Git, and reference its commit in the release note.
5. Who should be allowed to move the production alias?
We recommend a short list of named owners, with a written reason for every move. Snowflake keeps a comment on each named version, and Databricks stores commit messages with each prompt version, so the reason can travel with the version.
Sources
- Databricks, Prompt Registry. Retrieved 30 Nov 2026.
- Databricks, Track prompt versions alongside application versions. Retrieved 30 Nov 2026.
- Databricks, Create and edit prompts. Retrieved 30 Nov 2026.
- Snowflake, Cortex Agent versioning. Retrieved 30 Nov 2026.
- Snowflake, Agent versioning and promotion. Retrieved 30 Nov 2026.
- The Databricks Prompt Registry pages carry a Beta label as at the retrieval date.
- Written by CustomerIK.
CustomerIK works across product engineering.
If your team is deciding how to version agent instructions before the next release, let's talk.




