# RANCH: Data Agent Responses API Notebook Conversion Helper

In case you missed it, Open AI [announced](https://developers.openai.com/api/docs/assistants/migration) the deprecation of Assistant API a while ago. In response to that, Fabric data agent is moving from the Assistant API to the Responses API. You have to migrate by August 26, that's 10 days away! refer to this official announcement : [Prepare your Fabric Data Agent integrations for Assistants API retirement | Microsoft Fabric Community](https://community.fabric.microsoft.com/blog/fbc_fabricupdatesblogs/prepare-your-fabric-data-agent-integrations-for-assistants-api-retirement/5314634)

If you don't use the Python SDK to manage, evaluate the data agents - ignore this blog. You are good.

To help speed up the process, I (i.e. GHCP CLI with my direction) have created a tool to help you migrate. Upload your existing notebook that uses the Assistant API and download a notebook with Responses API. It scans the code cells and proposes the changes. No LLM is used, it's all regex and pattern based. It's called RANCH (Responses API Notebook Conversion Helper)

[RANCH (BETA) · Fabric Data Agent Migration · Streamlit](https://data-agent-ranch.streamlit.app/)

Give it a try, if you run into any issues, please file a bug [here](https://github.com/pawarbi/ranch-fabric-data-agent-migrator/tree/main).

<div data-node-type="callout">
<div data-node-type="callout-emoji">💡</div>
<div data-node-type="callout-text">Unlike the Assistant API, Responses API cannot be used from outside of Fabric for evaluation. For external evaluation, use the MCP endpoint.</div>
</div>

![](https://cdn.hashnode.com/uploads/covers/619d4cccfa52cd31fe52d25d/3757b821-aaba-41e2-84da-c56b3aaaa916.png align="center")

Here are the sample Responses API notebooks : [fabric-samples/docs-samples/data-science/data-agent-sdk/responses-api at main · microsoft/fabric-samples](https://github.com/microsoft/fabric-samples/tree/main/docs-samples/data-science/data-agent-sdk/responses-api)
