Algolia Agent Studio · context APIs unstable

Agent Studiodemos

Small, single-page demos of what the Agent Studio context APIs make possible. context/trim counts exactly what a conversation is carrying; context/compact folds the old part of it into a summary you can still open back up. Each demo runs entirely in the browser, shows every API call it makes, and comes with its source.

The demos

Live

Chat with a book

Chat with an entire book on a small-context model — watch hierarchical compaction fold 800k characters into a conversation that never overflows.

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

Open the demo →

Coming soon

Infinite conversation

A conversation that never ends — auto-compaction keeps decades-long threads alive on tiny context windows.

  • auto-compaction
  • seeded histories
  • suggested replies

Read what is coming →