Skip to content

Commit 65753b9

Browse files
committed
docs(ai-agents): wire up router screenshots
Use the Ask AI gif, add light/dark variants for the picker and settings toggle, and drop the routing-instructions image (the settings screenshot already shows it).
1 parent 93dfa54 commit 65753b9

6 files changed

Lines changed: 5 additions & 11 deletions

File tree

guides/ai-agents/ai-router.mdx

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ The router compares each agent's description, instructions, data access, and ver
1616
The router only chooses **between agents the user can already access**. It never widens an agent's data access or bypasses permissions — it only changes *which* of the user's available agents answers a given question.
1717
</Note>
1818

19-
{/* TODO: add screenshot of the "Ask AI" router landing page (hero input + "Finding the right agent…" state) */}
2019
<Frame>
21-
<img src="/images/guides/ai-agents/ai-router-ask-ai.png" alt="Ask AI router landing page" />
20+
<img src="/images/guides/ai-agents/ai-router-ask-ai.gif" alt="Ask AI router landing page" />
2221
</Frame>
2322

2423
## When the router runs
@@ -27,9 +26,9 @@ The router needs **at least two agents you can access** in a project. With a sin
2726

2827
When the router is confident, it routes your question straight to the best agent and starts the conversation. When it isn't, it shows a short picker with the recommended agent highlighted so you can choose.
2928

30-
{/* TODO: add screenshot of the "Which agent should answer?" picker with the Recommended badge */}
3129
<Frame>
32-
<img src="/images/guides/ai-agents/ai-router-picker.png" alt="Picker showing candidate agents" />
30+
<img className="block dark:hidden" src="/images/guides/ai-agents/ai-router-picker.png" alt="Picker showing candidate agents" />
31+
<img className="hidden dark:block" src="/images/guides/ai-agents/ai-router-picker-dark.png" alt="Picker showing candidate agents" />
3332
</Frame>
3433

3534
If you've set a [default agent](/guides/ai-agents/using-ai-agents#faqs), it opens first even when the router is enabled. Pick **Auto** from the agent dropdown to let the router decide instead.
@@ -55,9 +54,9 @@ The router is configured at the **organization level** and requires **Organizati
5554
</Step>
5655
</Steps>
5756

58-
{/* TODO: add screenshot of the Ask AI → General settings page showing the "Enable AI features for users" and "AI Router" toggles */}
5957
<Frame>
60-
<img src="/images/guides/ai-agents/ai-router-settings-toggle.png" alt="AI Router toggle in Ask AI general settings" />
58+
<img className="block dark:hidden" src="/images/guides/ai-agents/ai-router-settings-toggle.png" alt="AI Router toggle in Ask AI general settings" />
59+
<img className="hidden dark:block" src="/images/guides/ai-agents/ai-router-settings-toggle-dark.png" alt="AI Router toggle in Ask AI general settings" />
6160
</Frame>
6261

6362
## Routing instructions
@@ -76,11 +75,6 @@ By default the router decides on its own, but you can give it **routing instruct
7675
</Step>
7776
</Steps>
7877

79-
{/* TODO: add screenshot of the Routing instructions editor with an @-tagged agent */}
80-
<Frame>
81-
<img src="/images/guides/ai-agents/ai-router-instructions.png" alt="Routing instructions editor" />
82-
</Frame>
83-
8478
A few things to keep in mind:
8579

8680
- **Rules are advisory.** They guide the router's choice but **never override an agent's access restrictions**. A rule can only point to agents the user can already access.
5.37 MB
Loading
119 KB
Loading
135 KB
Loading
231 KB
Loading
249 KB
Loading

0 commit comments

Comments
 (0)