# Architecture review request: Meta-Capp : local-first AI reading companion for educational PDFs (Ollama)

**URL:** <https://forum.anna.partners/t/architecture-review-request-meta-capp-local-first-ai-reading-companion-for-educational-pdfs-ollama/464>\
**Category:** Developers\
**Created:** [October 28, 2026, 1:23am UTC](https://forum.anna.partners/t/architecture-review-request-meta-capp-local-first-ai-reading-companion-for-educational-pdfs-ollama/464 "2026-10-28T01:23:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyyyp](https://yyz1.discourse-cdn.com/flex033/user_avatar/forum.anna.partners/cyyyp/32/379_2.png) [@Cyyyp](https://forum.anna.partners/u/Cyyyp)\
**Post date:** [October 28, 2026, 1:23am UTC](https://forum.anna.partners/t/architecture-review-request-meta-capp-local-first-ai-reading-companion-for-educational-pdfs-ollama/464/1 "2026-10-28T01:23:31Z")

</div>

Hi Anna developer team,

Before deciding whether to build an Anna edition, I’d like to check three points that decide the whole design.

**The project.** Meta-Capp ([GitHub - cyyyp100/meta-capp: Local reading companion for educational PDFs: Gemma assistant via Ollama, and a metacognitive engine. 100% offline. · GitHub](https://github.com/cyyyp100/meta-capp), MIT) is a desktop learning companion for educational PDFs. The PDF is rendered as-is; around it, an assistant answers in the context of the current page, and a silent engine tracks six learning gauges, asks adaptive questions, builds flashcards and keeps a session memory. Prebuilt releases exist for macOS, Windows and Linux.

**Current architecture.** pywebview window → React/Vite UI → local FastAPI backend (Python 3.11) → SQLite. PDF rendering, text and search go through PDFium (pypdfium2). All inference is local through Ollama (gemma4 family, qwen3:1.7b on 4 GB machines), with an optional local embedding model for document search. The core promise is that nothing leaves the user’s machine: no account, no telemetry, no network call.

**Two options I am considering.**

- **A. Web App:** reader + assistant as a static SPA bundle (PDF.js instead of PDFium), `anna.llm` for answers, APS for gauges and flashcards. Simple to ship, but documents and questions go through Anna’s host and model providers.
- **B. Local Executa:** SPA bundle in Anna, but the PDF files, the learning data and the inference stay on the user’s machine through a bundled Executa that calls the local Ollama and keeps a local SQLite database (similar to what LingShu tested). The Anna host would only see the question and the returned answer.

**My three questions.**

1. **Qualified App Runs with local inference.** If a signed-in user completes a reading session or gets an answer that was produced entirely by a local Ollama model through a bundled Executa (option B), does that count as a Qualified App Run for the Founding Builder Program? Or is Anna-hosted inference (`anna.llm`, credits or BYOK) required for a run to qualify?
2. **Where user data lives.** The learning data is personal: the user’s PDFs, reading history, gauges, flashcards, and session memory. In option B, is it acceptable for App Review that this data stays in a local database on the user’s machine (with an export and a “delete everything” control), rather than in APS? In either option, what does Anna itself keep: the uploaded PDFs, the prompts and answers sent through the host, tool execution traces and logs? For how long, and does anything reach model providers beyond the request itself?
3. **Licensing.** The project is MIT-licensed and will stay open source on GitHub. Does publishing in the App Store require any additional license grant to Anna (to host, copy, distribute or run the bundle) beyond the Developer Terms of Service? And can the listing state clearly that the App is open source and link to the repository?

If option B is acceptable, I would also appreciate a pointer on how a published App reliably targets the user’s own local Agent, and what it should do when that Agent is offline.

Thanks for your time,  
Cyp (@cyyyp100 on GitHub)
