Live preview
EveOutput will stream here when you run the agent.
Summary
The Flash Cards from PDF Agent turns a document into ready-to-study flash cards. It extracts the text, identifies the concepts worth memorizing, and writes concise front/back pairs — and on request, generates an illustrative image for each card. Reach for it to build study decks from textbooks, slides, or notes.
Install
$ pnpm dlx shadcn@latest add https://agentcn.vercel.app/r/eve/flashcards-pdf.json
Composition
agent/
├── agent.ts # Agent definition (model + config)
├── instructions.md # Card-writing instructions
└── tools/
├── parse_pdf.ts # Extract text from a PDF
└── generate_image.ts # Generate an image for a conceptCustomization
- Change the card style. Edit
instructions.mdfor cloze deletions, definitions, or Q&A pairs. - Swap the image model. Edit
generate_image.tsto use a different provider or skip images entirely. - Export the deck. Add a tool that writes cards to Anki, CSV, or your SRS.
- Swap the model. Edit
agent/agent.ts.