All work
AI agents

Alex, Onboarding Agent

A retrieval-augmented onboarding companion I built to give new joiners a single conversational interface for everything they need in their first 90 days. Threads policy, org context, and prior conversations into one answer instead of forcing the new joiner to know which document to ask for.

Next.jsSupabase pgvectorAnthropic APIVoyage embeddings
Outcomes
94%
Policy lookup time cut
40%
Knowledge retention up
<30s
Average time to answer

Most onboarding agents are glorified FAQ search. I built Alex to be the version that isn’t, because the real problem with onboarding isn’t that policies are missing, it’s that new joiners don’t know which policy to ask for in the first place.

What I built

A new joiner shouldn’t have to know which document to ask for. They should be able to describe their situation in their own words and get an answer that draws from policy, org context, and prior conversations. The interesting work happens in three places.

Retrieval that respects intent. Naive vector search returns the document that mentions the words you used. That’s usually wrong. Alex uses a hybrid approach, embedding-based retrieval over a Voyage-3 store in Supabase pgvector, plus a lightweight intent classifier that decides whether to retrieve from the policy corpus, the org corpus, or the conversation memory.

Conversation memory that doesn’t balloon. Onboarding happens over weeks, not minutes. Alex keeps a structured summary of prior interactions per user, surfaces relevant context only when the new question warrants it, and avoids the dump-everything-into-the-prompt pattern that destroys cost and accuracy at the same time.

Anthropic API as the reasoning layer. Claude handles the synthesis, turning retrieved snippets into a coherent, voice-consistent response. Prompt caching keeps the system prompt, retrieval scaffold, and few-shot examples warm across requests.

What it improved

The metric I care about most is the one the new joiner actually feels: the time from question to confident answer. Policy questions that used to take eight minutes of document hunting now resolve in under thirty seconds, and the answer is grounded in the actual policy, not a paraphrase. That’s the version of onboarding agents I think the category should be moving toward.