Algolia Agent Studio · context APIs unstable

Agent Studiodemos

Single-page demos of the Agent Studio context APIs. context/trim counts what a conversation carries; context/compact folds it into a summary you can reopen. Everything runs in your browser; every API call shows on screen.

The demos

Live

The cost calculator

What does a Shopping Assistant cost per month? Bands, not quotes, and every assumption on the page.

  • traffic → cost per model
  • eval-run estimates
  • token counting (your key)

Open the demo →

RushHour · no time for agents

Tasks: rewrite and rerank

One message in, states out. "But not dior" sorts itself, rule-free.

  • query generation
  • agent rerank

Open the demo →

Simulation

Identifier filtering

  • redact, block

Open the demo →

Live on a review build

What is Agent Studio?

A shopping assistant searches and groups its picks. Race two setups on one question.

  • Chat widget
  • grouped results

Open the demo →

Live

Search prefetch, before and after

  • search prefetch

Open the demo →

Local

Jev trims the record

Out of ten hits, Jev keeps the records a question needs, then the fields each record needs.

  • record and field selection
  • typed questions
  • bring your own key

Open the demo →

Live

Chat with a book

Ask Moby-Dick anything. The book is 1.2M characters; the window is 200k. The fold makes it fit.

  • context/trim
  • context/compact
  • streaming completions
  • cost meter
  • 8 languages

Open the demo →

Live

Infinite conversation

Arrive 252 exchanges into a thread that is still going, then watch it fold itself, turn after turn.

  • context/trim
  • context/compact
  • auto-compaction
  • cost meter

Open the demo →

Live

Guardrails Arena

Race ten models on the same guardrail rules, on your own app. Reruns and a paired test pick the winner.

  • guardrails
  • up to 10 models
  • 95% intervals

Open the demo →

Static

Guardrails Game

Be the guardrail: allow or block shop messages, score against the answers, label your own.

  • no keys
  • keyboard
  • labels stay local
  • judgement store export

Open the demo →

Live

Mémoires

One question, three agents: no memory, memory tools, preload and preflight. See what each remembers next turn.

  • memory APIs
  • 3 agents side by side
  • memory store editing

Open the demo →