This is the project workspace for the Build a Personal Assistant in TypeScript workshop. You'll implement techniques learned in the skill-building exercises here to build a functional AI assistant.
During this workshop, you'll add these capabilities to your assistant:
pnpm install
.env.local):GOOGLE_GENERATIVE_AI_API_KEY=your_key_here
ANTHROPIC_API_KEY=your_key_here # optional
OPENAI_API_KEY=your_key_here # optional
pnpm run dev
Starting scaffold includes:
/src/app/api/chat/route.ts - Basic chat endpoint (you'll add agent + tools here)/src/components/ai-elements/ - Chat UI components (message, response, reasoning, etc.)/src/lib/persistence-layer.ts - Chat history + memory persistence/data/emails.json - 547 emails for retrieval exercises/data/db.local.json - Local storage for chats + memoriesYou'll add during workshop:
pnpm run dev - Start dev server (Turbopack)pnpm run build - Build for productionpnpm start - Start production server$ claude mcp add cohort-002-project \
-- python -m otcore.mcp_server <graph>