Skip to main content
Ask AI is now part of Agent Studio, where you build and manage AI agents. Migrate your existing Ask AI assistant, publish the new agent, then point DocSearch or your custom API client to Agent Studio.

Migrate your assistant

1

Start the migration in the dashboard

  1. Sign in to the Algolia dashboard.
  2. Open Ask AI.
  3. Select your assistant and click Migrate to Agent Studio.
The wizard creates a draft Agent Studio agent from your assistant configuration, including the prompt, model, indices, and related settings. After migration, the assistant and agent are independent and don’t stay in sync.
2

Review and publish the agent

  1. Open Agents in Agent Studio.
  2. Review the migrated agent.
  3. Publish the agent when you’re ready to go live.
Copy the agent ID. You use it in DocSearch and in custom API clients.
3

Update your integration

Choose the path that matches how you embed Ask AI today:Your existing Ask AI assistant keeps serving traffic until Ask AI is fully retired. Switch your client to the Agent Studio agent when you’re ready.

Update DocSearch

For the full DocSearch reference, see Migrate Ask AI to Agent Studio in the DocSearch docs.

DocSearch v4

Set agentStudio to true inside the askAi object and pass your Agent Studio agent ID as assistantId:
Notes:
  • Put agentStudio inside askAi, not as a top-level DocSearch prop.
  • When agentStudio is true, DocSearch sends chat requests to Agent Studio for you.

DocSearch v5

In DocSearch v5, Agent Studio is the default chat backend. Pass your Agent Studio agent ID directly as askAi. You don’t need an agentStudio flag:

Custom Ask AI API integrations

If you call the Ask AI HTTP API yourself instead of using DocSearch, point your client at Agent Studio instead of https://askai.algolia.com. Don’t build new integrations against the Ask AI chat API. Use the Agent Studio APIs: Authenticate with your application ID and a search-only API key. For DocSearch users, prefer the SDK configuration above— DocSearch wires the Agent Studio transport when agentStudio is true.

See also

Last modified on August 27, 2026