optimium Let’s talk
CASE STUDY / EDTECH

AI as an attachment to books

Meletium. An AI reading companion. For deeply understanding books. meletium.com.
Figure 1. Meletium, an AI reading companion designed and built by Optimium.

Every answer correct, nearly twice as fast as ChatGPT

The setting

Much of the reading in schools and universities has moved to digital content. Students and researchers increasingly turn to AI tools to learn, instead of the original sources: books and papers.

The challenge

Tools such as ChatGPT and Gemini Notebook were built as general-purpose chatbots, not as study tools or reading assistants. The challenge was to design and build an AI reading companion fast enough to keep pace with the reader’s train of thought, accurate and trustworthy, and able to offer a genuinely rich reading experience. It had to:

  1. be faster and more accurate than general-purpose chatbots such as ChatGPT, Claude and Gemini Notebook
  2. work well on mobile
  3. parse large books and extract their logical structure
  4. hold a conversation with the reader and explain concepts
  5. produce printable, book-quality exercises with solutions
  6. draw graphs and diagrams to illustrate ideas
  7. be natively multilingual, for studying books in different languages

Why a custom solution

A general-purpose chatbot puts the conversation at the center and treats the book as one more attachment. A reading companion has to do the opposite: keep the book at the center, know its structure, and ground every answer in its pages. That called for an agent built around the book, not a chatbot with a file upload.

The work

We built a system on a LangGraph-based architecture that answers questions with page citations, solves exercises step by step, generates printable LaTeX exam PDFs, produces interactive self-graded tests, and draws TikZ-rendered diagrams on an interactive blackboard. A React 18 single-page app, also packaged as an iOS and Android app with Capacitor and as a progressive web app, fronts a FastAPI backend. The backend drives a LangGraph ReAct agent with 15 tools and progressive-disclosure skills, hybrid semantic and BM25 retrieval, and a separate vector and SQLite store for each book. Its features include:

  • Question answering specific to each textbook.
  • Page-level citations on every answer.
  • Exam generation as printable PDFs, typeset in LaTeX.
  • Interactive, self-graded tests.
  • Illustrative diagrams drawn on demand.
  • Step-by-step problem solving.
  • Native multilingual support.
  • Awareness of the book’s logical structure.

The book stays open next to the conversation. The reader asks about a figure or a formula on the page, and every answer points back to the page it comes from (Figure 2).

Meletium showing a calculus textbook page next to a conversation that explains Figure 2.4 and formula 2.1, with page 107 cited in each answer.
Figure 2. A question about a figure and a formula, answered with page citations next to the book.

Each book is parsed into its logical structure: chapters, sections and the concepts they introduce. The reader can explore this structure as a graph and, from any node, ask for a summary, a test or a set of exercises (Figure 3).

Graph of a calculus chapter, Functions and Graphs, connected to its sections and their concepts, with a menu offering Go, Summarize, Create test and Create exercises.
Figure 3. The logical structure of a chapter as a graph of sections and concepts.

When a picture explains more than words, the agent draws it. Asked to solve a statistics problem graphically, it draws the sampling distribution on the blackboard and shades the probability being asked for (Figure 4).

Meletium blackboard showing the sampling distribution of the mean with the area between 169 and 171 cm shaded, next to the conversation that explains it.
Figure 4. A statistics problem solved graphically on the blackboard.

The results

We compared Meletium with the free tiers of ChatGPT, Claude Projects and Gemini Notebook on the same 972-page calculus textbook and the same 25 questions.

  • An average answer time of 20.5 seconds, against 35.9 for ChatGPT, 56.3 for Gemini Notebook and 72.0 for Claude Projects: nearly twice as fast as the fastest alternative.
  • All 25 questions answered correctly, against 19 to 23 for the other tools.
  • Every answer fully grounded in the textbook, with page-level citations.
  • A conversational experience where the book is the primary focus and the AI is the attachment, not the other way around.

The full comparison is on the Meletium blog. Try Meletium free at meletium.com.

← All selected work
LET’S CONNECT THE DOTS

Your next challenge
Our next conversation

Have a complex problem or an idea worth exploring?
If it’s a fit, the first step is a fixed-price prototype, not an open-ended contract.

Start a conversationinfo@optimium.ai