cancel
Showing results for 
Search instead for 
Did you mean: 
Generative AI
Explore discussions on generative artificial intelligence techniques and applications within the Databricks Community. Share ideas, challenges, and breakthroughs in this cutting-edge field.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy an Agent

Ale_Armillotta
Contributor III

Hi everyone,

 

I’m currently developing several Databricks Agents using a custom Claude skill to integrate Databricks Asset Bundles (DABs), Mosaic AI frameworks, and LangGraph.

 

My current workflow is the following:

 

  • I develop the agents locally.
  • For deployment, I trigger a CI/CD pipeline (GitHub or Azure DevOps).
  • The pipeline runs databricks bundle deploy and then executes a notebook responsible for registering the agent and its artifacts.

 

 

In my mind this seemed like the correct approach, since agent deployment usually involves steps like MLflow model registration and artifact logging, which require some form of execution (notebook, job, or script).

 

However, I started wondering if there might be a more direct way to deploy agents without relying on a pipeline step that executes a notebook.

 

My assumption is that this execution step is always required because the agent needs to be registered along with its artifacts and configuration, but I’d be curious to hear how others are handling this.

 

How are you deploying your agents in practice?

 

Are you also using CI/CD pipelines that run notebooks or scripts for registration, or have you adopted a different pattern for deploying agents?

 

Thanks in advance for any insights

2 REPLIES 2

emma_s
Databricks Employee
Databricks Employee

Hey, your approach is a common pattern. But there has been a recent shift where we now recommend creating the agents as databricks apps instead. This allows you to not do pipeline execution steps. Here are a couple of articles you may find helpful.

https://www.databricks.com/blog/custom-agents-now-available-databricks

https://docs.databricks.com/aws/en/generative-ai/agent-framework/migrate-agent-to-apps

Let me know if you need anything else.


Thanks,

Emma

Hi @emma_s .

 

Exactly, for this reason I opened the discussion. I saw this recent approach and I didn't know this. 

I'll try also this new approach.