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 the old part into a summary you can open back up. Everything runs in your browser, and every API call shows on screen.

The demos

Live

Chat with a book

Take Moby-Dick off the shelf and ask it anything. The book is 1.2M characters. The window is 200k. The fold makes it fit — and keeps every section open.

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

Open the demo →

Live

Infinite conversation

Arrive 252 exchanges into a thread that is still going. Fold the backlog once, in front of you. Then click suggested replies and watch it fold itself, turn after turn.

  • context/trim
  • context/compact
  • auto-compaction
  • seeded histories
  • suggested replies
  • cost meter

Open the demo →