{"slug": "a-faster-librarian", "title": "A Faster Librarian", "summary": "Ampcode's Librarian AI agent is now approximately three times faster and 43% cheaper after switching to OpenAI's GPT-5.5 model with websocket mode, reducing average search latency from 237 seconds to 81 seconds and cost from $1.21 to $0.69 while maintaining quality.", "body_md": "The [Librarian](https://ampcode.com/news/librarian) is now ~3x faster and 43% cheaper, with the same quality.\n\nIt now runs on GPT-5.5 (no reasoning) with [websocket mode](https://ampcode.com/news/faster-deep-rush) and an updated system prompt that encourages more parallel exploration. The Librarian fires ~8 tool calls in parallel per turn, up from ~3 with Sonnet, and wraps up a search in ~5 turns instead of ~15.\n\nIn our internal eval, about a quarter of that speedup comes from OpenAI's websocket mode and the rest from switching to GPT-5.5 with no reasoning:\n\n| Sonnet-4.6 (medium) | GPT-5.5 (none) | |\n|---|---|---|\n| Latency (mean) | 237s | 81s (2.9x faster) |\n| ↳ gain from websocket | — | ~1.3x |\n| ↳ gain from model | — | ~2.2x |\n| Quality (F1, mean) | 0.47 | 0.48 |\n| Average cost | $1.21 | $0.69 |\n\nHere's a comparison:\n\nHow does Kubernetes' HorizontalPodAutoscaler handle missing pod metrics when scaling down — does it assume missing pods are at 100% of their resource requests, or 100% of the target utilization? Cite the function and logic in the source.\n\nSonnet 4.6 (left) took 2 minutes and cost $1.08, while GPT-5.5 (right) took 40 seconds and cost just $0.47.", "url": "https://wpnews.pro/news/a-faster-librarian", "canonical_source": "https://ampcode.com/news/a-faster-librarian", "published_at": "2026-06-18 00:00:00+00:00", "updated_at": "2026-06-30 16:31:51.150398+00:00", "lang": "en", "topics": ["ai-products", "ai-tools", "large-language-models"], "entities": ["Ampcode", "Librarian", "OpenAI", "GPT-5.5", "Sonnet"], "alternates": {"html": "https://wpnews.pro/news/a-faster-librarian", "markdown": "https://wpnews.pro/news/a-faster-librarian.md", "text": "https://wpnews.pro/news/a-faster-librarian.txt", "jsonld": "https://wpnews.pro/news/a-faster-librarian.jsonld"}}