from deepagents import create_deep_agentfrom langchain_anthropic import ChatAnthropic# `backend` from the previous step, bound to a RUNNING Databricks sandbox.agent = create_deep_agent( model=ChatAnthropic(model="claude-sonnet-4-6"), system_prompt="You are a coding assistant with sandbox access.", backend=backend,)result = agent.invoke( {"messages": [{"role": "user", "content": "Write and run a Python script"}]})