ec. Back to portfolioPROJECT DEMO

04 / RESEARCH

AI Librarian

AI Librarian is my attempt to make the pace of AI research manageable: collect the material, decide what deserves attention and work through what it could mean in practice.

All seven projects ยท Project notes

Demo availability · View evaluation evidence

Deciding what deserves a closer look

I built Librarian because collecting more AI news did not tell me what deserved my time. I wanted a way to compare developments, inspect the reasoning behind a recommendation and follow a promising idea into the source material.

The useful result is something I can investigate or try: a method relevant to a project, a limitation to account for or an experiment with enough supporting detail to begin.

The domains I care about

The source-defined domain scores cover Software Development, Writing & Art, Scientific Research, Business & Enterprise, and Education. A separate Writing field focuses on prose, journalism and editorial practice; older records can lack that newer field.

Software scoring looks at developer tools and engineering workflows. Creative scoring considers image, video and other media, while Writing asks about the craft and process of producing text. Research impact concerns methods and discovery. The business and education lenses consider operational consequences and how people learn. A development can matter to one field without changing all of them; separate scores help me find that specific relevance.

In the briefing classifier, paper domains normally qualify at 5 or above, with the strongest domain used if none reaches that threshold. Editorial personas default to an overall item score of at least 8 and a maximum of 18 matching items. The writing and art desks then apply their own keyword filters. These settings provide a selection policy that can be inspected and adjusted.

How material enters the system

The research pipeline retrieves arXiv metadata, stores new records and can download and parse papers into Markdown. Its source default is the cs.AI category. The arXiv client prefers the announcement feed to identify papers and has a submission-date fallback.

The news pipeline collects concurrently from Hacker News, RSS feeds, scraped listings and API sources, then extracts the article content. The source registry includes research labs and practitioner publications, with examples such as OpenAI, Google DeepMind and Hugging Face. Newsletter ingestion can split an edition or an email into individual items, giving each development its own place in the collection.

Known identifiers prevent repeated ingestion, including newsletter message identifiers. Later newsletter deduplication compares embeddings of titles and content excerpts, groups similar items and retains the highest-scoring representative with a record of other coverage. Its default similarity threshold is 0.82. Collection and editorial deduplication are separate steps because different publications can cover the same underlying development.

What the scores mean

I use a scoring rubric to make selection more explicit than a headline's appeal. Paper and newsletter triage prompts ask for five dimensions on a 1 to 10 scale: novelty, rigor, relevance, clarity and potential impact. The weighted rubric gives novelty and relevance 25% each, rigor and impact 20% each, and clarity 10%.

The paper rubric treats rigor as experimental soundness; the newsletter version adapts it to evidence quality. A composite of 8 or more is labeled breakthrough, 5 to below 8 notable, and below 5 incremental. These are editorial triage labels for investigation. The model supplies the scores and rationale; the parser checks ranges and identifiers without independently recalculating the weighted total.

News uses a separate 1 to 10 headline-significance score alongside the same five dimensions. Its prompt does not specify that weighted composite. Keeping this distinction visible matters: a well-reported announcement and a rigorous research paper need different kinds of scrutiny.

Reading a research paper in depth

The indexed route divides parsed papers into contextual chunks and stores embeddings in LanceDB. Hybrid retrieval combines semantic and lexical rankings with default weights of 0.7 and 0.3. It retrieves 20 candidates before a cross-encoder reranks the default top five for the analysis prompt.

The direct-paper route tries arXiv HTML first, then PDF conversion. It prepares the paper as context and records whether the content had to be truncated for the model's available window. The analysis can stream to the interface and retain the source context with the response.

The structured prompt works through the research problem, technical architecture, methodology and results, then computational requirements. It also asks for actionable takeaways grounded in the paper: tools to explore, changes to an existing workflow or a concrete experiment that could test an idea.

Moving from findings to an experiment

The part I care about is connecting a development to something useful without treating the model's interpretation as a settled prediction. A suggested application should remain an impact hypothesis until its assumptions and supporting evidence have been examined. The prompts ask for specific results and baselines, and require missing source information to be acknowledged.

The repository includes test definitions for ingestion, score parsing, deduplication and retrieval behavior. The separate public demo below isolates source-grounded answering over synthetic records. Its evaluation retains a response that abstained while still including a claim, and grader controls show that an exact quote can sit beside a claim it does not support. Those findings illustrate why response structure and factual support need separate checks.

Recorded demonstration

Fresh generation needs the private local Codex runtime. This hosted site provides saved outputs and evaluation records; it does not run a model.

Choose Evaluation evidence to inspect the cases, results and limitations.