Skip to main content
EpisBox

Drop a fully-featured AI exam tutor into any web app. Your users get EPIS — PastpaperLM’s teaching AI — without you building any backend, managing API keys, or touching auth infrastructure.

EpisBox lets you drop a fully-featured AI exam tutor into any web app with a single script tag. Your users get EPIS — PastpaperLM’s teaching AI — without you building any backend, managing any API keys, or touching any auth infrastructure.

EpisBox is not a generic LLM wrapper. Partners get the full user privileges of PastpaperLM for your users + EPIS brain: our proprietary RAG + Agentic capabilities + Negotiable offers and discounts.

What you get

AI Chat

Full EPIS chat UI with streaming responses, file attachments (images, PDFs), session persistence, and the complete A/L syllabus knowledge base. The same chat your users get on pastpaperlm.com.

Auth handled for you

Users authenticate via “Sign in with PastpaperLM” — a popup on our domain. You never touch credentials, tokens, or session management. Zero security surface on your side.

Revenue share

Users are billed by PastpaperLM. You earn a revenue share on every credit your users spend — paid monthly. No billing integration required on your side.

AI-assisted theming

Describe your brand to our AI theming skill and get a ready-to-paste, contrast-checked theme config — no manual color math.

How it works

1

You embed the SDK

Add one <script> tag and one <div> container. Call EPIS.init({ clientId: 'your-id' }). Done.
2

Users authenticate

First-time users see an “Authenticate with PastpaperLM” screen inside the embed. A popup opens on pastpaperlm.com — not your site. Google auth completes. Popup closes. EPIS loads.
3

EPIS runs on our infrastructure

Every AI call, every credit deduction, every session — all on PastpaperLM servers. You serve HTML. We serve the AI.

Delivery model

EpisBox uses an iframe embed approach. Your page contains a container &lt;div&gt;; the SDK mounts a full-featured iframe from embed.pastpaperlm.com into it. This means:

  • Your CSS cannot break EPIS — iframe isolation keeps styles separate
  • EPIS cannot read your page — no XSS surface between contexts
  • Updates are automatic — when we ship improvements, your integration picks them up with no action on your side

Real-world example

AuraSpace is a study platform built as a single HTML file (vanilla JS, no build system). They added EPIS Chat to their sidebar in under an hour:
Their users get the full EPIS experience — indistinguishable from pastpaperlm.com — styled to match the AuraSpace brand exactly.

What partners never touch

  • • Backend code
  • • API keys or secrets
  • • OAuth implementation
  • • Token management
  • • AI infrastructure
  • • Billing systems

Ready to integrate?

Get your client ID →

Start integrating

Concepts

The mental model: iframe isolation, token auth, theming

Framework guides

Step-by-step guides for React, Vanilla JS, and SPAs

API Reference

Complete SDK documentation and method reference

Theming

Customize colors, fonts, and layout to match your brand