Skip to main content
Most examples are recipes: ready-made decisions from the playground. Open one there to run it without an account, or copy its request into your code after you set SQWISH_API_KEY as in the quickstart. Each page also shows how to act on the answer and adapt it to your data.

Triage and routing

Route a support ticket

Use it to pick the team for a ticket, spot a deadline within a day and score the impact.

Analyse every comment

Use it to score sentiment, buying intent and spam on every comment of a post.

Sort a request by the kind of work it needs

Use it to send each request to the right model and prompt.

Decide when to hand a conversation on

Use it to pass a conversation to a person or a bigger model only when your bot can’t finish it.

Agents

Pick the tool for a request

Use it to give your agent’s planner only the tool that fits, or none.

Check a tool call before it runs

Use it to run, ask about or refuse each call your agent is about to make.

Spot a prompt injection or jailbreak

Use it to catch text that tries to talk your assistant out of its instructions.

Pick the memories worth recalling

Use it to choose which stored memories go into your assistant’s prompt.

Retrieval and answer quality

Grade how well each passage answers the query

Use it to rerank retrieved passages and drop the ones that don’t help.

Check a draft against its sources

Use it to catch claims your sources don’t support before your user sees them.

Decide if a draft is ready to send

Use it as a starting rubric for scoring replies before they go out.
To retry a request without running or paying for it twice, see retries and idempotency.