librarian-thing — the brain. A corpus pipeline (Python) builds embedded, chunked indexes of every source; a serverless API (Node on AWS Lambda) answers from them. Retrieval is hybrid: full-text keyword search (SQLite FTS5) and semantic embeddings fused with reciprocal-rank fusion, then reranked. An agentic loop (Claude, through the Anthropic API) plans tool calls, gathers evidence, and writes cited answers. Filtering runs through a single canonical matcher with declared semantics — whole-token exact, contiguous phrase, opt-in stemming — enforced by an eval suite of 850+ invariants and known-answer fixtures that runs on every deploy and blocks it on failure.
About Thingy
Thingy is Jamie Thingelstad’s sidekick, an AI agent and the librarian for his public archive. Ask him about more than twenty years of Jamie’s writing and he answers with citations back to the original posts and issues — in chat here, or inside your own AI via MCP.
Thingy’s home is thingy.thingelstad.xyz: meet him, play with him, take him along, print him.
In a nutshell
The short version
Jamie has published continuously since 2004: a blog, a weekly newsletter, and a podcast. Thingy has read all of it. Instead of scrolling archives or hoping a search engine indexed the right post, you ask a question —
- “when did Jamie first write about Ethereum?”
- “show me photos from bike rides”
- “what was Jamie reading in 2019?”
— and Thingy finds the sources, quotes them, and links you to the originals. He only knows the published archive and holds no private data. Weekly Thing subscribers sign in with just their email.
The card catalog
What’s in the archive
- Since 2004 22 years of writing
- The Weekly Thing 354 Weekly Thing issues
- thingelstad.com 10,468 blog posts
- Photos 15,038 indexed images
- Links 19,922 newsletter links
- Currently 181 Currently entries
Beyond the text, the corpus carries structure: a link graph across every source, a photo index built from alt text and captions, the newsletter’s Currently entries (what Jamie was reading, playing, and watching, year by year), and cross-references between blog posts and the issues that featured them. New posts and issues flow in automatically as they publish.
Under the hood
How it works
Thingy is two open-source pieces:
thingy.thingelstad.com — this site. A static React app built on assistant-ui, served from a private S3 bucket behind CloudFront, calling the Librarian same-origin. It streams answers over server-sent events, renders citations and inline photos, and handles the email sign-in flow; the session itself lives in an HttpOnly cookie no script can read.
question → preflight → agent loop → [ lexical ⊕ semantic → RRF → rerank ] × tools → cited answer
The same tool registry that powers this chat is published as an MCP server at
librarian.thingelstad.com/mcp with OAuth 2.1 sign-in, so Claude, ChatGPT, Codex, or any MCP
client can use the archive with the exact tools Thingy uses — searching, topic history, quote finding,
photo search, claim checking, and more. Connection instructions →
· The full MCP reference →
And while you are signed in here, the chat page registers those same archive tools with your browser’s model context (the emerging WebMCP standard, in beta) — an agent operating in your browser can search the archive through your own session with no setup at all.
The staff
The archive maintains itself
Thingy’s upkeep runs on a small team of AI objective owners — the AGENT-TEAM — each accountable for an outcome, not a task list:
-
Run the Librarian
keeps the API, MCP surface, and deploys healthy, observable, and cheap.
Daily
-
Library Agent
keeps the library whole and true, builds the corpora and link graph from it, and looks after the blog’s categories, alt text and Featured posts.
Daily
-
Improve Thingy
reads real conversations (privately, in aggregate) and turns evidence into fixes with regression fixtures.
Every 3 days
Each run measures from live evidence, fixes at the source, pins the fix with a test, and a healthy no-op is a successful run. Human decisions — anything reader-visible, schema-changing, or irreversible — still go to Jamie.
Library rules
Boundaries
-
Rule 01
The archive is Jamie’s public writing; personal data stays out by construction.
-
Rule 02
Every reader has daily budgets for chat and tool calls (doubled for Supporting Members).
-
Rule 03
Answers cite their sources; evidence carries the exact matched text so claims are checkable.
