Migrate your assistant
1
Start the migration in the dashboard
- Sign in to the Algolia dashboard.
- Open Ask AI.
- Select your assistant and click Migrate to Agent Studio.
2
Review and publish the agent
- Open Agents in Agent Studio.
- Review the migrated agent.
- Publish the agent when you’re ready to go live.
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
SetagentStudio to true inside the askAi object
and pass your Agent Studio agent ID as assistantId:
- Put
agentStudioinsideaskAi, not as a top-level DocSearch prop. - When
agentStudioistrue, 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 asaskAi.
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 ofhttps://askai.algolia.com.
Don’t build new integrations against the Ask AI chat API.
Use the Agent Studio APIs:
- Integrate Agent Studio
- Agent Studio API
- Completions endpoint example:
https://{APPLICATION_ID}.algolia.net/agent-studio/1/agents/{AGENT_ID}/completions
agentStudio is true.
See also
- Ask AI overview
- Ask AI API reference for existing custom clients
- Agent Studio
- DocSearch migration guide