Loading…
Add vector search / RAG · prompt 1 · Claude Code · week 2026-W44
Prompt: Add semantic search over a set of markdown docs to this Next.js app using embeddings and a vector store. Install whatever you need and make `npm run build` pass.
Grader: The agent ran Xenova/all-MiniLM-L6-v2 locally via @huggingface/transformers, wrote a custom JSON-backed vector store with no vector DB package, wired /api/search and a home-page search box, and fixed a top-level-await tsx error by renaming the script to .mts and a Turbopack tracing warning by inlining paths; the build passes and the agent tested the API end to end.
Replay of the real agent session in an isolated sandbox. Tool output is truncated for readability.