# Twelve Pages — Full Handbook Corpus Index

> Complete structured index of all 91 visual 12-page handbooks (1092 illustrated pages across 13 ecosystems) published at https://twelve-pages.com.

All handbooks, topics, diagrams, and illustrations are AI-authored under human editorial direction and print QA. Always verify critical commands, security policies, and vendor pricing against official documentation.

- Concise Directory: https://twelve-pages.com/llms.txt
- AI & Editorial Disclosure: https://twelve-pages.com/editorial
- Sitemap: https://twelve-pages.com/sitemap.xml
- RSS Feed: https://twelve-pages.com/rss.xml
- JSON Feed: https://twelve-pages.com/feed.json

## Google AI & Creative Studios (14 Handbooks)

Topic Hub: https://twelve-pages.com/topics/google

Publication-grade 12-page visual handbooks covering Google AI Ultra's creative studios, Google ADK & Agent2Agent (A2A) protocol, Antigravity 2.0 customizations & swarms, Gemini 3.8 Live & Omni 1.2 Flash voice/video pipelines, agentic Firebase & Android CLI workflows, and autonomous browser agents.

### Google Flow

> Cinematic AI filmmaking studio powered by Veo 3.1, Ingredients consistency, Frames-to-Video transitions, and Scenebuilder.

- Web: https://twelve-pages.com/guides/google/google-flow
- Markdown: https://twelve-pages.com/guides/google/google-flow.md
- PDF: https://twelve-pages.com/guides/google/google-flow/Google_Flow_Complete_How_To_Guide.pdf (2.7 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Flow Agent Storyboarding, Ingredients Consistency (@Tags), Start & End Frame Keyframing, Camera & Lens Direction, Native Dialogue & SFX, Scenebuilder Timeline
- Core Takeaways:
  - Three Engines, One Studio: Unifies Gemini Omni Flash, Nano Banana 2 / Imagen 4, and Veo 3.1 in one browser & mobile workspace.
  - Built for Continuity: Lock faces, outfits, and props across dozens of shots using Ingredients and Save-Last-Frame anchors.
  - Zero Experience Needed: Plain-English workflows, visual UI maps, copy-paste prompt formulas, and credit-saving habits.
- Chapters:
  1. Inside This Guide & What Google Flow Actually Is — Most AI video tools give you a single text box that produces random 5-second clips. Google Flow (flow.google) is a complete digital film studio built to tell multi-shot stories with consistent characters, sound, and editing.
  2. Getting Started: Account Setup, Plans & Credit Math — You can start experimenting with Google Flow in under two minutes for free, then scale up only if you need longer productions, premium models, or 4K exports.
  3. The Google Flow Workspace: Annotated Visual Tour — When you open a project in flow.google, everything lives inside one dark-mode studio screen. Use the numbered callouts below to orient yourself in seconds.
  4. The 6-Step Filmmaking Pipeline (Start to Finish) — Beginners often make the mistake of jumping straight to video generation. Follow this proven 6-step studio order to build a cohesive 30-second short film on your very first try—without wasting credits.
  5. Solving "Character Drift" with Flow Agent & Ingredients — The #1 frustration in AI video is watching your main character morph into a stranger from Shot 1 to Shot 2. Google Flow solves this with two paired tools: Agent Instructions and Ingredients to Video.
  6. Generation Modes & "Frames to Video" Keyframing — Every shot in Google Flow starts by choosing one of three generation modes. Picking the right mode before typing saves hours of trial-and-error.
  7. The 8-Block Director Prompt Formula — Treat Google Flow's prompt box like a film director's cue sheet—not a search engine. Ordering your prompt from big visual rules down to specific audio cues gives Veo 3.1 crystal-clear instructions.
  8. Visual Camera Movement & Lens Cheat Sheet — Avoid generic words like "moving camera." Veo 3.1 is trained on real cinematography terminology—use the exact movement phrases below to direct intentional, rock-steady shots.
  9. Directing Synchronized Dialogue, SFX & Ambience — With Audio toggled ON, Veo 3.1 generates lip-synced speech, physical Foley sound effects, and room ambience simultaneously with video pixels—no external lip-sync plugin required.
  10. Assembling Your Film in Scenebuilder & Beyond — Once your clips are generated, open Scenebuilder at the bottom of the workspace. Unlike rigid storyboards, Scenebuilder is a flexible "generate, then assemble" timeline with AI continuity superpowers.
  11. Troubleshooting Clinic & Creator Cheat Sheet — Keep this final page handy while working in flow.google. Almost every frustrating generation has a fast, predictable fix.

### Google Antigravity & Jules

> Agent-first desktop IDE, parallel subagents, skills/MCP customization, and asynchronous GitHub PR automation with Jules.

- Web: https://twelve-pages.com/guides/google/google-antigravity-and-jules
- Markdown: https://twelve-pages.com/guides/google/google-antigravity-and-jules.md
- PDF: https://twelve-pages.com/guides/google/google-antigravity-and-jules/Google_Antigravity_and_Jules_Complete_How_To_Guide.pdf (1.9 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Antigravity 2.0 Desktop App, Antigravity IDE (Tab & Cmd+I), Jules Async GitHub Workflows, Subagents & Parallel Swarms, Rules, Skills, Plugins & MCP, CLI (agy) & Python SDK
- Core Takeaways:
  - Four Unified Surfaces: Work seamlessly across the Desktop App, VS Code-based IDE, Terminal CLI (agy), and Python SDK.
  - Jules DNA Built Right In: Includes the complete late-2026 Jules-to-Antigravity migration map for async branches, PRs, and cron runs.
  - Powered by AI Ultra: Unlock 5x–20x frontier Gemini quotas so multi-agent swarms and overnight /goal runs never stall.
- Chapters:
  1. The Big Picture: Antigravity + Jules in One Studio — Google Antigravity (antigravity.google) is Google's flagship agent-first software creation platform—designed not just to autocomplete lines of code, but to plan, build, test, browse, and ship entire projects alongside you.
  2. First-Time Setup & Your Google AI Ultra Advantage — You don't need to be a senior software engineer to use Antigravity. Non-coders use Antigravity 2.0 to generate guides, websites, and automations, while engineers pair it with the IDE and CLI.
  3. Antigravity 2.0 Desktop App: Annotated Visual Tour — Antigravity 2.0 separates high-level thinking from raw code files. You converse in the center Chat Canvas while live subagents, terminals, artifacts, and file diffs update in the right-hand Auxiliary Pane.
  4. Antigravity IDE: Three Speeds of AI Pair Programming — Built on VS Code so all your favorite extensions and themes carry over, Antigravity IDE gives you three distinct gears depending on whether you are editing one line, one function, or twenty files.
  5. Steering Agents with / Slash Commands & @ Mentions — Typing a single slash command at the start of your prompt shifts Antigravity into specialized operating modes—from interactive design interviews to unstoppable overnight execution.
  6. The 6-Step Agentic Build Loop (Idea to Verified PR) — Whether you are building a personal dashboard from scratch or adding a feature to an existing repo, this 6-step loop keeps you in full control while the agent handles the heavy lifting.
  7. Google Jules: Async Pioneer & Antigravity Migration — Google Jules (jules.google) introduced "fire-and-forget" asynchronous engineering—cloning GitHub repos into cloud Linux VMs, proposing a plan, running tests, and opening Pull Requests while you worked elsewhere.
  8. Multiplying Yourself: Subagents & Native Swarms — With a Google AI Ultra plan, you aren't limited to a single single-threaded assistant. Antigravity can dispatch specialized specialist agents—or an entire collaborative team—that work simultaneously.
  9. Customizing Antigravity: Rules, Skills, Plugins & MCP — Out of the box, Antigravity is a brilliant generalist. With five modular customization building blocks, you turn it into a specialist tailored to your exact voice, codebase, and third-party apps.
  10. Headless Power: agy CLI, Python SDK & Cron Jobs — When you want agentic power directly inside your macOS terminal, automated Python scripts, or recurring morning briefings, reach for these three headless workflows.
  11. Safety Controls, Troubleshooting & Quick Cheat Sheet — Autonomous agents are only fun when you trust their boundaries. Antigravity gives you granular global and per-project guardrails under Settings → Permissions & Sandbox.

### Google Whisk

> Image-first visual remixing studio blending Subject, Scene & Style cards, hidden Gemini captions, Seed locking, and Whisk Animate.

- Web: https://twelve-pages.com/guides/google/google-whisk
- Markdown: https://twelve-pages.com/guides/google/google-whisk.md
- PDF: https://twelve-pages.com/guides/google/google-whisk/Google_Whisk_Complete_How_To_Guide.pdf (3.9 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Subject + Scene + Style Blending, Hidden Gemini Caption Editing, Nano Banana 2 & Imagen 4, Conversational Refine Loop, Seed Lock Consistency, Whisk Animate Inside Flow
- Core Takeaways:
  - Prompt With Pictures: Drag photos, sketches, or textures into Subject, Scene, and Style slots instead of writing 200-word prompts.
  - Essence Over Copy-Paste: Gemini understands your references and paints fresh, cohesive variations powered by Nano Banana 2 & Imagen 4.
  - Unified Inside Google Flow: Turn winning remixes into 8-second Veo animations—or lock them straight into Flow's @Ingredients and Scenebuilder.
- Chapters:
  1. What Is Google Whisk (Now Unified Inside Google Flow) — Describing an exact artistic style or product shape in words is hard. Google Whisk—whose standalone labs.google/fx/tools/whisk site closed on April 30, 2026 to unify directly inside Google Flow (flow.google)—flips AI art upside down: you show Google three reference images (Subject, Scene, Style) and remix them into something brand new.
  2. First Launch, AI Ultra Perks & Aspect Ratio Guide — Whisk is built for zero-friction play: you can roll built-in dice presets within five seconds of opening the page, or click Start From Scratch to upload your own photos and brand assets.
  3. The Google Whisk Workspace: Annotated Visual Tour — Whisk keeps its workspace intentionally tactile—like spreading reference polaroids on a designer's desk. Master these 7 numbered controls to unlock full precision.
  4. How to Mix Subject, Scene & Style Like an Art Director — Think of Whisk's three slots like cooking ingredients: Subject is the "Who/What", Scene is the "Where", and Style is the "Medium & Mood". You can fill all three—or leave any slot empty!
  5. One Subject, Infinite Worlds: Style-Transfer Mastery — Keeping your Subject slot locked while swapping only the Style card is the fastest way to explore ten wildly different visual directions for a brand, story, or gift in two minutes.
  6. Unlocking Precision via Hidden Gemini Captions — Ninety percent of casual users never click the small View / Edit Caption icon on their uploaded cards—yet it is the single most powerful control in all of Google Whisk.
  7. Polishing Winners: Refine Chat, Text Signs & Seeds — When an output is 90% right, don't hit Remix and lose the composition you love. Use Whisk's Refine loop, Nano Banana 2 typography, and Seed Locking to dial in the final 10%.
  8. 5 Real-World Creative Recipes You Can Build Today — Not sure what to make first? Plug your own photos into any of these five proven slot recipes for instant studio-grade results.
  9. Mastering Whisk Animate: From Still Card to Living Clip — Hover over any favorite Whisk image and click Animate. Powered by Google's Veo video engine, Whisk transforms your static frame into a fluid 8-second MP4 clip right inside your browser.
  10. Power Pipeline: Look-Dev Remixing to Final Film in Flow — Because Google merged Whisk directly into Google Flow (flow.google) in April 2026, you can now run your entire visual look-dev lab and multi-shot Veo 3.1 filmmaking studio inside one unified workspace.
  11. Troubleshooting Clinic & Pre-Flight Cheat Sheet — Keep this page open next to Whisk whenever an output surprises you—every quirk has a fast, reliable fix.

### Google Vids

> Workspace AI video presentation studio turning Docs & Slides into narrated storyboards with AI voiceovers, avatars, teleprompter, and Veo B-roll.

- Web: https://twelve-pages.com/guides/google/google-vids
- Markdown: https://twelve-pages.com/guides/google/google-vids.md
- PDF: https://twelve-pages.com/guides/google/google-vids/Google_Vids_Complete_How_To_Guide.pdf (4.4 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: "Help me create" + @Drive, AI Voiceovers & 24-Lang Avatars, Recording Studio & Teleprompter, Veo 3.1 Custom B-Roll, Transcript Trim & Auto-Ducking, Real-Time Workspace Collab
- Core Takeaways:
  - From Google Doc to Storyboard: Reference any Doc, Slide deck, or PDF with @mentions—Gemini builds scenes, scripts, music, and B-roll in seconds.
  - Camera-Optional Storytelling: Narrate via lifelike Gemini AI Voiceovers and AI Avatars, or record smoothly with the built-in scrolling Teleprompter.
  - Edit Video Like Slides & Docs: Delete "ums" right in the text transcript, generate custom Veo clips in the sidebar, and collaborate live in Drive.
- Chapters:
  1. What Is Google Vids (And Why Teams Love It) — Traditional video editors force you onto intimidating multi-track timelines before you even have a story. Google Vids (vids.google.com) sits right alongside Docs, Sheets, and Slides—combining slide-simple scene cards with Gemini scripting, studio recording, and custom Veo generation.
  2. Getting Started, Project Formats & AI Ultra Perks — Because Google Vids lives natively inside Google Drive, there is nothing to install, render locally, or back up—every edit saves to the cloud automatically in real time.
  3. The Google Vids Workspace: Annotated Visual Tour — If you have ever used Google Slides, you already know 70% of Google Vids. Learn these 7 numbered studio controls to command the remaining 30% like a seasoned video producer.
  4. Turning Docs & Slides Into Videos With @Drive — Staring at a blank timeline is history. Typing @ inside Help me create grounds Gemini directly in your own Google Docs, Slide decks, and PDFs—so facts, metrics, and structure never get hallucinated.
  5. Narrating Your Story: AI Voices, Avatars & Studio — Great audio makes even simple visuals feel expensive. Google Vids gives you three mix-and-match narration paths—and automatically syncs scene timing to your spoken words.
  6. Custom Veo B-Roll, Imagen Visuals & Lyria Music — Stock footage gets you a fast first draft, but generic office handshakes rarely match your brand. With Google AI Ultra, you can generate bespoke 8-second Veo 3.1 video clips, custom graphics, and AI music right inside the right-hand rail.
  7. Timeline Polish: Timing Markers & Audio Ducking — What separates an amateur slide export from a broadcast-grade explainer? Three habits: staggered Object Timing, restrained Transitions, and balanced Audio Ducking.
  8. 5 Real-World Google Vids Recipes You Can Ship Today — Each recipe pairs a specific Workspace input with the fastest narration and visual workflow—turning hours of editing or live meetings into reusable 2-minute assets.
  9. Workspace Collaboration, Captions & Delivery Guide — No more emailing 800 MB Final_v7_REAL.mp4 attachments back and forth. Reviewers comment directly on scenes in their browser just like a Google Doc—and you only export MP4 when ready to publish externally.
  10. Power Pipeline: Combining Flow (Whisk) + Vids — Together with our Google Whisk and Google Flow guides (unified at flow.google since April 2026), Google Vids completes your creative studio—taking any idea from visual look-dev to a polished, narrated presentation.
  11. Troubleshooting Clinic & Pre-Flight Cheat Sheet — Bookmark this final page for instant fixes to the seven most common Google Vids hiccups—plus a 6-point pre-flight checklist before sharing with leadership or clients.

### Google Stitch

> AI-native UI/UX design studio turning prompts, sketches, and screenshots into multi-screen flows, Figma Auto-Layout frames, and Tailwind code.

- Web: https://twelve-pages.com/guides/google/google-stitch
- Markdown: https://twelve-pages.com/guides/google/google-stitch.md
- PDF: https://twelve-pages.com/guides/google/google-stitch/Google_Stitch_Complete_How_To_Guide.pdf (3.9 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Prompt & Sketch to UI, Infinite Multi-Screen Canvas, Standard & Experimental Modes, Global Themes & DESIGN.md, One-Click Paste to Figma, HTML/Tailwind & Antigravity MCP
- Core Takeaways:
  - Napkin to Production UI: Transform plain-English app goals, whiteboard wireframes, or screenshots into crisp Mobile and Web interfaces in seconds.
  - Cohesive Design Systems: Switch Light/Dark modes, accent palettes, fonts, corner radii, and portable DESIGN.md rules across entire user flows.
  - Built for Figma & Antigravity: Paste editable Auto-Layout layers straight into Figma—or stream clean HTML/Tailwind via MCP into Google Antigravity.
- Chapters:
  1. What Is Google Stitch (And Why It Changes UI Design) — Traditional image generators paint flat pictures of apps filled with garbled text that developers have to rebuild from scratch. Google Stitch (stitch.withgoogle.com, born from Google Labs and Galileo AI) is a true AI-native interface studio: it thinks in real layout trees, design tokens, multi-screen user flows, editable Figma layers, and clean semantic frontend code.
  2. First Launch: Targets, Modes & Daily Credit Pools — Before typing your first prompt at stitch.withgoogle.com, two quick toggles at the bottom of the composer shape everything Stitch builds: your Device Target (Mobile vs. Web) and your Model Mode (Standard / Fast vs. Experimental / Pro).
  3. The Google Stitch Workspace: Annotated Visual Tour — Stitch combines an expansive multi-screen canvas with a conversational design agent and global theme tokens. Master these 7 numbered controls to steer every pixel and code export cleanly.
  4. From Napkin Sketch or Screenshot to Production UI — Sometimes drawing three boxes on dotted paper is ten times faster than explaining a spatial layout in words. Switch Stitch to Experimental Mode, click the attachment icon, and let Gemini Vision translate rough ink into polished UI and clean DOM structure.
  5. Writing High-Precision UI Prompts & Mastering Themes — Vague prompts like "make a finance app" yield generic templates. Giving Stitch five structured ingredients produces agency-grade layouts—which you can then restyle across radically different aesthetics in one click.
  6. Building Cohesive Multi-Screen Flows & Surgical Edits — Real software isn't one hero screen—it is an end-to-end journey. Stitch's infinite canvas and Agent Manager let you map 4 to 8 connected screens that share identical navigation chrome, spacing rhythm, and theme tokens.
  7. Design-to-Dev Handoff: Paste to Figma & Clean Code — Stitch eliminates the dead-end "static mockup trap." Whether your next stop is a collaborative design critique in Figma or a live repository in Google Antigravity, your work travels with full structure intact.
  8. 5 Copy-Paste Stitch Recipes for Mobile & Web Apps — Paste any of these five battle-tested prompts straight into Stitch—each is engineered with clear hierarchy, realistic domain copy, and crisp theme tokens so it renders cleanly on the very first run.
  9. Elevating AI Mockups into Shippable, Accessible UX — Left unguided, any AI UI tool will happily pack twelve charts onto one phone screen or place pale mint text on a white button. Apply these four senior UX guardrails inside Stitch so your designs pass real engineering and accessibility reviews.
  10. Power Pipeline: Design in Stitch, Ship in Antigravity — Pairing Google Stitch with your Google Antigravity & Jules setup creates Google's flagship end-to-end software factory: Stitch acts as your instant UX & design-system studio, Antigravity builds the real full-stack application via MCP, and Jules handles background verification.
  11. Troubleshooting Clinic & Pre-Flight Cheat Sheet — Keep this page handy alongside stitch.withgoogle.com—every common UI generation hiccup has a reliable 10-second fix.

### Google Opal

> Visual no-code AI mini-app studio chaining Gemini, Imagen, Veo, Lyria, and Web Search nodes into shareable interactive apps.

- Web: https://twelve-pages.com/guides/google/google-opal
- Markdown: https://twelve-pages.com/guides/google/google-opal.md
- PDF: https://twelve-pages.com/guides/google/google-opal/Google_Opal_Complete_How_To_Guide.pdf (4.0 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Visual Node-Graph Blueprint, @Variable Step Chaining, Gemini + Imagen + Veo + Lyria, My Drive > Opal Recovery, Migrate to Gemini Skills (/), Scale in AI Studio & Antigravity
- Core Takeaways:
  - Graduated Nov 17, 2026: Opal's interactive app runtime retired on November 17, 2026—its workflow lessons now power Gemini Skills.
  - Zero Data Lost in Drive: Original workflow files remain intact inside My Drive > Opal so you can recover every prompt in plain text.
  - Clear Migration Paths: Port focused prompts to Gemini Skills (/skill-name), or rebuild multi-step apps in Google AI Studio & Antigravity.
- Chapters:
  1. What Google Opal Was (And How Its Architecture Lives On) — Standard chat prompts crumble when a task needs five distinct stages—like researching a live URL, writing a script, painting four matching scenes, and formatting a clean webpage. Launched by Google Labs in July 2025, Google Opal (opal.google) pioneered visual no-code AI mini-apps before officially graduating and shutting down on November 17, 2026.
  2. Drive Recovery & Where Opal Workflows Live Today — Following Opal's November 17, 2026 graduation, active workflows no longer execute at opal.google—but Google preserved all user files inside Drive so you can recover prompts in minutes.
  3. The Google Opal Studio: Reference Interface Map — When reading exported project files from My Drive > Opal, knowing how Opal's canvas worked makes every saved node clear: Opal kept its chat builder and visual cards in bi-directional sync.
  4. Opal's Building Blocks: Every Node Type Explained — Every Opal mini-app—from a two-step summarizer to a ten-node multimedia studio—is assembled from four foundational node families working together in sequence or in parallel.
  5. Mastering Multi-Step Chains & @Variable Chips — The magic of Opal happens when Step 2 automatically builds on Step 1's output—for example, letting Gemini write an ultra-detailed visual art prompt first, then feeding that exact prompt into Imagen 4 via an @ tag.
  6. Opal App UX Patterns (And Porting Them to AI Studio) — When Opal ran live, end-users never saw the node graph—they saw a clean interactive web mini-app. Use these four UX lessons from Opal when rebuilding recovered prompts inside Google AI Studio Build or Gemini Skills.
  7. Debugging in the Console & Cutting Wait Time in Half — Nothing kills mini-app magic faster than a 45-second loading spinner or one broken step derailing the final screen. Use Opal's Step Console and Parallel Fan-Out wiring to keep apps fast and resilient.
  8. 5 Classic Opal Multi-Step Blueprints (Ready to Port) — Whether recovering old workflows from My Drive > Opal or rebuilding these architectures in Google AI Studio / Gemini Skills, each pattern below maps directly to async prompts and tools.
  9. Recovering Drive Files & Migrating to Gemini Skills — Even though opal.google interactive execution and shared links shut down on November 17, 2026, Google kept your data untouched inside Google Drive. Follow this guide to extract your prompts and recreate them cleanly.
  10. Power Pipeline: Porting Opal DAGs to AI Studio & Antigravity — Because multi-step Opal workflows combining search, reasoning, and media don't translate automatically into a single Gemini Skill, rebuilding them with Google AI Studio and Google Antigravity unlocks full production scale.
  11. Migration Troubleshooting & Pre-Flight Cheat Sheet — Keep this final page handy while recovering files from My Drive > Opal and porting workflows into Gemini Skills, Google AI Studio, or Antigravity.

### Google AI Studio

> Flagship Gemini developer & power-user workbench for 1M+ token video/PDF analysis, Stream Realtime screen share, Build vibe-coding, and SDKs.

- Web: https://twelve-pages.com/guides/google/google-ai-studio
- Markdown: https://twelve-pages.com/guides/google/google-ai-studio.md
- PDF: https://twelve-pages.com/guides/google/google-ai-studio/Google_AI_Studio_Complete_How_To_Guide.pdf (4.1 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: 1M+ Token Multimodal Playground, Stream Realtime (Voice + Screen Share), Build Mode Vibe-Coding & Cloud Run, Google Search & URL Context, Visual JSON Schema Builder, Multi-Speaker TTS, Nano Banana & Veo
- Core Takeaways:
  - Zero Code Required to Start: Drop in 1-hour videos, 500-page PDFs, or share your live screen to solve complex work right in your browser.
  - Full Dial & Tool Control: Unlock System Instructions, Thinking levels, Compare Mode, Python Code Execution, and guaranteed JSON output.
  - Idea to Live App in Minutes: Describe an app in plain English inside Build mode, publish to a custom URL, or export clean Gemini SDK code.
- Chapters:
  1. What Is Google AI Studio (And Why Non-Coders Love It Too) — Think of consumer Gemini (gemini.google.com) like an automatic family sedan, and Google AI Studio (aistudio.google.com) as the open cockpit with every pro dial unlocked. Originally built for developers, it has quietly become the secret weapon of researchers, creators, analysts, and first-time app builders.
  2. Picking the Right Model, Privacy Tier & Run Dials — Before uploading your first file, take sixty seconds to learn two essentials: which Gemini engine fits your task, and the critical data-privacy boundary between AI Studio's Free Tier and Paid Billing Tier.
  3. The Google AI Studio Workspace: Annotated Tour — Everything in AI Studio lives inside a clean three-column layout: Modes on the left, your Conversation & System Instructions in the center, and Model & Tool Dials on the right.
  4. 1M+ Token Superpowers: Drop Everything In at Once — Most AI tools chop long documents into tiny fragments and only "see" a handful of paragraphs at a time. Gemini's native 1,048,576-token window holds an entire hour of video, 1,500 pages of PDFs, or 30,000 lines of code in active memory simultaneously.
  5. System Instructions, Live Grounding & Python Sandbox — Stop repeating "be concise, don't make things up, format as a table" in every message. Moving your rules into System Instructions and flipping on AI Studio's built-in tools transforms Gemini from a chatbot into a verifiable analyst.
  6. Stream Realtime & Instant Apps in Build Mode — Two tabs in AI Studio's left sidebar regularly make first-time users gasp out loud: Stream Realtime (where Gemini watches your live screen and talks you through anything) and Build (where plain English turns into a live deployed web or Android app).
  7. Structured Outputs & Multi-Speaker Media Studio — Whether you want to turn 50 messy PDF invoices into a clean spreadsheet or turn dry research notes into a lifelike two-host audio briefing, AI Studio gives you dedicated visual interfaces for both.
  8. 5 Real-World Recipes You Can Run in Under 5 Minutes — You don't need to write a single line of code to save hours with AI Studio. Try any of these five battle-tested recipes using your own files today.
  9. API Keys, Get Code & Scaling in Antigravity — When a prompt or prototype inside AI Studio works so well you want to automate it in Python/TypeScript or turn it into a production company product, AI Studio hands you clean starter code in seconds.
  10. The Complete Google AI Ultra Ecosystem Map — Wondering when to open Google AI Studio versus Antigravity, Stitch, Gemini Skills (successor to Opal), Flow (which unified Whisk), or Google Vids? Here is how the entire suite snaps together like a single modular studio.
  11. Troubleshooting Clinic & Pre-Flight Cheat Sheet — Keep this final reference page handy whenever an API call, long file upload, or Build preview hits a snag—almost every issue has a 10-second fix.

### Google NotebookLM

> Zero-hallucination research studio for 500+ sources, live interactive Join Audio Overviews, Video Overviews, and clickable Mind Maps.

- Web: https://twelve-pages.com/guides/google/google-notebooklm
- Markdown: https://twelve-pages.com/guides/google/google-notebooklm.md
- PDF: https://twelve-pages.com/guides/google/google-notebooklm/Google_NotebookLM_Complete_How_To_Guide.pdf (4.2 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Zero-Hallucination Grounding, 500+ Sources (AI Ultra), Interactive Audio ("Join" Live), Narrated Video Overviews, Clickable Mind Maps, Mobile App & Chat-Only Sharing
- Core Takeaways:
  - Zero Outside Hallucinations: Every claim links to clickable inline citations ([1] [2]) that jump straight to the exact highlighted quote in your files.
  - AI Ultra Scale (500+ Sources): Load up to 500–600 sources per notebook—up to 500,000 words per file—with 5x–20x Pro priority Studio compute.
  - Read, Listen, Watch & Map: Transform dense folders into 2-host podcasts you can join live on mic, visual Video Overviews, and branching Mind Maps.
- Chapters:
  1. Why NotebookLM Changes How You Learn & Research — Standard AI chatbots draw from the entire open internet—blending facts with plausible-sounding guesses. Google NotebookLM (notebooklm.google.com, integrated across the Gemini ecosystem as Gemini Notebook) builds a strict walled garden around the exact files you upload, turning Gemini into an instant expert on your world alone.
  2. Google AI Ultra Super-Limits & Supported Sources — While free accounts cap out at 50 files per project, your Google AI Ultra membership turns each notebook into an enterprise-scale knowledge vault holding hundreds of books, transcripts, and slide decks simultaneously.
  3. The 3-Panel NotebookLM Studio: Visual Tour — NotebookLM organizes everything into one clean left-to-right flow: Sources on the left, grounded Chat in the center, and multimodal Studio outputs & saved notes on the right.
  4. Mastering Checkboxes, Citations & the Notes Loop — Because NotebookLM trusts your uploaded sources as ground truth, garbage in equals garbage out. Three simple curation habits separate casual users from research pros.
  5. Audio Overviews & Stepping Live Into the Podcast (Join) — NotebookLM's viral two-host podcast engine has evolved into a four-format audio studio supporting 80+ languages, custom producer instructions, and live two-way voice participation.
  6. Video Overviews, Mind Maps & Active Study Suite — Some concepts—like system architectures, historical timelines, or biochemical pathways—click 10x faster visually than in audio alone. The right-hand Studio panel turns raw text into visual explainers and interactive study decks.
  7. Power Prompting: Cross-Examining 500 Sources at Once — Don't just ask NotebookLM "Summarize this." Because Gemini holds all checked documents inside one massive grounded context window, you can run forensic cross-document audits that would take a human research team weeks.
  8. 5 Real-World NotebookLM Power Recipes — Ready to put your 500-source Google AI Ultra capacity to work? Use these five proven blueprints to turn sprawling folders into clarity in a single afternoon.
  9. NotebookLM Mobile App & Team Sharing Modes — Your research vault no longer lives purely in a desktop tab. With the native NotebookLM app for iOS and Android plus granular sharing controls, you can capture sources on the move and publish interactive knowledge portals for anyone.
  10. Power Pipeline: Deep Research → NotebookLM → Vids — NotebookLM deliberately stays inside its walled garden—which means pairing it with Gemini Deep Research (for open-web scouting) and Google Vids / Slides / Flow (including Whisk-style remixing) unlocks an end-to-end research-to-presentation workflow.
  11. Troubleshooting Clinic & Pre-Flight Cheat Sheet — Keep this page handy whenever a source refuses to import or an output misses the mark—every quirk has a fast, reliable fix.

### Gemini Deep Research, Canvas & Gems

> Autonomous multi-hundred-site research dossiers, split-screen Canvas live apps with embedded AI, and custom Drive-synced Gems.

- Web: https://twelve-pages.com/guides/google/google-gemini-deep-research-canvas-and-gems
- Markdown: https://twelve-pages.com/guides/google/google-gemini-deep-research-canvas-and-gems.md
- PDF: https://twelve-pages.com/guides/google/google-gemini-deep-research-canvas-and-gems/Google_Gemini_Deep_Research_Canvas_and_Gems_Complete_How_To_Guide.pdf (2.1 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Autonomous Deep Research, Private Uploads + Live Web, Split-Screen Gemini Canvas, "Add Gemini Features" Apps, Stackable Skills (/skill-name) & Gems, Deep Think & Scheduled Actions
- Core Takeaways:
  - Hours of Research in Minutes: Approve a custom Research Plan, blend Google Drive + Gmail + hundreds of websites, and get a cited executive dossier.
  - From Blank Page to Live App: Co-write docs with Tone & Length sliders or transform any report into a live web dashboard, infographic, or quiz in Canvas.
  - Stackable AI Specialists: Invoke portable SKILL.md Skills inline via /skill-name (or Workspace Gems in Settings) grounded in live Google Docs.
- Chapters:
  1. Beyond Chat: How Gemini's Power Trio Works Together — Treating Google Gemini (gemini.google.com) like a simple question-and-answer box leaves 80% of its power untouched. Inside that single interface live three interconnected studios—Deep Research, Canvas, and Skills / Gems—acting as your research agency, interactive workshop, and reusable staff.
  2. What Your Google AI Ultra Plan Unlocks in Gemini — Your Google AI Ultra membership upgrades every layer of gemini.google.com and the Gemini mobile app—giving you priority access to Google's deepest reasoning engine, highest daily Deep Research ceilings, massive memory, and background automation.
  3. The Gemini Power Workspace: Annotated Visual Tour — Once you activate Canvas or open a Deep Research report, Gemini transforms from a single column into a full dual-pane production studio. Master these 7 numbered controls to fly through any project.
  4. Mastering Deep Research: Your Autonomous Analyst — Standard AI search skims five snippets and guesses an answer in three seconds. Gemini Deep Research works like a dedicated consulting analyst: it designs a multi-point plan, browses hundreds of pages iteratively, cross-checks your private files, and writes a cited executive report while you do other work.
  5. Deep Research Brief Formula & Post-Report Magic — Great Deep Research prompts read like an assignment to a sharp human chief of staff: tell Gemini what decision you are making, what private context you attached, and what evidence counts.
  6. Gemini Canvas: Co-Writing & Instant Interactive Apps — Standard chat forces you to regenerate an entire 1,500-word draft just to soften paragraph four. Selecting the Canvas pill opens a persistent side-by-side studio where you and Gemini edit living documents—or build working web software—in real time.
  7. Advanced Canvas: "Add Gemini Features" & Live Sharing — Here is the most underrated feature in all of Google Gemini: Canvas doesn't just build static calculators—clicking Add Gemini Features embeds live Gemini intelligence inside the web app you just built, with zero API keys or billing setup!
  8. Building Gemini Skills (/skill-name) & Workspace Gems — On November 17, 2026, personal (18+) Gems went read-only (removed Dec 17, auto-migrated to draft Skills) as Google launched inline, stackable Gemini Skills (SKILL.md via /skill-name or @skill-name). Workspace accounts keep Gems under Settings until March 2027 (Education: June 2027).
  9. 6 High-Impact Recipes You Can Copy & Run Today — Test-drive the full suite in ten minutes with these six battle-tested blueprints—two for Deep Research, two for Canvas, and two reusable Gemini Skills / Workspace Gems.
  10. Studio Synergy: Research to Live App, Notebook & Video — Inside your Google AI Ultra creative suite, Google Docs acts as the universal baton. Watch how a single question flows across five Google tools in twenty minutes to produce an entire executive launch kit.
  11. Troubleshooting Clinic & Power-User Cheat Sheet — Keep this reference page handy—every quirk across Deep Research, Canvas, and Gemini Skills / Gems has a fast, predictable 10-second fix.

### Google Project Mariner

> Autonomous browser-use agent & Gemini Agent Mode running up to 10 parallel cloud browsers, Teach & Repeat skills, and safety gates.

- Web: https://twelve-pages.com/guides/google/google-project-mariner
- Markdown: https://twelve-pages.com/guides/google/google-project-mariner.md
- PDF: https://twelve-pages.com/guides/google/google-project-mariner/Google_Project_Mariner_Complete_How_To_Guide.pdf (4.2 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Gemini Agent Mode & Auto-Browse, Reusable Agent Routines, Live Pixel & DOM Reasoning, Human-in-the-Loop Safety Gates, Google Password Manager, Gemini Computer Use API
- Core Takeaways:
  - From Reading to Acting: Mariner reads live pixels, buttons, dropdowns, and dynamic JS apps—scrolling, typing, and navigating tabs for you.
  - Keep Your Local Mouse Free: Run browser missions inside isolated cloud virtual browsers or Chrome tabs while keeping your own mouse free.
  - You Hold the Final Key: Built-in safety gates pause automatically before logins, payments, form submissions, or any irreversible action.
- Chapters:
  1. From Chatting With the Web to Acting on the Web — Standard AI chatbots summarize pages they can read, but freeze the moment a site hides prices behind interactive date pickers, multi-step filters, or dynamic JavaScript carts. Pioneered by Google DeepMind in Google Labs (retired as a standalone portal May 4, 2026) and now built natively into Gemini Agent Mode and Chrome Auto-Browse across Google AI Pro & Ultra, Project Mariner's browser-use engine gives Gemini eyes and hands inside a real browser.
  2. Where Mariner Lives Today & Picking the Right Agent — Standalone labs.google/mariner concluded on May 4, 2026, graduating its autonomous browser engine across Google AI Pro & Ultra—giving you live web action inside Gemini Agent Mode, Chrome Auto-Browse, and the developer API.
  3. Agent Mode & Auto-Browse Workspace: Annotated Tour — Unlike black-box automation scripts that hide what they are doing until something breaks, Gemini's browser interface shows every click, scroll, and reason in real time. Master these 7 controls to steer confidently.
  4. Cloud Virtual Browser Isolation & Concurrent Runs — Early computer-use scripts hijacked your physical mouse—forcing you to sit hands-off while clicks happened slowly. Building on Mariner's cloud architecture, Gemini Agent Mode runs inside Google Cloud Virtual Machines, keeping your desktop completely free.
  5. The 5-Part Project Mariner Mission Formula — Prompting a browser agent is different from prompting a chatbot. Ambiguous instructions cause agents to wander across 30 tabs; crisp boundaries turn Mariner into a laser-focused executive assistant.
  6. Reusable Routines + Human-in-the-Loop Safety Gates — Project Mariner pioneered Teach and Repeat in Google Labs; since standalone Mariner graduated in May 2026, you achieve that same repeatability by packaging a worked session as a modular Gemini Skill (/skill-name, replacing personal 18+ Gems Nov 17, 2026; Workspace Gems run until 2027).
  7. Gemini Agent Mode: Everyday Life Admin on Autopilot — Inside gemini.google.com, Agent Mode fuses Project Mariner's live web navigation with Gemini's multimodal vision and your connected Google Workspace apps (Calendar, Gmail, Maps, Keep, and Docs).
  8. 5 High-ROI Workflows Ready to Copy & Run — The best Mariner tasks share one trait: high tab-switching drudgery for humans, clear structured outputs at the finish line. Start with any of these five battle-tested playbooks.
  9. Security, Privacy & Smart Delegation Habits — Giving an AI agent a live browser requires thoughtful guardrails. Google engineered Mariner around isolated virtual machines, prompt-injection defenses, and strict human confirmation—here is how to stay 100% safe.
  10. Power Pipelines & Building Custom Mariner Agents — Project Mariner's engine shines brightest as the live web sensor at the front of your Google AI Ultra stack—feeding fresh web data straight into Sheets, NotebookLM, AI Studio / Gemini Skills, and Antigravity.
  11. Troubleshooting Clinic & Pre-Flight Cheat Sheet — Live websites throw curveballs—CAPTCHA walls, infinite-scroll traps, and regional popups. Keep these 7 instant fixes handy whenever an agent session stalls.

### Antigravity 2.0 Customizations, Skills & Swarms

> Tailor Google Antigravity 2.0, IDE, CLI (agy), and Python SDK with progressive SKILL.md modules, AGENTS.md rules, lifecycle hooks.json, namespaced plugins, and message-board agent swarms.

- Web: https://twelve-pages.com/guides/google/antigravity-2-customizations-and-swarms
- Markdown: https://twelve-pages.com/guides/google/antigravity-2-customizations-and-swarms.md
- PDF: https://twelve-pages.com/guides/google/antigravity-2-customizations-and-swarms/Antigravity_2_Customizations_and_Swarms_Complete_How_To_Guide.pdf (1.4 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: 5-Tier Loading Priority, Progressive SKILL.md, 6-Event Lifecycle Hooks, JSONC Plugins & MCP, Parallel #channel Swarms, agy CLI & Python SDK
- Core Takeaways:
  - Zero-Bloat Progressive Context: Keep token windows lean with metadata-first skills, walk-up directory rules, and deterministic 5-tier precedence across every workspace.
  - Event-Driven Guardrails & Bundles: Intercept tool calls with camelCase lifecycle hooks and ship cohesive plugins uniting rules, skills, hooks, and namespaced MCP servers.
  - Parallel Multi-Agent Swarms: Coordinate isolated worktree authors, dedicated verifiers, stall monitors, and scoped channels from one shared message board.
- Chapters:
  1. One Portable Customization Layer Across Four Surfaces — Every project carries unwritten habits—naming rules, release checklists, safety boundaries, and favorite internal tools. Antigravity turns those habits into portable files that travel seamlessly across the desktop app, editor, terminal, and Python pipelines.
  2. 5-Tier Loading Priority & Surface Decision Matrix — When multiple skills, rules, or plugins share a name, Antigravity resolves collisions deterministically. Higher tiers override lower ones, while resolved-path deduplication guarantees no rule file is ever injected twice in the same turn.
  3. Annotated Tour: Inside the Antigravity 2.0 Workspace — Antigravity 2.0 pairs a workspace-aware sidebar on the left, a context-rich chat canvas and live Swarm Board in the center, and an HTML Auxiliary Pane on the right that tracks live subagents, files, and terminals.
  4. Progressive Disclosure: Skills & Hierarchical Rules — Stuffing 40 runbooks into every prompt ruins reasoning accuracy and burns tokens. Antigravity solves this with progressive disclosure: lightweight signposts sit in memory at startup, while heavy procedures open only when the task calls for them.
  5. Lifecycle Hooks & Color-Coded Config Anatomy — Rules advise the model politely; hooks enforce behavior in code. Placed in hooks.json at your customization or plugin root, synchronous type: "command" scripts receive camelCase protojson on stdin and steer execution on stdout.
  6. Plugins Packaging & Safe Registry Operations — When a workflow combines a skill, an always-on rule, a safety hook, and an MCP server, package them into a plugin at ~/.gemini/config/plugins/<name>/ (or .agents/plugins/<name>/) so teams can install or toggle the whole stack at once.
  7. Native Agent Swarms & Parallel Topologies — When work splits cleanly into independent files or questions, a swarm spawns dedicated worker agents—each in its own fresh conversation—coordinating through one shared message board while you stay responsive as coordinator.
  8. 5 Real-World Copy-Paste Configuration Recipes — Drop these five tested patterns straight into .agents/, ~/.gemini/config/plugins/, your coordinator prompt, or a Python automation script to stand up reliable workflows in minutes.
  9. Permissions, Sandboxing & Python SDK Governance — Autonomous agents and multi-worker swarms move fast, so clear permission boundaries matter. Antigravity layers global security defaults, per-project overrides, OS sandboxes, and least-privilege SDK capabilities so speed never compromises safety.
  10. Cross-Tool Synergy: Full 4-Stage Engineering Pipeline — Each Antigravity primitive shines individually, yet their real leverage appears when chained together: lightweight rules frame context, hooks and plugins guard execution, a channel-scoped swarm builds in parallel, and a verifier signs off before commit.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Most customization and swarm glitches stem from seven predictable gotchas—broken link keys, unfiltered RPC responses, hook casing mismatches, or noisy board channels. Spot the symptom below and apply the 10-second fix.

### Gemini 3.8 Live & Omni 1.2 Flash Studio

> Build low-latency bidirectional voice/vision agents with Gemini 3.8 Live (Extended Thinking, NON_BLOCKING tools, Live Translate) and multi-shot 4K generative video workflows with Gemini Omni 1.2 Flash.

- Web: https://twelve-pages.com/guides/google/gemini-live-and-omni-flash
- Markdown: https://twelve-pages.com/guides/google/gemini-live-and-omni-flash.md
- PDF: https://twelve-pages.com/guides/google/gemini-live-and-omni-flash/Gemini_Live_and_Omni_Flash_Complete_How_To_Guide.pdf (3.8 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: gemini-3.8-live & Extended Thinking, Hybrid VAD & 70+ Language Translate, gemini-omni-1.2-flash (360p–4K), Natural-Language Media Binding, 6 Image Refs & 30s Extensions, Ephemeral Tokens & WebRTC Bridges
- Core Takeaways:
  - Zero-Lag Duplex Voice & Vision: Stream 16kHz PCM audio and JPEG video frames bidirectionally while Extended Thinking speaks natural fillers during async tool calls.
  - Stateful 4K Cinema Studio: Generate 3s–15s clips, interpolate keyframes, strip and regenerate scores, or extend scenes to 30 seconds over the Interactions API.
  - Production-Hardened SDKs: Build securely on google-genai >= 3.2.0 and @google/genai >= 3.2.0 (pinning v1beta for Live & tokens).
- Chapters:
  1. Two Engines, One Unified SDK Mental Model — Modern multimodal apps split cleanly into two complementary rhythms: an always-open WebSocket conduit for sub-second human conversation, and a stateful Interactions loop for asynchronous 4K video creation and multi-turn refinement.
  2. SDK Installation, Model Matrix & Media Specifications — Every workflow in this guide runs on the unified late-2026 Google GenAI SDKs. Install the current packages below so typed Interactions steps, output_video helpers, and 3.8 Live fields work out of the box.
  3. The Live & Omni Studio Cockpit: 7 Key Controls — Whether you run a custom web workbench or terminal pipeline, every production deployment wires together these seven live-stream and asynchronous cinema controls.
  4. Duplex Streaming & Background Extended Thinking — Gemini 3.8 Live separates real-time conversational flow from deep problem-solving. While gemini-3.8-live replies instantaneously, gemini-3.8-live-extended-thinking reasons quietly in the background and speaks natural fillers while async tools execute.
  5. Live Transcribe, 70+ Language Translate & Prompt Anatomy — Beyond open-ended assistants, the Live API includes dedicated low-latency models for streaming captions and simultaneous interpretation—plus turnkey WebRTC partners for browser and telephony apps.
  6. Gemini Omni 1.2 Flash: Interactions API & Keyframes — Every gemini-omni-1.2-flash creation runs through client.interactions.create, pairing uploaded Files API assets with natural-language directions to render 3s–15s videos from scratch or between exact keyframes.
  7. Reference Binding, Surgical Edits & 30-Second Extensions — Omni 1.2 Flash abandons rigid XML markup in favor of natural-language asset binding—letting you guide characters with up to 6 reference images, refine existing clips, strip audio for new scores, and extend stories to 30 seconds.
  8. 5 Real-World Copy-Paste Production Recipes — Drop these five proven patterns directly into your Python, TypeScript, or CLI pipelines—each tuned to late-2026 SDK signatures and safe parameter limits.
  9. Production Session Hardening, Tokens & Regional Guardrails — Demo scripts run for 30 seconds; production apps stay connected for hours from untrusted browsers. Use these four guardrails to eliminate dropped calls, context limits, and leaked API keys.
  10. End-to-End Studio: Live Voice Director to 4K Omni Master — Combine Gemini's multimodal lineup into a single automated production house—from live spoken creative direction and bespoke Nano Banana 2.1 keyframes to 4K Omni cinema, expressive TTS voiceover, and WebRTC preview.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight Checklist — Bookmark this final page. Almost every runtime error in Live streaming or Omni video creation traces back to one of these seven protocol mismatches.

### Agentic Firebase & Android CLI Workflows

> Ship full-stack mobile and web apps with firebase-tools MCP, Firebase AI Logic + App Check, Data Connect, Android CLI, live Device Hub mirroring, Compose Preview sidecars, and XML Journey tests.

- Web: https://twelve-pages.com/guides/google/agentic-firebase-and-android-cli
- Markdown: https://twelve-pages.com/guides/google/agentic-firebase-and-android-cli.md
- PDF: https://twelve-pages.com/guides/google/agentic-firebase-and-android-cli/Agentic_Firebase_and_Android_CLI_Complete_How_To_Guide.pdf (2.2 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Firebase MCP & Agent Skills, Gemini 3.8 / 4 & Live API, Play Integrity App Check, android CLI & Delta Builds, Compose Preview Sidecar, Device Hub & XML Journeys
- Core Takeaways:
  - Cloud-to-Code Backend: Query Firestore, inspect Data Connect GraphQL, and diagnose App Hosting logs safely via scoped firebase mcp.
  - Protected AI Logic Apps: Ship Android Kotlin experiences on gemini-3.8-flash, gemini-4-hydrogen, and gemini-3.1-flash-live-preview gated by App Check.
  - Closed-Loop Device QA: Audit Compose bounds_url trees, stream AVDs in Device Hub, and run strict sequential XML <journey> tests.
- Chapters:
  1. The Full-Stack Mental Model: Cloud Meets Pixels — Modern mobile agents no longer stop at writing Kotlin files in the dark. By pairing Firebase MCP on the cloud side with the android CLI and its live UI sidecars on the device side, an agent can verify schemas, builds, Compose bounds, and tap-by-tap user journeys in one continuous loop.
  2. Installation, Auth & Backend-to-Device Matrix — Set up both toolchains in under three minutes. Keep Firebase MCP tightly scoped per project directory while initializing the android CLI globally for fast SDK, emulator, and Studio access.
  3. Annotated Android Device Hub & Compose Preview Cockpit — When both Android sidecar plugins run alongside your terminal, you get instant pixel feedback in the IDE while your agent inspects exact coordinates, composable bounds, and incremental layout diffs over loopback HTTP and CLI.
  4. Firebase MCP: Inspecting Live Cloud State & Rules — Running firebase-tools@latest mcp gives your coding agent a live, least-privilege window into your Firebase backend, keeping database schemas, Security Rules, GraphQL operations, and deploy logs aligned with your Android client.
  5. Firebase AI Logic + App Check: Kotlin & Prompt Anatomy — Firebase AI Logic lets your Android app invoke Gemini directly from Kotlin without standing up a custom proxy server, while Firebase App Check proves every request originates from your genuine app binary.
  6. android CLI Mastery & Compose Preview Sidecar Loop — Replace slow trial-and-error Gradle cycles with fast delta deployments, live Android Knowledge Base queries, and headless Compose Preview rendering that exposes every composable's coordinates and accessibility semantics.
  7. Device Hub Sidecar, Visual Targeting & XML Journeys — Previews confirm static layout; real journeys prove behavior. Combine the Device Hub sidecar and android emulator CLI with JSON-first inspection, visual box resolution, and strict sequential XML journey scripts.
  8. 5 Real-World Copy-Paste Recipes — Drop these five battle-tested command and code recipes straight into your terminal, Gradle config, or agent prompt to eliminate repetitive boilerplate.
  9. App Check Enforcements, Least-Privilege MCP & Fleet Ops — Production AI mobile apps require tight boundaries at every hop: limiting what your coding agent can mutate in Firebase, proving app identity at runtime, and testing safely across remote hardware.
  10. Cross-Tool Synergy: From Cloud Schema to Verified APK — Watch how all four toolchains interlock in a single sprint, passing validated schemas, protected AI Logic clients, accessibility-checked Compose trees, and sequential XML journey reports cleanly from stage to stage.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — Hit a blank pane, dropped Live session, or misbehaving ADB command? Match your symptom below for a 10-second root-cause fix.

### Google ADK & Agent2Agent (A2A) Protocol

> Build, evaluate, and ship code-first multi-agent systems with Google's Agent Development Kit in Python and TypeScript—combining deterministic Workflow Agents, scoped state prefixes, MCPToolset, Vertex AI Agent Engine, and cross-vendor A2A Agent Cards.

- Web: https://twelve-pages.com/guides/google/google-adk-and-a2a
- Markdown: https://twelve-pages.com/guides/google/google-adk-and-a2a.md
- PDF: https://twelve-pages.com/guides/google/google-adk-and-a2a/Google_ADK_and_A2A_Protocol_Complete_How_To_Guide.pdf (3.4 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Python & TypeScript ADK, Sequential, Parallel & Loop, Scoped State & Callbacks, adk web & adk eval, A2A agent-card.json, Vertex AI Agent Engine
- Core Takeaways:
  - Deterministic Orchestration: Eliminate fragile routing loops with code-driven SequentialAgent, ParallelAgent, and LoopAgent controllers.
  - Open A2A Interoperability: Bridge Python, TypeScript, Go, and third-party agents across networks via to_a2a() and RemoteA2aAgent.
  - Eval-to-Cloud Lifecycle: Trace every turn in adk web, gate CI with adk eval rubrics, and deploy to Cloud Run or Vertex AI Agent Engine.
- Chapters:
  1. Code-First Agents Meet Open Network Interoperability — Prompt-only multi-agent setups break down when teams scale across repos, languages, and security boundaries. Google Agent Development Kit (ADK) gives you software-engineering rigor inside each agent, while the Linux Foundation Agent2Agent (A2A) Protocol connects independent agents across networks without exposing private prompts or credentials.
  2. Installation, Runtime Selection & Vertex Agent Engine Meters — ADK ships first-class SDKs for Python, TypeScript, Go, and Java. Start locally against a Gemini API key in seconds, then promote the exact same agent graph to Cloud Run or managed Vertex AI Agent Engine with zero rewrites.
  3. Annotated Tour: Debugging Traces & State in adk web — Running adk web (or npx adk web for TypeScript) opens a local browser workbench at http://localhost:8000. Every prompt, sub-agent transfer, tool payload, state mutation, and saved golden eval lives one click away.
  4. Deterministic Workflow Agents: Zero-Hallucination Control Flow — Asking an LLM router to decide every next step wastes latency and invites skipped checks. ADK separates reasoning nodes (LlmAgent) from deterministic workflow controllers (SequentialAgent, ParallelAgent, and LoopAgent) that execute in predictable code order.
  5. Scoped State Prefixes, Callbacks & McpToolset — Production agents need strict boundaries around what persists across turns and which tools are allowed to fire. ADK bakes persistence scopes directly into state key prefixes and wraps every model and tool boundary with synchronous guard callbacks.
  6. Speaking A2A: Agent Cards, Tasks & Cross-Network Handoffs — When your Python ADK orchestrator needs help from a finance team’s Java service or a partner’s LangGraph agent, the Agent2Agent (A2A) standard lets them collaborate over JSON-RPC 2.0 and Server-Sent Events (SSE) using self-describing Agent Cards.
  7. Regression Testing with adk eval & One-Command Deploys — In multi-agent systems, a final answer that sounds polite is still a bug if the agent skipped an authorization tool or called the wrong A2A peer. adk eval grades both the exact tool-call trajectory and the semantic response quality on every pull request.
  8. 5 Real-World Copy-Paste Recipes — Drop these five battle-tested snippets straight into your Python or TypeScript repository to wire sub-agent tools, A2A manifests, artifact storage, CI gates, and Cloud Run deployments cleanly on the first try.
  9. Security, A2A Auth & Multi-Tenant Memory Isolation — Connecting autonomous agents across team boundaries multiplies blast radius if identity, memory scopes, or remote Agent Cards are left unverified. Enforce these four enterprise guardrails before exposing any ADK service outside localhost.
  10. Cross-Tool Synergy: From AI Studio Prototype to Multi-Cloud A2A Mesh — ADK shines brightest as the connective backbone between rapid prompt exploration, local IDE coding agents, CI trajectory gates, and cross-framework enterprise deployments.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — Diagnose the seven most common ADK and A2A pitfalls in seconds, then run the 6-point pre-flight check before promoting any multi-agent workflow to production.

## Anthropic Claude & Workspace Studios (15 Handbooks)

Topic Hub: https://twelve-pages.com/topics/claude

Publication-grade 12-page visual handbooks for Anthropic's agentic coding, autonomous digital coworker, security, and collaborative workspace suite—covering Claude Meetings, Duet, Design, Whiteboards, Sheets, Dashboards & Data, Cowork & Computer Use, Skills, Claude Code Mods, Autonomous Loops, Code Projects & Coordinator, Channels & Remote Control, Claude in Chrome & Persistent Memory, Security & Mythos 5.2, and Managed Agents & MCP.

### Claude Code Mods

> Customizing Claude Code from the inside with in-process TypeScript/JavaScript mods—building live terminal HUDs, prompt/tool interceptors, custom slash commands, and sec-default guardrails.

- Web: https://twelve-pages.com/guides/claude/claude-code-mods
- Markdown: https://twelve-pages.com/guides/claude/claude-code-mods.md
- PDF: https://twelve-pages.com/guides/claude/claude-code-mods/Claude_Code_Mods_Complete_How_To_Guide.pdf (1.4 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: In-Process TS/JS Engine, register(on, options), Before / After / Around Hooks, Custom Terminal & App HUDs, Hot-Reload dev-mods, sec-default Governance
- Core Takeaways:
  - Middleware Agent Control: Intercept, rewrite, time, or short-circuit prompts and tool calls in memory via Express-style ($, e, next) pipelines.
  - Programmable Terminal UI: Mount live token gauges, cache TTL timers, and side panes across both the CLI and Claude Code Desktop using ui.render.
  - Zero-Restart Hot Reload: Describe a workflow tweak in plain English and watch Claude Code build and hot-reload session dev-mods instantaneously.
- Chapters:
  1. Why Claude Code Mods Change Everything — Classic shell hooks spawn slow external subprocesses that can only say yes or no, while MCP servers sit outside the agent waiting to be called. Claude Code Mods run inside the live process as native TypeScript and JavaScript middleware—letting you reshape prompts, rewrite tool calls, and paint custom UI frames at sub-millisecond speed.
  2. Prerequisites, File Layout & Extension Matrix — A Claude Code Mod is simply a standard Claude Code plugin whose hooks/hooks.json declares a "modules" array. There is no build step, bundler, or tsconfig.json required—Claude Code compiles and validates your TypeScript natively at load time.
  3. Annotated Tour: Mod-Enhanced Claude Code Cockpit — Mods transform Claude Code from a scrolling text stream into an instrumented cockpit. Below are the seven live touchpoints where TypeScript mods render telemetry, intercept risky commands, and expose instant local controls.
  4. Anatomy of a Mod: register(on, options) — Every mod exports a single register(on, options) function. Using on(eventName, filter, handler), your handler receives ($, e, next)—giving you four clean middleware patterns: before, instead of, after, and around.
  5. The Mods API ($), Zero-NPM Rule & /commands — Inside a mod, standard Node globals like require('fs'), process.env, and external npm packages are intentionally off-limits. Instead, every host action flows through the structured $ Mods API so Claude Code can statically audit what a plugin touches before it ever runs.
  6. “Vibe-Modding”: Live Hot-Reload Without TypeScript Mastery — You never have to memorize event schemas to build a mod. Describe the behavior you want in plain English right inside an active Claude Code session: Claude writes the TypeScript into ~/.claude/dev-mods/<session-id>/, validates it, and hot-reloads it on save with zero restart.
  7. Customizing the UI: HUDs, Gauges & Custom Panes — Unlike external CLI wrappers, a single ui.render handler renders seamlessly in both the terminal TUI and Claude Code Desktop—resolving cross-surface primitives (Box, Text, Button) via $.ui.resolve(e) instead of brittle ANSI escapes.
  8. 5 Real-World Copy-Paste Mod Recipes — Paste any prompt below directly into Claude Code to generate and hot-load the mod inside ~/.claude/dev-mods/ in under a minute—then promote your favorites to ~/.claude/plugins/.
  9. Security, Load Order & sec-default Governance — Understanding one architectural truth prevents serious security mistakes: Claude Code Mods run in-process with your full OS user privileges—they are capability-audited via $, not isolated inside a hypervisor VM.
  10. Cross-Tool Synergy: The 4-Layer Agent Stack — Mods do not replace Skills, MCP servers, or Git worktrees—they complete the stack by supplying the missing deterministic runtime layer that keeps autonomous multi-agent coding fast, visible, and safe.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Ninety-five percent of mod hiccups trace back to one of seven predictable causes. Use this table for ten-second fixes before shipping a mod to your daily workflow or team repository.

### Claude Whiteboards

> Turning messy voice and text brainstorms into real-time multiplayer visual canvases—mastering region-box prompting, retro clustering, Doc/Slide handoffs, and Miro/Lucid exports.

- Web: https://twelve-pages.com/guides/claude/claude-whiteboards
- Markdown: https://twelve-pages.com/guides/claude/claude-whiteboards.md
- PDF: https://twelve-pages.com/guides/claude/claude-whiteboards/Claude_Whiteboards_Complete_How_To_Guide.pdf (1.1 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Voice-to-Board Structuring, Region-Box AI Prompting, Real-Time Multiplayer, Retro & Theme Clustering, 1-Click Doc & Slide Handoff, Miro, Lucid & Vani Export
- Core Takeaways:
  - Win the First 30 Minutes: Speak a rambling product monologue or drop 80 raw sticky notes and watch Claude organize clean swimlanes, owners, and themes in seconds.
  - Surgical Region Edits: Drag a selection box around any messy corner of a massive board to expand sub-flows or assign dates without disturbing surrounding work.
  - Zero-Copy-Paste Handoffs: Turn finished spatial boards directly into polished Claude Docs, executive Slide Decks, or editable Lucid, Miro, and Zoho Vani canvases.
- Chapters:
  1. Conquering the “Messy First 30 Minutes” of Team Work — Traditional diagramming tools assume you already know which boxes and arrows belong on the screen, leaving teams staring at an intimidating blank grid. Anthropic built Claude Whiteboards as an AI-native, multiplayer thinking canvas inside the Artifacts studio—where raw human thought meets live spatial structure.
  2. Plans, Activation & Visual Workspace Decision Matrix — Claude Whiteboards runs as an interactive spatial Artifact across web (claude.ai), Claude Desktop (macOS and Windows), and mobile apps—with distinct default switches depending on your subscription tier.
  3. Annotated Tour: Inside the Claude Whiteboards Studio — Opening a Whiteboard splits your Claude window into a conversational steering column on the left and an infinite, zoomable multiplayer canvas on the right—keeping dialogue and spatial layout synchronized.
  4. Voice & Text Brain Dumps to Structured Swimlanes — The fastest way to build a complex whiteboard is not touching your mouse at all. Speak out loud for three minutes—backtracking, correcting dates, and thinking on your feet—and let Claude untangle the chronology into crisp spatial swimlanes.
  5. Surgical Region-Box Prompting & Spatial Anatomy — Early AI diagram tools suffered from a maddening flaw: asking the AI to tweak three nodes triggered a full-board regeneration that scrambled everything your team spent twenty minutes arranging. Region-Box Prompting solves this permanently.
  6. Running Live Multiplayer Workshops & Retrospectives — In a standard 45-minute sprint retrospective, teams burn 25 minutes silently typing stickies and dragging similar cards into piles—leaving barely 10 minutes to solve actual problems. Multiplayer Claude Whiteboards compresses sorting to 20 seconds.
  7. Downstream Handoffs: Docs, Slides, Miro & Lucid — Most brainstorm boards die five minutes after the Zoom call ends because nobody wants to spend Friday afternoon re-typing 60 sticky notes into a PRD, slide deck, or architecture tool. Claude Whiteboards turns spatial consensus directly into deliverables.
  8. 5 Real-World Copy-Paste Whiteboard Recipes — Paste any recipe below into a Claude chat or active Claude Project (or pair it with a voice brain dump or lassoed region) to produce clean, executive-ready spatial canvases immediately.
  9. Team Permissions, Governance & Version Checkpoints — Early-stage strategy boards often contain unannounced product roadmaps, M&A evaluations, or security architecture gaps. Understanding workspace visibility boundaries, external export policies, and version history keeps sensitive canvases safe.
  10. Cross-Tool Synergy: From Call Transcript to Shipped Code — Claude Whiteboards shines brightest as the central spatial router connecting Anthropic’s broader workspace studio—bridging raw discovery in Claude Projects straight into Claude Sheets, Claude Docs, Lucid/Miro, and Claude Code.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this quick diagnostic clinic whenever a layout shifts unexpectedly, an enterprise button is hidden, or a large team workshop feels crowded—followed by our 6-point facilitator checklist.

### Claude Dashboards & Data

> Connecting warehouses and CRMs to natural-language analytics—building auditable SQL charts, Certified Queries, Scrollytellers, Visual Shorts, and credential-safe live team shares.

- Web: https://twelve-pages.com/guides/claude/claude-dashboards-and-data
- Markdown: https://twelve-pages.com/guides/claude/claude-dashboards-and-data.md
- PDF: https://twelve-pages.com/guides/claude/claude-dashboards-and-data/Claude_Dashboards_and_Data_Complete_How_To_Guide.pdf (1.2 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Snowflake • BigQuery • Redshift, ClickHouse • Databricks • CRM, Auditable SQL & Timestamps, Certified Queries, Scrollytellers & Visual Shorts, Credential-Safe Live Sharing
- Core Takeaways:
  - Plain English to Live SQL: Ask business questions in natural language while Claude inspects warehouse schemas, executes real SQL, and renders interactive charts.
  - 100% Auditable Metrics: Every tile exposes its exact SQL query, refresh timestamp, and Certified Query badge so numbers never drift across teams.
  - Dashboards to Data Stories: Turn any live board into a scrolling narrative Scrollyteller, a narrated Visual Short, or a governed BI workbook in one prompt.
- Chapters:
  1. From Claude Dashboards to Claude Data — Traditional self-serve business intelligence either traps business teams in multi-week ticket queues or lets unvetted AI prompts invent conflicting SQL numbers. Claude Data (introduced in beta as Claude Dashboards) bridges that gap by pairing conversational warehouse exploration with auditable SQL, semantic governance, and narrative storytelling formats.
  2. Plans, Connectors & Output Format Decision Matrix — Claude Data runs across paid Claude tiers while scaling governance controls for multi-team organizations. Matching the right connection pattern and output format upfront saves hours of rework.
  3. Annotated Tour: Claude Data & Dashboard Studio — Claude Data splits your workspace into a conversational analyst thread on the left and a live, auditable artifact canvas on the right—complete with interactive filters, Certified Query badges, SQL inspection, and credential-safe sharing.
  4. Connecting Warehouses, Semantic Layers & Auditable SQL — Great natural-language analytics starts before the first prompt. Pointing Claude Data at clean analytical schemas and semantic MCP layers eliminates messy raw-table guesswork and sluggish full-table scans.
  5. Iterative Dashboard Building & Analytics Prompt Anatomy — The fastest analysts never ask for a 12-chart mega-dashboard on Turn 1. They validate grain and totals first, assemble interactive tiles on Turn 2, and layer controls and anomaly annotations on Turn 3.
  6. Certified Queries: Ending “Two Numbers for Revenue” — Every fast-growing company hits the same analytics failure mode: Marketing presents $51.2M ARR at 9:00 AM, Finance presents $48.6M ARR at 9:15 AM, and the meeting derails into debugging SQL filters. Certified Queries solve this permanently inside Claude Data.
  7. Beyond Charts: Scrollytellers, Visual Shorts & BI Handoffs — Dashboards answer what happened for people who already know where to look. Narrative formats—Scrollytellers and Visual Shorts—align busy executives in two minutes without sacrificing warehouse rigor.
  8. 5 Real-World Copy-Paste Claude Data & Dashboard Recipes — Adapt the schema or semantic metric names in brackets and paste these prompts straight into Claude Data. Every recipe enforces UTC boundaries, clean exclusions, and SQL auditability.
  9. Credential-Safe Live Sharing & Enterprise Governance — Historically, sharing a live AI-generated chart meant either sending dead screenshots or dangerously handing out shared database service-account keys. Claude Data’s Live Sharing architecture separates viewing approved visuals from holding raw database credentials.
  10. Cross-Tool Synergy Pipeline Across Your Stack — Claude Data shines brightest as the connective hub of a quarterly planning loop—pulling governed warehouse truth upstream and feeding financial scenario models, strategy whiteboards, executive stories, and deep Python notebooks downstream.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Almost every natural-language analytics hiccup comes down to timezone cutoffs, join cardinality, partition filters, or intentional credential boundaries. Keep this page handy before publishing any board.

### Claude Skills

> Packaging reusable domain expertise across Claude.ai, Claude Desktop, and Claude Code—mastering 3-tier progressive disclosure, SKILL.md anatomy, skill-creator, and executable scripts.

- Web: https://twelve-pages.com/guides/claude/claude-skills
- Markdown: https://twelve-pages.com/guides/claude/claude-skills.md
- PDF: https://twelve-pages.com/guides/claude/claude-skills/Claude_Skills_Complete_How_To_Guide.pdf (2.9 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: 3-Tier Progressive Disclosure, SKILL.md Open Format, Claude.ai • Desktop • Code, skill-creator Meta-Skill, Bundled Python & Bash Scripts, pptx • xlsx • docx • pdf
- Core Takeaways:
  - Zero Context Bloat: Preload ~50–100 tokens of YAML metadata per skill so Claude carries 100+ capabilities without slowing down.
  - Write Once, Run Everywhere: One portable SKILL.md folder runs across Claude.ai, Claude Desktop, Cowork, Claude Code, and the Messages API.
  - Deterministic Script Execution: Offload fragile math, schema linting, and document checks into bundled Python and Bash scripts inside secure sandboxes.
- Chapters:
  1. Solving Context Window Bloat Forever — Pasting giant SOP manuals into every system prompt wastes thousands of tokens and dilutes Claude’s attention. Anthropic’s 3-Tier Progressive Disclosure lets Claude keep 100+ specialized skills on standby at a ~50-token idle cost—opening full instructions and scripts only when needed.
  2. Cross-Surface Setup & Customization Matrix — Anthropic designed SKILL.md as an open, portable standard. Activating Skills takes under a minute in Claude.ai or Claude Desktop and zero configuration on disk inside Claude Code.
  3. Annotated Tour: Claude Skills Studio & Folder Tree — Whether a skill is uploaded as a .zip in Claude.ai or placed inside .claude/skills/ in Claude Code, the exact same runtime handshake unfolds: toggle capabilities, match YAML frontmatter, read SKILL.md, and execute scripts.
  4. Anatomy of a Skill Folder & Trigger Engineering — Until a skill is triggered, Claude cannot see a single line of its Markdown body or scripts—only its YAML name and description. Writing razor-sharp frontmatter is the highest-leverage habit in skill authoring.
  5. Lean <500-Line Bodies & Executable Scripts — Once triggered, SKILL.md competes directly with your conversation and code files for attention. Keep SKILL.md crisp, imperative, and under 500 lines—delegating reference tables to references/ and brittle checks to scripts/.
  6. Iterating With skill-creator & .zip Packaging — Instead of hand-writing boilerplate from scratch, invoke Anthropic’s built-in skill-creator skill. It interviews you, turns messy chat breakthroughs into clean folders, benchmarks trigger accuracy, and packages valid .zip uploads.
  7. Document Skills & Multi-Skill Composition — You never have to choose just one active skill per turn. Claude automatically composes your custom brand or analytics skills alongside Anthropic’s four built-in Office document skills—delivering studio-grade files across every Claude surface.
  8. 5 Real-World Copy-Paste SKILL.md Blueprints — Use these five high-leverage blueprints as templates for your own organization. Notice how each pairs a trigger-rich YAML description with lean instructions and a deterministic Level 3 script or reference file.
  9. Team Distribution, Security Auditing & Governance — Once a skill saves you an hour a week, multiplying that leverage across your team takes clean distribution channels—paired with disciplined security review whenever importing external skills.
  10. Cross-Tool Synergy: MCP + Skills + Sandbox — MCP Servers and Claude Skills solve opposite halves of enterprise AI: MCP gives Claude live, authenticated hands into your systems, while Skills teach Claude your team’s institutional playbook for turning that raw data into finished work.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Nearly every skill issue comes down to YAML trigger phrasing, archive folder nesting, or sandbox toggles. Keep this page beside you when shipping or debugging any custom skill.

### Claude Cowork & Computer Use

> Automating multi-step knowledge work across Desktop, Web, and Mobile—mastering background macOS Computer Use, built-in browser tasks, recurring /schedule runs, and SaaS connectors.

- Web: https://twelve-pages.com/guides/claude/claude-cowork-and-computer-use
- Markdown: https://twelve-pages.com/guides/claude/claude-cowork-and-computer-use.md
- PDF: https://twelve-pages.com/guides/claude/claude-cowork-and-computer-use/Claude_Cowork_and_Computer_Use_Complete_How_To_Guide.pdf (765 KB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: One Claude Unified Recents, 3-Tier Execution Routing, Background macOS Spaces, Scoped Local Folder Mounts, Cloud & Chrome Schedules, Human-in-the-Loop Gates
- Core Takeaways:
  - Start Anywhere, Continue Everywhere: Kick off a task on Claude Desktop, monitor live progress from iOS or Android on your commute, and review results in one unified Recents list.
  - Keep Your Cursor Free: Background Computer Use operates inside an isolated macOS Space behind the scenes—auto-pausing cleanly if you ever step into that window.
  - Fastest Tool First, Safe by Design: Claude routes through direct MCP APIs first, built-in browser second, and desktop UI clicks last—pausing for approval before payments or sends.
- Chapters:
  1. The “One Claude” Mental Model & Execution Routing — Instead of treating chat, browser automation, and desktop control as separate apps, Anthropic unified them into One Claude. Whether you open Claude Desktop on macOS, claude.ai on the web, or the iOS/Android mobile app, every Cowork task lives inside one synchronized Recents timeline backed by cloud remote sessions.
  2. Plan Tiers, macOS Grants & Ecosystem Decision Matrix — Cowork and Computer Use span Pro, Max, Ultra, Team, and Enterprise subscriptions, pairing cloud remote execution with explicit, revocable macOS permissions whenever local files or desktop windows are involved.
  3. Annotated Tour: Inside the Claude Cowork Workspace — One unified window connects your cross-device Recents feed, active connector badges, scoped local folder mounts, live Background macOS Space previews, and human-in-the-loop safety gates.
  4. Mastering the 3-Tier Tool Hierarchy — Great Cowork operators think in layers. Rather than asking Claude to click around your screen for data that already lives behind a clean API, you guide workflows through a cascading waterfall: structured MCP pipes first, browser lenses second, and desktop pixels third.
  5. Prompt & Task Anatomy + Scoped Folder Mounts — Vague prompts like “clean up my invoices” invite guesswork. Combining five explicit building blocks—Goal, Scope, Connectors, Fallback, and Confirmation Gate—gives Claude crystal-clear guardrails on the very first run.
  6. Background macOS Computer Use Without Hijacking Your Mouse — Earlier desktop agents locked you out of your own Mac, yanking your mouse cursor across the screen every two seconds. Claude’s Background macOS Computer Use runs clicks, scrolling, and keystrokes inside a hidden Space while your active cursor stays completely yours.
  7. Two Recurring Engines: Cowork /schedule vs. Chrome Schedules — Once a manual workflow works reliably, promote it to autopilot. Anthropic gives you two distinct scheduling engines—knowing which one runs with your laptop lid closed and which one relies on your live browser cookies prevents missed morning runs.
  8. 5 Real-World Copy-Paste Cowork Recipes — Paste any recipe below directly into Claude Desktop or claude.ai. Each prompt names its exact connectors, folder bounds, fallback tier, and safety approval gate so you get repeatable results with zero surprises.
  9. Governance, Privacy & Human-in-the-Loop Safety Gates — Giving an AI agent access to your email, files, and desktop buttons demands clear boundaries. Anthropic pairs least-privilege folder mounts and macOS privacy switches with mandatory confirmation gates before irreversible actions occur.
  10. Cross-Tool Synergy: Automated Morning Briefing & Ops Loop — Cowork reaches its peak leverage when it acts as the conductor across Anthropic’s entire studio—combining MCP Connectors, Background Computer Use, Claude Skills, and Claude Sheets / Data into one seamless daily loop.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this diagnostic table whenever a macOS permission blocks a click, a scheduled task skips overnight, or Claude picks a slow UI route instead of an API—followed by our 6-point pre-flight checklist.

### Claude Sheets & Interactive Artifacts

> Building live multi-tab spreadsheets with cross-sheet formulas, dropdowns, charts, multiplayer edits, and .xlsx round-tripping alongside interactive MCP-connected Artifacts.

- Web: https://twelve-pages.com/guides/claude/claude-sheets-and-artifacts
- Markdown: https://twelve-pages.com/guides/claude/claude-sheets-and-artifacts.md
- PDF: https://twelve-pages.com/guides/claude/claude-sheets-and-artifacts/Claude_Sheets_and_Artifacts_Complete_How_To_Guide.pdf (1018 KB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Multi-Tab Workbooks, Dynamic Excel Formulas, Live Cell-Outline Audit, Real-Time Multiplayer, MCP-Connected Artifacts, .xlsx & .csv Round-Trip
- Core Takeaways:
  - Live Formulas, Zero Guesswork: Build structured multi-tab spreadsheets powered by real SUMIFS, XLOOKUP, dropdowns, and conditional formatting—never static hardcoded totals.
  - Cell-by-Cell Transparency: Watch green live cell outlines trace every Claude edit as it lands while teammates co-edit simultaneously in shared spaces.
  - Sheets to Live Web Apps: Promote any model or workflow into an interactive web Artifact wired directly to live MCP connectors with viewer-scoped permissions.
- Chapters:
  1. The Artifacts Studio: Live Grids & Connected Apps — Old AI chat workflows forced you to copy raw tables out of a message bubble or settle for frozen static previews. Inside Claude’s Artifacts Studio—sitting alongside Claude Whiteboards and Claude Data—Claude Sheets gives you a live multiplayer workbook while Interactive Artifacts turn workflows into durable, MCP-connected web applications.
  2. Setup, Admin Controls & 4-Way Ecosystem Matrix — Claude Sheets and MCP-connected Interactive Artifacts ship across paid Claude plans. Turning on the right organization toggles upfront unlocks smooth saving, reopening, and team sharing.
  3. Annotated Tour: Claude Sheets Split-Screen Workspace — Claude Sheets pairs your conversational prompt thread on the left with a responsive, multiplayer spreadsheet canvas on the right—highlighting every formula and cell edit in real time.
  4. Multi-Tab Modeling, Formulas & Interactive Controls — A trustworthy workbook separates raw inputs from calculation logic and executive summaries. Claude Sheets natively writes cross-tab formulas, interactive cell controls, and live charts so changing one driver recalculates the entire model cleanly.
  5. Color-Coded Spreadsheet & Artifact Prompt Anatomy — Vague prompts like “make me a budget spreadsheet” tempt models to type static numbers into total rows. Specifying tabs, input validation, formula types, styling, and export rules upfront produces audit-ready workbooks on the first pass.
  6. Live Cell-Outline Audit & Real-Time Multiplayer — Traditional AI document tools overwrite an entire file behind a loading spinner, forcing you to hunt for what changed. Claude Sheets renders every edit live in front of you and supports simultaneous team co-editing.
  7. Interactive MCP-Connected Web Artifacts — Sometimes a spreadsheet grid isn’t enough—you want interactive sliders, custom buttons, or a live triage console. Modern Interactive Artifacts act as durable “thick artifacts” saved in your Artifacts library that rehydrate live state via MCP connectors.
  8. 5 Real-World Copy-Paste Sheets & Artifact Recipes — Swap the bracketed team names or connector targets and paste these blueprints straight into Claude. Each recipe enforces formula discipline, visual clarity, and clean downstream handoffs.
  9. Enterprise Governance, Export Fidelity & Round-Tripping — Shipping spreadsheets and live web apps inside a company requires clear admin guardrails, predictable .xlsx and .csv export fidelity, and knowing when to graduate heavy workbooks to dedicated Excel tooling.
  10. Cross-Tool Synergy Pipeline Across Your Workspace — Claude Sheets and Interactive Artifacts work best as the calculation and app layer between raw systems of record and final executive deliverables—connecting seamlessly with Claude Whiteboards, Claude Data, and Slide Decks.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Most spreadsheet and interactive Artifact hiccups trace back to static literal pastes, missing Excel formula anchors, flat CSV exports, or viewer MCP authentication boundaries. Keep this clinic nearby before sharing.

### Claude Code Autonomous Loops & Code Artifacts

> Running unattended multi-turn /goal completion contracts, supervising parallel sessions in claude agents, CLI-to-Desktop /resume, and publishing live PR walkthrough Artifacts.

- Web: https://twelve-pages.com/guides/claude/claude-code-autonomous-loops
- Markdown: https://twelve-pages.com/guides/claude/claude-code-autonomous-loops.md
- PDF: https://twelve-pages.com/guides/claude/claude-code-autonomous-loops/Claude_Code_Autonomous_Loops_Complete_How_To_Guide.pdf (2.5 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: /goal Evaluator Loops, Goal + Rider Specs, claude agents Fleet UI, /fork • /branch • /rewind, --worktree Isolation, Live Code Artifacts
- Core Takeaways:
  - Outcome-Driven Autonomy: Replace turn-by-turn babysitting with a /goal contract checked after every turn by an independent evaluator model.
  - Parallel Fleet Control: Dispatch isolated --worktree runs, monitor workers with claude agents, and jump into Desktop via /resume.
  - Live Shareable Proofs: Publish dynamic PR walkthroughs, diff maps, and release checklists directly to private claude.ai Code Artifacts.
- Chapters:
  1. From Chat Turns to Self-Verifying Engineering Loops — Traditional AI coding is conversational: you type a prompt, watch Claude edit three files, spot a failing test, and nudge it again. Autonomous Loops flip that rhythm—you define the finish line once with /goal, and an independent evaluator keeps Claude working until objective proof confirms the job is done.
  2. Prerequisites, Model Tiers & Command Matrix — Autonomous loops work out of the box across both the Claude Code CLI and Claude Code Desktop. Pairing isolated Git worktrees with right-sized model tiers and subagent definitions keeps multi-hour runs fast, affordable, and cleanly reversible.
  3. Annotated Tour: Fleet Dashboard & Desktop Review — Power users rarely babysit a single terminal prompt. Instead, they supervise parallel worktrees in claude agents and jump straight into Claude Code Desktop via /resume to inspect live diffs and loop telemetry.
  4. Engineering /goal Contracts & Goal + Rider Specs — A loop is only as sharp as its exit condition. Vague prompts like “improve performance” confuse the evaluator, whereas concrete contracts backed by a Goal + Rider Markdown pair power hours of disciplined, self-correcting work.
  5. Anatomy of a Bulletproof /goal & Rider Contract — Whether you write a one-line /goal command or a multi-phase Rider file, packing these five color-coded clauses eliminates drift, endless loops, and silent corner-cutting.
  6. Parallel Fleet Supervision & Safe Session Navigation — Long autonomous runs shine when you parallelize cleanly and recover fearlessly. Combining specialist .claude/agents/, /subtask, claude agents, and atomic /rewind lets one engineer direct an entire squad of isolated workers.
  7. Claude Code Artifacts: Live Shareable Engineering Output — When an autonomous loop finishes 400 lines of changes across twelve files, dumping a wall of Markdown into Slack wastes your team’s time. Claude Code Artifacts publish rich, interactive engineering pages directly from your session to private, live-updating claude.ai URLs.
  8. 5 Real-World Copy-Paste Loop & Fleet Recipes — Drop any recipe below into a fresh claude --worktree <branch> session. Each prompt pairs a verifiable exit gate with clear boundaries so the evaluator knows precisely when to advance or stop.
  9. Guardrails for Long-Running Autonomous Loops — Giving an agent thirty turns of autonomy demands engineering discipline. Without hard spend limits, isolated worktrees, and anti-cheating rules, an eager model can burn budget, mutate shared branches, or quiet a failing test by relaxing assertions.
  10. Cross-Tool Synergy: From Spec to Live PR Artifact — Autonomous loops shine brightest when every stage plays its natural role: Markdown specs anchor intent, isolated worktrees and specialist subagents execute safely, Desktop /resume speeds human review, and Code Artifacts communicate the result.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Almost every autonomous loop hiccup stems from ambiguous exit criteria, noisy context buildup, or missing environment isolation. Keep this ten-second triage table beside your terminal before kicking off unattended runs.

### Claude Managed Agents & MCP Connectors

> Connecting Remote HTTPS/SSE and local stdio MCP servers across Claude surfaces and self-hosting cma-server agent sandboxes with scoped OAuth and Bedrock/Vertex routing.

- Web: https://twelve-pages.com/guides/claude/claude-managed-agents-and-mcp
- Markdown: https://twelve-pages.com/guides/claude/claude-managed-agents-and-mcp.md
- PDF: https://twelve-pages.com/guides/claude/claude-managed-agents-and-mcp/Claude_Managed_Agents_and_MCP_Complete_How_To_Guide.pdf (2.8 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Brain / Hands Decoupling, Self-Hosted cma-server, Remote HTTPS/SSE /mcp, OAuth 2.1 & Secret Vaults, Bedrock • Vertex • Foundry, Zero-Secret Sandboxes
- Core Takeaways:
  - Zero DIY Harness Plumbing: Skip fragile custom retry loops—Managed Agents handle tool turns, streaming checkpoints, and durable state recovery out of the box.
  - Vault-Isolated Credentials: Store OAuth tokens and API keys inside server-side Vaults so sandboxed bash containers never touch raw secrets.
  - Cloud or VPC Sovereignty: Run on Anthropic’s managed cloud or self-host cma-server with PostgreSQL and route inference to Bedrock, Vertex, or Foundry.
- Chapters:
  1. Decoupling the Agent Brain From the Hands — Traditional agent scripts tangle LLM reasoning, state persistence, untrusted shell commands, and raw API keys inside one brittle process. Claude Managed Agents separate the stateful reasoning loop (“brain”) from disposable execution containers and authenticated remote /mcp connectors (“hands”).
  2. Prerequisites & Deployment Topology Matrix — Not every workflow needs a self-hosted cluster, and not every connector belongs on a developer laptop. Use the topology matrix below to pick the exact runtime and MCP transport that matches your security, reachability, and residency requirements.
  3. Annotated Tour: Connectors, Vaults & Session Monitor — Whether you register connectors in Claude Settings or orchestrate headless sessions via cma-server, four unified panels govern every run: the Remote /mcp registry, live session loop telemetry, the OAuth Vault broker, and per-tool read/write gates.
  4. Decoupling the Brain From the Hands — Building your own production agent loop looks simple on day one—until timeouts, partial tool errors, context compaction, and shell escapes break in production. Managed Agents separate the durable cognitive loop from isolated execution workspaces.
  5. Color-Coded Remote MCP & cma-server Anatomy — Managed Agents keep configuration cleanly partitioned: agent definitions declare endpoints and prompts, sessions bind runtime Vaults, and cma-server wires PostgreSQL persistence, model routing, and sandbox egress.
  6. Remote HTTPS/SSE Connectors & OAuth Vaults — Remote MCP moves integrations off local laptops onto standard https://.../mcp endpoints. Combined with OAuth 2.1 and Vaults, one connector works seamlessly across Claude Web, Mobile, Cowork, and headless Managed Agents.
  7. Self-Hosting cma-server in Your VPC — Regulated industries and teams with internal-only microservices can run the entire Managed Agents control plane inside their own Kubernetes cluster or VPC using cma-server—retaining 100% session sovereignty.
  8. 5 Real-World Managed Agent & MCP Blueprints — Use these five production blueprints as starting templates. Notice how every design isolates secrets in Vaults, trims exposed MCP tools to essentials, and pairs sandboxed execution with clear human approval boundaries.
  9. Security, Blast-Radius Containment & Schema Hygiene — Connecting autonomous agents to live company systems introduces two distinct risks: oversized blast radii if a tool mutates data unchecked, and indirect prompt injection hidden inside external tickets, PR comments, or database rows.
  10. Cross-Tool Synergy: Skills + Managed Agents + MCP — Claude Skills teach your team’s rules and formatting standards, cma-server orchestrates durable multi-turn loops, and Remote /mcp Connectors supply live authenticated data—producing verified Data and Code artifacts automatically.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Most Managed Agent and Remote MCP snags come from proxy buffering, OAuth redirect URIs, PgBouncer listener pooling, or bloated tool lists. Use this quick clinic to diagnose and resolve issues in seconds.

### Claude Meetings

> Turning live Google Meet calls into visible co-creation sessions—mastering calendar auto-join, external-guest guardrails, live Whiteboards, Docs & Sheets, Interactive Connectors, and the post-meeting claude.ai hub.

- Web: https://twelve-pages.com/guides/claude/claude-meetings
- Markdown: https://twelve-pages.com/guides/claude/claude-meetings.md
- PDF: https://twelve-pages.com/guides/claude/claude-meetings/Claude_Meetings_Complete_How_To_Guide.pdf (3.3 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Visible Google Meet Teammate, Auto-Join & 1:1 Skip Rules, External-Guest Guardrail, Spoken & Chat Execution, Live Artifacts & Connectors, Post-Meeting Hub & Sync
- Core Takeaways:
  - Build During the Call: Address Claude aloud or in Meet chat to draft Docs, Sheets, and Whiteboards live while teammates co-edit before anyone hangs up.
  - Zero-Stealth Trust: Appears openly in the attendee roster, posts a transparency notice in Meet chat, and auto-leaves if an unapproved external guest enters.
  - Every Call Becomes a Hub: Wraps every session into a dedicated claude.ai meeting page with transcript, owner action items, Artifacts, and partner syncs.
- Chapters:
  1. Moving From Passive Note-Taker to Live Call Teammate — Conventional meeting bots sit silently in the corner and email a generic summary twenty minutes after everyone has moved on—leaving your team with the actual documents, spreadsheets, and architecture boards still unbuilt. Claude Meetings flips the workflow inside out by acting as a visible, real-time workspace builder inside Google Meet.
  2. Plans, Beta Pricing, Setup & Meeting Tool Matrix — Launched in November 2026 beta exclusively for Claude Team and Claude Enterprise workspaces (not Free, Pro, or Max), Claude Meetings launches first on Google Meet with strict security and quota rules.
  3. Annotated Tour: Inside a Live Claude Meetings Session — When Claude enters your Google Meet call, the experience bridges the video call window and a shared claude.ai live workspace—keeping human voices, Meet chat answers, Artifacts, and Interactive Connectors synchronized in real time.
  4. Real-Time In-Call Execution: Build Work While You Talk — The signature breakthrough of Claude Meetings is closing the gap between talking and shipping. Instead of ending a 45-minute call with only a to-do list, your team leaves with the actual Whiteboard, PRD Doc, or financial Sheet drafted and reviewed together live.
  5. Joining Mechanics, Guest Guardrails & Prompt Anatomy — Knowing exactly when Claude enters, when it refuses or leaves, and how to phrase crisp mid-call prompts keeps every session predictable and clutter-free.
  6. Live CRM Lookups & Side-by-Side Interactive Connectors — Instead of pausing a decision while someone shares their screen to dig through five browser tabs, Claude Meetings pulls live numbers from your connected data warehouse and opens native Interactive Connectors (MCP Apps) right beside your call workspace.
  7. Post-Meeting claude.ai Hub & Transcript Ecosystem — The moment you hang up Google Meet, Claude Meetings automatically compiles every spoken detail and co-created deliverable onto one dedicated, internal claude.ai meeting page—while connecting cleanly with the transcript platforms your teams already run.
  8. 5 Real-World Copy-Paste Claude Meetings Recipes — Say any of these prompts aloud (starting clearly with “Claude, ...”), paste them into Google Meet chat mid-call, or run the final recipe inside your dedicated claude.ai meeting hub immediately after hanging up.
  9. Governance, Custom Roles & Security Boundaries — Live call transcription and CRM lookups touch sensitive company discussions. Anthropic enforces visible anti-stealth design, strict external-guest shutoffs, granular Enterprise custom roles, and clear beta exclusions for high-compliance workspaces.
  10. Cross-Tool Synergy: From Calendar Invite to Shipped Work — Claude Meetings acts as the live conversational front door to Anthropic’s workspace suite—connecting Google Calendar, live Google Meet co-editing, Interactive Connectors, the claude.ai post-meeting hub, partner intelligence platforms, and Claude Code.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this diagnostic clinic whenever Claude unexpectedly skips or leaves a Google Meet call, a connector quota warning appears, or an Enterprise toggle is hidden—followed by our 6-point meeting readiness checklist.

### Claude Duet

> Operating Anthropic's proactive Opus 5.5 cloud chief of staff—delivering Morning Briefs, persistent Cloud VM and headless browser sweeps, topic Channels, and Human-in-the-Loop approval gates.

- Web: https://twelve-pages.com/guides/claude/claude-duet
- Markdown: https://twelve-pages.com/guides/claude/claude-duet.md
- PDF: https://twelve-pages.com/guides/claude/claude-duet/Claude_Duet_Complete_How_To_Guide.pdf (960 KB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Proactive Morning Brief, Persistent Cloud VM & Browser, Claude Opus 5.5 Engine, Chat, Tasks & Make Tabs, Shared Memory & Skills, HITL Approval Gates
- Core Takeaways:
  - It Messages You First: Instead of waiting for prompts, Duet sweeps Gmail, Calendar, Slack, and connected apps every few hours and sends a concise Morning Brief of real decisions.
  - Works While Your Laptop Sleeps: Every task executes inside an isolated Cloud VM with a headless browser on Anthropic servers—finishing deep research or financial forecasts with your phone powered off.
  - Autonomous Read, Gated Write: Duet researches, models, and drafts freely overnight, yet hard-stops behind an Approval Gate with full payload previews before sending, paying, signing, or deleting.
- Chapters:
  1. From Reactive Chat to an Always-On Cloud Chief of Staff — Traditional AI chat sits completely silent until you open a browser tab and type a prompt. Launched on October 21, 2026 as a research preview powered by Claude Opus 5.5, Claude Duet flips that relationship upside down: it monitors your connected tools asynchronously in the cloud and reaches out only when something genuinely deserves your judgment.
  2. Plans, Usage Quotas & Ecosystem Decision Matrix — Claude Duet debuted on October 21, 2026 as a US waitlist research preview across standalone iOS, Android, and web (claude.ai)—drawing directly from your subscription’s unified model usage pool at no extra monthly fee.
  3. Annotated Tour: Inside the Claude Duet Studio — Whether opened on iOS, Android, or claude.ai, Claude Duet organizes proactive intelligence across three main tabs (Chat, Tasks, and Make) alongside topic Channels, Morning Briefs inside Chat, and an unmistakable HITL Approval Gate.
  4. Mastering the Morning Brief & Overnight Sweeps — Most professionals start their morning drowning in 90 unread emails, 14 Slack channels, and double-booked calendar invites. Duet’s Morning Brief (Claude Digest) clears that clutter before your alarm rings—handing you only high-leverage choices with replies already written.
  5. Cloud VM, Headless Browser & Routine Prompt Anatomy — Unlike mobile chat wrappers that pause the moment your screen dims, Claude Duet commands an isolated Cloud Virtual Machine with a built-in headless cloud browser and execution sandbox—turning multi-hour research and modeling into async background jobs.
  6. Organizing Work Into Channels With Unified Memory & Skills — Asking one continuous chat thread to manage payroll, executive hiring, and a product launch quickly creates mental whiplash. Duet’s Channels separate workstreams into clean, purpose-built rooms while sharing one unified Claude Memory and Skills brain underneath.
  7. The Human-in-the-Loop (HITL) Approval Gate — Proactive autonomy only earns trust when an agent knows exactly where preparation stops and irreversible action begins. Claude Duet enforces a hard architectural boundary between autonomous background prep and external state-changing writes.
  8. 5 Real-World Copy-Paste Claude Duet Recipes — Drop any of these production-ready blueprints into a dedicated Duet Channel or the Make tab. Each recipe pairs tight connector boundaries with a concrete Make deliverable and explicit Approval Gate pause.
  9. Security Boundaries, Privacy & Research Preview Governance — Granting an always-on cloud agent access to email, calendars, and financial tools demands rigorous engineering safeguards—and honest clarity about which compliance controls exist today during the Research Preview versus commercial Team and Enterprise plans.
  10. Cross-Tool Synergy: From Duet Morning Brief to Shipped Work — Claude Duet is your 24/7 radar and morning dispatcher—not an isolated silo. Because it shares unified Claude Memory, Skills, and account connectors, overnight discoveries flow effortlessly into Claude Projects, Sheets, Cowork, and Claude Code.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this diagnostic clinic whenever background sweeps hit quota walls, Morning Briefs feel chatty, or an expected write pauses waiting for review—followed by a 6-point launch readiness checklist.

### Claude Design

> Turning real codebases and brand guidelines into on-brand interactive prototypes, wireframes, decks, and product one-pagers—with live Control Knobs, inline comments, and Figma MCP or Claude Code handoffs.

- Web: https://twelve-pages.com/guides/claude/claude-design
- Markdown: https://twelve-pages.com/guides/claude/claude-design.md
- PDF: https://twelve-pages.com/guides/claude/claude-design/Claude_Design_Complete_How_To_Guide.pdf (3.2 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Codebase & Brand Onboarding, 4 Visual Deliverable Modes, Live Studio Control Knobs, Inline Comments & Direct Tweaks, Figma MCP & Code Connect, Claude Code & Gamma Export
- Core Takeaways:
  - Never Start Off-Brand: Ingest React, Tailwind, shadcn/ui, tokens.json, and brand PDFs during onboarding so every frame uses your real system tokens.
  - Dial, Comment, Tweak Live: Adjust layout density, dark mode, type scale, radii, and variants through live Control Knobs and inline pins without hand-editing code.
  - Round-Trip Everywhere: Sync editable auto-layout layers via Figma MCP & Code Connect, hand components to Claude Code, or export to Gamma and headless stacks.
- Chapters:
  1. Bridging Conversation, Brand Systems, and Real Code — Generic AI UI generators invent throwaway buttons and mismatched fonts on every prompt. Anthropic Labs built Claude Design as an interactive visual prototyping studio grounded in your team’s living Design System—so conversational ideas look and behave like your actual product from Draft 1.
  2. Plans, Activation & Design Surface Decision Matrix — Born in Anthropic Labs, Claude Design runs natively inside main claude.ai (chat & Artifacts tab), Claude Desktop, mobile apps, and Claude Code (/design)—as standalone claude.ai/design closes on Dec 14, 2026.
  3. Annotated Tour: Inside the Claude Design Studio — Every Claude Design session unites three live panels: a brand-aware prompt and comment stream on the left, an interactive clickable preview canvas in the center, and real-time Control Knobs on the right.
  4. Codebase & Brand Onboarding: Your Living Design System — The secret to shipping production-grade visuals in Claude Design happens in the first two minutes. During onboarding, Claude ingests your actual frontend codebase and brand assets to construct a reusable Design System that governs every prototype, deck, and one-pager.
  5. The 4 Deliverable Modes & 5-Part Prompt Anatomy — Once your Design System is locked in, a single workspace switches smoothly across four core output formats—serving product, design, engineering, and marketing workflows without shifting tools.
  6. Refining Live: Control Knobs, Comments & Variants — Traditional AI chat tools punish small visual tweaks: asking to “make cards slightly tighter and softer” often triggers a slow full-screen rewrite that scrambles copy you already approved. Claude Design gives you three fast, surgical refinement levers.
  7. Bidirectional Handoffs: Figma, Claude Code & Web Stacks — Design momentum collapses when prototypes stay trapped as throwaway mockups. Claude Design provides clean round-trip bridges into Figma, Claude Code, Gamma, and modern headless web architectures.
  8. 5 Real-World Copy-Paste Claude Design Recipes — Paste any recipe below into Claude Design with your published Design System active to produce high-precision prototypes, UX wireframes, slide decks, product one-pagers, or Figma-to-Code round-trips immediately.
  9. Collaboration, Org Governance & Sharing Permissions — Interactive prototypes often reveal unannounced features, pricing models, and proprietary design tokens. Claude Design enforces org-scoped sharing boundaries, role-based review controls, and Design System governance across every tier.
  10. Cross-Tool Synergy: From Discovery to Shipped Code — Claude Design acts as the visual synthesis hub in Anthropic’s wider ecosystem—converting early strategy from Claude Meetings, Projects, and Whiteboards into living prototypes that flow smoothly into Figma, Gamma, Claude Code, and Claude Security.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this diagnostic reference whenever generated screens drift off-brand, Control Knobs behave unexpectedly, or a Figma/Code handoff needs repair—followed by our 6-point launch checklist.

### Claude Code Projects & Proactive Coordinator

> Orchestrating parallel cloud worker branches with Claude Fable 5.2, Opus 5.5, and Haiku 5.5 alongside the Session Rail HUD, /btw and /fork context hygiene, Background MCP tasks, and identity safeguards.

- Web: https://twelve-pages.com/guides/claude/claude-code-projects-and-coordinator
- Markdown: https://twelve-pages.com/guides/claude/claude-code-projects-and-coordinator.md
- PDF: https://twelve-pages.com/guides/claude/claude-code-projects-and-coordinator/Claude_Code_Projects_and_Coordinator_Complete_How_To_Guide.pdf (2.8 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Proactive Coordinator, Parallel Cloud Branches, Fable 5.2 • 2.5x Fast Mode, /btw • /fork • /rewind, Session Rail HUD, Background MCP & Jupyter
- Core Takeaways:
  - Coordinated Cloud Fleet: Dispatch full cloud Claude Code workers across isolated repository copies and Git branches while one parent coordinator reconciles diffs.
  - Zero-Pollution Context: Spin off side questions with /btw, explore competing implementations with /fork, and roll back cleanly via /rewind or /clear.
  - Non-Blocking & Guarded: Track subagents in the Session Rail HUD, run async Background MCP tasks, sync Jupyter cells live, and lock down client-identity leaks.
- Chapters:
  1. From Static Context Folder to Proactive Engineering Hub — Earlier versions of Projects acted like passive filing cabinets holding pinned docs while you drove every coding step by hand. In November 2026, Anthropic transformed Claude Code Projects into a cloud-backed multi-agent workspace—led by a Proactive Coordinator that plans, delegates, monitors, and reconciles work across parallel branches automatically.
  2. Model Tiers, Cloud Setup & Coordination Decision Matrix — Pairing the right Claude model tier with the right execution pattern keeps multi-agent engineering blazingly fast without burning through your context or rate limits. Use the setup guide and comparison matrix below to pick the cleanest surface for every task.
  3. Annotated Tour: Session Rail HUD & Coordinated Studio — Inside Claude Code Desktop, VS Code, and claude.ai/code, the unified Project Studio pairs your conversational Coordinator on the left with the live Session Rail HUD on the right—tracking workers, context meters, and async MCP jobs in real time.
  4. Proactive Coordinator & Parallel Branch Reconciliation — Instead of manually juggling five terminal tabs and copying diffs by hand, the Proactive Coordinator acts as your automated tech lead—fanning tasks across isolated cloud Claude Code sessions and bringing cleanly reconciled branches back to one thread.
  5. Context Hygiene: /btw, /fork, /rewind & Directive Anatomy — Multi-hour coding sessions fail when tangential questions, dead-end refactors, and raw stack traces pollute the Coordinator’s context window. Keep your primary timeline razor-sharp with four dedicated context-hygiene controls.
  6. Background MCP Tasks & Live Jupyter Notebook Cell Sync — Slow integration test suites, warehouse exports, and interactive data notebooks no longer hold your terminal hostage. Background MCP routing and real-time Jupyter cell sync let engineering and data exploration run smoothly side by side.
  7. Expanded Auto-Mode Gateway & Client-Identity Safeguards — Giving autonomous cloud workers and MCP tools room to move fast requires guardrails that stop dangerous commands and block subtle privacy leaks. November 2026 releases pair expanded Auto-Mode gateway policies with strict client-identity protections.
  8. 5 Real-World Copy-Paste Project & Coordinator Recipes — Use these concrete, ready-to-run prompts and slash-command flows inside any connected Claude Code Project to dispatch cloud worker branches, isolate side investigations, and reconcile verified code cleanly.
  9. Team Collaboration, Enterprise Governance & Safety Matrix — Scaling Claude Code Projects from solo hacker sessions to an engineering organization means giving teammates transparent visibility without exposing secrets, risking accidental branch edits, or bypassing compliance gateways.
  10. Cross-Tool Synergy: From Spec to Reconciled Production PRs — Claude Code Projects acts as the execution hub of the broader Anthropic workspace—turning spatial roadmaps from Claude Whiteboards and Design specs into coordinated parallel branches verified by Claude Security and remote MCP tools.
  11. Troubleshooting Clinic & Coordinator Pre-Flight — Use this diagnostic reference whenever parallel workers hit merge conflicts, async MCP tasks stall, or safety policies trigger unexpected blocks—followed by our 6-point checklist before launching multi-branch sprints.

### Claude Security & Mythos 5.2

> Deploying continuous, reasoning-driven application security with Claude Mythos 5.2—mastering Deep Baseline Scans, living Threat Models, automated fix verification, and Claude Code MCP remediation.

- Web: https://twelve-pages.com/guides/claude/claude-security-and-mythos
- Markdown: https://twelve-pages.com/guides/claude/claude-security-and-mythos.md
- PDF: https://twelve-pages.com/guides/claude/claude-security-and-mythos/Claude_Security_and_Mythos_Complete_How_To_Guide.pdf (3.5 MB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Mythos 5.2 (89.6% CVE Score), Deep Baseline & Threat Model, Continuous Commit Scanning, Auto Fix-Lifecycle Tracking, Claude Security MCP Connector, Management API & Webhooks
- Core Takeaways:
  - Reasons Like a Researcher: Traces multi-file data flows, cross-service auth bypasses, IDORs, and subtle race conditions instead of relying on noisy regex patterns.
  - Living Threat Model Memory: Generates an editable, repository-grounded threat topology on day one, then scores every new commit against real production reachability.
  - Closed-Loop Remediation: Automatically verifies fixes when commits land, reopens regressions, and pipes live findings directly into Claude Code via MCP.
- Chapters:
  1. Beyond Pattern Matching: Reasoning-Driven Application Security — Traditional static security scanners inspect one file at a time against rigid rule signatures, drowning engineering teams in false alarms while missing the clever multi-file logic flaws attackers actually exploit. In November 2026, Anthropic expanded Claude Security into public beta for Claude Enterprise, powered by Claude Mythos 5.2—a frontier reasoning engine built to hunt, verify, and track real vulnerabilities end to end.
  2. Setup, Verification Programs & AppSec Decision Matrix — Whether you are securing private corporate microservices inside Claude Enterprise or hardening critical open-source software through Anthropic’s vetted researcher programs, understanding how Mythos 5.2 access is packaged gets your team scanning in minutes.
  3. Annotated Tour: Inside the Claude Security Console — The Claude Security console unifies your project’s editable architecture assumptions, Mythos 5.2 findings, stateful fix verification, and developer MCP handoffs inside one clean workspace.
  4. Deep Baseline Scans & Living Project Threat Models — Why do legacy scanners raise thousands of pointless alerts? Because they do not know which services face the public internet, where authentication happens, or which tables store sensitive keys. Claude Security solves this on day one with a Deep Baseline Scan that builds your editable Project Threat Model.
  5. Stochastic Deep Reasoning & 5-Part Audit Anatomy — Attackers rarely exploit obvious textbook typos anymore—they chain subtle authorization assumptions across multiple files and asynchronous jobs. Here are the five vulnerability classes where Mythos 5.2 shines, plus the 5-part formula for steering Threat Models and Claude Code audits.
  6. Continuous Commit Monitoring & Auto Fix-Lifecycle Tracking — Anthropic’s Project Glasswing coalition surfaced an urgent lesson: frontier AI uncovers deep bugs faster than human teams can track spreadsheets of tickets. Claude Security closes that operational gap with complexity-weighted commit scanning and a stateful fix-lifecycle engine.
  7. MCP Remediation Loop, Management API & Webhooks — Security findings only get fixed quickly when they meet developers inside the editor and fit cleanly into existing SecOps pipelines. Claude Security bridges both worlds with its native MCP Connector and event-driven REST Management API.
  8. 5 Real-World Copy-Paste Security Recipes — Use these production-ready prompts inside Claude Code (with the Claude Security MCP connector enabled) and Claude Security consoles, plus a clean webhook gate pattern for platform teams.
  9. Enterprise Governance, Privacy & Cyber Verification — A frontier model capable of discovering ~89.6% of historical CVEs demands rigorous governance. Anthropic pairs Claude Security with strict enterprise data boundaries, least-privilege repository tokens, and tiered researcher vetting through the Cyber Verification Program (CVP).
  10. Cross-Tool Synergy: From Architecture Spec to Verified Patch — Application security breaks down when architects, security analysts, and developers live in disconnected tools. Connecting Claude Projects, Claude Security (Mythos 5.2), Claude Code, and Claude Docs/Sheets creates a self-healing security loop.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this diagnostic playbook whenever cross-repo traces look incomplete, an internal helper triggers a false alarm, or an MCP session cannot pull live findings—plus our 6-point Enterprise launch checklist.

### Claude Code Channels, Remote Control & Dispatch

> Connect live local terminal sessions to webhooks, CI/CD, Sentry, and chat bridges with Channels, steer active repos from mobile via Remote Control, and isolate cross-device Dispatch runs.

- Web: https://twelve-pages.com/guides/claude/claude-code-channels-and-remote-control
- Markdown: https://twelve-pages.com/guides/claude/claude-code-channels-and-remote-control.md
- PDF: https://twelve-pages.com/guides/claude/claude-code-channels-and-remote-control/Claude_Code_Channels_and_Remote_Control_Complete_How_To_Guide.pdf (2.9 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Event-Driven Channels, Webhooks, CI/CD & Sentry, Telegram & Discord Bridges, Live Mobile Remote Control, Parallel Worktree Spawning, Hardened Sandbox Guardrails
- Core Takeaways:
  - Channels: Always-Warm Intake: Push CI failures, GitHub PR reviews, Sentry exceptions, and Telegram messages directly into an open session over MCP stdio.
  - Remote Control: Local Power Anywhere: Monitor, approve, and steer live local sessions from iOS, Android, or claude.ai/code while keeping local git, files, and MCPs intact.
  - Dispatch & Hardened Boundaries: Navigate cross-device Cowork routing safely with strict pairing allowlists, OS sandboxing, worktree isolation, and Deny → Ask → Allow gates.
- Chapters:
  1. From Desk-Bound Terminals to Continuous Cross-Device Flow — Traditional coding agents freeze the moment you walk away from your keyboard or wait for an engineer to notice a broken build manually. Anthropic’s Channels, Remote Control, and cross-device Dispatch architecture eliminate that bottleneck by wiring live external signals and mobile viewports straight into your active workspace.
  2. Setup, Pairing & Choosing the Right Execution Mode — Channels and Remote Control share one core goal—letting work continue smoothly when you step away from your desk—yet each carries distinct runtime requirements, authentication rules, and ideal workloads.
  3. Annotated Tour: Inside a Channels & Remote Control Bridge — When you combine an active Channel server with Remote Control, your local terminal handles repository reads, isolated Git worktrees, and test execution while syncing every prompt and approval cleanly to your phone.
  4. Claude Code Channels: Turning Alerts Into Autonomous Fixes — Introduced in Claude Code v2.1.80+, Channels invert the normal Model Context Protocol flow. Rather than waiting for Claude to query an external tool, a Channel server runs as a local stdio subprocess and pushes real-time events straight into your open session.
  5. Custom Webhook Channels & Event Anatomy — Building your own Channel for GitHub, GitLab, Sentry, or internal deploy pipelines takes under fifty lines of TypeScript using Bun and the MCP SDK. Every reliable channel follows a clear five-part contract.
  6. Remote Control: Steering Local Sessions From Anywhere — Sometimes you do not want a cloud container—you want the exact repository, environment variables, local database, and stdio MCP tools already running on your computer. Remote Control turns your phone or any browser into a secure live window into that local machine.
  7. Dispatch, Cowork Routing & Hardened Execution — Alongside developer-focused Remote Control, Anthropic launched Dispatch inside Claude Cowork to let knowledge workers send mobile tasks to an awake Claude Desktop app. Examining how Dispatch evolved reveals why hardened sandbox boundaries are mandatory whenever remote surfaces command local machines.
  8. 5 Real-World Copy-Paste Automation Recipes — Put Channels, Remote Control, Git worktrees, and hardened sandbox rules into practice immediately with these five field-tested patterns designed for solo builders and engineering teams.
  9. Security Boundaries, Token Scoping & Hardened Guardrails — Connecting external webhooks, chat bots, and mobile clients to a terminal capable of running shell commands demands defense in depth. Lock down identity, input validation, tool permissions, and filesystem visibility at every boundary.
  10. Cross-Tool Synergy: From Alert to Verified Merge Anywhere — When wired together, Anthropic’s remote capabilities form one cohesive engineering pipeline: webhooks wake a warm session, Git worktrees and OS sandboxes contain every edit, Remote Control puts live diffs in your pocket, and two-way Channels close the loop with your team.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this clinic whenever channel alerts drop silently, Remote Control shows offline on your phone, or sandbox flags fail—followed by a 6-point pre-flight check before leaving a bridge unattended.

### Claude in Chrome & Persistent Memory

> Bridge authenticated Chrome tabs to Claude Code and Claude Desktop for live console and DOM forensics while compounding knowledge via /memories CRUD, CLAUDE.md, and Auto-Dream consolidation.

- Web: https://twelve-pages.com/guides/claude/claude-in-chrome-and-persistent-memory
- Markdown: https://twelve-pages.com/guides/claude/claude-in-chrome-and-persistent-memory.md
- PDF: https://twelve-pages.com/guides/claude/claude-in-chrome-and-persistent-memory/Claude_in_Chrome_and_Persistent_Memory_Complete_How_To_Guide.pdf (3.4 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Live Tab & Session Bridge, Console & Network Forensics, Allowlists & Prompt Safety, /memories CRUD & JIT Recall, CLAUDE.md vs MEMORY.md, Idle Auto-Dream Consolidation
- Core Takeaways:
  - See What Your Browser Sees: Connect claude --chrome and Claude Desktop directly to real logged-in tabs to inspect console logs, failing API calls, and live DOM state.
  - Remember Across Sessions: Pair static CLAUDE.md team rules with dynamic /memories files loaded just in time so prompts stay crisp and token-lean.
  - Self-Cleaning Knowledge: Enforce per-site allowlists, injection classifiers, and background Auto-Dream cycles that resolve stale notes before context bloats.
- Chapters:
  1. Bridging Live Browser Vision With Long-Term Agent Memory — AI assistants traditionally lose their footing in two predictable places: they cannot see the live web app running inside your signed-in browser, and they wake up with total amnesia every time you start a new session. Pairing Claude in Chrome with Anthropic’s Persistent Memory architecture closes both gaps in one seamless loop.
  2. Setup, Extension Permissions & Memory Decision Matrix — Generally available across paid Claude plans (Pro, Max, Team, Ultra, and Enterprise), the Claude in Chrome extension pairs with both Claude Desktop and Claude Code while Anthropic’s memory stack separates human rules from learned state.
  3. Annotated Tour: Chrome Extension Bridge & Memory View — Inside a paired session, the Claude in Chrome side panel shares live tab context, console errors, and permission boundaries directly with your Claude Code terminal or Claude Desktop workspace and persistent /memories store.
  4. Live Chrome QA: Console Forensics & DOM Verification — Copy-pasting browser errors into chat wastes minutes and drops critical context. With claude --chrome or Claude Desktop connected to your extension, Claude drives the actual staging browser, catches runtime errors itself, patches your code, and re-tests immediately.
  5. 5-Part Browser-to-Memory Anatomy & Chrome Shortcuts — Great browser workflows don’t stop at fixing one bug—they isolate the target tab, gather telemetry, verify the patch, save the earned lesson into /memories, and automate repeatable checks as saved Chrome / shortcuts.
  6. Anthropic’s Native /memories Tool & Just-in-Time Recall — Instead of dumping sprawling chat histories into every prompt, Anthropic’s native Memory Tool (memory_20250818) gives Claude a structured /memories filesystem to manage long-term facts across sessions using just-in-time retrieval.
  7. Idle “Dreaming” Consolidation: Curing Agent Memory Rot — After fifteen or twenty busy sessions, raw auto-memory turns messy: yesterday’s workaround contradicts today’s refactor, relative phrases like “last Tuesday” lose meaning, and MEMORY.md overflows its 200-line ceiling. Inspired by biological REM sleep, Anthropic’s Auto-Dream reorganizes memory offline while you rest.
  8. 5 Real-World Copy-Paste Chrome & Memory Recipes — Drop these battle-tested prompts straight into claude --chrome, Claude Desktop, Chrome side-panel shortcuts, or your custom API agent loop to pair live browser inspection with clean persistent memory updates.
  9. Browser Security, Allowlists & Memory Hygiene — Because Claude in Chrome inherits your live cookies and MEMORY.md acts as high-authority startup guidance, browser security and memory sanitization belong in the same threat model.
  10. Cross-Tool Synergy: Live Browser to Living Memory — When connected end to end, Claude in Chrome, Claude Desktop, Claude Code, /memories CRUD, and Auto-Dream form a closed engineering flywheel where every debugging session accelerates every session that follows.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Keep this rapid-diagnostic guide nearby whenever the Chrome extension drops its bridge, a site permission blocks unexpectedly, or MEMORY.md trims older facts—followed by your 6-point launch checklist.

## OpenAI Codex, Agents & Realtime Studios (5 Handbooks)

Topic Hub: https://twelve-pages.com/topics/openai

Publication-grade 12-page visual handbooks for OpenAI's agentic developer and workspace platform—covering Codex CLI & Codex Cloud, the OpenAI Agents API & SDK, ChatGPT Projects, Memory & Deep Research, ChatGPT Canvas, Spaces & Computer Use, and low-latency Realtime Voice & Vision agents.

### OpenAI Codex CLI & Codex Cloud

> Configure TOML sandboxes, AGENTS.md constitutions, on-demand SKILL.md modules, GPT-6.1 Sol tiers, and parallel Codex Cloud PR containers.

- Web: https://twelve-pages.com/guides/openai/codex-cli-and-cloud
- Markdown: https://twelve-pages.com/guides/openai/codex-cli-and-cloud.md
- PDF: https://twelve-pages.com/guides/openai/codex-cli-and-cloud/OpenAI_Codex_CLI_and_Cloud_Complete_How_To_Guide.pdf (1.1 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: ~/.codex/config.toml, AGENTS.md, SKILL.md Modules, GPT-6.1 Sol, 3 Sandbox Tiers, Cloud PR Fleet
- Core Takeaways:
  - Sandboxed Terminal Speed: Run rapid edit-test loops locally on GPT-6.1 Sol with deterministic read-only, workspace-write, and danger-full-access isolation.
  - Hierarchical Repo Memory: Encode team rules once in AGENTS.md and keep base prompts lean via progressive SKILL.md modules.
  - Parallel Cloud PR Fleet: Hand off heavy migrations and overnight issue queues via /cloud into isolated containers that ship tested PRs.
- Chapters:
  1. Local Terminal Speed Meets Isolated Cloud Fleet — Modern software engineering splits naturally into two rhythms: tight, interactive problem solving at your keyboard and heavy, parallelizable chores you would rather delegate overnight. Codex bridges both with one unified configuration, rulebook, and skill format.
  2. Setup, GPT-6.1 Sol & Approval-Sandbox Matrix — Getting started with Codex CLI takes under sixty seconds. Install the binary, authenticate with your ChatGPT or OpenAI API account, and choose the narrowest sandbox and approval pairing your current task requires.
  3. Annotated Tour: Codex CLI Terminal Cockpit — Codex CLI packs policy awareness, live diffs, sandbox boundaries, and cloud handoff into one keyboard-first terminal cockpit. Study these seven touchpoints before running your first autonomous loop.
  4. Mastering config.toml, MCPs & AGENTS.md — Two plain-text files govern almost everything Codex does: ~/.codex/config.toml controls your model, sandbox defaults, and MCP tools, while hierarchical AGENTS.md files serve as your repository’s living engineering constitution.
  5. On-Demand Skills: Keep Context Lean with SKILL.md — Stuffing twenty playbooks into AGENTS.md wastes precious context tokens and distracts the model. Codex solves this with progressive disclosure: only tiny skill names and trigger descriptions load at startup, while full SKILL.md instructions load only when a task matches.
  6. Terminal Power Workflows with GPT-6.1 Sol — Because GPT-6.1 Sol pairs a 500k default (1.05M max) token window with low-latency tool execution, Codex CLI shines at tight verify-as-you-go loops. Give it a concrete verification signal up front and watch it self-correct before you review a single line.
  7. Codex Cloud Fleets: Parallel Containers to Clean PRs — When a task spans dozens of packages, takes twenty minutes of test suites, or repeats across multiple services, stop babysitting one terminal tab. Codex Cloud clones your repo into isolated cloud containers that run for hours or days and return review-ready PRs.
  8. 5 Real-World Copy-Paste Recipes — Adapt these five battle-tested blueprints for your daily engineering workflow. Notice how each pairs the right sandbox tier with a concrete verification command or Cloud PR handoff.
  9. Security, Secret Hygiene & Enterprise Governance — Autonomous agents move fast—which makes clear boundaries non-negotiable. Codex separates build-time setup secrets from runtime environment access and disables untrusted outbound networking by default so credentials never leak through generated code or logs.
  10. Cross-Tool Synergy: From Terminal Prototype to Production Fleet — Codex does not live in isolation. It forms the engineering backbone of OpenAI’s broader ecosystem—connecting rapid local terminal exploration, scalable Cloud pull-request fleets, and custom production agents built with the OpenAI Agents SDK or ChatGPT Spaces.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Most Codex CLI or Codex Cloud hiccups trace back to one of seven predictable setup or sandbox snags. Use these ten-second fixes to get unblocked fast, then verify your repo with the pre-flight checklist.

### OpenAI Agents API & SDK

> Architect production multi-agent systems with handoffs, Agents-as-Tools, parallel input/output guardrails, built-in tracing, and stateful MCP sessions.

- Web: https://twelve-pages.com/guides/openai/agents-api-and-sdk
- Markdown: https://twelve-pages.com/guides/openai/agents-api-and-sdk.md
- PDF: https://twelve-pages.com/guides/openai/agents-api-and-sdk/OpenAI_Agents_API_and_SDK_Complete_How_To_Guide.pdf (2.6 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Python & TypeScript, Managed Agents API, Handoffs & Tools, Parallel Guardrails, Built-In Tracing, Redis & MCP State
- Core Takeaways:
  - Minimal Core Primitives: Build deterministic agent loops using just Agent, Runner, tools, handoffs, and guardrails—with zero bloated abstractions.
  - Parallel Safety & Traces: Run fast input/output guardrails alongside model turns and inspect every span, latency spike, and token cost out of the box.
  - Portable State & MCP: Graduate seamlessly from local SQLiteSession prototypes to Redis clusters and persistent MCP servers or the hosted Agents API.
- Chapters:
  1. Minimal Primitives, Production Harness — OpenAI’s Agents SDK—published as openai-agents for Python and @openai/agents for TypeScript—turns the experimental simplicity of Swarm into a battle-tested runtime, paired with the managed Agents API when you want OpenAI to host the loop for you.
  2. Installation, Language Parity & Decision Matrix — Both the Python and TypeScript SDKs share nearly identical concepts and defaults. Install your language runtime in one command, export OPENAI_API_KEY, and decide whether your loop runs in your own app process or inside OpenAI’s managed Agents API.
  3. Annotated Tour: OpenAI Traces & Run Inspector — Every run in the Agents SDK and Agents API emits a nested tree of spans automatically. Here are the seven diagnostic touchpoints inside the OpenAI Traces dashboard for spotting latency, handoff errors, and guardrail hits in seconds.
  4. Orchestration: Handoffs vs. Agents-as-Tools — Multi-agent engineering boils down to one architectural choice: should the specialist take over the conversation and speak directly to the user (Handoff), or perform a focused subtask and return data to a central manager (Agent-as-Tool)?
  5. Structured Tool Contracts & Typed Outputs — Reliable agents never rely on regex parsing. The Agents SDK generates strict JSON Schemas straight from your Python type hints (Pydantic) or TypeScript Zod definitions—and automatically feeds validation errors back to the model for deterministic self-correction.
  6. Defense-in-Depth Guardrails & Built-In Tracing — Treat prompts as guidance and Guardrails as enforceable gates. By running fast lightweight classifiers in parallel with your main agent, you block prompt injections, PII leaks, and off-topic abuse without adding extra serial latency.
  7. Durable State & Stateful MCP Server Sessions — Stateless scripts forget everything after one reply. The Agents SDK provides a drop-in Session protocol—starting with zero-setup SQLiteSession locally and scaling horizontally with RedisSession—alongside first-class connectors for persistent MCP tool servers.
  8. 5 Real-World Copy-Paste Recipes — Drop these five proven architectural patterns straight into your Python or TypeScript service. Each recipe pairs the exact SDK primitives needed for fast, deterministic execution.
  9. Production Ops, Evals & Cost Control — Shipping agents to production requires predictable latency, strict loop budgets, and continuous regression testing. The SDK exposes clean hooks for custom telemetry pipelines, eval datasets, and tiered model routing.
  10. Cross-Tool Synergy: Full OpenAI Agent Stack — The Agents API and SDK sit at the center of OpenAI’s builder ecosystem—connecting developer-built tools from Codex CLI, sub-second Realtime Voice interfaces, and visual Canvas / Spaces human-in-the-loop checkpoints into one cohesive architecture.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Almost every multi-agent bug traces back to one of seven well-known runtime traps. Use this quick clinic to diagnose failures in ten seconds, then clear the six-point pre-flight checklist before shipping to production.

### ChatGPT Canvas, Spaces & Computer Use

> Master surgical split-pane Canvas diffs, multiplayer Spaces and Pages, and gated Agent Mode browser and desktop workflows.

- Web: https://twelve-pages.com/guides/openai/chatgpt-canvas-and-spaces
- Markdown: https://twelve-pages.com/guides/openai/chatgpt-canvas-and-spaces.md
- PDF: https://twelve-pages.com/guides/openai/chatgpt-canvas-and-spaces/ChatGPT_Canvas_Spaces_and_Computer_Use_Complete_How_To_Guide.pdf (930 KB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Split-Pane Canvas, Inline Shortcuts, Version Diffs, Multiplayer Spaces, Shared Pages, Gated Computer Use
- Core Takeaways:
  - Surgical Split-Pane Canvas: Highlight exact paragraphs or code blocks for targeted rewrites, inline comments, live React previews, and instant diff rollbacks.
  - Multiplayer Spaces & Pages: Unite teammates, persistent files, custom instructions, and living co-authored Pages in one shared workspace.
  - Gated Computer Execution: Delegate multi-step browser and connector workflows across Slack, Drive, and Salesforce behind explicit approval gates.
- Chapters:
  1. From Single-Player Chat to Multiplayer & Delegated Work — Traditional chat threads force you to scroll endlessly through linear replies whenever you revise a document, share context with a team, or ask an assistant to act in another app. ChatGPT separates those jobs into three purpose-built surfaces: Canvas for surgical co-editing, Spaces & Pages for multiplayer collaboration, and Agent Mode / Computer Use for delegated execution.
  2. Surface & Entitlement Decision Matrix — Every ChatGPT tier unlocks different limits across collaborative workspaces and autonomous virtual computers. Use the tables below to verify what your plan includes and pick the right surface before starting a project.
  3. Annotated Tour: Canvas Split-Pane & Space Controls — When Canvas opens inside a Space or chat, ChatGPT shifts from a single scrolling column into a synchronized dual-pane studio. Learn the seven controls below to steer edits without accidentally rewriting healthy work.
  4. Mastering Canvas Surgical Edits — The fastest way to ruin a strong draft in standard chat is asking for a small tweak and watching the model rewrite paragraphs you already approved. Canvas eliminates collateral drift by pairing region highlighting with targeted shortcuts, inline review pins, live UI previews, and reversible version diffs.
  5. Prompt Anatomy for Surgical Canvas & Shared Spaces — Vague prompts trigger whole-document rewrites and drift across team sessions. Use these six color-coded building blocks to lock scope inside Canvas and give shared Spaces crisp, durable rules that every teammate’s thread respects.
  6. Projects vs. Multiplayer Spaces & Live Pages — OpenAI evolved the older solo Library mindset into two distinct layers: private Projects for personal deep work, and multiplayer Spaces anchored by living Pages where human teammates, ChatGPT, and specialized agents share one persistent source of truth.
  7. Agent Mode & ChatGPT Work Computer Use — When information lives behind authenticated web portals or spans multiple business apps, copy-pasting screenshots slows you down. Agent Mode equips ChatGPT with a sandboxed virtual browser, terminal, and authorized connectors—executing multi-step workflows while pausing at strict human confirmation gates before irreversible actions.
  8. 5 Real-World Copy-Paste Recipes — Drop any prompt below straight into ChatGPT Canvas, a team Space, or an Agent Mode session. Each recipe pairs tight scoping with explicit output targets and safe confirmation boundaries so you get production-grade results on the first run.
  9. Workspace Governance, Permissions & Boundaries — Multiplayer Spaces and virtual computers multiply team velocity—which means permissions, connector scopes, and training boundaries must be crystal clear before you invite colleagues or connect production systems.
  10. Cross-Tool Synergy: From Space Page to Production — ChatGPT Canvas and Spaces sit at the front of OpenAI’s product stack. Once your team aligns on a spec inside a living Space Page and validates a UI prototype in Canvas, you can hand clean requirements straight into Codex CLI / Cloud PRs and automate recurring workflows with the OpenAI Agents SDK.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Most workspace snags come from ambiguous scope, preview sandbox rules, or paused authentication gates. Keep this seven-issue diagnostic chart handy for ten-second fixes.

### OpenAI Realtime Voice & Vision

> Build sub-second speech-to-speech and live vision agents across WebRTC, WebSockets, and SIP telephony with native VAD barge-in and async MCP.

- Web: https://twelve-pages.com/guides/openai/realtime-voice-and-vision
- Markdown: https://twelve-pages.com/guides/openai/realtime-voice-and-vision.md
- PDF: https://twelve-pages.com/guides/openai/realtime-voice-and-vision/OpenAI_Realtime_Voice_and_Vision_Complete_How_To_Guide.pdf (2.6 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: gpt-realtime-2.1, WebRTC Ephemeral Auth, SIP / PSTN Bridge, addImage() Vision, VAD Barge-In, Async MCP Calls
- Core Takeaways:
  - Native Speech-to-Speech: Stream audio directly in and out at ~250ms latency while preserving tone, laughter, hesitation, and natural cadence.
  - Live Camera & Screen Vision: Inject camera or screen frames mid-conversation with addImage() so the assistant sees what you see without stalling audio.
  - Full-Duplex & Async Tools: Interrupt cleanly with interrupt() and run slow CRM or DB lookups off the audio thread via tool() & hostedMcpTool().
- Chapters:
  1. Single-Model Speech-to-Speech & Live Vision — Traditional voice bots chain three separate models together—speech-to-text, a text LLM, and text-to-speech—introducing awkward 1.5–3 second pauses and erasing vocal emotion. OpenAI’s gpt-realtime-2.1 processes audio and visual frames inside one native multimodal stream.
  2. Model Tiers & Transport Selection Matrix — Every Realtime build begins with two architectural choices: which native speech-to-speech model fits your reasoning and budget profile, and which network transport carries your audio frames cleanly from the user’s device to OpenAI.
  3. Annotated Tour: Realtime Session Inspector — Unlike stateless text chat, a Realtime session coordinates audio waveforms, camera frames, voice activity boundaries, and background tool calls simultaneously. Here are the seven live telemetry points inside a healthy session.
  4. WebRTC Ephemeral Secrets, WebSockets & SIP — Golden Rule: Never embed your permanent OPENAI_API_KEY in browser JavaScript or mobile bundles. Instead, mint a single-use ephemeral key on your backend via POST /v1/realtime/client_secrets and hand only that short-lived token to the client.
  5. Live Vision via addImage() & Voice Personas — Unlike text models where you upload an image and wait for a turn, addImage() lets your app push camera or screen frames silently into an ongoing voice conversation—giving the assistant shared eyes without interrupting audio.
  6. Native VAD, Barge-In & Async MCP Calls — Natural conversation demands two hard engineering guarantees: when the user cuts in, buffered assistant audio must stop within milliseconds; and when the model runs a slow database query, the voice channel must never go dead silent.
  7. Production Audio Hygiene & Guardrails — Ninety percent of “the AI interrupted itself” or “the phone audio sounded robotic” bug reports are acoustic and codec hygiene issues—not model defects. Lock down these four production layers before going live.
  8. 5 Real-World Copy-Paste Recipes — Use these five field-tested patterns to go from blank repository to production-grade voice and vision experiences—pairing the right model, transport, and tool mechanics for each job.
  9. Latency Budgeting, Telemetry & Recovery — Sub-second voice feels effortless only when every hop in the audio path stays inside budget. Instrument these four timing checkpoints and build clean reconnect logic before exposing mobile users to spotty cellular handoffs.
  10. Cross-Tool Synergy: Voice to Specialist Agents — Realtime models shine at low-latency conversation and live visual triage—not deep 30-second code or SQL reasoning. Pair your Realtime frontend with background Agents SDK specialists and post-call ChatGPT Spaces Pages.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Almost every Realtime production hiccup maps to one of these seven transport, audio, or token issues. Run through this clinic and the six-point checklist before shipping to users.

### ChatGPT Projects, Memory & Deep Research

> Organize durable workspaces inside ChatGPT Projects, seal confidential work behind Project-Only Memory walls, steer autonomous Deep Research plans, and schedule proactive Tasks & Dots briefings.

- Web: https://twelve-pages.com/guides/openai/chatgpt-projects-memory-and-deep-research
- Markdown: https://twelve-pages.com/guides/openai/chatgpt-projects-memory-and-deep-research.md
- PDF: https://twelve-pages.com/guides/openai/chatgpt-projects-memory-and-deep-research/ChatGPT_Projects_Memory_and_Deep_Research_Complete_How_To_Guide.pdf (3.1 MB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Project Instructions & Files, Project-Only Memory Isolation, Autonomous Deep Research, Plan Edit & Live Steering, Scheduled Tasks & Dots, Canvas & Spaces Handoffs
- Core Takeaways:
  - Scoped Project Vaults: Bundle overriding instructions, sibling conversations, and up to 40 canonical reference files inside a clean workspace container.
  - Zero-Leak Memory Walls: Switch on Project-Only memory to seal confidential work away from personal chat history—and lock shared team workspaces automatically.
  - Steered Deep Synthesis: Review and edit multi-step research plans before launch, steer live browsing, verify citations, and export directly into Canvas or Spaces.
- Chapters:
  1. Moving From Ephemeral Chats to Compounding Knowledge — Treating ChatGPT like a blank scratchpad means re-uploading the same PDFs every Monday, accidentally mixing personal preferences into client briefs, and sifting through unverified web summaries. In 2026, ChatGPT organizes durable work around three interlocking pillars: Projects for structured context, Memory Boundaries for privacy, and Deep Research & Proactive Tasks for autonomous synthesis.
  2. Plans, Quotas, Setup & Memory Isolation Matrix — In 2026, OpenAI unlocks Projects, Deep Research, and Scheduled Tasks across consumer and enterprise tiers with distinct file limits, reset windows, and privacy guarantees.
  3. Annotated Tour: Inside Projects & Deep Research — When you launch a Deep Research run inside a ChatGPT Project, the interface pairs your isolated project vault on the left with a structured, editable research viewer on the right—keeping memory walls, reference PDFs, live steering, and citations in one workspace.
  4. Mastering Projects & Memory Isolation Walls — Most ChatGPT memory mistakes happen silently: you switch from planning a weekend trip to reviewing an acquisition NDA, and personal preferences spill into the draft. Configuring Projects with intentional memory walls stops cross-contamination before it starts.
  5. Color-Coded Project & Deep Research Anatomy — Vague research prompts waste Deep Research monthly allowances on generic blog summaries. Combining these six color-coded clauses keeps your Project instructions airtight and steers Deep Research toward primary sources on the very first pass.
  6. Autonomous Deep Research: Steer, Verify & Ship — Powered by OpenAI’s GPT-5 reasoning stack (with faster lightweight runs and exhaustive full passes), Deep Research spends 5 to 30 minutes autonomously browsing the web, reading your uploaded Project files, and checking connected workspace apps before returning a cited dossier.
  7. Proactive Tasks, Dots & Canvas / Spaces Handoffs — In 2026, ChatGPT moved from waiting for prompts to working proactively while you sleep. OpenAI retired the early Pulse morning card feed in mid-2026, unifying automation around user-steerable Scheduled Tasks and always-on ChatGPT Dots—which feed cleanly into Canvas and Spaces.
  8. 5 Real-World Copy-Paste Field Recipes — Drop any blueprint below straight into your Project settings, a new Deep Research session, or the Scheduled tasks prompt box. Every recipe specifies exact isolation rules, source priority, and handoff formatting so you skip rework.
  9. Privacy, Team Sharing & Memory Governance — Persistent memory and connected-app Deep Research touch your organization’s most sensitive documents. Knowing exactly when OpenAI trains on data, how shared Projects wall off personal memories, and when to reach for Temporary Chat keeps your workspace audit-ready.
  10. Cross-Tool Synergy: The Compounding Knowledge Loop — When you connect Projects, Deep Research, Scheduled Tasks & Dots, Canvas & Spaces, and Codex into one continuous loop, every completed research sprint strengthens the foundation for your next launch.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this field clinic whenever personal memories bleed into a client folder, Deep Research chases low-quality blogs, or a Scheduled Task lands late—followed by our 6-point setup checklist before starting a major research sprint.

## Vercel & Full-Stack AI Applications (4 Handbooks)

Topic Hub: https://twelve-pages.com/topics/vercel

Publication-grade 12-page visual handbooks for building production full-stack AI applications on Vercel—covering AI SDK 7 & AI Gateway, Durable Agents with eve, Workflow 5 & Queues, Next.js 16.4+ Cache Components & Partial Prefetching, and multi-platform bots with the Vercel Chat SDK.

### Vercel AI SDK 7 & AI Gateway

> Stream typed UI messages, ToolLoopAgent runs, and structured Output.object() calls through Vercel AI Gateway with OIDC auth, virtual models, budgets, and automatic provider failover.

- Web: https://twelve-pages.com/guides/vercel/ai-sdk-and-gateway
- Markdown: https://twelve-pages.com/guides/vercel/ai-sdk-and-gateway.md
- PDF: https://twelve-pages.com/guides/vercel/ai-sdk-and-gateway/Vercel_AI_SDK_and_Gateway_Complete_How_To_Guide.pdf (2.8 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Node 24 Fluid Compute, AI Gateway Routing, ToolLoopAgent, Output.object(), useChat & message.parts, Virtual Models & Budgets
- Core Takeaways:
  - One Unified TypeScript API: Call any foundation model via plain provider/model strings with shared streaming, tools, and structured schemas.
  - Automatic Provider Failover: Route around outages and rate limits across upstream hosts using VERCEL_OIDC_TOKEN, Virtual Models, and spend budgets.
  - Fluid Compute Streaming: Stream tokens and typed UI parts natively on Node.js 24 LTS with 300s default timeouts and Active CPU pricing.
- Chapters:
  1. One Streaming TypeScript Runtime, Multi-Provider Intelligence — AI SDK 7 and Vercel AI Gateway split responsibilities cleanly: your React UI and Next.js server speak one strongly typed streaming protocol on Node.js Fluid Compute, while AI Gateway handles provider credentials, automatic failover, and spend governance at the network boundary.
  2. Fluid Compute Setup & Modern AI SDK 7 Truths — AI SDK 7 requires Node.js 22+ and native ESM, pairing seamlessly with Vercel’s default Node.js 24 LTS runtime on Fluid Compute. Forget legacy Edge workarounds and outdated v4–v6 habits before writing your first route.
  3. Annotated Tour: @ai-sdk/devtools & Gateway Inspector — Pair local npx @ai-sdk/devtools (http://localhost:4983) with AI Gateway telemetry to trace every multi-step ToolLoopAgent turn, provider failover hop, typed UI part, and prompt cache hit in real time.
  4. Vercel AI Gateway Mastery: Routing, OIDC & Decisions — AI Gateway turns any provider/model string into a fault-tolerant, observable endpoint with zero markup on provider token rates, automatic health-based failover, and unified CLI management.
  5. Reliable Agents with ToolLoopAgent & Output.object() — Stop hand-writing fragile while loops or calling deprecated generateObject(). AI SDK 7 unifies autonomous multi-step tool execution inside ToolLoopAgent and strict JSON validation inside Output.object().
  6. Streaming React & Multimodal UIs with message.parts — AI SDK 7 replaces flat text strings with structured UIMessage.parts. Stream text deltas, typed tool cards, and custom data chunks cleanly from Fluid Compute routes into React useChat hooks.
  7. vercel.ts, Embeddings, Reranking & Coding Agents — Beyond chat routes, AI SDK 7 and AI Gateway power typed project configuration via vercel.ts, high-accuracy retrieval pipelines with embedMany and rerank, and centralized coding-agent traffic.
  8. 5 Real-World Copy-Paste Recipes — Drop these five production-ready patterns straight into Next.js App Router or Node.js 24 LTS services. Every recipe uses verified AI SDK 7 exports, plain provider/model routing, and Fluid Compute defaults.
  9. Cost Controls, Observability, Auth & Security Hygiene — Production AI apps fail expensively when credentials leak or loops run uncapped. AI Gateway stacks team, project, key, and user budgets with Zero Data Retention routing and OpenTelemetry-ready request logs.
  10. Cross-Tool Synergy: The Full Vercel AI Stack — AI SDK 7 and AI Gateway form the intelligence core of Vercel’s platform. Pair them cleanly with Workflow 5 for crash-safe multi-minute runs, Next.js Cache Components for instant UI shells, and Vercel Chat SDK for multi-platform bots.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Almost every AI SDK 7 or AI Gateway snag stems from a handful of outdated v4–v6 habits or environment mismatches. Match your symptom below for a ten-second fix, then clear the pre-flight checklist before deploying.

### Vercel Durable Agents, Workflows & Queues

> Build crash-safe agents and long-running pipelines using eve, Workflow 5 (WorkflowAgent, use workflow & use step), Vercel Queues, and Vercel Schedules.

- Web: https://twelve-pages.com/guides/vercel/durable-agents-and-workflows
- Markdown: https://twelve-pages.com/guides/vercel/durable-agents-and-workflows.md
- PDF: https://twelve-pages.com/guides/vercel/durable-agents-and-workflows/Vercel_Durable_Agents_and_Workflows_Complete_How_To_Guide.pdf (1003 KB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Workflow 5 + WorkflowAgent, eve Framework, use workflow & use step, Vercel Queues, Vercel Schedules, Sandbox & Daemons
- Core Takeaways:
  - Crash-Safe Replay: Checkpoint every LLM call and side effect via "use step", sleep for days with zero idle compute, and replay cleanly past failures.
  - Durable Agent Runtimes: Embed WorkflowAgent inside existing apps or scaffold filesystem-first agents with eve, Slack channels, and @vercel/connect.
  - Queues, Clocks & MicroVMs: Buffer bursts on append-only @vercel/queue topics, schedule per-tenant jobs, and execute untrusted code inside Firecracker sandboxes.
- Chapters:
  1. Surviving Crashes, Deploys & Multi-Day Waits — Standard HTTP functions vanish after a few minutes, while real AI agents need to wait for human approvals, recover from upstream rate limits, and stream progress across browser reloads. Vercel solves this by layering deterministic replay and durable message logs underneath ordinary TypeScript functions.
  2. Ecosystem Decision Matrix & 60-Second Setup — Vercel offers six complementary durability primitives. Pick the highest-level abstraction that fits your workload instead of hand-rolling queue state machines or polling loops.
  3. Annotated Tour: Workflow Run & agent-runs Inspector — Debugging durable systems requires seeing both replay history and live agent tool spans. Inspect local and production runs with npx workflow web and vercel agent-runs across these seven diagnostic touchpoints.
  4. Workflow 5: "use workflow" vs. "use step" — The secret to error-free Workflow 5 code is knowing where each directive runs. Keep "use workflow" strictly for deterministic orchestration and move all real I/O, npm libraries, and network calls into "use step" functions.
  5. WorkflowAgent & eve Filesystem-First Agents — Whether you embed an agent inside an existing Next.js route with WorkflowAgent or build a dedicated multi-channel agent service with eve, durable checkpoints guarantee every reasoning turn and tool result survives failures.
  6. Human-in-the-Loop Hooks & Vercel Sandbox — Real production agents regularly pause for days waiting on human sign-off or execute untrusted AI-generated scripts. Workflows v5 hooks suspend execution at zero cost, while Vercel Sandbox jails untrusted code inside Firecracker microVMs.
  7. Vercel Queues & Vercel Schedules — Use Vercel Queues (@vercel/queue / Python vercel-queue) when you want direct control over topic publishing, buffering, and consumer groups, and Vercel Schedules (@vercel/schedules) to replace legacy crons with timezone-aware recurring or one-shot triggers.
  8. 5 Real-World Copy-Paste Recipes — Adapt these five field-tested patterns directly into your repository. Each pairs the right Vercel durability layer with explicit idempotency, timeout safety, and clean observability.
  9. Observability, Security & Production Operations — Durable systems run asynchronously for hours or days, which means silent failures or leaked secrets compound fast. Pair programmatic hydration and vercel agent-runs tracing with OIDC-backed credentials and graceful Daemon shutdowns.
  10. Cross-Tool Synergy: End-to-End Durable Agent Stack — Each Vercel primitive handles one clean responsibility. Wire Next.js or Chat SDK at the edge of user interaction, Workflow 5 or eve for durable state, AI Gateway and Sandbox for safe intelligence, and Queues plus Schedules for background scale.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Almost every Workflow, Queues, or Schedules snag comes from mixing sandbox scopes, skipping idempotency keys, or importing outdated v4 symbols. Keep these seven 10-second fixes handy before deploying.

### Next.js Cache Components & Partial Prefetching

> Adopt cacheComponents and partialPrefetching in Next.js 16.4+, grow instant static App Shells with use cache and Suspense, and lock regressions with @next/playwright instant().

- Web: https://twelve-pages.com/guides/vercel/nextjs-cache-components
- Markdown: https://twelve-pages.com/guides/vercel/nextjs-cache-components.md
- PDF: https://twelve-pages.com/guides/vercel/nextjs-cache-components/Nextjs_Cache_Components_and_Prefetching_Complete_How_To_Guide.pdf (1.1 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Next.js 16.4+ App Router, use cache & ensureStatic, Granular Suspense, next upgrade --agent, Partial Prefetching, @next/playwright instant()
- Core Takeaways:
  - Instant Static Shells: Prerender rich navigation chrome, headings, and cached data frames on millisecond-fast first paint while live request holes stream cleanly.
  - Zero-Guesswork Migration: Adopt route by route with first-party codemods, Turbopack /_next/mcp runtime checks, and top-down validation loops.
  - Locked Production Proofs: Prevent silent regressions forever using @next/playwright instant() locks and Partial Prefetching URL-data sweeps.
- Chapters:
  1. Instant Static Shell + Streamed Request Holes — Traditional SSR makes the user wait for the slowest database query before painting a single pixel. Turning on cacheComponents: true (now enabled by default in Next.js 16.4 create-next-app and slated to be default in Next.js 17) prerenders an instant App Shell and streams request-specific holes into <Suspense>.
  2. Prerequisites, Flag Migration & Strategy Matrix — Next.js 16.4 (with React 19.3 and Nov 2026 security patch 16.4.5+) promotes Cache Components + Partial Prefetching to the default model for new apps. Upgrade first and strip legacy route-segment flags.
  3. Annotated Tour: next dev Overlay & /_next/mcp — Do not rely on HTTP 200 status codes or guesswork while migrating. Next.js 16.3+ pairs the browser dev overlay, amber Insights cards, and the live /_next/mcp server so you see every blocking read and React boundary in real time.
  4. Resolving the 3 Blocker Classes — Almost every prerender error during Cache Components adoption belongs to one of three predictable families. Fix the exact offending boundary rather than wrapping whole pages in a giant fallback.
  5. Mastering "use cache", cacheLife & Keys — When data is shared across visitors or changes on a predictable schedule, promote it into your static shell with "use cache" instead of streaming it on every request.
  6. Top-Down Loop & next-dev-loop Verification — Adopt one product feature at a time (e.g., app/settings/profile/**), walking strictly top-down from root layout to leaf pages while cross-checking /_next/mcp against a real browser.
  7. Partial Prefetching (partialPrefetching: true) — Legacy Next.js prefetched entire routes per URL. With partialPrefetching: true, default links reuse one shared App Shell across every dynamic parameter, while only opted-in <Link prefetch={true}> links pre-warm cached URL-specific data ahead of entry.
  8. 5 Real-World Copy-Paste Recipes — Drop these five production-tested patterns straight into Next.js 16.4+ App Router codebases. Every recipe respects non-blocking shell composition, ensureStatic guarantees, and clean mutation boundaries.
  9. Regression Proof with @next/playwright instant() — Timers are flaky and next dev does not prefetch. Guard your instant navigations with instant() from @next/playwright—a deterministic dynamic-data lock running against a real production build.
  10. Cross-Tool Synergy: From Static Shell to Live AI UI — Cache Components and Partial Prefetching form the presentation foundation of modern Vercel applications—pairing edge-delivered App Shells with Runtime Cache, AI SDK 7 streaming interfaces, and automated CI locks.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Most Cache Components and Partial Prefetching snags trace to one of seven concrete patterns. Match your error below for the ten-second fix, then verify your app against the pre-flight checklist.

### Multi-Platform Bots with Vercel Chat SDK

> Ship one TypeScript bot codebase across Slack, Teams, Discord, Telegram, GitHub, and Linear with @chat-adapter/*, Vercel Connect OAuth, Sandbox PR reviews, and Workflow approval cards.

- Web: https://twelve-pages.com/guides/vercel/multi-platform-chat-sdk
- Markdown: https://twelve-pages.com/guides/vercel/multi-platform-chat-sdk.md
- PDF: https://twelve-pages.com/guides/vercel/multi-platform-chat-sdk/Vercel_Multi_Platform_Chat_SDK_Complete_How_To_Guide.pdf (2.7 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Unified Chat Class, @chat-adapter/catalog, Slack, Teams & Discord, Telegram, GitHub & Linear, Vercel Connect OAuth, HITL Cards & Sandbox
- Core Takeaways:
  - Write Bot Logic Once: Handle @-mentions, subscribed threads, slash commands, and streamed AI replies in one shared handler across every platform adapter.
  - Zero-Secret Auth & Locks: Pair @vercel/connect short-lived OAuth tokens with Redis distributed thread locks so parallel messages never race or leak static keys.
  - Durable HITL & Sandboxes: Suspend Workflow 5 runs on Slack or Teams approval cards via createWebhook and audit PR diffs inside Vercel Sandbox microVMs.
- Chapters:
  1. Write Bot Logic Once, Native UX Everywhere — Every chat platform invents its own webhook signature scheme, markdown dialect, thread model, and button payload. Vercel Chat SDK (chat) normalizes incoming events into one clean TypeScript API while rendering authentic native cards, modals, and streaming replies per channel.
  2. Quickstart, @chat-adapter/catalog & Decision Matrix — Go from zero to a multi-platform bot in under a minute. Scaffold a Next.js template without prompts, inspect the bundled offline docs inside node_modules/chat/, and use @chat-adapter/catalog to query adapter capabilities statically.
  3. Annotated Tour: Cross-Platform Thread & Card Cockpit — Trace how a single user @-mention flows from an inbound webhook through Redis locking, AI SDK 7 streaming, and an interactive Human-in-the-Loop approval card that resumes a paused Workflow 5 run.
  4. Unified Chat Event Model & Native Adapters — Every adapter translates platform-specific events into four clean lifecycle hooks, letting you write interactive streaming bots, slash commands, Cards, and Modals once while honoring per-platform capabilities from @chat-adapter/catalog.
  5. Redis Thread Locks & Multi-Platform Handler Anatomy — Serverless webhook functions run concurrently across regions. Without a shared state layer, two rapid messages in the same thread overwrite each other’s context and post scrambled replies. Pairing @chat-adapter/state-redis with durable Workflow handoffs keeps every conversation deterministic.
  6. Zero-Secret Auth with @vercel/connect & Blob Tools — Static long-lived bot tokens sitting inside .env files create rotation headaches and wide blast radii. Pair Chat SDK with Vercel Connect (@vercel/connect/chat) for short-lived OAuth tokens and OIDC-signed triggers, and equip agents with approval-gated Vercel Blob tools.
  7. HITL Approval Cards & Sandbox PR Reviewers — Combine Chat SDK with Workflow 5 to pause multi-day approvals at zero compute cost until someone clicks a button in Slack or Teams, and spin up Vercel Sandbox microVMs whenever a developer @-mentions your bot on a GitHub pull request.
  8. 5 Real-World Copy-Paste Recipes — Start faster with these five production architectures drawn from node_modules/chat/resources/guides/. Each recipe pairs the exact adapters, AI SDK 7 primitives, and durability guards required for real traffic.
  9. Webhook Security, Feature Fallbacks & Replay Ops — Production bots face forged webhook probes, bursty retry storms, and subtle differences across messaging platforms. Lock down verification at the edge, inspect adapter capabilities before rendering rich UI, and test every channel offline with deterministic replay fixtures.
  10. Cross-Tool Synergy: From Mention to Durable Action — Vercel Chat SDK serves as the conversational front door of a unified full-stack AI architecture—connecting zero-secret OAuth credentials, gateway-routed reasoning, and crash-safe execution pods without custom glue servers.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Most multi-platform bot bugs trace back to one of seven predictable adapter, concurrency, or auth mistakes. Apply these ten-second fixes, then run the six-point checklist before shipping to production.

## AI Agent Engineering & Architecture (16 Handbooks)

Topic Hub: https://twelve-pages.com/topics/agent-engineering

Practical 12-page visual handbooks for context engineering, multi-agent orchestration, Orca workspaces & parallel Git worktrees, production MCP servers, Chrome DevTools & Playwright browser agents, document & web scraping pipelines (Docling, Crawl4AI & Firecrawl), OpenTelemetry & prompt caching, structured outputs & state machines, voice-first coding, vector RAG, security, evals, System One decisions, and local on-device AI.

### Spec-Driven Dev & Context Engineering

> Cross-vendor context architecture (AGENTS.md, CLAUDE.md, Cursor rules), progressive disclosure, and Spec-to-Plan-to-Tasks agent workflows.

- Web: https://twelve-pages.com/guides/agent-engineering/spec-driven-context-engineering
- Markdown: https://twelve-pages.com/guides/agent-engineering/spec-driven-context-engineering.md
- PDF: https://twelve-pages.com/guides/agent-engineering/spec-driven-context-engineering/Spec_Driven_Dev_and_Context_Engineering_Complete_How_To_Guide.pdf (1.3 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: One Canon (AGENTS.md), CLAUDE.md & .mdc Adapters, 4-Layer Progressive Disclosure, Spec → Plan → Tasks, Verifiable Acceptance Checks, Compaction & Handoff Hygiene
- Core Takeaways:
  - One Canon, Thin Adapters: Maintain one crisp AGENTS.md shared across Claude Code, Cursor, Antigravity, Copilot, Gemini CLI, and Codex.
  - 60–75% Leaner Context: Eliminate attention dilution with a 4-layer stack of path-scoped globs, trigger pointers, and on-demand skills.
  - Proof Over Vibe-Prompting: Replace fragile mega-prompts with durable repo specs and runnable acceptance checks that any fresh agent can verify.
- Chapters:
  1. Why Agents Thrash & The Core Mental Model — “The spec is the source of truth; the prompt is just the delivery truck.” When an AI coding agent loops, forgets conventions, or ships plausible-looking code that fails review, typing a longer, sterner chat prompt is the most expensive trap in modern software engineering.
  2. 5-Minute Repo Audit & Cross-Vendor Context Matrix — Every major AI coding tool reads persistent Markdown context from your repository, yet each uses different filenames, glob frontmatter, and load mechanics. Run this 5-minute audit before writing a single new rule.
  3. Annotated Tour: The “One Canon” Repository Layout — Here is how a clean, multi-tool repository looks in practice. Every project-wide convention lives once inside AGENTS.md, tool adapters stay under 35 lines, and deep subsystem docs or feature specs stay out of memory until needed.
  4. Progressive Disclosure & The 4-Layer Architecture — Every line in your root context file is re-processed on every turn of every session. Bloated 700-line handbooks create three compounding penalties: attention dilution (crucial rules get lost in the middle), silent rule collisions, and broken prompt-cache prefixes.
  5. Anatomy of a High-Signal AGENTS.md & JIT Triggers — Frontier coding models do not need flattery or restatements of standard ESLint rules; they can read your linter config directly. What they cannot guess are your repo's architectural boundaries, command quirks, and where hidden bodies are buried.
  6. The Spec-Driven Workflow: Spec → Plan → Tasks — When you jump straight from a vague chat prompt to code generation, the agent silently guesses scope, auth, formatting, and scale. Splitting work into three small Markdown files shifts your human effort to the highest-leverage 15 minutes: reviewing the route before wheels roll.
  7. Verifiable Acceptance Criteria & Stopping Context Rot — Two habits separate effortless agent sessions from late-afternoon meltdowns: phrasing every requirement so the agent can prove it mechanically, and managing your context window before “lost in the middle” attention poverty sets in.
  8. 5 Real-World Copy-Paste Context & Spec Recipes — Notice how short and calm your prompts become once truth lives in repository files. Copy and adapt these five high-leverage prompt recipes in Claude Code, Cursor, Antigravity, Copilot, or Codex CLI.
  9. Team Conventions, Monorepo Scopes & Git Hygiene — Context files are executable code: they run on a probabilistic LLM interpreter on every developer's laptop. Treating them with real software engineering discipline prevents three teammates' agents from pulling your codebase in three incompatible directions.
  10. End-to-End Synergy: One Feature, Zero Thrashing — See how every layer connects on a real feature—shipping a streaming 10,000-row Team Expense CSV Export without security leaks, memory timeouts, or mid-session amnesia.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Keep this final page beside your editor. Almost every case of “the model got dumber today” traces back to one of seven structural context or specification bugs, each with a 10-second fix.

### Subagents & Agent Orchestration

> Designing specialist subagents, context forks, least-privilege tool scoping, lifecycle hooks, and multi-agent coordinator-worker swarms.

- Web: https://twelve-pages.com/guides/agent-engineering/subagents-and-orchestration
- Markdown: https://twelve-pages.com/guides/agent-engineering/subagents-and-orchestration.md
- PDF: https://twelve-pages.com/guides/agent-engineering/subagents-and-orchestration/Subagents_and_Agent_Orchestration_Complete_How_To_Guide.pdf (1.1 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Context Isolation Architecture, .claude/agents/ & YAML Config, Forks vs. Clean-Slate Workers, Least-Privilege & PreToolUse Hooks, Fan-Out, Worktrees & Critic Loops, Claude • Antigravity • Cursor • Codex
- Core Takeaways:
  - Protect Your Main Context: Keep 80,000+ tokens of noisy file searches and test logs out of your lead session—only crisp summaries return.
  - Config-Enforced Safety: Prompts persuade, but configuration forbids. Lock scouts to read-only tools and gate shell calls with hooks.
  - Portable Across Ecosystems: Master one blueprint that maps cleanly across Claude Code, Google Antigravity, Cursor, Copilot, and Codex.
- Chapters:
  1. Why Context Isolation Beats One Giant Chat Thread — A subagent is a focused specialist spawned by your main coding agent to execute one bounded job inside its own private context window, governed by its own system prompt, model, and tool permissions, returning only a distilled final report.
  2. Four Multi-Agent Topologies & When to Delegate — "Multi-agent coding" actually describes four distinct operating patterns. Picking the right pattern before you write a prompt saves both wall-clock time and 3x–5x in wasted token spend.
  3. Annotated Tour: Subagent Spec & Live Dispatch Monitor — Every modern subagent system pairs a declarative definition file (left) with a live task & transcript monitor (right) so you can inspect active models, tool boundaries, and isolated worktrees at a glance.
  4. The 4 Topologies & Subagent Frontmatter Reference — A subagent file is plain Markdown: YAML frontmatter between --- fences on top, and the specialist's system prompt below. Only name and description are mandatory—every other key sharpens cost, isolation, or safety.
  5. Prompt Anatomy & 3 Production-Grade Subagents — You do not need twenty exotic agents. Ninety percent of real-world engineering teams get maximum leverage from just three tightly scoped specialists: a Scout, a Test-Runner, and a Skeptical Critic.
  6. Invocation Mechanics, Context Forks & Concurrency — Understanding what crosses the context boundary at launch—and when to reach for a fork or resume instead of a fresh spawn—eliminates the "amnesia tax" between pipeline stages.
  7. Least-Privilege Scoping & Command-Inspecting Hooks — Once subagents run unattended in the background—often reading untrusted web pages, GitHub issues, or third-party READMEs—prompt politeness is not a security boundary. Enforce blast-radius limits in configuration.
  8. 5 Copy-Paste Orchestration Recipes That Pay Off Daily — Drop these five battle-tested prompts straight into your coordinator session. Each combines explicit boundaries, isolation, and convergence rules so agents finish cleanly without babysitting.
  9. One Mental Model Across Every Major Coding Agent — In 2026, subagent concepts converged across the entire industry—and several editors even auto-load .claude/agents/ directly! Use this Rosetta Stone to translate any orchestration workflow in seconds.
  10. End-to-End Orchestration Pipeline & Cost Engineering — Smart orchestration pairs a frontier reasoning coordinator with fast, inexpensive specialist workers—delivering cleaner architecture and independent verification at a fraction of an all-frontier swarm bill.
  11. Troubleshooting Clinic & Pre-Flight Cheat Sheet — Keep this back-page clinic within reach whenever a custom subagent fails to trigger, loses context across stages, or stalls silently in the background.

### Git Worktrees & Parallel Agent Safety

> Running parallel coding agents without file collisions—covering Git worktree fleets, isolated ports/databases, safety hooks, and teardown.

- Web: https://twelve-pages.com/guides/agent-engineering/git-worktrees-and-parallel-safety
- Markdown: https://twelve-pages.com/guides/agent-engineering/git-worktrees-and-parallel-safety.md
- PDF: https://twelve-pages.com/guides/agent-engineering/git-worktrees-and-parallel-safety/Git_Worktrees_and_Parallel_Agent_Safety_Complete_How_To_Guide.pdf (1.3 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Shared .git Plumbing, 1-Agent-1-Branch Discipline, Env, Port & DB Isolation, PreToolUse Safety Hooks, Serial Human + CI Merge Gate, Claude, Antigravity, Orca & Cursor
- Core Takeaways:
  - Zero File Collisions: Give every parallel agent its own sibling working directory, index, and branch backed by a single shared .git store.
  - Full Runtime Separation: Isolate untracked state—node_modules, .env.local, deterministic ports 3001..3009, and test databases.
  - Defense-in-Depth Guardrails: Layer path-fencing PreToolUse hooks, pre-commit door inspectors, OS sandboxes, and a serial PR merge gate.
- Chapters:
  1. Why Parallel Agents Collide in a Single Directory — Git protects committed history inside .git, but gives your on-disk working tree zero concurrency protection. Pointing two autonomous coding agents at one folder turns shared mutable files into silent data loss before a commit ever exists.
  2. Choosing the Right Isolation Layer for Your Fleet — Not every parallel task needs a full virtual machine, and "just clone the repo five times" creates silent fetch drift and gigabytes of wasted history. Use this matrix to match isolation weight to task risk.
  3. Anatomy of a Well-Organized Multi-Agent Fleet — Keep linked worktrees as sibling folders beside your main repository (../wt-auth, ../wt-billing)—or inside a gitignored .worktrees/ directory—so file watchers, bundlers, and search tools never index duplicate trees.
  4. Git Worktrees End-to-End: Plumbing & Daily Commands — When you run git worktree add, Git does not duplicate your repository history. Instead, the new folder gets a tiny 1-line .git pointer file linking back to .git/worktrees/<name>/ for its private HEAD and staging index.
  5. Isolation Beyond Git: What Worktrees Do Not Copy — A fresh git worktree add checks out tracked source files only. Everything gitignored—dependencies, secret .env files, build caches, ports, and test databases—must be provisioned per workshop or agents will still collide at runtime.
  6. Turning Norms Into Physics: Hooks & Path Fences — Polite prompt instructions eventually lose to a confused model at step 60. Guard every workshop at two distinct doorways: an agent-native PreToolUse hook that blocks dangerous commands before execution, and a Git pre-commit hook that blocks broken code before packaging.
  7. Parallel Development, Serial Integration — The secret to landing five parallel agent branches without breaking main is simple: build in parallel, merge serially one PR at a time. Every remaining branch rebases onto the newly updated main inside its own workshop before advancing.
  8. 5 Copy-Paste Worktree Recipes for Daily Engineering — Keep these five battle-tested patterns handy whenever you want to parallelize a multi-slice roadmap, compare competing designs side by side, or ship an urgent hotfix without disturbing a running agent.
  9. Native Worktree Flags Across Modern Agent Harnesses — Before running manual git worktree add commands, check whether your coding harness manages worktrees natively. Built-in flags automatically place folders, track session state, and clean up idle trees—never fight your harness!
  10. End-to-End Fleet Pipeline: Spawn to Clean Repository — Here is how every piece in this guide locks together into one repeatable engineering pipeline—turning three concurrent tickets into three clean, linear commits on main with zero lost work.
  11. Troubleshooting Clinic & Fleet Pre-Flight Checklist — Ninety percent of worktree hiccups diagnose themselves with git worktree list -v and git -C <path> status. Use this table for 10-second recoveries when an agent or folder misbehaves.

### Vector Memory & Semantic Search (RAG)

> Building persistent semantic memory for AI agents with structure-aware chunking, Chroma, pgvector, Qdrant, local Ollama, and hybrid retrieval.

- Web: https://twelve-pages.com/guides/agent-engineering/vector-memory-and-rag
- Markdown: https://twelve-pages.com/guides/agent-engineering/vector-memory-and-rag.md
- PDF: https://twelve-pages.com/guides/agent-engineering/vector-memory-and-rag/Vector_Memory_and_Semantic_Search_RAG_Complete_How_To_Guide.pdf (1.2 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Chroma & Postgres pgvector, Local Ollama & OpenAI Embeddings, Structure-Aware Chunking, Hybrid BM25 + RRF Fusion, MCP search_vault Server, Episodic & Semantic Hygiene
- Core Takeaways:
  - Recall by Meaning, Not Wording: Find forgotten incidents, architecture trade-offs, and paraphrased notes in milliseconds across 10,000+ files.
  - 100% Offline or Pennies via API: Run privately for $0.00 on laptop RAM with Ollama, or index a 5,000-note vault for ~$0.09 via API.
  - One MCP Server, Every Agent: Expose search_vault once to power Claude Code, Antigravity, Cursor, and VS Code without bloating AGENTS.md.
- Chapters:
  1. Structural Maps vs. Semantic Metal Detectors — Tools like ripgrep, AST parsers, and knowledge graphs give your agent structural memory—they know how explicitly linked pieces connect. Semantic vector memory adds the missing half: instant recall by meaning, even when your query shares zero words with the note you wrote six months ago.
  2. Choosing Your Vector Stack & Embedding Model — Don't over-engineer Day 1. Start local with zero servers to babysit; graduate to Postgres or dedicated cluster engines only when multi-user concurrency, transactional joins, or million-chunk scale demand it.
  3. RAG Workbench & MCP Retrieval Inspector: UI Tour — Before wiring a vector store into your coding agent, always test it in the MCP Inspector (mcp dev memory_server.py). Seeing chunk boundaries, cosine similarity scores, and BM25 rank boosts side by side turns retrieval tuning from guesswork into a 5-minute visual check.
  4. Why Structure-Aware Chunking Decides Your Ceiling — An embedding compresses an entire passage into a single point in high-dimensional space. Cram five unrelated topics into one giant chunk and that point drifts to the mushy average of all five—matching nothing well. Slice too thin and single sentences lose their subject.
  5. Chunk Metadata, Prompt Grounding & Memory Hygiene — A bare paragraph reading "We lost 40k rows in 90 seconds" has no idea which system or year it belongs to. Prepending a structured header right onto the embedded text routinely improves recall more than buying a larger embedding model.
  6. End-to-End Build: Local Chroma + Ollama & pgvector — Install once with pip install chromadb ollama openai tiktoken rank_bm25. Because the store accepts any embed_fn(texts) function, switching between free offline Ollama and OpenAI APIs is a one-line import swap.
  7. Hybrid Search: Fixing the Exact-Keyword Blind Spot — Pure embeddings smooth away character-level precision—to a vector model, ERR_CONN_RESET_9, SKU-4810B, or useAuthSession() look nearly identical to close neighbors. Pairing dense vectors with classic BM25 lexical search gives you the best of both worlds.
  8. 5 Real-World RAG & Agent Memory Recipes — Match your exact use case to one of these five proven blueprints—from a 10-minute personal Obsidian second brain to a multi-tenant SaaS knowledge engine with database-enforced security.
  9. Exposing Vector Memory to AI Agents via MCP — Stuffing past notes into AGENTS.md taxes every single prompt turn whether relevant or not. Wrapping your hybrid retriever in a 40-line Model Context Protocol (MCP) server gives Claude Code, Antigravity, Cursor, and VS Code an on-demand search_vault superpower at zero idle token cost.
  10. Cross-Tool Memory Pipeline & Recall@5 Evaluation — Production agent engineering layers three complementary memory tiers—always-on rules, structural graphs, and semantic RAG—backed by a tiny golden-set benchmark so chunking tweaks never silently regress quality.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Almost every "dumb RAG" complaint traces back to one of seven mechanical bugs. Keep this diagnostic table within reach whenever retrieval scores look suspicious or an MCP client refuses to connect.

### AI Evals & Regression Testing

> Turning LLM vibe-checks into deterministic CI deploy gates with golden datasets, code scorers, calibrated LLM-as-judge, and Promptfoo.

- Web: https://twelve-pages.com/guides/agent-engineering/ai-evals-and-regression-testing
- Markdown: https://twelve-pages.com/guides/agent-engineering/ai-evals-and-regression-testing.md
- PDF: https://twelve-pages.com/guides/agent-engineering/ai-evals-and-regression-testing/AI_Evals_and_Regression_Testing_Complete_How_To_Guide.pdf (1.4 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Golden JSONL Datasets, Deterministic Pre-Screens, Calibrated LLM-as-a-Judge, promptfooconfig.yaml, RAG & Agent Trajectories, CI Gates & Live Sampling
- Core Takeaways:
  - Code First, Judge Second: Catch broken JSON/HTML schemas, missing citations, and bad tool args in 1ms for $0 before calling any judge model.
  - Bias-Proof Calibration: Neutralize verbosity, position, and self-preference bias using anchored rubrics, pairwise swaps, and TPR/TNR alignment.
  - Closed-Loop Deploy Gates: Block silent PR regressions against frozen baselines while promoting sampled 5–10% production failures into tomorrow's suite.
- Chapters:
  1. Why “Vibe Checks” Fail & The Core Mental Model — Traditional unit tests turn red when an endpoint throws HTTP 500 because software outputs are decidable. LLM apps fail silently: tweaking a prompt to fix three edge cases you stared at routinely breaks twelve customer workflows you forgot to re-test.
  2. Building Golden Datasets & Tooling Decision Matrix — The costliest rookie mistake is inventing 500 synthetic edge cases before writing a single scorer. Start with 5–10 real inputs—half proud production wins, half real user failures—and expand strictly when new failure modes surface.
  3. Annotated Tour: The Regression Matrix & Diff Viewer — Running npx promptfoo@latest view (or opening Braintrust/Langfuse) renders a side-by-side matrix comparing your production baseline against a candidate change. Here is how to spot a silent regression in ten seconds.
  4. Deterministic Code Scorers: Free, Fast & Flake-Free — If a requirement is decidable, write it in code. Python and TypeScript scorers execute in under a millisecond, cost $0.00, return identical verdicts on every run, and shield your LLM judge budget from structurally broken outputs.
  5. Calibrated LLM-as-a-Judge & Rubric Anatomy — Once structural checks pass, use an LLM judge to grade subjective quality—like groundedness or actionability. Without calibration, however, judges behave like lenient substitute teachers who reward polished verbosity over truth.
  6. Declarative Test Matrices with promptfooconfig.yaml — Declarative configuration lets you test two prompts across two models in a clean 2 × 2 matrix—combining zero-cost pre-screen assertions, latency ceilings, and calibrated rubric judges inside one version-controlled file.
  7. Evaluating RAG Pipelines & Agent Trajectories — Scoring only the final message of a RAG app or tool-using agent masks broken plumbing. If RAG fails, you need to know whether to fix the retriever or the prompt; if an agent succeeds by accident after calling the wrong tool, answer-only judges miss the bomb completely.
  8. 5 Real-World Copy-Paste Eval & Regression Recipes — Drop these five battle-tested patterns straight into your repository's evals/ folder to stand up datasets, code pre-screens, bias-proof pairwise judges, multi-model matrices, and agent trajectory checks.
  9. CI/CD Pull-Request Gating & Online Trace Monitoring — An evaluation suite sitting un-run on a laptop never stopped a bad deploy. Wire a fast, cost-capped smoke gate onto every pull request touching AI code, and pair it with sampled online scoring to catch real-world drift.
  10. Cross-Tool Synergy: Self-Verifying Agent Engineering — Evals unlock autonomous coding agents! When your spec.md defines target eval metrics and an isolated git worktree runs promptfoo as its local verification loop, an agent can iterate safely until proven better than production.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Keep this page beside your editor and CI dashboard. Almost every noisy score swing, false-green build, or surprise judge invoice maps directly to one of seven structural eval bugs below.

### Prompt Injection & Agent Security

> Defending tool-calling and browsing AI agents against indirect prompt injection, poisoned MCP servers, secret exfiltration, and unsafe output sinks.

- Web: https://twelve-pages.com/guides/agent-engineering/prompt-injection-and-agent-security
- Markdown: https://twelve-pages.com/guides/agent-engineering/prompt-injection-and-agent-security.md
- PDF: https://twelve-pages.com/guides/agent-engineering/prompt-injection-and-agent-security/Prompt_Injection_and_Agent_Security_Complete_How_To_Guide.pdf (3.4 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Lethal Trifecta Defense, OWASP LLM Top 10 (2025), Least-Privilege Tool Gates, Docker & MicroVM Sandboxes, MCP Supply-Chain Pinning, promptfoo CI Red-Teaming
- Core Takeaways:
  - Break the Lethal Trifecta: Neutralize silent data theft by severing the bridge between private data, untrusted inputs, and outbound network egress.
  - Architecture Over Prompts: Replace fragile “never leak secrets” wishes with deterministic sandboxes, argv sinks, and proxy-brokered credentials.
  - Continuous Red-Team Proof: Attack your own agents automatically on every pull request with promptfoo injection, BOLA, and exfiltration probes.
- Chapters:
  1. Why System Prompts Fail & The Lethal Trifecta — “A large language model receives instructions and data through the same channel and cannot reliably tell them apart.” Unlike parameterized SQL or CPU privilege rings, an LLM flattens your system prompt, user chat, fetched web pages, emails, and tool results into one shared token stream.
  2. Threat Landscape & OWASP LLM Top 10 Matrix — Do not confuse classic web security with AI risks: OWASP maintains separate guides for traditional web apps, the Top 10 for LLM Applications (LLM01–LLM10, 2025 edition + Aug 2026 update), and the Top 10 for Agentic Applications (ASI01–ASI10).
  3. Annotated Tour: Agent Security Gate & Inspector — Watch how a hardened agent harness handles a live indirect prompt-injection attack inside a public GitHub issue. Even though the LLM attempts to follow the hidden payload, deterministic runtime policies neutralize every step.
  4. Direct vs. Indirect Injection & Exfiltration Anatomy — Direct injection happens when a user types an attack into their own chat box. Indirect injection is far more dangerous: an external attacker plants instructions inside a web page, Jira ticket, PR diff, PDF, or email that your victim agent reads autonomously.
  5. Least-Privilege Tool Scoping & Human-in-the-Loop — Excessive Agency (LLM06) turns minor prompt hiccups into production incidents. Never hand an autonomous loop a master key simply because approving actions felt slow—scope every tool to the narrowest capability the task requires.
  6. OS, Container & MicroVM Sandboxing + Egress — When an agent runs shell commands, tests, or file parsers against untrusted inputs, assume prompt injection will eventually occur—and make the resulting compromise completely boring. Never run autonomous tool loops directly as your host user with ~/.ssh or ~/.aws mounted.
  7. MCP Supply-Chain Safety, Output Sinks & Secrets — Connecting third-party Model Context Protocol (MCP) servers imports external code and hidden tool descriptions straight into the most trusted section of your prompt—while unvalidated model outputs re-open classic RCE, SQLi, and XSS holes.
  8. 5 Real-World Copy-Paste Security Recipes — Drop these five battle-tested patterns straight into your Python/TypeScript agent harness, Docker runner, MCP client config, and chat UI renderer to replace wishful prompting with real engineering boundaries.
  9. Automated Red-Teaming & CI Gates with promptfoo — You never truly know your agent's failure modes until you attack them systematically. Open-source promptfoo generates dynamic multi-turn jailbreaks, indirect injections, cross-tenant BOLA probes, and sink exploits on every pull request.
  10. Defense-in-Depth Synergy: End-to-End Pipeline — Because no single guardrail stops every novel payload, resilient agent engineering stacks orthogonal controls—so an attacker who fools the model still crashes into schema limits, microVM walls, and outbound proxy blocks.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Keep this final page open during architecture reviews and incident triage. Every common agent security symptom maps directly to an architectural gap you can close deterministically.

### Local & On-Device AI Stack

> Running private, zero-per-token LLMs and embeddings on your own hardware—mastering GGUF quantization, Apple Silicon memory math, Ollama, and llama.cpp.

- Web: https://twelve-pages.com/guides/agent-engineering/local-and-on-device-ai
- Markdown: https://twelve-pages.com/guides/agent-engineering/local-and-on-device-ai.md
- PDF: https://twelve-pages.com/guides/agent-engineering/local-and-on-device-ai/Local_and_On_Device_AI_Stack_Complete_How_To_Guide.pdf (3.5 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Ollama • llama.cpp • MLX, Q4_K_M & imatrix Math, Unified RAM & num_ctx, localhost:11434/v1 Swap, Zero-Cost Local Embeddings, Air-Gapped Hybrid Routing
- Core Takeaways:
  - 100% Air-Gapped Privacy: Keep client contracts, unreleased source code, and sensitive notes strictly on loopback silicon—unplug Wi-Fi and keep working.
  - Zero Per-Token Economics: Embed millions of chunks, classify nightly batches, and run background triage agents for $0.00 beyond wall-outlet electricity.
  - One-Line OpenAI Swap: Write against standard /v1/chat/completions and /v1/embeddings routes so switching local vs. frontier cloud is pure config.
- Chapters:
  1. Own the Other Half: The Local AI Mental Model — Local inference is not a replacement for frontier cloud models—it is the complementary second engine sitting right under your desk. Mastering the four layers underneath localhost lets you run private workloads for free and diagnose instantly when a local model feels slow or forgetful.
  2. Runtime & Format Matrix + Hardware Sizing — Most frustration in local AI comes from picking the wrong container format for your chip or pulling a model whose KV cache quietly exceeds usable RAM. Match your runtime and weight size to your metal first.
  3. Annotated Tour: Local Inference & Memory Telemetry — Never guess whether your model is running on the GPU, truncating your prompt, or spilling into slow CPU swap. Here is how to read every critical signal across ollama ps, llama-server logs, and your active Modelfile.
  4. Quantization Demystified: FP16 Down to IQ3_M — A 32-billion-parameter model occupies 64 GB in raw 16-bit floats—impossible on a 32 GB laptop. Quantization compresses those weights down toward 4–5 bits per parameter, shrinking the file to ~19.5 GB while retaining roughly 95–97% of reference capability.
  5. Unified Memory Math & The num_ctx Trap — On Apple Silicon, CPU, GPU, and Neural Engine cores share a single high-bandwidth memory pool without slow PCIe copies—yet that shared pool must simultaneously hold macOS, your IDE, model weights, and a KV cache that grows linearly with every token.
  6. Ollama CLI, Structured Outputs & The SDK Swap — Once ollama serve is running, you manage weights like Docker images from your terminal and call them from Python or TypeScript using the exact same official openai client you already ship in production.
  7. Local Embeddings, Speed Tuning & brain.py RAG — Local embeddings are the single highest-ROI workload in on-device AI: encoder models weigh only 270 MB–1.2 GB, embed thousands of chunks for $0.00, and never break your vector database when a cloud vendor retires an API model.
  8. 5 Real-World Copy-Paste Local Stack Recipes — Drop these five battle-tested configurations straight into your shell or Python service to lock in memory-safe context windows, cloud fallback routing, deterministic schemas, and raw llama-server speed.
  9. Hybrid Local + Cloud Routing & Coding Agents — The sharpest engineers in 2026 rarely run 100% cloud or 100% local. They wire a Hybrid Split: free, instant, private local models handle high-frequency autocomplete, repo indexing, and log triage, while frontier cloud APIs step in only for deep multi-file architecture.
  10. Cross-Tool Synergy: Private Hybrid Agent Pipeline — Watch how local encoders, quantized local chat models, policy gates, and optional cloud escalation combine into a fast, privacy-preserving engineering assistant that handles 80% of daily queries for $0.00.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Keep this page handy whenever a local model crawls, forgets instructions, or mangles JSON. Nearly every local AI failure traces back to one of seven mechanical root causes—each solvable in seconds.

### Jev & System One Decisions

> Replacing fragile LLM JSON parsing with fast, calibrated System One decisions—mastering Choice, Score, and Noul primitives, parallel fan-out, and confidence-gated routing.

- Web: https://twelve-pages.com/guides/agent-engineering/jev-and-system-one-decisions
- Markdown: https://twelve-pages.com/guides/agent-engineering/jev-and-system-one-decisions.md
- PDF: https://twelve-pages.com/guides/agent-engineering/jev-and-system-one-decisions/Jev_and_System_One_Decisions_Complete_How_To_Guide.pdf (2.8 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Choice • Score • Noul • Box, RLCD Calibrated Probabilities, Parallel Speculative Fan-Out, Confidence-Gated Routing, typesafe-sdk & @typesafe-ai/sdk, LLM Guardrails & RAG Reranking
- Core Takeaways:
  - Judgment vs. Decision: Jev supplies calibrated probabilities; your ordinary if statements own every branch, tool call, and mutation.
  - One Call, Many Questions: Evaluate 10+ independent questions in parallel at near-constant latency—$0.042/M input tokens and $0 output tokens.
  - Uncertainty You Can Gate: Trained via RLCD so low-confidence edge cases escalate cleanly to humans or frontier models instead of hallucinating.
- Chapters:
  1. Why JSON.parse() Breaks & The System One Contract — Most production AI bugs live in the glue layer where you prompt a chat model for a paragraph and write brittle regex or schema parsers to extract a boolean or route key. System One models delete that parsing layer entirely.
  2. Four Paths to First Decision & Architecture Matrix — Every client speaks the exact same JSON contract over POST https://api.typesafe.ai/v1/systemone. Start in the browser Playground in 60 seconds, then drop the Python or TypeScript SDK into your server routes.
  3. Annotated Tour: System One Playground & Inspector — Open console.typesafe.ai/playground to test state filtering and question criteria interactively before writing code. Here is how a single parallel request evaluates all three primitives at once.
  4. Mastering the Three Primitives: Choice, Score & Noul — Every judgment in System One maps to one of three shapes. Choose by the mathematical structure of the answer you need—and batch all of them into a single request.
  5. State Craft: Why Input Hygiene Is 80% of Accuracy — Unlike chat sessions where teams dump entire database rows into context “just in case,” Jev accuracy drops sharply when state contains irrelevant noise. Filter ruthlessly in code before calling the API.
  6. Confidence Gating & The Four Core Patterns — Rank with probabilities; gate automation with confidence. Calibration applies across populations, not single calls—so risk-sensitive actions always pair answer values with explicit confidence floors.
  7. Production Blueprint: One-File Policy & Quality Gates — Keep every question definition and numeric threshold inside one dedicated policy file (lib/decisions.ts) so product and security reviews read a single 60-line file instead of hunting across route handlers.
  8. 5 Real-World Copy-Paste System One Recipes — Drop these five patterns into your Python or TypeScript stack to replace dedicated cross-encoders, binary moderation walls, and flaky LLM-judge parsers.
  9. Know the Edges: jev-1.14 Jaggedness & Hard Rules — TypeSafe publishes explicit failure modes (“jaggedness”) for jev-1.14. Respecting what Jev cannot do is what separates rock-solid production pipelines from mysterious accuracy drops.
  10. Cross-Tool Synergy: The System 1 + System 2 Sandwich — Kahneman's Thinking, Fast and Slow becomes a concrete software architecture when you wrap fast, sub-cent System One judgments (Jev) on both sides of slow, creative System Two reasoning (Claude, GPT, Gemini).
  11. Troubleshooting Clinic & Pre-Flight Checklist — Keep this page next to your lib/decisions.ts policy file. Nearly every surprising probability or API error maps to one of seven mechanical fixes below.

### Building Production MCP Servers

> Architect, test, and ship high-reliability Model Context Protocol servers in TypeScript (SDK v2) and Python (FastMCP)—mastering stateless Streamable HTTP factories, Zod v4 & outputSchema, OAuth 2.1, MCP Inspector, and 10-question evals.

- Web: https://twelve-pages.com/guides/agent-engineering/building-production-mcp-servers
- Markdown: https://twelve-pages.com/guides/agent-engineering/building-production-mcp-servers.md
- PDF: https://twelve-pages.com/guides/agent-engineering/building-production-mcp-servers/Building_Production_MCP_Servers_Complete_How_To_Guide.pdf (3.9 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: TypeScript SDK v2, Python FastMCP, Streamable HTTP & stdio, Zod v4 & outputSchema, OAuth 2.1 & Tool Hints, MCP Inspector & Evals
- Core Takeaways:
  - SDK v2 & FastMCP: Build schema-strict tools in TypeScript @modelcontextprotocol/server v2 or Python FastMCP with Pydantic v2 validation.
  - Stateless Factories: Spawn a fresh McpServer per HTTP request while pooling upstream clients at module scope for effortless horizontal scale.
  - Evaluated Reliability: Verify contracts with scripts/smoke.ts, MCP Inspector, and a 10-question multi-hop evaluation harness before shipping.
- Chapters:
  1. Agent-Centric Design vs. Raw REST Wrappers — An MCP server is not a thin proxy over HTTP endpoints—it is an ergonomic user interface for a language model. Great servers pack high-signal data into tight context budgets while keeping destructive actions crystal clear.
  2. SDK v2 Setup, v1-to-v2 Migration & Transports — Always start new TypeScript servers on SDK v2 (@modelcontextprotocol/server) with zod ^4.2.0 and Node >=20.3, or build in Python with FastMCP and Pydantic v2. Never mix v1 and v2 imports inside one repository.
  3. Annotated Tour: MCP Inspector & JSON-RPC Trace — Launch npx @modelcontextprotocol/inspector node dist/index.js to test every schema, behavioral hint, error banner, and live JSON-RPC frame before connecting an agent host.
  4. The Stateless createServer() Factory & Dual Transports — The single most important architectural rule in TypeScript SDK v2 is isolating per-request protocol state inside a cheap createServer() factory while keeping heavy upstream clients pooled at module scope.
  5. Tool Registration Anatomy: Schemas & Hints — Every tool registration defines a machine-verifiable contract: strict Zod v4 input validation, behavioral hints for host approval UIs, cancellation-aware upstream calls, and item-halving pagination under CHARACTER_LIMIT.
  6. Python FastMCP & Pydantic v2 Production Patterns — In Python, mcp.server.fastmcp turns typed Pydantic v2 models and docstrings directly into JSON Schemas. Pair strict ConfigDict settings with a shared httpx.AsyncClient and async lifespan hooks.
  7. Error Channels, OAuth 2.1 Auth & Hardening — Remote MCP servers must separate model-facing recovery hints from client-level JSON-RPC errors, enforce resource-scoped OAuth 2.1 tokens, and treat every upstream payload and path parameter as untrusted.
  8. 5 Real-World Copy-Paste MCP Recipes — Drop these five production primitives directly into your TypeScript v2 or Python FastMCP server to eliminate common protocol bugs, context overflows, and silent startup failures.
  9. Packaging, Distribution & Multi-Host Rollout — Ship one predictable server artifact across local laptops and cloud clusters. Clean entrypoints, minimal Docker images, and portable JSON configs let teams adopt your tools in seconds.
  10. Cross-Tool Synergy & 10-Question Eval Pipeline — Compiling cleanly only proves syntax. True MCP quality is measured by whether a cold LLM—given only your tool schemas and descriptions—can solve realistic, multi-hop research tasks without getting lost.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Diagnose the seven most common MCP production failures in ten seconds, then clear the six-point pre-flight gate before publishing or deploying.

### Browser Agents with Chrome DevTools MCP & Playwright

> Pair live Chrome DevTools MCP diagnostics (accessibility uid snapshots, LCP subpart traces, HttpOnly cookie forensics, and heap leak diffs) with deterministic Playwright E2E regression gates.

- Web: https://twelve-pages.com/guides/agent-engineering/chrome-devtools-and-playwright-agents
- Markdown: https://twelve-pages.com/guides/agent-engineering/chrome-devtools-and-playwright-agents.md
- PDF: https://twelve-pages.com/guides/agent-engineering/chrome-devtools-and-playwright-agents/Chrome_DevTools_and_Playwright_Agents_Complete_How_To_Guide.pdf (2.2 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: chrome-devtools-mcp, Accessibility uid Snapshots, LCP & CWV Traces, Cookie & Auth Forensics, Heap Leak Diffing, Playwright CI Specs
- Core Takeaways:
  - Live DevTools Telemetry: Inspect accessibility uid nodes, authoritative CSS cascades, network headers, and 4-part LCP breakdowns in real time.
  - Zero-Flake E2E Gates: Lock every verified bug fix into resilient Playwright specs with user-facing locators, auto-waiting assertions, and trace bundles.
  - Safe Auth & Security: Diagnose HttpOnly sessions via network headers, run clean-slate GDPR checks in isolatedContext, and respect bot gates.
- Chapters:
  1. Live Telemetry Diagnosis vs. Deterministic Regression Gates — Traditional browser automation asks an agent to guess pixel coordinates from heavy screenshots. Modern browser engineering splits the job in two: Chrome DevTools MCP acts as your agent's live diagnostic microscope, while Playwright locks each verified fix into a repeatable CI regression gate.
  2. Setup, Capability Flags & Tool Selection Matrix — By default, chrome-devtools-mcp launches automatically on the first tool call using a persistent Chrome profile. Unlock extension and memory forensics with opt-in CLI flags, then pair them with headless Playwright in your repo.
  3. Annotated Tour: The Dual-Mode Browser Agent Cockpit — Effective browser agents correlate live DevTools MCP telemetry with repeatable Playwright test verdicts. Below is the unified mental workspace your agent inspects across accessibility trees, CSS cascades, LCP waterfalls, network headers, and CI traces.
  4. Token-Lean Navigation, uid Snapshots & A11y Audits — Disciplined browser agents follow one strict sequence: navigate → wait → snapshot → interact. Because take_snapshot returns the browser's accessibility tree rather than raw HTML, it serves double duty as your fastest interaction map and your semantic screen-reader truth.
  5. Core Web Vitals, LCP Forensics & Diagnostic Prompt Anatomy — Good Largest Contentful Paint (LCP) stays at or below 2.5 seconds (2.5–4.0s needs improvement; >4.0s is poor). Because compressing an image will not fix a slow server or blocked stylesheet, always decompose LCP into its four sequential subparts first.
  6. Auth Cookies, Consent Conformance & Memory Leak Hunting — Two browser bugs fool naive agents every week: trying to read or delete HttpOnly session cookies from client JavaScript, and reading raw multi-megabyte .heapsnapshot JSON files instead of letting Chrome DevTools MCP compute retainer diffs.
  7. Playwright Agent Mastery: Locators, Traces, MV3 & Instant UI — Once DevTools MCP proves what is broken and verifies your patch, encode the behavior in Playwright so it can never silently regress. Follow five strict rules to keep agent-written specs fast, readable, and completely flake-free.
  8. 5 Real-World Copy-Paste Browser Agent Recipes — Drop these five battle-tested workflows directly into your agent instructions or repository test suite to eliminate performance bottlenecks, auth cookie mysteries, consent leaks, detached DOM bloat, and flaky E2E runs.
  9. Security Boundaries, Bot Gates & Safe Browser Operations — Giving an AI agent a real browser exposes it to hostile web content, live user credentials, and anti-abuse gates. Enforce strict engineering boundaries so autonomous debugging never crosses security, compliance, or privacy lines.
  10. Cross-Tool Synergy: From Live Forensics to CI Merge Gate — Separately, DevTools MCP finds bugs once and Playwright catches regressions later. Wired together into one agent workflow, every live telemetry discovery becomes an automated, permanently enforced pull-request test.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Keep this cheat sheet beside your MCP config and CI pipeline. Almost every browser-agent stall, token explosion, or flaky test failure maps directly to one of these seven root causes.

### Sandboxes & Isolated Execution for AI Agents

> Architecting ephemeral microVMs, Firecracker, E2B, Docker, and gVisor environments for safe autonomous code execution, snapshotting, and network egress control.

- Web: https://twelve-pages.com/guides/agent-engineering/sandboxes-and-isolated-execution
- Markdown: https://twelve-pages.com/guides/agent-engineering/sandboxes-and-isolated-execution.md
- PDF: https://twelve-pages.com/guides/agent-engineering/sandboxes-and-isolated-execution/Sandboxes_and_Isolated_Execution_for_AI_Agents_Complete_How_To_Guide.pdf (4.2 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Firecracker microVMs, E2B & Cloud Sandboxes, Docker & gVisor Limits, CoW Snapshot & Resume, Zero-Trust Egress Filtering, cgroups v2 & PTY Streaming
- Core Takeaways:
  - Sub-50ms Cold Starts: Instant KVM microVM instantiation via pre-warmed snapshot pools and stripped minimalist guest Linux kernels.
  - Zero-Trust Containment: Hard hardware virtualization preventing shared kernel escapes, credential exfiltration, fork bombs, and silent disk pollution.
  - Bidirectional PTY Streaming: Real-time interactive stdio streams, ANSI terminal emulation, and deterministic filesystem diff tracking for agent verification.
- Chapters:
  1. The Sandbox Boundary: Host vs. Guest Architecture — Autonomous coding agents must run arbitrary bash scripts, compile dependencies, and test untrusted code without putting host servers, development machines, or cloud credentials at risk.
  2. The Isolation Spectrum: From Containers to MicroVMs — Choosing the right sandbox architecture requires balancing boot speed, syscall fidelity, and blast-radius security. Running untrusted AI code demands virtualization with hardware boundaries.
  3. Annotated Workspace: Sandbox Session Monitor — High-reliability agent platforms provide an interactive dashboard and telemetry console to supervise live microVMs, inspect file diffs, enforce timeouts, and intercept network egress.
  4. Firecracker & KVM: Sub-50ms MicroVM Instantiation — Amazon Firecracker strips away legacy PC peripherals, BIOS emulations, and complex ACPI tables, delivering minimalist virtual machines that boot in under 35 milliseconds with under 5MB memory overhead.
  5. Copy-on-Write Storage & Instant Memory Snapshots — By decoupling the immutable golden rootfs from mutable agent scratch space, microVMs achieve instantaneous state snapshotting, branchable evaluation forks, and zero-risk rollbacks.
  6. Zero-Trust Network Egress & Credential Quarantine — Autonomous agents running untrusted code face indirect prompt injection attacks designed to exfiltrate private codebases, SSH keys, or cloud credentials. Strict egress filtering is mandatory.
  7. Agent-to-Sandbox Runtime Protocol & Streaming stdio — Executing tool commands requires robust IPC: handling interactive user prompts, streaming ANSI color output to LLM context, managing background daemons, and terminating runaway fork bombs.
  8. Five Copy-Paste Recipes for Production Sandboxes — Battle-tested recipes for common agent use cases—from disposable Python data interpreters and autonomous bugfix loops to multi-tenant team eval harnesses.
  9. Enterprise Sandboxes, CI/CD & Cost Economics — Scaling sandbox infrastructure requires choosing between managed cloud providers and self-hosted clusters, tracking OpenTelemetry spans, and optimizing idle warm-pool expenses.
  10. The End-to-End Synergy Pipeline: From Prompt to Verified PR — How modern agent frameworks integrate sandboxes across the development lifecycle—orchestrating code generation, isolated test execution, security scanning, and automated Git pull requests.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Rapid diagnostic solutions for the top seven sandbox failure modes, paired with a mandatory pre-flight readiness checklist for production agent deployments.

### Orca Multi-Agent Workspace & CLI

> Orchestrate parallel AI coding agents across isolated Git worktrees, coordinator-worker task DAGs, inline diff annotations, embedded browser captures, and remote SSH or mobile runtimes.

- Web: https://twelve-pages.com/guides/agent-engineering/orca-multi-agent-workspace-and-cli
- Markdown: https://twelve-pages.com/guides/agent-engineering/orca-multi-agent-workspace-and-cli.md
- PDF: https://twelve-pages.com/guides/agent-engineering/orca-multi-agent-workspace-and-cli/Orca_Multi_Agent_Workspace_and_CLI_Complete_How_To_Guide.pdf (2.3 MB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Isolated Git Worktrees, Parallel CLI Fleet, Task DAG Orchestration, Inline Diff Annotations, Browser & Computer Use, SSH & Mobile Pairing
- Core Takeaways:
  - Zero-Collision Worktrees: Every agent gets its own real Git worktree and branch, letting Claude Code, Codex, OpenCode, and Gemini CLI edit concurrently without conflicts.
  - Supervised DAGs & Handoffs: Transfer standalone tasks in a single command or run coordinator-worker dependency graphs with durable mailboxes and explicit decision gates.
  - Unified Review & Remote Ops: Annotate agent diffs line by line, pipe Design Mode DOM captures into prompts, drive background desktop apps, and steer builds from mobile.
- Chapters:
  1. The Orca Mental Model: Worktrees, Fleet & Runtime — Traditional editors assume one human typing in one branch at a time. Orca is an open-source Agent Development Environment (ADE) designed as a mission control room for parallel coding agents you already own.
  2. Executable Resolution & Orchestration Mode Matrix — Because Orca runs across macOS, Linux, WSL, and source dev checkouts, choosing the right CLI executable once at session start prevents hitting the wrong runtime or triggering OS screen readers.
  3. Annotated Workspace: The Orca Command Center — Orca unifies worktree lineage, WebGL terminal panes, task mailboxes, line-level diff annotations, and an embedded Chromium preview inside one keyboard-driven desktop window.
  4. Parallel Git Worktrees, Lineage & Full Handoffs — Every Orca worktree pairs a real Git checkout on disk with tracked runtime metadata, ensuring parallel agents never trample each other's branches, caches, or dev servers.
  5. Coordinator Loops, Task DAGs & Decision Gates — When an agent must delegate work to specialized peers and collect verified deliverables back, Orca Orchestration replaces brittle terminal scraping with structured Runs, dependency tasks, and durable mailboxes.
  6. Diff Annotations, Embedded Browser & Computer Use — Reviewing AI code should feel faster than writing it by hand. Orca connects line-by-line code annotations, worktree-scoped browser automation, and background desktop GUI control directly back to your agents.
  7. Terminal Splits, Session Search & Scheduled Automations — Beyond interactive supervision, Orca turns every terminal, port listener, historical transcript, and recurring cron prompt into a scriptable building block.
  8. Five Copy-Paste Recipes for Multi-Agent Workflows — Ready-to-run patterns combining parallel worktrees, cross-model comparisons, UI feedback capture, remote SSH builds, and scheduled automation guards.
  9. Remote SSH Hosts, Mobile Supervision & Safety — Offload heavy agent fleets onto dedicated Linux workstations or cloud VMs with orca serve, monitor progress from iOS or Android, and isolate credentials across accounts.
  10. End-to-End Synergy: Issue Link to Verified Pull Request — See how Orca coordinates issue trackers, multi-vendor coding CLIs, visual browser QA, human review annotations, and automated cleanup into one cohesive shipping loop.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Fast, verified remedies for the seven most common Orca CLI and multi-agent pitfalls, followed by a six-point readiness checklist before launching parallel fleets.

### Agentic Observability & Prompt Caching

> Instrument multi-agent workflows with OpenTelemetry GenAI trace trees, maximize static-first KV cache hit rates, compact historical tool outputs, and route models for predictable token FinOps.

- Web: https://twelve-pages.com/guides/agent-engineering/agentic-observability-and-prompt-caching
- Markdown: https://twelve-pages.com/guides/agent-engineering/agentic-observability-and-prompt-caching.md
- PDF: https://twelve-pages.com/guides/agent-engineering/agentic-observability-and-prompt-caching/Agentic_Observability_and_Prompt_Caching_Complete_How_To_Guide.pdf (2.3 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: OTel gen_ai.* Spans, Cache Breakpoints & TTLs, Tool-Output Compaction, Subagent Trace Trees, Cheap-to-Frontier Routing, Eval-Linked FinOps
- Core Takeaways:
  - Up to 90% Cache Savings: Reuse stable system instructions, tool schemas, and frozen turns at 0.1x read pricing instead of paying full input rates every step.
  - Unified Multi-Agent Traces: Carry W3C traceparent context across subagent handoffs and MCP servers so nested calls appear in one clean waterfall.
  - Eval-Linked Cost Control: Track time to first token, reasoning tokens, and cost per task side by side with Langfuse or Arize AX evaluation scores.
- Chapters:
  1. The Telemetry & Caching Mental Model: Trace First, Cache the Prefix — Because multi-turn agents resend their full conversation history on every step, uncached agent loops create quadratic token bills. Combining OpenTelemetry GenAI spans with prefix caching keeps unit economics predictable and failures transparent.
  2. Provider Prompt Caching & OTel Telemetry Matrix — Every major model provider handles prefix reuse differently. Knowing minimum token floors, write multipliers, and TTL timers lets you avoid silent cache misses and map exact usage fields into OpenTelemetry.
  3. Annotated Workspace: Trace Waterfall & Cache-Hit HUD — Modern tracing dashboards such as Langfuse and Arize AX combine distributed OpenTelemetry timelines with token ledgers and online eval scores so you can diagnose slow turns or cache misses in seconds.
  4. OpenTelemetry GenAI Spans, Metrics & Subagent Propagation — Vendor-neutral gen_ai.* spans let your agents switch between Anthropic, OpenAI, and Gemini without rewriting telemetry pipelines, while W3C trace propagation keeps distributed subagent trees intact.
  5. Static-First Prefix Ordering & Cache Breakpoint Architecture — Provider KV caches match prompts strictly from byte zero forward. One dynamic timestamp or reordered tool schema near the top of your payload invalidates every downstream token on every turn.
  6. Tool-Output Compaction & Dynamic Cheap-to-Frontier Routing — Long-horizon agents quickly accumulate tens of thousands of stale search logs and file dumps. Compaction keeps working memory crisp, while dynamic routing protects margins from verbose reasoning output costs.
  7. Implementing Cache Breakpoints, Compaction & Cost Ledgers — Translate prefix rules into explicit provider payloads and build a ledger-accurate cost calculator that weights cache writes, 0.1x cache reads, reasoning tokens, and loop circuit breakers.
  8. Five Copy-Paste Recipes for Observable, Cached Agents — Ready-to-deploy patterns covering framework telemetry hooks, multi-provider cache breakpoints, explicit context bundles, subagent span stitching, and OpenTelemetry Collector normalization.
  9. PII Redaction in Traces, Budget Alerts & FinOps Rollout — Production observability must protect customer secrets and stop runaway agent loops before they generate surprise invoices. Enforce privacy defaults at the Collector edge and roll out optimizations in measured stages.
  10. End-to-End Synergy: Tracing, Caching, Routing & Evals in Harmony — How deterministic prompt builders, dynamic model routers, provider KV caches, OTel Collectors, and trace-linked evaluation platforms connect into one continuous cost-and-quality flywheel.
  11. Troubleshooting Clinic & Pre-Flight Readiness Checklist — Rapid ten-second fixes for the seven most frequent caching and telemetry issues, followed by a six-point readiness gate before shipping autonomous agents to production.

### Structured Outputs & State Machines

> Eliminate fragile regex loops with CFG/FSM constrained decoding, Pydantic v2 and Zod v4 contracts, streaming partial objects, explicit transition tables, idempotency, and HITL approval gates.

- Web: https://twelve-pages.com/guides/agent-engineering/structured-outputs-and-state-machines
- Markdown: https://twelve-pages.com/guides/agent-engineering/structured-outputs-and-state-machines.md
- PDF: https://twelve-pages.com/guides/agent-engineering/structured-outputs-and-state-machines/Structured_Outputs_and_State_Machines_Complete_How_To_Guide.pdf (1.3 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: CFG & FSM Logit Masking, OpenAI, Claude & Gemini Schemas, Pydantic v2 & Zod v4, Streaming Partial Objects, Explicit Transition Tables, Idempotency & HITL Gates
- Core Takeaways:
  - Zero-Syntax-Error Decoding: Compile JSON Schemas into token grammars that mask illegal characters to negative infinity before sampling.
  - Cognition vs. Control: Confine probabilistic model reasoning inside typed step outputs while deterministic tables govern every transition.
  - Durable Production Loops: Pair bounded semantic repair retries with idempotency ledgers, checkpoints, and human-approval gates.
- Chapters:
  1. The Core Mental Model: Separating Cognition from Control — Early agent prototypes let language models steer execution through free-form chat loops and brittle regex parsing. Production systems flip that design: the model acts as a typed cognitive oracle, while a deterministic state machine owns every transition.
  2. Provider Schema Support & State Engine Decision Matrix — Every major model API and serving engine supports constrained decoding in 2026, yet each enforces distinct schema rules. Pick the right schema surface and orchestration layer before writing code.
  3. Annotated Inspector: Schema & State-Transition HUD — Debuggable agent platforms combine a live grammar bitmask trace with an explicit finite-state inspector so engineers can see why a token passed, why a semantic repair ran, and which guard halted execution.
  4. How CFG & FSM Logit Masking Guarantee Zero Syntax Errors — Prompts cannot enforce formal syntax reliably across thousands of runs. Constrained decoding solves formatting at the token-sampling layer by masking illegal vocabulary choices before a token is ever picked.
  5. Pydantic v2, Zod v4 & Discriminated-Union Contracts — Maintain a single source of truth for schemas, runtime checks, and compiler types. Modern Zod v4 and Pydantic v2 export strict JSON Schemas natively while validating domain math and discriminated-union tags.
  6. Streaming Partial JSON & Bounded Validation-Repair Loops — Waiting for a complete JSON payload makes interactive apps feel frozen. Incremental parsers render partial objects live as tokens arrive, while capped validation-feedback loops self-heal semantic mistakes cleanly.
  7. Explicit Transition Tables, Loop Breakers & Approval Gates — An agent loop is safest when every state, allowed event, guard condition, and exit ceiling lives in an explicit transition table. The language model proposes events; deterministic code decides whether they execute.
  8. Five Copy-Paste Production Recipes — Proven implementation blueprints covering strict extraction, discriminated-union routing, streaming partial interfaces, self-healing validators, and durable human-approved tool execution.
  9. Idempotency, Checkpointing & Dead-Letter Transitions — Structured outputs protect what enters your state machine; idempotency keys, durable checkpoints, and dead-letter queues protect what happens when workers crash mid-flight or upstream APIs time out.
  10. End-to-End Synergy: Typed Ingress to Durable Execution — When Zod v4 or Pydantic v2 contracts drive both provider token masking and your statechart transitions, every layer reinforces the next—turning stochastic text generation into verifiable software engineering.
  11. Troubleshooting Clinic & Production Pre-Flight Checklist — Use this field clinic to diagnose the seven most frequent structured-output and state-machine failures in seconds, followed by six readiness gates every agent must clear before production traffic.

### Voice-First Coding & Capture Workflows

> Turn spoken architectural intent into code and notes with mlx-whisper and Superwhisper, codebase symbol glossaries, voice PR diff triage, and automated Obsidian _inbox/ capture pipelines.

- Web: https://twelve-pages.com/guides/agent-engineering/voice-first-coding-and-capture-workflows
- Markdown: https://twelve-pages.com/guides/agent-engineering/voice-first-coding-and-capture-workflows.md
- PDF: https://twelve-pages.com/guides/agent-engineering/voice-first-coding-and-capture-workflows/Voice_First_Coding_and_Capture_Workflows_Complete_How_To_Guide.pdf (995 KB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: mlx-whisper & Handy, Superwhisper & Wispr Flow, Custom Code Dictionaries, Spoken Spec-to-Plan, Voice PR & Terminal Triage, Obsidian & GitHub Pipelines
- Core Takeaways:
  - 3x Faster Intent Bandwidth: Speak nuanced architecture, edge cases, and acceptance criteria at 160+ words per minute while coding agents handle exact syntax.
  - Zero-Garble Code Vocab: Prime Whisper initial_prompt glossaries, active IDE context, and Superwhisper MCP sync to nail every symbol and CLI flag.
  - Local-First Privacy & Capture: Run offline Apple Silicon models with Silero VAD gating, automatic secret scrubbing, and seamless voice-memo-to-Obsidian triage.
- Chapters:
  1. The Complementarity Rule: Speech for Intent, Agents for Syntax — Effective voice coding does not mean reading curly braces and semicolons aloud. Instead, voice acts as a high-bandwidth channel for architectural intent while coding agents translate that intent into clean, type-checked diffs.
  2. Acoustic Setup, VAD Gating & Dictation Engine Matrix — Transcription accuracy depends just as much on microphone proximity and silence detection as on model size. Choose an engine tier that matches your latency target, privacy boundary, and operating system.
  3. Annotated Workspace: Voice-to-Agent HUD & Vocabulary Panel — Modern voice coding pairs a lightweight acoustic capture HUD with live IDE context awareness and custom replacement dictionaries so spoken prompts land cleanly in your agent terminal.
  4. Spoken Spec-to-Plan Prompting for Coding Agents — Rambling voice prompts force coding agents to guess file boundaries and invariants. Structuring a 30-second spoken recording into five crisp slots turns conversational speech into an unambiguous engineering specification.
  5. Custom Code Vocabularies & Whisper Prompt Priming — Out-of-the-box speech models trained on podcasts routinely mangle programming jargon. Priming the decoder glossary, wiring replacement rules, and letting agents audit mis-transcriptions eliminates manual typo fixes.
  6. Voice-Driven PR Diff Walkthroughs & Terminal Triage — Code review is predominantly a reading and reasoning task. Speaking aloud as you scan a pull request lets you direct agent pre-reviews, classify noisy bot comments, and draft crisp technical replies in seconds.
  7. Voice-Memo-to-Obsidian +Inbox/ & GitHub Pipelines — Your sharpest architectural ideas rarely happen at your desk. An automated capture pipeline turns off-screen voice memos into linked Obsidian vault notes and actionable GitHub issues before you sit back down.
  8. Five Copy-Paste Recipes for Voice Coding & Capture — Practical blueprints you can deploy today—spanning zero-cloud Apple Silicon push-to-talk, agent-driven dictionary syncing, Obsidian inbox sorting, and multi-channel PR triage.
  9. Offline Privacy Zones, Secret Scrubbing & Team Etiquette — Bringing a live microphone into software engineering introduces real privacy, credential-hygiene, and workspace-etiquette stakes. Build hard local boundaries before dictating around proprietary repositories.
  10. End-to-End Voice Synergy: From Walking Thought to Merged PR — Voice workflows shine brightest when capture, transcription, vocabulary normalization, agent planning, and knowledge archiving link into one continuous pipeline across mobile and desktop tools.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Fast, reliable fixes for the seven most common voice-coding bottlenecks, followed by a six-point readiness check before shipping sensitive work by voice.

### AI Document & Web Scraping Pipelines

> Transform messy PDFs, Office suites, and JS-heavy websites into clean, chunked, citation-ready Markdown using Docling, Granite-Docling VLM, Crawl4AI fit_markdown, Firecrawl v2, and SHA-256 deduplication.

- Web: https://twelve-pages.com/guides/agent-engineering/ai-document-and-web-scraping-pipelines
- Markdown: https://twelve-pages.com/guides/agent-engineering/ai-document-and-web-scraping-pipelines.md
- PDF: https://twelve-pages.com/guides/agent-engineering/ai-document-and-web-scraping-pipelines/AI_Document_and_Web_Scraping_Pipelines_Complete_How_To_Guide.pdf (1.4 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: DoclingDocument & TableFormer, Granite-Docling VLM & OCR, Crawl4AI Async & CSS Schemas, fit_markdown Noise Pruning, Firecrawl v2 /extract & Actions, Sanitization & SHA-256 Dedup
- Core Takeaways:
  - Structure-First Parsing: Preserve reading order, merged table headers, formulas, and page provenance instead of flattening layouts into broken plain text.
  - Zero-Bloat Web Markdown: Strip navigation chrome, ads, and footers using PruningContentFilter and declarative schemas before tokens touch your LLM.
  - Hardened Ingestion Hygiene: Quarantine hidden prompt-injection lures, honor robots.txt crawl delays, and skip redundant embeds via SHA-256 hashing.
- Chapters:
  1. The Ingestion Boundary: Raw Files & Live Web to Clean Context — Retrieval systems and autonomous agents rarely fail because the language model cannot reason; they fail because noisy ingestion feeds scrambled tables, broken multi-column reading order, and sprawling navigation bars into the context window.
  2. Setup, Hardware Tiers & Extraction Engine Matrix — No single scraper handles every source well. Match PDFs, Office documents, open web crawls, and protected portals to the right local library or managed API before writing pipeline code.
  3. Annotated Workspace: Ingestion & Chunk Inspector HUD — Reliable data engineering pipelines expose live observability across every stage: source routing, token pruning ratios, prompt-injection drops, SHA-256 deduplication, and exact chunk provenance.
  4. Docling: PDF Layout, TableFormer & VLM Conversion — Developed by IBM Research, Docling replaces brittle text dumpers with deep layout analysis, converting PDFs, Word files, slide decks, and scanned archives into a structured DoclingDocument tree.
  5. Crawl4AI: Async Playwright, Pruning & Schema Extraction — Crawl4AI gives Python engineers direct programmatic control over headless Chromium instances—pairing concurrent crawling with heuristic Markdown noise pruning and deterministic CSS extraction schemas.
  6. Firecrawl v2: Alexandria, /interact & Change Tracking — Firecrawl v2 unites 5 core endpoints (Scrape, Crawl, Map, Search, and Interact persistent browser profiles) with Firecrawl Alexandria (550+ official data providers, 75M+ records, and 3M+ arXiv/GitHub Research Index) behind one API key.
  7. HybridChunker, Contextualization & Provenance Metadata — Clean Markdown is only half the ingestion pipeline. Naive character splitters tear apart Markdown tables and strip parent headings; structure-aware chunking preserves semantics and clickable citations.
  8. Five Copy-Paste Production Ingestion Recipes — Battle-tested patterns combining Docling, Crawl4AI, and Firecrawl across common engineering tasks—from local annual report extraction to live webhook-driven monitoring.
  9. Crawl Ethics, Prompt-Injection Quarantine & Deduplication — External websites and third-party PDFs are untrusted inputs. Production pipelines respect domain crawl rules, sanitize invisible adversarial instructions deterministically, and hash normalized text before embedding.
  10. End-to-End Synergy Pipeline: Discovery to Verified RAG — Rather than forcing one engine onto every workload, production teams route web links, interactive portals, and binary attachments to specialized extractors before merging everything into one clean index.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Rapid fixes for the seven most frequent document parsing and web scraping failure modes, paired with a mandatory six-point pre-flight check before launching production ingestion jobs.

## Obsidian & AI Knowledge Systems (6 Handbooks)

Topic Hub: https://twelve-pages.com/topics/obsidian

Publication-grade 12-page visual handbooks for turning Obsidian vaults into AI-native Second Brains—covering Claude Desktop & Antigravity Desktop workflows, multimodal Web Clipper/PDF/voice capture pipelines, native Bases & JSON Canvas, autonomous LLM Wikis, Graphify knowledge graphs, and multi-device vault security.

### Obsidian + Desktop AI Agents

> Operating your Obsidian vault side-by-side with Claude Desktop and Google Antigravity Desktop—mastering Cowork folders, Local REST API MCP, the native Obsidian CLI, vault AGENTS.md rules, and scheduled briefings.

- Web: https://twelve-pages.com/guides/obsidian/obsidian-desktop-ai-agents
- Markdown: https://twelve-pages.com/guides/obsidian/obsidian-desktop-ai-agents.md
- PDF: https://twelve-pages.com/guides/obsidian/obsidian-desktop-ai-agents/Obsidian_and_Desktop_AI_Agents_Complete_How_To_Guide.pdf (3.6 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Claude Desktop & Cowork, Antigravity Vault Projects, Local REST API MCP, Native Obsidian CLI, AGENTS.md & GEMINI.md, Scheduled Briefings
- Core Takeaways:
  - One Local Markdown Vault: Plain UTF-8 .md files on disk let Obsidian, Claude Desktop, and Antigravity Desktop collaborate live with zero cloud lock-in.
  - Surgical Live Patching: Append action items under target headings or update YAML frontmatter via MCP and the official CLI without rewriting long notes.
  - Automated Daily Rituals: Wake up to ready-made daily briefings combining Google Calendar agendas, Drive docs, and unfinished tasks on a weekday schedule.
- Chapters:
  1. Why Plain-Text Markdown Is the Ultimate Agent Workspace — Proprietary cloud note apps lock your thinking inside opaque database blocks and rate-limited APIs. An Obsidian vault is simply a local folder of plain .md files, YAML properties, and [[Wikilinks]]—giving desktop AI agents instant, native read/write fluency right beside you.
  2. Setup, 4 Vault Connection Modes & Decision Matrix — There are four distinct bridges between desktop AI agents and an Obsidian vault. Setting up all four takes under five minutes and lets you match every task to the fastest, safest transport.
  3. Annotated Tour: Dual-Desktop Agent + Obsidian Studio — Arranging Obsidian alongside Antigravity Desktop or Claude Desktop turns your screen into a live cockpit: you steer context on the left while watching structured notes, properties, and backlinks materialize on the right.
  4. Claude Desktop: Cowork Folders & Surgical MCP Patching — Claude Desktop shines when wired with two complementary vault tools: direct folder access for sweeping research synthesis, and mcp-obsidian over port 27124 for surgical single-heading and frontmatter edits.
  5. Antigravity Desktop: Vault Projects, @ Mentions & Skills — Opening your vault as a first-class Project in Google Antigravity Desktop turns a folder of notes into a programmable knowledge workspace with persistent rules, progressive-disclosure skills, and multimodal Chat Canvas drops.
  6. Vault Taxonomy, AGENTS.md Laws & Prompt Anatomy — AI agents thrive on predictable structure. A numbered six-folder taxonomy paired with a crisp AGENTS.md contract eliminates duplicate notes, malformed YAML frontmatter, and broken [[Wikilinks]].
  7. Native Obsidian CLI & Scheduled Daily/Weekly Rituals — Once registered via Settings → General → Command line interface → Register CLI, the official obsidian binary lets terminal scripts and Antigravity Scheduled Tasks drive the live Obsidian app directly.
  8. 5 Real-World Copy-Paste Vault Prompts & Recipes — Drop these five prompts straight into Antigravity Chat Canvas, Scheduled Tasks, or Claude Desktop. Each recipe obeys AGENTS.md YAML laws, protects existing prose, and produces verifiable [[Wikilinks]].
  9. Protecting .obsidian/ Configs & 10-Second Rollback Safety — Giving desktop AI agents write access to years of personal notes requires defense in depth. Three lightweight guardrails guarantee that an over-eager bulk edit can always be undone in under ten seconds.
  10. Cross-Tool Synergy: The Closed-Loop Second Brain — When mobile capture, Google Workspace signals, Antigravity scheduled routines, Claude Desktop deep synthesis, and Obsidian’s visual graph feed one another, your vault compounds in value every single week.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — Nearly every hiccup between Obsidian, Claude Desktop, and Antigravity Desktop traces back to one of seven local configuration snags—each solvable in ten seconds.

### Obsidian Bases & JSON Canvas with AI

> Turning flat Markdown notes into live relational databases and spatial visual boards—having Claude Desktop and Antigravity generate native .base views, YAML schemas, and .canvas architecture maps.

- Web: https://twelve-pages.com/guides/obsidian/obsidian-bases-and-json-canvas-agents
- Markdown: https://twelve-pages.com/guides/obsidian/obsidian-bases-and-json-canvas-agents.md
- PDF: https://twelve-pages.com/guides/obsidian/obsidian-bases-and-json-canvas-agents/Obsidian_Bases_and_JSON_Canvas_with_AI_Complete_How_To_Guide.pdf (3.5 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Native .base Databases, Open JSON Canvas (.canvas), YAML Property Schemas, Formulas & Dynamic Views, Anti-Overlap Grid Math, Zero Third-Party Plugins
- Core Takeaways:
  - Relational .base Views: Query thousands of vault notes into fast, two-way editable Tables and Gallery Cards powered by clean YAML filters and formulas.
  - Spatial .canvas Maps: Have AI agents calculate non-overlapping 2D grids, group boundaries, and labeled arrows directly in open JSON Canvas 1.0 files.
  - 100% Plain-Text Native: Every note, database query, and whiteboard lives on your local disk as inspectable UTF-8 files with zero cloud or plugin lock-in.
- Chapters:
  1. The Native Tri-Format Stack: .md + .base + .canvas — Plain Markdown notes excel at linear prose, yet stumble when you need a sortable project tracker or a big-picture system diagram. Obsidian solves both natively, without proprietary cloud databases or fragile community plugins, using two plain-text companion formats that AI agents read and write fluently.
  2. Core Plugin Setup & Format Decision Matrix — Everything in this handbook runs on 100% official, built-in Obsidian features: zero community plugin security audits, instant startup on macOS/Windows/Linux/iOS/Android, and guaranteed long-term format stability.
  3. Annotated Tour: Split-Pane .base & .canvas Studio — Opening a relational .base view on the left and a spatial .canvas board on the right turns Obsidian into an interactive command center where tabular metadata and architectural topology stay linked in real time.
  4. Designing Agent-Safe YAML Property Schemas — A .base database is only as sharp as the YAML frontmatter underneath it. Without an explicit schema contract, AI agents drift across synonyms, writing dueDate on Monday and due_date on Tuesday and silently splitting one column into sparse fragments.
  5. Authoring Native .base Files & Formulas With AI — Every Obsidian .base file is a declarative YAML document with four top-level blocks: global filters, calculated formulas, column properties labels, and a views array defining Table, Cards, List, and Map tabs (1.10+).
  6. Mastering Open JSON Canvas (.canvas) & Grid Math — Published under an open specification at jsoncanvas.org, every .canvas file is a standard JSON object with two arrays: nodes[] (ordered back-to-front by z-index) and edges[]. Deterministic grid math turns messy guesses into crisp blueprints.
  7. Bi-Directional Workflows: Notes ↔ Bases ↔ Canvas — Because all three formats live as plain text in your workspace, information flows effortlessly in both directions: synthesize scattered notes upward into dashboards, or sketch rough boxes on a canvas and let an AI agent scaffold your vault downward.
  8. 5 Real-World Copy-Paste .base & .canvas Recipes — Drop any of these five battle-tested prompts directly into Claude Desktop (with Filesystem MCP) or Antigravity Desktop to build complete, zero-plugin relational and spatial systems inside your vault in under sixty seconds.
  9. Validation Scripts & Layout Polish in Antigravity — Professional agent workflows never trust raw LLM JSON blindly. Adding a tiny 25-line Python check inside Antigravity Desktop catches broken file paths, duplicate IDs, float coordinates, and overlapping cards in milliseconds before you even switch windows to Obsidian.
  10. Cross-Tool Synergy Pipeline: Raw Inputs to Visual Vault — Native .base views and .canvas boards shine brightest as the visual presentation layer at the end of an automated AI research and engineering pipeline, turning messy transcripts, repositories, and PDFs into a living operating system.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Nearly every broken .base column or unreadable .canvas board traces back to one of seven syntax mismatches. Keep this diagnostic table handy for ten-second fixes.

### Autonomous LLM Wiki & Research Vault

> Building a Karpathy-style self-maintaining knowledge base in Obsidian where Claude Desktop and Antigravity compile raw PDFs, transcripts, and web clips into interlinked evergreen concept notes.

- Web: https://twelve-pages.com/guides/obsidian/autonomous-llm-wiki-vault
- Markdown: https://twelve-pages.com/guides/obsidian/autonomous-llm-wiki-vault.md
- PDF: https://twelve-pages.com/guides/obsidian/autonomous-llm-wiki-vault/Autonomous_LLM_Wiki_and_Research_Vault_Complete_How_To_Guide.pdf (3.4 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Karpathy LLM Wiki Pattern, _raw/ Immutable Sources, Atomic Evergreen Notes, Maps of Content (MOCs), Source Provenance, Scheduled Wiki Lint
- Core Takeaways:
  - Compile Once, Compound Forever: Stop re-chunking raw PDFs on every prompt; let desktop AI agents distill new sources directly into living encyclopedia pages.
  - 100% Cited Provenance: Every synthesized claim links back to an untouched primary file in 00-raw/ with exact section anchors and confidence tags.
  - Self-Healing Wikilinks: Scheduled weekly lint passes mend broken links, merge synonym stubs, and surface contradictions across years of reading.
- Chapters:
  1. Compiled Knowledge vs. Stateless RAG — Why having desktop AI agents maintain an interlinked Markdown wiki beats re-chunking raw PDFs on every question, turning passive reading folders into compounding institutional memory.
  2. Vault Blueprint & Knowledge Architecture Matrix — An autonomous Obsidian wiki needs zero plugins or external databases to start: only a clean numbered folder hierarchy and a constitution file (AGENTS.md) that defines how agents read, compile, and log changes.
  3. Annotated Tour: Obsidian Autonomous Wiki Workspace — Because every agent-compiled note is standard Markdown with YAML properties and [[Wikilinks]], Obsidian turns your vault into an interactive research cockpit with zero proprietary lock-in.
  4. Operation 1: The Ingest & Multi-Page Compile Loop — Dropping a file into 00-raw/ is not “saving a bookmark”: it triggers a five-step compilation pass where one new document ripples across your entire knowledge graph.
  5. Evergreen Note Anatomy, Schema Laws & Compiler Prompt — Left unguided, LLMs write shallow bullet lists full of synonym files and vague “See Also” links. Your AGENTS.md schema turns the model into a disciplined encyclopedia editor.
  6. Operation 2: Index-First Querying & Filing Answers Back — Once your knowledge is pre-compiled into clean concept notes and indexed in index.md, answering complex multi-hop research questions requires zero vector database infrastructure, and every great answer makes the vault smarter.
  7. Operation 3: Scheduled “Wiki Lint” & Gardening — Even disciplined compilation accumulates rough edges over dozens of ingests. A weekly automated Wiki Lint pass keeps your Obsidian graph coherent, pruned, and epistemically honest while you rest.
  8. 5 Real-World Domain LLM Wiki Recipes — The three-layer Obsidian compiler adapts to any synthesis-heavy discipline simply by tuning the entity types and provenance rules inside AGENTS.md. Copy any domain setup below to launch a specialized vault in minutes.
  9. Provenance Gates, Anti-Hallucination & Co-Authorship — A self-maintaining wiki is only valuable if you can trust every sentence inside it, and if your own hard-won intuition is never flattened or overwritten by an eager compiler pass.
  10. Cross-Tool Research Synergy Pipeline — Your Obsidian LLM Wiki becomes ten times more powerful when positioned as the permanent hub between upstream discovery tools and downstream writing, slides, and engineering specs.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Most autonomous wiki hiccups stem from missing guardrails in AGENTS.md rather than model capability. Use these 10-second fixes to keep your vault sharp across hundreds of compile cycles.

### AI Agents + Graphify + Obsidian

> Building persistent, queryable knowledge graphs from codebases and notes that you explore visually in Obsidian and expose to AI agents via MCP.

- Web: https://twelve-pages.com/guides/obsidian/graphify-and-obsidian-knowledge-graphs
- Markdown: https://twelve-pages.com/guides/obsidian/graphify-and-obsidian-knowledge-graphs.md
- PDF: https://twelve-pages.com/guides/obsidian/graphify-and-obsidian-knowledge-graphs/AI_Agents_Graphify_and_Obsidian_Complete_How_To_Guide.pdf (3.6 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: AST + Multimodal Extraction, EXTRACTED / INFERRED Tags, GRAPH_REPORT.md & Leiden Clusters, Quarantine Vault Pattern, graphify & graph-query-mcp, Two-Way Obsidian MCP Loop
- Core Takeaways:
  - Structure Beats Blind Grep: Stop burning context windows on linear file scans; trace multi-hop call paths, God Nodes, and subsystem clusters in under 50ms.
  - One Map for Humans & Agents: Every build exports graph.json for instant MCP tool calls alongside a linked obsidian/ vault you can walk by hand.
  - Epistemic Honesty Built In: Every edge carries an explicit EXTRACTED, INFERRED, or AMBIGUOUS tag so agents never confuse guesses with facts.
- Chapters:
  1. Why Grep & Vector Chunks Miss Architectural Structure — Without a structural map, an AI coding agent treats every architectural question like a blind scavenger hunt: grep tells it where a symbol appears, and chunked vector search finds paragraphs that sound similar—neither knows how five modules and two design docs actually connect.
  2. Installation, Extraction Modes & Decision Matrix — Graphify runs locally on Python 3.10+ (NetworkX + tree-sitter + graspologic) without external servers or Docker containers, and installs as a native skill across Claude Code, Cursor, Codex, Antigravity, Gemini CLI, Copilot CLI, OpenCode, and Aider.
  3. Annotated Tour: Obsidian + Graphify Knowledge Vault — Every build generates graphify-out/obsidian/—one Markdown note per node, YAML frontmatter, [[wikilink]] edges, and a spatial Canvas. Here is how human notes, quarantined graph snapshots, Leiden cluster colors, and God Nodes coexist safely.
  4. Building Your First Graph & Reading GRAPH_REPORT.md — Whether you point Graphify at a polyglot repository or Andrej Karpathy's raw/ drop-folder of research papers, tweets, and screenshots, one command distills scattered files into six persistent artifacts inside graphify-out/.
  5. Obsidian Setup & Safe Vault Merge Patterns — Because graphify-out/obsidian/ is regenerated as a point-in-time snapshot whenever code or notes change, choosing your vault integration pattern upfront prevents accidental overwrites while making large graphs effortless to browse.
  6. Three Levels of AI Agent Integration — A knowledge graph saves zero tokens if your coding agent forgets it exists and falls back to recursive grep. Wire your agent across three progressive levels—from interactive slash queries up to sub-50ms in-memory MCP traversal.
  7. Two-Way Obsidian Read/Write & Automated Freshness — Querying graph.json gives your agent structural X-ray vision; adding a direct Obsidian bridge closes the loop—letting agents file synthesis notes with [[wikilinks]] while Git hooks keep your graph honest on every commit.
  8. 5 Real-World Copy-Paste Graphify + Obsidian Recipes — Drop these five ready-to-run prompts, shell scripts, and JSON configs straight into Claude Code, Cursor, Antigravity, or your repository hooks to turn structural graph queries into an effortless daily reflex.
  9. Token Economics, Vault Hygiene & Multi-Repo Scale — Knowing exactly how Graphify spends and saves tokens—and governing what enters Git versus local caches—lets you scale from a single weekend project up to federated microservice fleets and shared Architecture Decision Records (ADRs).
  10. Cross-Tool Synergy: Structural + Semantic Memory Pipeline — Graphify does not replace specs or content search—it completes the engineering memory stack. Watch how Obsidian visual review, MCP topology traversal, and targeted file/RAG lookup combine on a cross-cutting feature.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Keep this final page beside your terminal and Obsidian workspace. Every common Graphify + Obsidian snag—from tangled hairball graphs to overwritten notes and MCP connection hiccups—has a fast 10-second fix.

### Obsidian Vault Security, Privacy & Sync

> Protecting private journals, API secrets, and multi-device sync when AI agents touch your vault—mastering privacy zones, sandboxes, prompt-injection defenses, and conflict-free Obsidian Sync + Git.

- Web: https://twelve-pages.com/guides/obsidian/vault-security-privacy-and-sync
- Markdown: https://twelve-pages.com/guides/obsidian/vault-security-privacy-and-sync.md
- PDF: https://twelve-pages.com/guides/obsidian/vault-security-privacy-and-sync/Obsidian_Vault_Security_Privacy_and_Sync_Complete_How_To_Guide.pdf (1.1 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Private Journal Isolation, Scoped MCP Directories, Web Clipper Quarantine, Obsidian Sync + Git, Local Air-Gapped Ollama, 10-Second Disaster Recovery
- Core Takeaways:
  - Zero Private Leaks: Physically exclude journals, medical notes, and plugin API keys from cloud MCP mounts and Git remotes by design.
  - Injection-Safe Clipping: Quarantine and sanitize saved web articles and external PDFs before any tool-wielding desktop agent reads them.
  - Conflict-Free Multi-Device: Combine end-to-end encrypted Obsidian Sync, mobile quick-capture, and local Git checkpoints with zero file collisions.
- Chapters:
  1. Why Personal Vaults Need Stronger Boundaries Than Code — A software repository expects every file to be read by compilers, coworkers, and cloud coding agents. A personal Obsidian vault is fundamentally different: it mixes intimate journals, medical and tax records, unvetted articles clipped from the open web, plugin API keys, and active work research inside one plain-text folder tree.
  2. Threat Model & Multi-Device Sync Decision Matrix — Connecting autonomous AI tools and mobile sync engines to plain Markdown files introduces four concrete, repeatable failure modes. Understanding how each failure happens lets you neutralize all four in under fifteen minutes.
  3. Annotated Tour: Vault Security & Sync Control Plane — A hardened Obsidian setup coordinates three control surfaces side by side: scoped directory arguments in Claude Desktop, workspace file-access and review policies in Antigravity, and sync/snapshot exclusions inside Obsidian Settings.
  4. Hard Isolation for Private Journals & Plugin Secrets — Before granting any desktop agent filesystem or REST access, decide how strictly you want to separate deeply personal notes from everyday project work—and lock down the hidden JSON files where Obsidian plugins store raw API keys.
  5. Defending Against Web Clipper & PDF Prompt Injection — Obsidian Web Clipper is a superpower for building a research library—and the number-one Trojan horse for desktop AI agents. Every clipped webpage, GitHub issue, or external PDF is untrusted third-party text written by strangers on the internet.
  6. Running Obsidian Sync + Git + Mobile Without Conflicts — Most vault corruption blames AI agents when the true culprit is two sync engines fighting over internal metadata—or macOS silently replacing local Markdown files with hollow cloud placeholders behind an agent's back.
  7. Air-Gapped Local AI Routing for Sensitive Personal Notes — Keeping 00-Private/ off cloud servers does not mean giving up AI synthesis on your personal life. Modern Apple Silicon Macs run 12B–32B open-weight models locally at 30–60 tokens/second—letting you reflect on decade-long journals, medical labs, or household finances with zero bytes leaving your machine.
  8. 5 Copy-Paste Security, Sync & Governance Recipes — Drop these five configurations and helper scripts straight into your setup to enforce folder boundaries, stop Git secret leaks, scrub untrusted web clips, and wrap bulk agent runs in instant rollback tags.
  9. Auditing Bulk Agent Edits & 10-Second Disaster Recovery — Once an AI agent can normalize YAML tags, rename backlinks, or reorganize 150 project notes in five seconds, your safety depends on a fast, rehearsed recovery stack. Build three concentric safety nets so no bad prompt ever costs more than ten seconds.
  10. Cross-Tool Synergy: Capture to AI Synthesis to Sync — Here is how every piece in this guide fits together into one calm daily workflow—from mobile phone capture and Web Clipper intake through split cloud/local AI processing, diff verification, and encrypted multi-device sync.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Check — Keep this reference page handy whenever sync conflicts appear, MCP servers miss files, or an automated refactor needs a rapid fix.

### Obsidian Multimodal Capture & Pipelines

> Turn web articles, academic PDFs, voice memos, and whiteboard photos into structured vault notes—mastering Obsidian Web Clipper templates, Interpreter {{"..."}} prompts, Knap filters, PDF++ citations, and quarantine-safe _inbox/ routing.

- Web: https://twelve-pages.com/guides/obsidian/obsidian-capture-and-multimodal-pipelines
- Markdown: https://twelve-pages.com/guides/obsidian/obsidian-capture-and-multimodal-pipelines.md
- PDF: https://twelve-pages.com/guides/obsidian/obsidian-capture-and-multimodal-pipelines/Obsidian_Capture_and_Multimodal_Pipelines_Complete_How_To_Guide.pdf (2.5 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Web Clipper Templates, Interpreter AI Prompts, Knap Filter Pipes, PDF++ Deep Citations, Voice & Vision OCR, Quarantine _inbox/ Gate
- Core Takeaways:
  - Universal Capture: Ingest articles, papers, spoken meetings, and photos with deterministic templates and zero manual copy-pasting.
  - Zero-Friction Distillation: Pair Knap filter pipes, local Ollama or cloud Interpreter prompts, and PDF++ anchors for instant structure.
  - Safe _inbox/ Quarantine: Isolate untrusted clips with untrusted_clip: true before any agent promotes insights into your evergreen wiki.
- Chapters:
  1. Quick Navigation & The 3-Stage Capture Model — Great knowledge vaults fail when capture feels like homework. Separate raw intake from permanent synthesis so every messy web page, PDF, or voice note lands safely in under five seconds.
  2. Setup & Capture Modality Decision Matrix — Install one browser extension, pick an Interpreter AI backend, and keep lightweight local CLI extractors ready so every file type flows into clean Markdown without proprietary lock-in.
  3. Web Clipper, Interpreter Cockpit & _inbox/ Preview — Every capture runs inside one predictable split workflow: triggers match the page, selectors grab clean text, Knap filters shape values, Interpreter fills AI prompt variables, and Obsidian receives typed YAML.
  4. Web Clipper Mastery: Variables, Selectors, Knap Filters & AI — Combine built-in page metadata, precision CSS or Schema.org extractors, and deterministic Knap filter pipes before handing clean text to Interpreter.
  5. Auto-Triggers & Color-Coded Capture Template Anatomy — Stop picking templates by hand. Bind URL regexes and Schema.org types to specialized templates so every capture automatically carries typed YAML and safe defaults.
  6. Academic PDFs, Scanned Tables & Slide Decks — Match the extractor to the document: parse digital text and tables deterministically with Python and PDF++ anchors, and route scanned layouts or math-heavy slides to multimodal vision OCR.
  7. Voice Memos, Meeting Audio & Whiteboard Snapshots — Capture ideas while walking or straight off a conference room whiteboard. Convert raw audio and JPEG snapshots into speaker-attributed notes, Mermaid flowcharts, and native Obsidian .canvas boards.
  8. 5 Real-World Copy-Paste Capture Recipes — Drop these tested templates and shell commands straight into Web Clipper or your local capture scripts. Every recipe enforces _inbox/ staging and clean YAML metadata.
  9. Mobile Capture, URI Automation & Quarantine Security — Extend one-tap capture to your phone with obsidian:// URIs and defend your AI agents against indirect prompt injection hidden inside clipped web pages and PDFs.
  10. End-to-End Cross-Tool Knowledge Pipeline — Capture is only half the story. Connect your multimodal _inbox/ into Claude Desktop or Antigravity compilers to feed an autonomous LLM Wiki, live Obsidian Bases, and a Graphify knowledge graph.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — Fix the seven most common capture glitches in ten seconds flat, then run the pre-flight checklist before trusting a new template or automated pipeline.

## AI Music, Cinema & Presentation Studios (4 Handbooks)

Topic Hub: https://twelve-pages.com/topics/creative-media

Publication-grade 12-page visual handbooks for generative music, studio voice/avatar localization, interactive 3D world-building & AI cinema, and rapid visual pitch decks—covering Suno, ElevenLabs, Lyria 3.5, HeyGen, Project Genie, Runway, Kling, and Gamma.

### AI Music Production & Soundtracks

> Compose songs, brand beds, and looping SFX using Suno v6 meta-tags, Personas, and 12-stem WAV/MIDI exports alongside ElevenLabs Music, Google Lyria 3.5, and 2026 commercial clearance rules.

- Web: https://twelve-pages.com/guides/creative-media/ai-music-production-and-soundtracks
- Markdown: https://twelve-pages.com/guides/creative-media/ai-music-production-and-soundtracks.md
- PDF: https://twelve-pages.com/guides/creative-media/ai-music-production-and-soundtracks/AI_Music_Production_and_Soundtracks_Complete_How_To_Guide.pdf (1.1 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Suno v6 & Studio Meta-Tags, Personas & Replace Section, ElevenLabs Music & SFX Loops, Google Lyria 3.5 & SynthID, 12-Stem WAV & MIDI Export, 2026 Label & Client Clearance
- Core Takeaways:
  - Structured Song Craft: Direct verses, drops, and locked vocal Personas in Suno v6 using bracketed meta-tags and bar-accurate section replacement.
  - Cleared Scoring & Foley: Compose millisecond-timed brand beds and click-free ambient loops with ElevenLabs Music and Google Lyria 3.5.
  - Pro DAW Finishing: Split 12 WAV stems, extract tempo-mapped MIDI, swap in studio VSTs, and master to release loudness in Logic Pro or Ableton Live.
- Chapters:
  1. Three Engines, One Modern Studio Mental Model — Rather than forcing a single generator to handle vocals, dialogue underscore, sound effects, and final mixing, modern producers route each job to a specialized engine and bring every piece home inside a desktop DAW.
  2. SDK Setup, Commercial Rights & Audio Engine Matrix — Great soundtracks fail client audits when they come from the wrong plan tier or lack clean stem files. Install the official SDKs below and match every creative task to the right engine before pressing generate.
  3. Lyric Meta-Tag & Stem Mixer Studio: 7 Key Controls — Treat AI generation like a multitrack recording session rather than a vending machine. These seven studio controls bridge prompt authoring, timeline surgical edits, and multi-stem DAW export.
  4. Suno v6: Meta-Tags, Personas & Surgical Timeline Edits — Suno's v6 family (v6 flagship, v6-wild ideation, and fast v6-mini) rewards clear architectural direction. Pair Custom Mode meta-tags with Personas and Suno Studio's timeline tools to shape radio-ready arrangements.
  5. ElevenLabs Music & SFX: Cleared Scores & Seamless Loops — When client projects demand clean chain-of-title clearance, exact millisecond timings for video cuts, or continuous ambient soundscapes that never click at the loop boundary, ElevenLabs Music (music_v2_5) and SFX v2/v3 shine.
  6. Google Lyria 3.5: CLI Soundtracks, GenAI SDK & RealTime — Google's lyria-3.5 unifies full-length 44.1 kHz stereo music generation inside the same Gemini API and gemini-api CLI used for text and video—bringing scriptable soundtracks, multimodal image cues, and SynthID into any workflow.
  7. 12-Stem Extraction, Tempo-Mapped MIDI & DAW Mastering — Cloud generations sound exciting on laptop speakers yet often carry synth fizz, uneven low end, or subtle tempo drift. Export stems and MIDI into Logic Pro or Ableton Live 12.3+ to transform drafts into release-grade masters.
  8. 5 Real-World Copy-Paste Production Recipes — Put these five field-tested patterns straight into Suno Custom Mode, Python audio pipelines, or terminal soundtrack scripts—each verified against 2026 API signatures and licensing best practices.
  9. 2026 Licensing Reality: Settlements, Attribution & Clearance — Landmark 2025–2026 label settlements transformed AI audio from a legal gray zone into tiered licensing agreements. Protect clients and releases by matching plan rights, provenance tags, and human authorship before publishing.
  10. End-to-End Pipeline: Prompt Blueprint to Mastered Soundtrack — Combine all three engines with your desktop DAW into a seamless four-stage production house—moving from rapid scriptable ideation and vocal hooks to dialogue-safe beds, clean stem splits, and broadcast-ready masters.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight Checklist — Bookmark this final page before bouncing a soundtrack or shipping client stems. Almost every AI music snag comes down to one of these seven fast fixes.

### AI Voices, Multilingual Dubbing & Avatars

> Produce studio voice clones, W3C PLS phoneme lexicons, multi-speaker Gemini TTS dialogues, 175-language HeyGen lip-sync dubbing, and real-time WebRTC LiveAvatars with C2PA provenance.

- Web: https://twelve-pages.com/guides/creative-media/ai-voices-dubbing-and-avatars
- Markdown: https://twelve-pages.com/guides/creative-media/ai-voices-dubbing-and-avatars.md
- PDF: https://twelve-pages.com/guides/creative-media/ai-voices-dubbing-and-avatars/AI_Voices_Multilingual_Dubbing_and_Avatars_Complete_How_To_Guide.pdf (1.0 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: ElevenLabs PVC & Voice Design v3, IPA / PLS Pronunciation Lexicons, HeyGen Avatar IV & Digital Twin, 175+ Lang Lip-Sync Dubbing, LiveAvatar WebRTC Streaming, C2PA Watermarks & Consent
- Core Takeaways:
  - Studio Voice Synthesis: Train hyper-realistic Professional Voice Clones, direct emotion with Eleven v3 Audio Tags, and lock brand terms via PLS phoneme rules.
  - 175+ Language Video Dubbing: Translate talking-head footage with HeyGen Video Translate while preserving vocal identity and re-animating natural lip motion.
  - Real-Time Interactive Twins: Stream sub-second LiveAvatar WebRTC presenters and multi-speaker gemini-3.8-flash-tts dialogues backed by C2PA guardrails.
- Chapters:
  1. The 3-Layer AI Voice, Dubbing & Avatar Stack — Early text-to-speech tools forced teams to choose between robotic voices and stiff talking heads. Modern production workflows unify three distinct layers: Voice & Lexicon Control (ElevenLabs and Gemini TTS), Visual Lip-Sync & Digital Twins (HeyGen), and Consent & Provenance.
  2. Studio Capture Standards, Tiers & Platform Matrix — AI voice and avatar models replicate every acoustic and lighting flaw in your source files. Follow these exact engineering baselines before uploading a single training minute, then match your project to the right tier.
  3. Studio Timeline & Lip-Sync Dubbing Deck: UI Tour — Whether you are polishing a multi-chapter ElevenLabs Studio project or proofing a 175-language HeyGen Video Translate cut, every high-output session revolves around these 7 numbered controls.
  4. Voice Cloning, Voice Design v3 & W3C .pls Lexicons — Use Voice Design v3 to invent original brand voices from a text prompt, train a dedicated Professional Voice Clone (PVC) from studio recordings, and enforce bulletproof pronunciation with W3C .pls XML dictionaries.
  5. Multi-Speaker Studios, Audio Tags & gemini-3.8-flash-tts — Move from isolated single-sentence clips to cohesive multi-chapter audiobooks, two-host podcasts, and automated developer dialogues—balancing expressive Eleven v3 direction with fast Gemini CLI scripting.
  6. Digital Twins, Avatar IV & 175-Language Video Translate — Transform one continuous studio recording—or even a single portrait photo—into localized talking-head video across 175+ languages and dialects, complete with natural micro-expressions and pixel-accurate mouth movement.
  7. Interactive Streaming Presenters With LiveAvatar WebRTC — Go beyond static MP4 files with HeyGen LiveAvatar—streaming real-time, two-way conversational digital presenters over WebRTC in sub-second latency for interactive onboarding, virtual tutors, and support desks.
  8. 5 Real-World Production Recipes You Can Ship Today — Each tested recipe pairs the ideal model, configuration flags, and pacing rule for common studio, localization, and developer workflows.
  9. Consent Verification, C2PA Watermarks & Deepfake Guardrails — Responsible synthetic media protects real speakers, builds audience trust, and satisfies regulatory disclosure mandates such as EU AI Act Article 50. Both ElevenLabs and HeyGen enforce strict multi-layer provenance controls.
  10. Cross-Tool Synergy: Gemini TTS + ElevenLabs + HeyGen — Each platform excels at a specific link in the creative chain. Combine fast Gemini TTS script prototyping, ElevenLabs phoneme-locked voice mastery, and HeyGen visual localization into one repeatable global pipeline.
  11. Troubleshooting Clinic & Pre-Flight Production Sheet — Diagnose the seven most frequent voice cloning, pronunciation, lip-sync, and streaming failures in seconds—then run the 6-point checklist before releasing global campaigns.

### Interactive Worlds & AI Cinema

> Generate navigable 3D sets in Google Project Genie, direct camera paths and Act-One facial performances in Runway Gen-4.5, lock characters with Kling Elements, and finish in 4K at 24fps.

- Web: https://twelve-pages.com/guides/creative-media/interactive-worlds-and-ai-cinema
- Markdown: https://twelve-pages.com/guides/creative-media/interactive-worlds-and-ai-cinema.md
- PDF: https://twelve-pages.com/guides/creative-media/interactive-worlds-and-ai-cinema/Interactive_Worlds_and_AI_Cinema_Complete_How_To_Guide.pdf (2.5 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Project Genie 3D Worlds, Runway Gen-4.5 & Act-One, Multi-Motion & Camera Paths, Kling Elements & Keyframes, 5 Copy-Paste Cinema Recipes, 4K Upscale & IP Hygiene
- Core Takeaways:
  - Playable World Sketching: Turn prompts, sketches, or Street View pins into audio-live 720p/24fps 3D worlds inside Google Project Genie.
  - Director-Level Control: Command camera trajectories, Multi-Motion Brush masks, Act-One acting, and Kling Elements identity locks.
  - Studio-Ready Finishing: Conform mixed clips at 24fps in DaVinci Resolve, upscale cleanly to 4K, and preserve SynthID + C2PA provenance.
- Chapters:
  1. Inside This Guide: Playable Worlds vs. AI Cinema — Modern visual AI splits into two distinct superpowers: real-time playable world models (Google Project Genie) that let you walk inside a living set, and deterministic cinema engines (Runway & Kling) that render locked shots for an editing timeline.
  2. Access Tiers, Credits & Engine Decision Matrix — Every platform prices compute differently. Knowing per-second credit rates before pressing Generate lets you explore freely in cheap draft modes and save premium credits for locked final takes.
  3. Annotated Workspace UI: World & Shot Director HUD — Although Project Genie, Runway, and Kling organize menus differently, every production workflow centers on the same seven spatial controls. Learn this unified cockpit map to direct across all three engines.
  4. Playable 3D Worlds in Project Genie (Genie 4 & 3) — Powered by Google DeepMind's Genie 4 (native audio + mid-session text steering) and Genie 3 (extended 3-minute runs & world chaining), Project Genie renders navigable 720p / 24fps spaces with persistent spatial memory.
  5. Runway Gen-4.5 Director Controls & Act-One — When your scene requires physical weight—fabric billowing in wind, water splashing against glass, or an actor delivering subtle heartbreak—pair Runway Gen-4.5 with Gen-4 References and Act-One / Act-Two.
  6. Multi-Motion Brush & Precision Camera Paths — Text prompts alone often swirl static walls or freeze hair that should blow in the breeze. Combining Multi-Motion Brush masks with explicit camera path trajectories separates environmental motion from camera movement.
  7. Kling Elements, Keyframes & 4K NLE Finishing — Kling AI 3.0 Omni shines when characters sprint, fight, dance, or transform smoothly between two exact still frames. Pair Kling's consistency tools with DaVinci Resolve or Premiere Pro to finish a broadcast-grade cut.
  8. 5 Real-World Copy-Paste Cinema & World Recipes — Stop reinventing settings for every new scene. Copy these five battle-tested recipes directly into Project Genie, Runway, Kling, and your finishing terminal.
  9. Team Pre-Viz, IP Hygiene & Frame Provenance — Shipping AI-assisted films for clients, festivals, or studios requires clean rights hygiene, reproducible pre-viz packets, and verifiable provenance credentials under 2026 disclosure standards.
  10. The Cross-Tool World-to-Cinema Synergy Pipeline — No single engine dominates every film task. Use this five-stage handoff pipeline to pair Project Genie's navigable worlds with Kling's action physics, Runway's acting polish, and studio 4K finishing.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Keep this final page next to your keyboard while directing. Every recurring world-drift, mask-bleed, lip-sync, or keyframe-warp snag has an immediate 10-second fix.

### AI Pitch Decks & Visual Storytelling

> Turn rough briefs into investor-grade stories using Gamma fluid cards, Studio Mode, Theme Builder brand locks, Spotlight viewer analytics, API/MCP automation, and PowerPoint or Google Slides round-trips.

- Web: https://twelve-pages.com/guides/creative-media/ai-pitch-decks-and-visual-storytelling
- Markdown: https://twelve-pages.com/guides/creative-media/ai-pitch-decks-and-visual-storytelling.md
- PDF: https://twelve-pages.com/guides/creative-media/ai-pitch-decks-and-visual-storytelling/AI_Pitch_Decks_and_Visual_Storytelling_Complete_How_To_Guide.pdf (3.0 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Fluid Cards & Studio Mode, Theme Builder Brand Lock, Smart Layouts & Diagrams, Spotlight & Viewer Analytics, Gamma API & MCP Automation, PPTX & Gemini in Google Slides
- Core Takeaways:
  - Story First, Geometry Never: Turn raw briefs or Google Docs into structured 10-card pitch arcs in under 60 seconds using fluid cards that expand without text-box collisions.
  - One-Click Brand Gravity: Import a master PowerPoint deck or upload custom fonts and logos into Theme Builder so every team presentation stays cleanly on-brand.
  - Ship Web-Native or Slides: Deliver live talks with Spotlight focus and per-card viewer analytics, or export editable decks into PowerPoint and Gemini-powered Google Slides.
- Chapters:
  1. Escaping Text-Box Tetris With Fluid Card Storytelling — Traditional slide software forces you to fight rigid 16:9 rectangles before you have even clarified your argument—nudging text boxes by two pixels every time an executive adds one bullet. Modern AI storytelling separates narrative structure from visual layout and brand theme, letting you lock the story first and transform its visual geometry in seconds.
  2. Plans, AI Credits, Setup & Presentation Tool Matrix — Gamma pairs a seat subscription with AI Credits rather than strict deck caps—manual editing costs zero credits, while generation, Gamma Agent edits, and AI image renders draw from your monthly balance.
  3. Annotated Tour: Inside the Gamma Card & Theme Studio — Every Gamma deck puts four high-leverage controls around one distraction-free card canvas—letting you drag narrative beats, enforce locked themes, reflow Smart Layouts, and steer the Gamma Agent without hunting through nested menus.
  4. Doc-to-Deck Structuring: Turning Raw Notes Into Clean Cards — The biggest mistake new users make is dumping a four-page memo into a generic AI prompt box and hoping for magic. Controlling card boundaries and choosing the right text-interpretation mode eliminates overcrowded slides on the first generation.
  5. Theme Brand Lock & The 5-Part Narrative Prompt Formula — Locking your visual identity inside Theme Builder and pairing it with a five-part narrative prompt stops AI decks from looking like generic templates—ensuring investor credibility from the very first draft.
  6. Narrative Arcs, Smart Layouts & Visual Storyboards — Audiences decide within three minutes whether a presentation respects their time. Selecting a proven narrative arc first—then alternating Smart Layouts and visual Studio scenes—turns slides into an effortless visual story.
  7. PowerPoint Export, Google Slides & Gemini Co-Pilot — When enterprise procurement teams, board directors, or Workspace collaborators need native slide decks instead of web links, a structured export-and-polish pipeline preserves editable shapes, tables, and speaker notes without manual rebuilds.
  8. 5 Real-World Copy-Paste Pitch & Deck Recipes — Paste any recipe below directly into Gamma’s prompt composer, Gamma Agent sidebar, or Gemini in Google Slides—substituting only your verified metrics—to build structured presentations in under two minutes.
  9. Delivery, Viewer Analytics, Permissions & Gamma API — A great pitch continues working after you hit Send. Combining live Spotlight focus during calls, per-card viewer analytics on async shares, strict brand permissions, and the Gamma Public API turns decks into measurable growth assets.
  10. Cross-Tool Synergy: From Raw Brief to Closed Deal — High-velocity teams combine upstream writing tools, Gamma’s rapid structural design engine, and downstream delivery or Google Workspace co-editing—turning one verified source brief into investor decks, QBRs, and board packages without duplicating work.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Consult this diagnostic table whenever an exported PowerPoint shifts alignment, credits burn too quickly, custom fonts fall back, or analytics go blank—then run the 6-point pre-flight check before sending any high-stakes deck.

## AI Search Visibility, Agentic Web & Workflows (3 Handbooks)

Topic Hub: https://twelve-pages.com/topics/visibility-and-workflows

Publication-grade 12-page visual handbooks for Generative Engine Optimization (GEO), AI search citations, agent-ready websites with is-agentic, llms.txt & WebMCP, and bot-free meeting capture pipelines with Granola.

### GEO & AI Search Visibility

> Win inline citations across ChatGPT Search, Perplexity, Google AI Overviews, Claude, and Gemini using Answer-First prose capsules, entity corroboration, JSON-LD schema, SSR parity, and Share-of-Voice KPIs.

- Web: https://twelve-pages.com/guides/visibility-and-workflows/geo-and-ai-search-visibility
- Markdown: https://twelve-pages.com/guides/visibility-and-workflows/geo-and-ai-search-visibility.md
- PDF: https://twelve-pages.com/guides/visibility-and-workflows/geo-and-ai-search-visibility/Generative_Engine_Optimization_and_AI_Visibility_Complete_How_To_Guide.pdf (1.0 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: RAG Citation Pipelines, Answer-First Prose, Entity & Off-Site Graphs, JSON-LD & SSR Parity, Bot Crawl Governance, AI Share of Voice KPIs
- Core Takeaways:
  - Earn Inline Citations: Lead every section with 40–60 word Answer-First capsules packed with verifiable metrics, primary citations, and expert quotes.
  - Corroborate Your Entity: Unify Organization JSON-LD with Wikidata, GitHub, Reddit, and G2 directories so engines resolve your brand with zero ambiguity.
  - Pass Every Bot Pass: Serve clean Server-Side Rendered HTML and separate training bots from live search bots across robots.txt and edge firewalls.
- Chapters:
  1. From Blue Links to Synthesized Citations: The GEO Shift — Traditional SEO competes for ten blue links on a results page. Generative Engine Optimization (GEO) competes to become one of the three to six trusted passages synthesized directly inside an AI answer—where ChatGPT Search, Perplexity, Google AI Overviews, Claude, and Gemini decide which brands buyers hear about before anyone clicks a link.
  2. AI Search Engines, Crawler Roles & Citation Matrix — Not every AI bot does the same job. Blocking model training crawlers protects your archive without hurting live citations—unless you accidentally block real-time search bots or ship client-side JavaScript that crawlers cannot execute.
  3. Annotated Tour: Inside a GEO Citation & SOV Audit Studio — Whether you use a dedicated visibility tracker or your own audit pipeline, every high-performing GEO workspace connects seven core telemetry panels—linking multi-engine Share of Voice directly to crawlability, Answer-First prose scores, and entity corroboration.
  4. Answer-First Content Architecture & Citation Signals — Human writers love slow, suspenseful introductions. RAG retrievers hate them. When an answer engine splits your page into chunks and scores each passage against a buyer’s sub-query, burying the core answer below 300 words of story causes your entire page to lose the citation.
  5. The 5-Part Citation Capsule Formula & Chunking Rules — Vector databases and search rerankers split pages into 200–500 token chunks anchored by headings. When a passage enters the LLM context window alone without surrounding paragraphs, it must stand completely on its own.
  6. Entity Graphs & Multi-Source Off-Site Corroboration — Generative engines avoid trusting isolated vendor claims on your own website. Before recommending your product on high-intent buyer queries, LLMs resolve “things, not strings”—cross-checking external knowledge graphs, code repositories, and real user discussions.
  7. JSON-LD Schema & Server-Side HTML Readability — Many teams deploy gorgeous React or Vue apps that look crisp in Chrome yet return empty <div id="root"></div> shells to AI crawlers. Delivering Server-Side Rendered (SSR) HTML embedded with explicit JSON-LD guarantees machine comprehension on the first byte.
  8. 5 Real-World Copy-Paste GEO Recipes — Drop these five proven templates straight into your CMS layouts, Schema.org builders, Google Analytics 4 configuration, and weekly prompt-benchmark workflows without vague placeholders.
  9. Bot Crawl Governance & AI Search Attribution KPIs — Precision governance lets you welcome real-time search and citation crawlers while enforcing deliberate boundaries on model training—paired with analytics built for a zero-click, multi-engine buyer journey.
  10. Cross-Tool Synergy: From Prompt Gaps to Verified Pipeline — Sustainable AI Search Visibility operates as a closed feedback loop connecting buyer question intelligence, SSR-rendered Answer-First pages, off-site entity corroboration, CDN crawler telemetry, and CRM pipeline attribution.
  11. Troubleshooting Clinic & GEO Pre-Flight Checklist — Use this diagnostic matrix whenever strong Google-ranking pages vanish from ChatGPT or Perplexity, analytics miss obvious AI mentions, or crawlers misquote product tiers—then verify every launch against the 6-point checklist below.

### Agent-Ready Websites & WebMCP

> Audit sites 0-100 with is-agentic, publish /llms.txt maps and Accept: text/markdown content negotiation, expose browser-native WebMCP tools, and enforce human-in-the-loop safety gates.

- Web: https://twelve-pages.com/guides/visibility-and-workflows/agent-ready-websites-and-webmcp
- Markdown: https://twelve-pages.com/guides/visibility-and-workflows/agent-ready-websites-and-webmcp.md
- PDF: https://twelve-pages.com/guides/visibility-and-workflows/agent-ready-websites-and-webmcp/Agent_Ready_Websites_is_agentic_and_WebMCP_Complete_How_To_Guide.pdf (1.1 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: is-agentic Audits, llms.txt & llms-full.txt, Accept: text/markdown, Browser WebMCP Tools, RFC 9457 Errors, Human Checkout Gates
- Core Takeaways:
  - 0–100 Readiness Audits: Evaluate Essential, Recommended, and Bonus checks via npx is-agentic, the public REST API, or MCP.
  - Zero-Bloat Markdown: Publish /llms.txt maps and Accept: text/markdown negotiation to cut HTML token waste by over 80%.
  - Native Browser WebMCP: Turn HTML forms and frontend functions into typed client-side tools guarded by explicit human confirmation.
- Chapters:
  1. The Dual-Stack Web: Human Interfaces Meet Agent Protocols — Every modern website now serves two very different visitors: people browsing rich visual layouts, and AI agents that need clean Markdown, structured error contracts, and typed browser tools instead of brittle screen scraping.
  2. Setup, is-agentic Audit Tiers & Protocol Matrix — You can measure any public website in seconds with zero API keys or signups, then choose the right mix of Markdown endpoints and WebMCP tools for your architecture.
  3. Annotated Workspace: Is-Agentic Report & WebMCP Inspector — Diagnosing agent readiness means reading both sides of the stack at once: server-side audit evidence from is-agentic and live tool registrations inside the browser’s modelContext inspector.
  4. Auditing & Fixing Sites with is-agentic CLI, API & MCP — Every check in is-agentic is grounded in live HTTP, HTML, and protocol evidence. Pick the interface that matches your environment—command line, REST API, or native MCP tool calls.
  5. Zero-Bloat Discovery: /llms.txt & Accept: text/markdown — Raw HTML pages wrap a few paragraphs of useful knowledge inside megabytes of navigation menus, React hydration bundles, and cookie banners. Clean Markdown files and HTTP content negotiation eliminate that waste.
  6. Browser WebMCP: Turning Pages into Native Agent Tools — Developed in the W3C Web Machine Learning Community Group (behind chrome://flags/#enable-webmcp-testing or --enable-features=WebMCP in Chrome 146–156+), WebMCP lets websites publish structured tools directly inside the user’s browser session.
  7. Machine-Readable Errors: RFC 9457 & Agent Recovery — Returning a 40KB styled HTML error page for a rate limit or missing route forces an LLM to burn tokens guessing what went wrong. RFC 9457 application/problem+json turns failures into deterministic instructions.
  8. Five Copy-Paste Recipes for Agent-Ready Websites — Drop these battle-tested templates into documentation sites, SaaS applications, and storefronts to raise your is-agentic score and unlock reliable agent interactions.
  9. Security Boundaries, Rate Limits & Human Confirmation Gates — Because browser WebMCP tools run directly inside an authenticated user’s session with live cookies, high-stakes actions like purchases or account deletions must never execute silently.
  10. Cross-Tool Synergy: From Source Docs to Verified Browser Actions — When static discovery files, edge Markdown negotiation, automated is-agentic audits, and browser WebMCP tools work in concert, agents spend fewer tokens reading and never break on brittle UI selectors.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — Fast, evidence-backed fixes for the seven most common agentic web integration pitfalls, paired with a pre-flight readiness checklist before you ship to production.

### Bot-Free Meeting Notes & Action Pipelines

> Capture meetings silently without call bots in Granola—merging rough human bullets with local transcripts, custom templates, Ask Granola folder Q&A, Recipes, and Slack, Linear, MCP, and Obsidian _inbox/ sync.

- Web: https://twelve-pages.com/guides/visibility-and-workflows/granola-bot-free-meetings-and-pipelines
- Markdown: https://twelve-pages.com/guides/visibility-and-workflows/granola-bot-free-meetings-and-pipelines.md
- PDF: https://twelve-pages.com/guides/visibility-and-workflows/granola-bot-free-meetings-and-pipelines/Bot_Free_Meeting_Notes_and_Action_Pipelines_Complete_How_To_Guide.pdf (1.0 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Bot-Free Local Audio, Human + AI Hybrid Notes, Custom Meeting Templates, Ask Granola Folder Q&A, Slash Recipes & Remote MCP, Slack, Linear & Obsidian Sync
- Core Takeaways:
  - Zero Awkward Call Bots: Records microphone and system audio locally on macOS, Windows, and iOS across Zoom, Google Meet, Teams, and Slack Huddles—then discards raw audio.
  - Anchored in Your Bullets: Jot tiny rough bullets during conversation; Granola weaves verified transcript context around your priorities instead of drowning decisions in fluff.
  - Automated Action Pipelines: Query whole folders with Ask Granola, trigger slash Recipes, or route structured Markdown via Zapier, Webhooks, MCP, and Obsidian _inbox/.
- Chapters:
  1. Why Hybrid Human-First Notes Beat Passive Call Bots — Traditional meeting bots announce themselves in the participant roster, make external guests guard their words, and email generic summaries where casual banter gets as much weight as pivotal product decisions. Granola works like an intelligent notepad sitting quietly beside your call: it captures device audio locally, keeps your rough bullets as the structural anchor, and merges them with verbatim transcript evidence.
  2. OS Audio Capture, Plan Tiers & Call-Bot Matrix — Because Granola captures audio locally rather than dialing a cloud bot into your meeting room, reliable setup depends on granting two OS permissions cleanly and choosing the tier that unlocks your retention and integration needs.
  3. Annotated Tour: Inside Granola’s Hybrid Notepad — Granola feels like a minimalist, distraction-free notepad parked beside Zoom, Google Meet, Teams, or Slack. Underneath that clean surface sit seven coordinated controls bridging live shorthand, verbatim citations, templates, and post-call automation.
  4. Rough-Bullet Anchoring: Steering AI Without Losing Focus — When people try to transcribe every word themselves, they stop listening; when they let AI summarize a blank notepad, they get bland boilerplate. Granola’s sweet spot is lightweight anchoring—typing tiny memory hooks that guide post-call synthesis.
  5. Custom Templates & the 5-Part Recipe Formula — Power users separate Templates from Recipes: Templates define the clean structural skeleton of your Enhanced Note itself, while Recipes are reusable / slash prompts that turn finished notes into tickets, follow-up emails, or digests.
  6. Ask Granola: Querying Folders & Connecting via MCP — A single meeting note helps you remember Tuesday; thirty structured calls inside a typed folder queried together turn scattered conversations into product strategy, hiring alignment, and agent-ready context.
  7. Automated Pipelines: Slack, Linear, CRM & Obsidian — Once a call wraps and you click Enhance, moving a note into a typed folder—or letting a webhook event fire—can route clean summaries, backlog tickets, CRM updates, and local Markdown files automatically across your entire workspace.
  8. 5 Real-World Copy-Paste Templates & Recipes — Paste these directly into Granola’s custom Template editor, save them as reusable / Slash Recipes, or run them inside a folder’s Ask Granola chat bar right after wrapping up your call.
  9. Consent Guardrails, Audio Retention & Team Privacy — Bot-free capture removes the social friction of an extra participant tile, which shifts legal and ethical transparency squarely onto you and your workspace admins. Configure consent notices and folder boundaries right on day one.
  10. Cross-Tool Synergy: From Live Call to Shipped Work — Granola shines brightest as the calm, bot-free capture layer at the front of your workflow stack—feeding structured knowledge simultaneously into team chat, issue trackers, CRM pipelines, AI coding assistants, and local personal vaults.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Consult this clinic whenever macOS drops system audio, Bluetooth headphones fragment a transcript, Slack Huddles fail to trigger, or older notes lock behind Basic limits—followed by our 6-point pre-flight checklist.

## Open Harnesses, AI Terminals & Local Models (6 Handbooks)

Topic Hub: https://twelve-pages.com/topics/open-harnesses

Publication-grade 12-page visual handbooks for vendor-agnostic terminal harnesses, AI command lines, and local coding models—covering OpenCode TUI, Plan/Build routing, plugins & CI, Aider & Block Goose, Warp AI Terminal & Drive, and Ollama Modelfiles, tool calling & private LAN harnesses.

### OpenCode TUI, Plan/Build Agents & Multi-Model Routing

> Master the open-source, provider-agnostic terminal coding harness—switching between read-only Plan and Build modes with Tab, routing 75+ cloud and local models in opencode.json, closing compiler loops via native LSP, and rewinding edits with /undo snapshots.

- Web: https://twelve-pages.com/guides/open-harnesses/opencode-tui-agents-and-routing
- Markdown: https://twelve-pages.com/guides/open-harnesses/opencode-tui-agents-and-routing.md
- PDF: https://twelve-pages.com/guides/open-harnesses/opencode-tui-agents-and-routing/OpenCode_TUI_Agents_and_Routing_Complete_How_To_Guide.pdf (2.3 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: Tab Plan vs. Build Modes, 75+ Provider Routing, Native LSP Diagnostics, Git Snapshot /undo & /redo, .opencode/agents/*.md, /init, /compact & /share
- Core Takeaways:
  - Zero Vendor Lock-In: Pair Claude, GPT, Gemini, DeepSeek, OpenCode Zen, and local Ollama models inside one unified keyboard-first TUI.
  - Compiler-Verified Edits: Built-in Language Server Protocol clients stream real type and syntax errors back to the agent automatically after every edit.
  - Fearless Git Time-Travel: Instant /undo and /redo revert both conversation turns and working-tree file changes together in milliseconds.
- Chapters:
  1. Why OpenCode: One Terminal Harness, Every Frontier & Local Model — Single-vendor coding CLIs tie your workflow, shortcuts, and team habits to one billing account. OpenCode decouples the developer harness—TUI ergonomics, file indexing, LSP diagnostics, session snapshots, and subagents—from the underlying model API so you can assign the sharpest brain to every task.
  2. Installation, Credential Vault & Provider Strategy Matrix — Install OpenCode via native binary, Homebrew, or npm, link your preferred cloud subscriptions or local Ollama server via /connect, and run /init inside your repository to generate a tailored AGENTS.md.
  3. Annotated Tour: Navigating the OpenCode TUI Like a Pro — OpenCode’s keyboard-driven TUI keeps diffs, compiler diagnostics, token budgets, and active agent modes visible in one glance—controlled via quick slash commands and the Ctrl+X leader key.
  4. The Tab Key Habit: Separate Architecture From Mutation — The fastest way to wreck a codebase is letting an eager agent edit ten files before understanding how your auth middleware works. Pressing Tab switches OpenCode into Plan Mode—physically disabling file edits and destructive shell commands while the agent maps out a surgical blueprint.
  5. Multi-Model Routing & Markdown Specialist Subagents — Instead of paying flagship prices on every grep or code review, assign tailored models, temperatures, and tool boundaries per agent role in opencode.json or drop self-contained Markdown files into .opencode/agents/.
  6. Native LSP Loops, AGENTS.md & Token Compaction — Most terminal agents waste three turns running full builds just to discover a missing import. OpenCode spawns language servers directly behind the scenes, streaming instant compiler diagnostics into the agent turn the moment a file is written.
  7. Fearless Experimentation with /undo & /redo Snapshots — Traditional git reset --hard wipes your manual edits or pollutes commit history. OpenCode maintains a private shadow Git object store behind your repository so every turn is atomically reversible without touching your real Git staging index.
  8. 5 Real-World Copy-Paste Recipes — Copy these five ready-to-use configurations and slash commands into your project to unlock hybrid cloud/local routing, custom slash commands, local Ollama 32K coding, and session continuation.
  9. Session Sharing Controls, Privacy Locks & IDE Companions — OpenCode makes code review walkthroughs effortless with one-command share links, while giving enterprise security teams a single config switch to lock sharing off completely across private repositories.
  10. Cross-Tool Synergy: Worktrees + Plan/Build + LSP + PR Review — Combine isolated Git worktrees, multi-provider Plan/Build routing, native LSP verification, and shareable PR walkthroughs into a repeatable high-velocity engineering loop.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — Fix the seven most frequent TUI, local-model, LSP, and snapshot hiccups in ten seconds flat, then run the 6-point checklist when onboarding any new repository.

### OpenCode Plugins, Custom Tools, Servers & CI

> Extend OpenCode into a programmable engineering platform—authoring Zod-typed .opencode/tools/ modules, intercepting calls via @opencode-ai/plugin hooks, enforcing permission firewalls, running headless opencode serve daemons, and automating PRs in GitHub Actions.

- Web: https://twelve-pages.com/guides/open-harnesses/opencode-plugins-tools-and-ci
- Markdown: https://twelve-pages.com/guides/open-harnesses/opencode-plugins-tools-and-ci.md
- PDF: https://twelve-pages.com/guides/open-harnesses/opencode-plugins-tools-and-ci/OpenCode_Plugins_Tools_and_CI_Complete_How_To_Guide.pdf (967 KB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Typed ctx.tool.transform(), @opencode/plugin Hooks, allow / ask / deny Policy, Code Mode & Remote MCP, opencode serve & SDK, GitHub Actions run --auto
- Core Takeaways:
  - In-Process Plugins & Tools: Drop TypeScript plugins using Plugin.define() into .opencode/plugins/ to add domain tools and lifecycle guards instantly.
  - Deterministic Safety Gates: Combine ordered permissions rules in opencode.json with ctx.tool.hook("execute.before") secret and shell shields.
  - Headless Daemons & CI: Drive remote sessions over HTTP via opencode serve, opencode --server, opencode pair, @opencode/client, and CI runs.
- Chapters:
  1. Programmable Inside and Out: Tools, Hooks, MCP & Headless HTTP — Every OpenCode session runs on an HTTP/SSE server engine under the hood. That architecture lets you extend the agent at four clean layers: custom TypeScript tools, event & interceptor plugins, external MCP servers, and headless CLI / SDK automation.
  2. The .opencode/ Directory Map & Extension Decision Matrix — Every customization in OpenCode has a dedicated folder in your project root (shared with teammates via Git) and a matching personal folder under ~/.config/opencode/ (shared across all your repos).
  3. Annotated Tour: Inspecting Plugins, Permissions & opencode serve — When running OpenCode as a persistent daemon (opencode serve paired via opencode pair) with remote TUI/HTTP clients, every plugin interception, MCP OAuth status, and permission gate surfaces deterministically.
  4. Authoring Custom Tools with @opencode/plugin V2 — Custom tools turn tribal shell scripts into typed, schema-validated capabilities inside a V2 plugin’s ctx.tool.transform() editor—supporting JSON Schema, Standard Schema (Zod), cooperative cancellation, and namespacing.
  5. Defense in Depth: Plugin Interceptors & permissions Firewalls — Prompt instructions alone cannot stop a confused or prompt-injected model from reading .env secrets or running destructive shell flags. Combine OpenCode v2’s ordered permissions array with hard Plugin.define runtime hooks.
  6. Wiring Local & Remote MCP Servers Without Token Bloat — OpenCode supports both local subprocess MCP servers ("type": "local") and remote HTTP/SSE MCP endpoints with automatic OAuth 2.1 browser flows ("type": "remote")—plus per-agent glob controls so heavy tool schemas only load when needed.
  7. Headless Execution: opencode serve, run & GitHub Actions — Decouple your local laptop from heavy builds by running opencode serve on a cloud devbox, scripting one-shot pipelines via opencode run --auto, and triggering autonomous fixes in GitHub Actions.
  8. 5 Real-World Copy-Paste Recipes — Drop these five snippets into your repo, CI workflow, or TypeScript service to add custom tools, shell env injection, SDK orchestration, remote TUI attachment, and scheduled repository sweeps.
  9. Hardening Headless Servers, CI Secrets & Fork Pull Requests — Giving an AI agent shell and write permissions inside an HTTP daemon or CI runner demands strict network, authentication, and fork-isolation boundaries. Lock down these four surfaces before going live.
  10. Cross-Tool Synergy: Sentry Alert → SDK Triage → Guarded Fix → PR — See how custom tools, MCP connectors, plugin guardrails, headless opencode serve, and GitHub Actions unite into an end-to-end incident-to-PR pipeline with human review before merge.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — Resolve common headless CI rejections, Zod version mismatches, hung shell tools, and MCP OAuth errors in seconds, then verify all six release gates before automating repos.

### Aider & Block Goose Terminal Harnesses

> Master two flagship open-source terminal harnesses—pairing Aider's tree-sitter PageRank Repo Map, /architect dual-model splits, and atomic Git commits with Block Goose's native MCP extensions, Lead/Worker routing, and reusable YAML Recipes.

- Web: https://twelve-pages.com/guides/open-harnesses/aider-and-goose-terminal-harnesses
- Markdown: https://twelve-pages.com/guides/open-harnesses/aider-and-goose-terminal-harnesses.md
- PDF: https://twelve-pages.com/guides/open-harnesses/aider-and-goose-terminal-harnesses/Aider_and_Block_Goose_Terminal_Harnesses_Complete_How_To_Guide.pdf (1018 KB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Tree-Sitter PageRank Map, /architect + Editor Split, Atomic Git & /undo Safety, Goose MCP Extensions, Parameterized YAML Recipes, Lead/Worker & Smart Approve
- Core Takeaways:
  - Surgical Git Pair Coding: Aider builds a weighted symbol map across your repository, scopes editable files via /add and /read-only, auto-runs linters and tests, and logs clean commits you can revert with one /undo.
  - Open MCP Agent Recipes: Block Goose (now stewarded under Linux Foundation AAIF) unites CLI, Desktop, and built-in or custom MCP servers inside parameterized YAML Recipes with isolated sub_recipes.
  - Dual-Model Cost & Guardrails: Pair frontier planners with local Ollama workers using --editor-model and GOOSE_LEAD_MODEL—guarded by GOOSE_MODE, permission.yaml, and ignore files.
- Chapters:
  1. Two Open-Source Terminal Harnesses, One Seamless Craft — Proprietary coding assistants lock you into one cloud model and one workflow style. By combining Aider—a precision Git-first pair programmer—with Block Goose—an extensible Model Context Protocol (MCP) task orchestrator—you gain total ownership over models, context windows, version control, and repeatable team automations.
  2. Installation, Aider Edit Formats & Harness Matrix — Both Aider and Block Goose install cleanly on macOS, Linux, and Windows (WSL2 or native) without vendor lock-in. Choosing the right installation channel and Aider edit format prevents patchy diffs and wasted tokens on your very first run.
  3. Annotated Tour: Inside Aider & Block Goose Sessions — Running Aider alongside Block Goose in split terminal panes pairs disciplined Git patching on the left with multi-tool MCP orchestration on the right. Here are the seven live controls that keep context sharp, costs low, and execution safe.
  4. Aider Mastery: Repo Map, Context Hygiene & Auto-Fix Loops — Aider earns its reputation on reliability: instead of stuffing random files into an overflowing prompt, it builds a graph-ranked map of your repository, edits only explicitly staged files, and tests every patch automatically.
  5. .aider.conf.yml, Watch Comments & the 5-Part Formula — Once your repo includes .aider.conf.yml and CONVENTIONS.md, starting Aider takes two words. Watch mode (--watch-files) turns any IDE or text editor into a live prompt canvas using inline AI! and AI? comments.
  6. Block Goose: CLI, Desktop & Native MCP Extensions — Originally open-sourced by Block and permanently hosted at github.com/aaif-goose/goose under the Linux Foundation’s Agentic AI Foundation (AAIF), Goose (v1.60.1 stable + 2.0 beta) treats every capability as a standard MCP extension or interactive MCP App across CLI, Web, and Desktop.
  7. YAML Recipes, Sub-Recipes & Lead/Worker Routing — Once a multi-step MCP workflow clicks, freeze it into a versioned Goose YAML Recipe. Recipes lock down exact extensions, typed parameters, isolated sub_recipes, and Lead/Worker model routing—and share cleanly across teams via goose:// deeplinks.
  8. 5 Real-World Copy-Paste Harness Recipes — Drop these proven recipes straight into your terminal, .aider.conf.yml, or .goose/recipes/ directory to standardize quality across feature builds, zero-switch refactors, PR release digests, security sweeps, and bug triage.
  9. Git Commit Safety, Permission Modes & Team Guardrails — Autonomous terminal agents hold real keys to your filesystem, Git history, and external MCP APIs. Pairing Aider’s clean commit isolation with Goose’s risk-tiered GOOSE_MODE and permission.yaml policies keeps experimentation fearless and auditable.
  10. Cross-Tool Synergy: Goose Orchestration + Aider Commits — Instead of forcing one tool to do everything poorly, chain Block Goose and Aider across four crisp stages: Goose gathers cross-app evidence via MCP, Aider writes tested Git commits inside strict file scopes, and Goose ships verified PRs and reusable team recipes.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Keep this clinic handy whenever Aider hallucinates out-of-scope symbols, local models break diff syntax, watch markers get ignored, or Goose MCP servers and YAML Recipes need a quick diagnostic check.

### Warp AI Terminal, Agent Mode & Drive

> Upgrade the command line into an agentic development environment—combining filterable Command Blocks, autonomous Agent Mode with allowlist safety gates, parameterized {{arg}} Workflows, team Notebooks, WARP.md Rules, and Zero Data Retention.

- Web: https://twelve-pages.com/guides/open-harnesses/warp-ai-terminal-agents-and-drive
- Markdown: https://twelve-pages.com/guides/open-harnesses/warp-ai-terminal-agents-and-drive.md
- PDF: https://twelve-pages.com/guides/open-harnesses/warp-ai-terminal-agents-and-drive/Warp_AI_Terminal_Agents_and_Drive_Complete_How_To_Guide.pdf (2.9 MB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Command & Output Blocks, Agent Mode & Oz Cloud, Parameterized {{arg}} & Enums, Warp Drive Notebooks & Env, WARP.md & MCP Servers, Zero Data Retention & Redaction
- Core Takeaways:
  - Structured Block Memory: Every command and output forms an isolated, filterable Block you can search with regex, deep-link to teammates, or attach straight to AI via @.
  - Supervised Agent Execution: Pair interactively or dispatch multi-step tasks across real shells and visual code diffs—guarded by Profile Allowlists and Denylists.
  - Shared Drive & Zero Retention: Sync parameterized Workflows, Notebooks, static Env Vars, and MCP configs across teams with client-side Secret Redaction and ZDR.
- Chapters:
  1. Why an Agentic Terminal Beats Plain Scrollback & Chat — Traditional terminals dump an unbroken river of text where errors scroll out of reach, while browser AI sidebars cannot see your live shell state or exit codes. Warp splits terminal execution into discrete, GPU-rendered Blocks inside a Rust-native client—unifying human shell speed, supervised Agent Mode, shared Warp Drive runbooks, and cloud orchestration.
  2. Setup, Plan Tiers & Agentic Terminal Matrix — Warp’s open-sourced Rust client delivers native GPU-accelerated speed on macOS, Linux, and Windows (including ARM64). Pick the usage plan or Bring-Your-Own-Key (BYOK) path that matches your daily agent volume.
  3. Annotated Tour: Inside Warp’s Agentic Workspace — Beneath Warp’s clean dark canvas operate seven tightly connected surfaces: discrete Command Blocks, Active AI suggestions, the Cmd+I Universal Input, supervised Agent execution, visual Code Review diffs, the Warp Drive drawer, and the ZDR Privacy shield.
  4. Command Blocks: Filtering, Sharing & AI Context — Because Warp treats every command and its output as a bounded card rather than perishable scrollback text, debugging logs, sharing live incident evidence, and feeding clean failure context into AI all happen in seconds.
  5. Agent Mode: Autonomy, Self-Correction & Safety Gates — Unlike chat tools trapped outside your shell, Warp Agent Mode runs inside a genuine PTY terminal—driving interactive CLIs and REPLs, catching live stderr failures to self-correct, and obeying strict Profile permission boundaries.
  6. Parameterized Workflows, Enums & WARP.md Rules — Stop copying brittle shell snippets out of stale wiki pages. Warp Workflows turn multi-line commands into searchable {{arg}} templates with Enum pickers, while uppercase AGENTS.md and WARP.md files anchor every AI session in repository standards.
  7. Warp Drive: Notebooks, Env Vars & MCP Servers — Warp Drive (Cmd+\) turns scattered scripts, onboarding checklists, and environment configs into live, cloud-synced assets—while Model Context Protocol (MCP) bridges Warp agents directly into GitHub, Postgres, Sentry, and internal APIs.
  8. 5 Real-World Copy-Paste Workflows & Agent Recipes — Drop these high-leverage workflows directly into Warp Agent Mode (Cmd+I), save them as YAML Workflows with Enum pickers, or embed them inside shared Warp Drive Notebooks.
  9. Team Governance, Zero Data Retention & Redaction — Running AI inside your primary shell demands strict credential hygiene. Warp defends sensitive code and API keys before packets ever leave your machine—combining client-side regex redaction, contractual Zero Data Retention, and a live Network Log.
  10. Cross-Tool Synergy: Multi-Agent Control & Oz Cloud — Warp serves as your mission control across both local and cloud coding agents—coordinating Warp Agent Mode alongside Claude Code, Codex, or Gemini CLI locally, and scaling automated runs via Oz and Warp Factories.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Consult this clinic whenever AGENTS.md rules fail to load, SSH subshells lose Block formatting, Denylist prompts surprise an autonomous run, or Warp Drive rejects a Workflow containing a secret—followed by our 6-point pre-flight check.

### Ollama Modelfiles, Tool Calling & Vision

> Go beyond basic ollama run prompts—author deterministic Modelfile blueprints with LoRA adapters, orchestrate native multi-turn tools loops, lock JSON Schema format outputs, extract structured data from images, and tune VRAM concurrency.

- Web: https://twelve-pages.com/guides/open-harnesses/ollama-modelfiles-tools-and-vision
- Markdown: https://twelve-pages.com/guides/open-harnesses/ollama-modelfiles-tools-and-vision.md
- PDF: https://twelve-pages.com/guides/open-harnesses/ollama-modelfiles-tools-and-vision/Ollama_Modelfiles_Tools_and_Vision_Complete_How_To_Guide.pdf (2.8 MB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Modelfile & LoRA ADAPTER, ollama create / show / ps / stop, Native tools Function Loops, JSON Schema format Outputs, Multimodal Vision & OCR, OLLAMA_* Concurrency & CORS
- Core Takeaways:
  - Declarative Model Blueprints: Bake FROM weights, SYSTEM rules, num_ctx, stop sequences, MESSAGE few-shots, and LoRA ADAPTER files into zero-copy tags.
  - Deterministic Tools & Vision: Wire native /api/chat function loops, grammar-constrained JSON schemas, and multimodal screenshot or receipt parsing in Python and JS.
  - Multi-Slot Server Tuning: Balance OLLAMA_NUM_PARALLEL, OLLAMA_MAX_LOADED_MODELS, Flash Attention, quantized KV caches, and strict CORS daemon policies.
- Chapters:
  1. Inside Ollama: From CLI Wrapper to Local Inference Server — Where our companion Local & On-Device AI Stack guide covers GGUF/MLX quantization math and OpenAI-compatible routing, this handbook dives straight into Ollama’s native engine. Treating Ollama as an image-layered server daemon—rather than a single-turn chat toy—unlocks reproducible models, parallel GPU slots, reliable tool calling, and structured vision extraction.
  2. CLI Lifecycle Commands & Server Env Tuning Matrix — Reliable Ollama engineering rests on two habits: inspecting and managing model blueprints explicitly with the CLI lifecycle verbs, and configuring server-side OLLAMA_* flags on the background daemon rather than temporary terminal tabs.
  3. Annotated Tour: Inside an Ollama Inference Cycle — When an API request enters localhost:11434/api/chat, seven coordinated components fire together—from daemon memory tuning and parallel slot allocation down to image encoding, tool schemas, JSON grammar masking, and live telemetry.
  4. Mastering Custom Modelfile Blueprints & LoRAs — A Modelfile is Ollama’s declarative recipe—conceptually just like a Dockerfile for local weights. Instead of repeating long system prompts, context window sizes, and few-shot examples in every script, bake them once into an immutable local tag.
  5. Native tools Loops & JSON Schema format — Ollama’s native /api/chat endpoint supports both multi-turn function calling (tools) and token-level grammar-constrained JSON outputs (format). Understanding how the five request pieces fit together eliminates broken parsers and infinite agent loops.
  6. Official Python & JavaScript SDK Engineering Patterns — While OpenAI-compatible /v1 wrappers make cloud swapping effortless, the official ollama Python and ollama-js SDKs expose Ollama-only superpowers: automatic Python function-to-tool introspection, Pydantic schema binding, separate thinking streams, keep_alive controls, and native ps() / show() management.
  7. Multimodal Vision: Screenshots, Diagrams & Receipt Parsing — Local vision models eliminate external OCR APIs for private receipts, UI bug screenshots, and architecture whiteboards. Combining Ollama’s images input field with a strict JSON Schema format turns raw pixels directly into typed database records.
  8. 5 Real-World Copy-Paste Ollama Engineering Recipes — Drop these five battle-tested recipes straight into your terminal, build script, or microservice to lock down deterministic Modelfiles, quantize custom adapters, parse images into JSON, orchestrate tools, and warm-pin VRAM cleanly.
  9. VRAM Concurrency, CORS Security & Daemonizing — Scaling Ollama from a single chat session to concurrent background workers requires budgeting KV cache memory accurately, locking down unauthenticated endpoints, and persisting environment variables inside your OS service manager.
  10. Cross-Tool Synergy: Multimodal & Tool-Calling Pipeline — Instead of forcing one massive general model to interpret images, call APIs, and format database rows simultaneously, Ollama’s multi-model loader lets specialized lightweight models hand clean typed JSON down an automated local pipeline.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — Keep this rapid diagnostic guide close whenever a Modelfile fails to compile, daemon flags silently vanish, tool calls leak into plain text, or parallel slots push VRAM into slow CPU spillover.

### Ollama Local Coding & Hybrid Harnesses

> Wire local Ollama weights (localhost:11434/v1) into OpenCode, Aider, Continue, Raycast, Obsidian, and n8n—pairing cloud planners with zero-cost local coders, defeating the silent num_ctx repo-map trap, and securing LAN serving over Tailscale.

- Web: https://twelve-pages.com/guides/open-harnesses/ollama-local-coding-and-harnesses
- Markdown: https://twelve-pages.com/guides/open-harnesses/ollama-local-coding-and-harnesses.md
- PDF: https://twelve-pages.com/guides/open-harnesses/ollama-local-coding-and-harnesses/Ollama_Local_Coding_and_Harnesses_Complete_How_To_Guide.pdf (2.8 MB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: ollama launch & opencode.json, Aider ollama_chat/ + Architect, Continue FIM + Next Edit, 32K–64K Coding Modelfiles, Raycast, Obsidian & n8n, Tailscale + Caddy/Nginx Auth
- Core Takeaways:
  - Hybrid Planner + Local Coder: Reserve frontier cloud models for tough architectural planning while local Ollama weights run edits, FIM autocomplete, and repo indexing for $0.00/token.
  - Zero Silent Repo-Map Clipping: Eliminate Ollama’s 2048/4096 context default with pinned 32K–64K coding Modelfiles, OLLAMA_CONTEXT_LENGTH, and q8_0 KV caching.
  - Hardened Private GPU Serving: Keep 127.0.0.1:11434 locked off public Wi-Fi—tunnel your desktop GPU cleanly to laptops using Tailscale Serve, Caddy/Nginx Bearer auth, and OLLAMA_ORIGINS.
- Chapters:
  1. The Hybrid Coding Loop: Local Muscle Meets Cloud Planning — Running a local model inside your terminal or IDE feels effortless once you wire each tool cleanly—yet most developers hit a wall on day one because default context limits quietly chop off repository maps. Mastering role-based routing, explicit num_ctx Modelfiles, and authenticated LAN tunnels turns Ollama into a reliable daily coding engine.
  2. 2026 Local Coding Models, Memory Fit & Harness Matrix — Every coding harness speaks either Ollama’s OpenAI-compatible /v1 route or native /api/chat. Match your RAM budget to specialized coding weights first, then wire each client cleanly.
  3. Annotated Tour: Multi-Harness Ollama Control Plane — Seven coordinated settings ensure every coding agent, IDE autocomplete trigger, and desktop launcher shares one fast, unclipped Ollama engine without spilling into slow swap or exposing port 11434.
  4. Defeating the Silent 4K Context Trap With Coding Modelfiles — Even when a model card advertises 128K or 256K context, Ollama historically defaulted to 2048 tokens and modern builds baseline around 4096 tokens unless overridden. Feed a coding agent a 12,000-token repo map and Ollama silently drops the top 8,000 tokens without raising an error!
  5. Pairing Frontier Planners With Local Ollama Coders — You do not have to choose between an expensive all-cloud subscription and struggling through complex refactors on small local weights. Split your harness into a Planner (cloud frontier or local deepseek-r1) and a zero-cost Local Coder.
  6. Continue IDE: Instant FIM, Next Edit & Local Repo Indexing — Inside VS Code and JetBrains, latency makes or breaks flow. Continue’s modern schema: v1 configuration lets you assign four distinct local Ollama models to separate IDE roles so keystrokes never wait behind a heavy 30B chat reply.
  7. Wiring Ollama Into Raycast, Obsidian & n8n Automation — Once Ollama is tuned on loopback (or served over your private LAN), plug the exact same weights into system-wide hotkey commands, local-first Markdown vaults, and self-hosted visual automations.
  8. 5 Real-World Copy-Paste Harness Recipes — Drop these five battle-tested recipes into your shell, repo root, or desktop app to lock in high-context local coding, low-cost hybrid planning, and private workflow automation right out of the box.
  9. Private Home-GPU Serving: Tailscale Serve & Bearer Proxies — Tapping a 24 GB–64 GB GPU under your home desk from a thin laptop feels magical—until someone realizes Ollama ships with zero native authentication. Never bind OLLAMA_HOST=0.0.0.0 onto an unprotected network; lock Ollama to loopback and wrap it in Tailscale plus a Bearer proxy.
  10. Cross-Tool Synergy: Laptop Harnesses + Home GPU + Cloud — See how a lightweight travel laptop, a quiet desktop workstation GPU over Tailscale HTTPS, and selective cloud reasoning unite into one fast, low-cost engineering workflow where sensitive code stays under your roof.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this diagnostic reference whenever repo maps vanish mid-session, Aider garbles file patches, Continue swaps models on every keystroke, Obsidian hits 403 CORS errors, or remote proxy streams hang.

## AI Desktop, OS Power Workflows & Personal Ops (4 Handbooks)

Topic Hub: https://twelve-pages.com/topics/desktop-and-os

Publication-grade 12-page visual handbooks for cross-platform desktop AI, inbox & schedule defense, safe digital decluttering, and visual workflow automation—covering macOS vs. Windows Copilot+ PCs, AI Inbox Zero & Calendar Defense, File System Cleanup, and n8n & Make.

### Mac vs. Windows AI Power-User Playbook

> Master both sides of modern desktop AI—comparing Apple Silicon unified memory, Apple Intelligence, Shortcuts, and Raycast against Windows 11 Copilot+ PCs, Click to Do, opt-in Recall, PowerToys Command Palette, MLX, ONNX NPUs, and WSL2 CUDA.

- Web: https://twelve-pages.com/guides/desktop-and-os/mac-vs-windows-ai-power-playbook
- Markdown: https://twelve-pages.com/guides/desktop-and-os/mac-vs-windows-ai-power-playbook.md
- PDF: https://twelve-pages.com/guides/desktop-and-os/mac-vs-windows-ai-power-playbook/Mac_vs_Windows_AI_Power_User_Playbook_Complete_How_To_Guide.pdf (2.8 MB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Apple Intelligence & PCC, Copilot+ & Click to Do, Unified RAM vs. 40+ TOPS NPU, Raycast & PowerToys Parity, MLX vs. DirectML & WSL2, Recall & Privacy Guardrails
- Core Takeaways:
  - Silicon-Matched Compute: Size models to Apple Silicon unified memory bandwidth with MLX, or offload background AI onto 45–80 TOPS Windows NPUs and WSL2 CUDA GPUs.
  - Mirrored Daily Launchers: Keep identical keyboard muscle memory across Raycast (now on both Mac & Windows), Apple Shortcuts, PowerToys Command Palette, and Advanced Paste.
  - Verified Privacy Boundaries: Enforce cryptographic Private Cloud Compute checks on macOS alongside BitLocker, Windows Hello ESS, and strict app/site Recall exclusions.
- Chapters:
  1. Two Philosophies of Personal AI Silicon & Compute — macOS and Windows 11 solve on-device intelligence from opposite hardware directions. Apple pools CPU, GPU, and Neural Engine access into one high-bandwidth unified memory slab, while Microsoft orchestrates specialized execution providers across dedicated 40+ TOPS NPUs, discrete GPUs, and Linux WSL2 containers.
  2. Silicon Tiers, Onboarding & Mac-vs-Windows Matrix — Before tuning launchers or local models, check what hardware tier you are standing on. Unified memory bandwidth determines large-model speed on macOS, while Copilot+ certification and discrete VRAM govern NPU and CUDA workloads on Windows 11.
  3. Annotated Tour: Mirrored Mac & Windows AI Controls — Although Apple and Microsoft build radically different system UIs, power users rely on seven parallel control points—mapping global launchers, clipboard transforms, on-screen vision overlays, and local model endpoints into one coherent daily rhythm.
  4. macOS Power Stack: Apple Intelligence, Shortcuts & Raycast — On Apple Silicon, native privacy meets effortless keyboard velocity. Combine system-wide Writing Tools and deterministic Shortcuts automations with Raycast Quicklinks, Alfred offline scripts, and reproducible Homebrew environments.
  5. Cross-OS Hotkey Parity & the 5-Part Workflow Formula — Switching between a MacBook Pro and a Windows 11 Copilot+ desk feels effortless when your muscle memory stays identical. Standardize four core shortcut pairs, then compose every desktop AI action from the same five-part blueprint.
  6. Windows Copilot+: Click to Do, PowerToys & Recall — Windows 11 Copilot+ PCs combine 40+ TOPS NPUs with Microsoft’s sharpest utility kit yet—pairing Click to Do visual screen intelligence with PowerToys Command Palette, Advanced Paste AI, Raycast for Windows v2.0, and opt-in Recall.
  7. Local AI Acceleration: MLX, DirectML, ONNX & WSL2 — Running private models fast requires speaking your hardware’s native dialect. On Mac, Apple’s mlx framework compiles straight onto Metal and unified memory; on Windows, execution providers split across NPUs, DirectML GPUs, Foundry Local, and WSL2 Linux CUDA.
  8. 5 Real-World Copy-Paste Cross-OS AI Recipes — Wire these five high-leverage recipes into Raycast AI Commands, macOS Shortcuts, PowerToys Advanced Paste, Click to Do, or Foundry Local so you execute identical daily cleanups and developer checks on both operating systems.
  9. Privacy Guardrails: PCC, Recall Encryption & Admin Policy — System-wide assistants touch your screen, clipboard, and local files—making encryption locks, exclusion lists, and enterprise MDM policies essential before enabling continuous OS intelligence on work machines.
  10. Cross-Tool Synergy: One Brain Across Both Operating Systems — Whether you carry an Apple Silicon laptop on the road and sit down at a Windows 11 RTX/Copilot+ tower at home, unifying hotkeys, Git-managed dotfiles, and standard localhost AI endpoints turns two distinct machines into one seamless workspace.
  11. Troubleshooting Clinic & Cross-OS Pre-Flight Checklist — Use this field clinic whenever local models swap-thrash on macOS, Recall refuses activation on Windows, hotkeys collide, or WSL2 PyTorch fails to detect your GPU—then lock in your setup with the 6-point pre-flight check.

### AI Inbox Zero & Calendar Defense

> Turn a flooded mailbox and fragmented schedule into a calm, draft-only operating system—combining 5-bucket triage, Gmail Gemini, Shortwave, Superhuman, Workspace CLI & MCP pipelines, prompt-injection shields, and automated focus-block protection.

- Web: https://twelve-pages.com/guides/desktop-and-os/ai-inbox-zero-and-calendar-defense
- Markdown: https://twelve-pages.com/guides/desktop-and-os/ai-inbox-zero-and-calendar-defense.md
- PDF: https://twelve-pages.com/guides/desktop-and-os/ai-inbox-zero-and-calendar-defense/AI_Inbox_Zero_and_Calendar_Defense_Complete_How_To_Guide.pdf (2.9 MB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: 5-Bucket Draft-Only Triage, Gmail Gemini & Shortwave, Superhuman Auto Drafts, Workspace CLI & MCP, Prompt-Injection Defense, Focus & Timezone Defense
- Core Takeaways:
  - Never Auto-Send Externally: Every AI reply stops inside your Drafts folder behind a mandatory human send gate—giving you triage speed without hallucinated promises or misaddressed threads.
  - Prompt-Injection Hardened: Untrusted inbound emails, calendar invites, and PDFs pass through HTML stripping, Model Armor sanitization, and read-or-draft scopes before agents reason over them.
  - Defended Focus & Buffers: Protect morning deep-work blocks with auto-decline rules, insert recovery buffers between back-to-back calls, and adapt booking slots cleanly across timezones.
- Chapters:
  1. Why Draft-Only Triage & Calendar Defense Beat Raw Speed — Wiring an AI agent straight to your live send button sounds futuristic until a hidden prompt inside an inbound newsletter forwards sensitive Drive contracts or agrees to an impossible Friday deadline. True personal ops separates untrusted reading and classification from draft-only staging and human approval, while guarding your calendar with just as much rigor.
  2. Email AI Clients, CLI Tools & Ecosystem Matrix — You can build a draft-only Inbox Zero and calendar defense stack inside your native Google or Microsoft suite, upgrade to a dedicated AI-first client like Shortwave or Superhuman Mail, or wire local agents directly via gws CLI and MCP.
  3. Annotated Tour: Inside a Draft-Only AI Triage Console — Whether you run Shortwave, Superhuman, Gmail Gemini, or a local MCP agent deck, great personal ops exposes the same seven safeguards on one glanceable screen—keeping untrusted mail isolated, drafts un-sent, and deep work locked.
  4. The 5-Bucket Split: Clearing 100 Emails in Ten Minutes — A single chronological inbox treats a high-stakes contract reply identically to a SaaS receipt and a marketing digest. Routing every arrival into five crisp buckets lets you clear true human work fast and batch everything else automatically.
  5. Draft-Only Prompts & the 5-Part Personal Ops Formula — Generic AI drafts fail because they sound overly eager, ignore your real calendar, and omit safety boundaries. Combining concise style constraints in Shortwave AI Memory or Superhuman with a 5-part structured prompt keeps drafts crisp and safe.
  6. Zero-Touch Receipt & Invoice Extraction to Sheets — Receipts and vendor PDFs clutter primary inboxes and derail month-end bookkeeping. Pair deterministic Gmail filters with Gemini’s native multimodal JSON schema—backed by a strict arithmetic check—to log expenses reliably without manual data entry.
  7. Calendar Defense: Focus Blocks, Buffers & Timezone Rules — Clearing email does little good if fragmented 30-minute calls shred your entire day. With Clockwise sunsetted, modern personal ops combines native Google Calendar Focus Time or Viva Insights with Reclaim 2.0 Buffer Agents and Calendar MCP.
  8. 5 Real-World Copy-Paste Triage & Calendar Recipes — Paste these directly into Gmail’s Ask Gemini side panel, Shortwave AI instructions, Superhuman Ask AI, or your local Claude/Cursor Workspace MCP prompt—preserving strict draft-only human control.
  9. Prompt-Injection Defense & Strict Human Send Gates — Whenever an AI agent reads incoming emails, attachments, or shared calendar invites, untrusted strangers control words inside its context window. Defend against Indirect Prompt Injection (IPI) with five layered technical barriers.
  10. Cross-Tool Synergy: From Morning Inbox to Protected Deep Work — Each layer of personal ops shines brightest when connected cleanly: sanitization shields your agents, 5-bucket triage clears noise into drafts and extraction queues, and defended calendar blocks lock time for meaningful work.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this quick clinic whenever a Workspace MCP call fails OAuth, AI drafts sound robotic, external invites pierce Focus Time, or receipt OCR breaks your spreadsheet—followed by our 6-point launch checklist.

### AI File System Cleanup & Digital Declutter

> Reclaim chaotic Downloads/ and Desktop folders without losing irreplaceable files—combining dry-run manifests, SHA-256 duplicate sweeps, VLM/OCR receipt renaming, 30-day quarantine staging, and native macOS + Windows automation.

- Web: https://twelve-pages.com/guides/desktop-and-os/ai-file-system-cleanup-and-declutter
- Markdown: https://twelve-pages.com/guides/desktop-and-os/ai-file-system-cleanup-and-declutter.md
- PDF: https://twelve-pages.com/guides/desktop-and-os/ai-file-system-cleanup-and-declutter/AI_File_System_Cleanup_and_Declutter_Complete_How_To_Guide.pdf (1.1 MB)
- Version: v1.2 | Updated: 2026-11 | Pages: 12
- Tags: Dry-Run Manifests, SHA-256 Dedup Sweeps, VLM / OCR PDF Naming, 30-Day Quarantine Gate, Mac Hazel vs. Windows, Cowork & Gemini CLI
- Core Takeaways:
  - Plan Before Moving a Byte: Generate readable dry-run manifests (manifest.csv or -WhatIf) with strict node_modules and .DS_Store exclusions before touching live folders.
  - Verify Exact & Visual Clones: Pair rmlint, fdupes, and Python hashlib SHA-256 checksums with VLM/OCR metadata to name scans cleanly by vendor and date.
  - 30-Day Quarantine Shield: Stage redundant installers and clutter in _quarantine_30d/ with an undo ledger across macOS Hazel, Windows PowerRename, Cowork, and Gemini CLI.
- Chapters:
  1. Why Manifest-First Cleanup Beats Blind Auto-Delete — Pointing an over-eager script or AI assistant straight at a cluttered Downloads/ or Desktop/ folder is the fastest way to break local Git repositories, corrupt half-finished browser transfers, or erase tax receipts. The safest approach treats cleanup like a disciplined engineering deployment: scan read-only, exclude active code trees, verify SHA-256 digests, review a dry-run manifest, and stage removals inside a 30-day quarantine folder.
  2. Safety Exclusions, Hash Tools & Cleanup Matrix — Before invoking a single rename rule or AI planner, lock down what must never be touched and choose the right blend of fast deterministic CLI engines and vision-capable AI helpers for your operating system.
  3. Annotated Tour: Inside a Safe Declutter Cockpit — Whether you inspect a manifest in Claude Cowork, preview rules in Hazel 6, or review a Python/PowerShell dry-run table in your terminal, every trustworthy cleanup workflow exposes the exact same seven visual checkpoints before moving a single file.
  4. SHA-256 Duplicate Sweeps: Zero-Guesswork Cleanup — Filename heuristics fail in both directions: two different monthly statements might both arrive as statement.pdf, while an identical 200 MB installer lurks under Docker.dmg and Docker (1).dmg. Size pre-filtering followed by SHA-256 hashing finds true clones with mathematical certainty.
  5. The 5-Part Safe Cleanup & Manifest Formula — Whether you write a Python cleanup script, configure a PowerShell audit, or prompt Claude Cowork and Gemini CLI, reliable file automation separates deterministic rules from AI judgment using five non-negotiable building blocks.
  6. VLM & OCR Receipt Renaming: End Scan_042.pdf Chaos — Generic filenames like document(3).pdf, IMG_4821.HEIC, or Screenshot 2026-11-04.png bury tax deductions and receipts under unsearchable timestamps. Combining lightweight OCR with Vision-Language Models (VLMs) extracts clean metadata into universal YYYY-MM-DD_Vendor_Category.pdf sorting.
  7. Mac vs. Windows Automation: Side-by-Side Playbook — Once a deep dry-run cleanup clears your backlog, wire native OS rules so incoming downloads sort themselves quietly every day. macOS pairs Hazel 6, Folder Actions, and Spotlight mdfind; Windows 11 pairs PowerToys PowerRename, File Explorer, and PowerShell.
  8. 5 Real-World Copy-Paste Cleanup & Dry-Run Recipes — Paste these field-tested instructions straight into Claude Cowork, Gemini CLI, or your terminal scripts. Every single recipe enforces strict read-only dry runs and exclusion lists before a single byte moves.
  9. Quarantine Staging, Privacy & Instant Rollback Safety — Real peace of mind comes from knowing every automated cleanup decision is completely reversible. By parking flagged items in a dated _quarantine_30d/ holding bay with an undo ledger—and keeping sensitive tax or health PDFs local—you eliminate catastrophic mistakes.
  10. Cross-Tool Synergy: From Messy Drop Zone to Calm Archive — The calmest digital workspace pairs deterministic CLI and OS tools (rmlint, ocrmypdf, Hazel 6, PowerRename, PowerShell) for repeatable speed with AI planners (Claude Cowork and Gemini CLI) for messy, ambiguous documents—all flowing into one unified safety loop.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — Reach for this clinic whenever .DS_Store floods a duplicate report, scanned PDFs refuse to rename, active browser downloads get moved prematurely, or Hazel skips cloud placeholders—followed by our 6-point pre-flight checklist.

### Visual AI Workflows with n8n & Make

> Design reliable, production-grade AI automations on a visual node canvas—combining deterministic pre-LLM routers, stateful Postgres & Data Store memory, MCP tool bridges, Slack/email approval pauses, and runaway spend circuit breakers.

- Web: https://twelve-pages.com/guides/desktop-and-os/visual-ai-workflows-n8n-and-make
- Markdown: https://twelve-pages.com/guides/desktop-and-os/visual-ai-workflows-n8n-and-make.md
- PDF: https://twelve-pages.com/guides/desktop-and-os/visual-ai-workflows-n8n-and-make/Visual_AI_Workflows_with_n8n_and_Make_Complete_How_To_Guide.pdf (830 KB)
- Version: v1.1 | Updated: 2026-11 | Pages: 12
- Tags: n8n AI Agent & Sub-Nodes, MCP Client & Server Trigger, Docker Queue Mode + Redis, Make Agents, Routers & Stores, Slack & Email Pause Approvals, Error DLQs & Spend Breakers
- Core Takeaways:
  - Deterministic Before AI: Filter spam, check caches, and route structured records with Switch, Code, and Make Routers before spending a single LLM token.
  - Stateful & MCP-Ready: Back agents with Postgres Chat Memory or Make Data Stores and connect tools cleanly via n8n and Make MCP bridges.
  - Built-In Safety Rails: Cap agent iterations, pause risky refunds for human Slack sign-off, and route failures into replayable Error Workflows.
- Chapters:
  1. Visual Nodes First: When to Route, When to Reason — Many beginners wire a webhook straight into a large language model and ask one giant prompt to parse inputs, call APIs, handle edge cases, and format replies. In production, that pattern is slow, costly, and fragile. Reliable visual automation treats AI as a bounded specialist inside deterministic rails—letting free rule nodes do 80% of the sorting before an agent ever wakes up.
  2. n8n vs. Make: Hosting, Credits, Executions & Fit — Choosing between n8n and Make comes down to two practical realities: how each platform meters complex multi-step loops, and whether your compliance rules demand self-hosted Docker containers on your own infrastructure.
  3. Annotated Tour: Inside a Guarded AI Agent Canvas — A production visual workflow separates fast rule-based routing from slow LLM reasoning, anchors memory and tools underneath the agent node, and pauses high-stakes actions for human sign-off while linking an Error Workflow overhead.
  4. n8n AI Agent: Sub-Nodes, Memory & Clean JSON Output — Inside n8n, the AI Agent node acts as an orchestrator wired downward to modular sub-nodes for its Chat Model, Memory, and Tools. Understanding two crucial design choices—durable Postgres memory and two-step JSON formatting—eliminates 90% of production agent bugs.
  5. MCP Client & Server Nodes + Docker Queue Scaling — The Model Context Protocol (MCP) turns visual workflows into a two-way bridge: your n8n agents can call external MCP tools dynamically, and your entire n8n or Make workspace can act as a secure MCP server for Claude Desktop or Cursor.
  6. Make.com Mastery: Agents, Routers, Iterators & Stores — Make excels at fast visual SaaS orchestration. By placing zero-credit Routers and Filters ahead of LLM modules, isolating arrays with Iterators, and backing agents with ACID-capable Data Stores, you keep scenarios lean and predictable.
  7. Deterministic Gates, Wait Approvals & Spend Breakers — Production automations pair speed with restraint: routine items take a fast deterministic rail, high-impact writes pause gracefully for human confirmation, and automated circuit breakers stop runaway token loops before a bill spikes.
  8. 5 Real-World Copy-Paste AI Workflow Blueprints — Use these five battle-tested workflow patterns as starting templates for your team—every recipe pairs deterministic pre-filtering with bounded AI reasoning, persistent state, and clear failure recovery.
  9. Self-Hosted Security, Vaults & Spend Governance — Automation canvases sit at the crossroads of your inbox, CRM, billing, and production databases. Hardening your credential vault, shrinking tool blast radius, and pruning sensitive execution logs keeps speed from turning into risk.
  10. Cross-Tool Synergy: Unifying Make, n8n & MCP — You never have to lock every workflow inside one vendor. High-leverage teams pair Make’s instant SaaS connectors at the edge with n8n’s zero-step-tax Queue Mode engine and expose vetted tools over MCP to local coding agents.
  11. Troubleshooting Clinic & Pre-Flight Checklist — Use this diagnostic clinic whenever an n8n agent loops until maxIterations, Slack approval buttons loop or 404, Queue Mode forgets chat history, or Make burns credits—then run the 6-point checklist before enabling any scenario.

## AI Product, Design & Team Workspaces (5 Handbooks)

Topic Hub: https://twelve-pages.com/topics/product-and-design

Publication-grade 12-page visual handbooks for AI-native product, design, and engineering teams—covering Figma Make & Figma MCP design-to-code, Notion 3.3+ Custom Agents & 160+ MCP connectors, Linear Agents & issue-to-PR loops, evidence-backed AI user research & PRD prototyping, and GitHub Copilot Agent Mode & GitHub MCP.

### Figma Make, Figma MCP & Design-to-Code

> Turn Figma frames, design tokens, and component libraries into production React/Tailwind code using Figma Make, the official Figma MCP server, Code Connect, and coding agents.

- Web: https://twelve-pages.com/guides/product-and-design/figma-make-and-mcp-design-to-code
- Markdown: https://twelve-pages.com/guides/product-and-design/figma-make-and-mcp-design-to-code.md
- PDF: https://twelve-pages.com/guides/product-and-design/figma-make-and-mcp-design-to-code/Figma_Make_and_MCP_Design_to_Code_Complete_How_To_Guide.pdf (820 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Figma Make & Plan Mode, Official Figma MCP Server, Code Connect v2 Templates, Variables & Tailwind Tokens, Auto-Layout Hygiene, Claude Code • Cursor • Codex
- Core Takeaways:
  - Structured Design Context: Stream exact node trees, bound variables, and screenshots via get_design_context instead of lossy PNG guesses.
  - Real Repo Components: Bind Figma components to production React imports and props with Code Connect v2 so agents stop inventing div soup.
  - Two-Way Canvas Loop: Prototype fast in Figma Make, ship clean PRs through MCP, and push live UI updates back to Figma with remote write tools.
- Chapters:
  1. From Screenshot Handoff to Structured MCP Context — Pasting a Figma screenshot into an AI chat forces the model to guess spacing, hex values, and component boundaries. The modern 2026 design-to-code stack replaces visual guesswork with a deterministic protocol: Figma Variables define tokens, Code Connect maps components, and the official Figma MCP server streams structured specs straight into your coding agent.
  2. Choosing the Right Surface: Make vs. MCP vs. Code Connect — Figma's late-2026 ecosystem spans four distinct design-to-code surfaces. Picking the wrong one wastes AI credits or produces throwaway code. Use the matrix below to match each tool to the exact stage of your product lifecycle.
  3. 7-Control Command Center: Figma + MCP + Coding Agent — When design-to-code works seamlessly, three panes stay in sync: the Figma Dev Mode canvas (left), the Inspect & MCP Status panel (center), and your AI Coding Agent (right). Master these seven controls to eliminate manual copy-pasting.
  4. Prototyping at Warp Speed with Figma Make — Figma Make turns natural-language prompts and existing Figma frames into functional, clickable React + Tailwind prototypes directly inside Figma. Used correctly, it replaces weeks of static noodle-wiring; used carelessly, it burns seat credits on unshippable sandboxes.
  5. Mastering the Official Figma MCP Server — Figma's official MCP server exposes ~25+ structured tools (18 read + write beta tools) to AI coding clients. Understanding Remote vs. Desktop transport and structuring a 5-part Design-to-Code prompt is what separates crisp PRs from generic CSS.
  6. Bridging Variables & Real Components with Code Connect v2 — Without token alignment and Code Connect, Figma MCP emits raw Tailwind classes and custom <button> markup. Binding Figma Variables to CSS custom properties and publishing Code Connect v2 templates forces every coding agent to speak your exact design system.
  7. Frame Hygiene: How to Eliminate Div-Soup Output — Garbage in, position: absolute out. Figma MCP translates your literal node geometry into layout code. A five-minute Auto-Layout and layer-naming pass before handoff cuts agent cleanup time by 70%.
  8. 5 Production-Tested Design-to-Code Recipes — Bookmark these five repeatable workflows. Each recipe pairs specific Figma MCP tool calls with repo constraints so Claude Code, Cursor, Codex, or Antigravity delivers reviewable diffs on the first pass.
  9. Preventing Token Drift, Secret Leaks & UI Decay — AI agents can generate five screens in an afternoon—which means they can also introduce five subtly different button paddings and hardcoded hex colors if you lack automated guardrails. Put these four governance controls in place before scaling across teams.
  10. End-to-End Ship Loop: Figma → Linear → Agent → Vercel — Figma MCP reaches peak velocity when wired into your broader engineering loop. Here is how high-performing product teams connect design exploration, issue tracking, agentic implementation, and live preview URLs with zero status-meeting friction.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight — When an MCP call returns empty context, hardcoded colors, or missing write tools, the cause is almost always one of these seven misconfigurations. Diagnose in seconds, then run the 6-point pre-flight check before every sprint.

### Notion Custom Agents & MCP Team Hubs

> Build autonomous team workspaces in Notion 3.3+ using Custom Agents, 160+ MCP connectors (Slack, Linear, Figma, HubSpot), Notion Calendar & mail connectors, structured databases, and permission guardrails.

- Web: https://twelve-pages.com/guides/product-and-design/notion-custom-agents-and-mcp-hubs
- Markdown: https://twelve-pages.com/guides/product-and-design/notion-custom-agents-and-mcp-hubs.md
- PDF: https://twelve-pages.com/guides/product-and-design/notion-custom-agents-and-mcp-hubs/Notion_Custom_Agents_and_MCP_Team_Hubs_Complete_How_To_Guide.pdf (710 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Notion 3.3+ Custom Agents, 160+ MCP Connectors, Hosted MCP Server, Agent-Readable Schemas, Inbox & Calendar Triage, Credit & Access Guardrails
- Core Takeaways:
  - 24/7 Autonomous Teammates: Run scheduled digests, Slack triage, and cross-database updates in the background using Notion 3.3+ Custom Agents and Plan Mode.
  - Bidirectional MCP Hub: Connect agents to 160+ apps (Slack, Linear, Figma, HubSpot) and expose mcp.notion.com/mcp to Claude, Cursor, and VS Code.
  - Enterprise-Grade Guardrails: Enforce least-privilege page scopes, human approval gates, per-agent Notion Credit caps, and automated anti-wiki-rot hygiene.
- Chapters:
  1. From Passive Wiki to Autonomous Hub: The Notion 3.3+ Shift — For a decade, team wikis suffered from a fatal flaw: humans had to manually copy updates from Slack, email, Linear, and Figma into docs—so workspaces rotted within weeks. Notion 3.3+ Custom Agents paired with the Model Context Protocol (MCP) invert this model, turning Notion into an active operational hub that reads events, reasons over structured databases, and executes governed actions 24/7.
  2. Plans, Notion Credits & Choosing the Right AI Mode — Not every workflow needs an autonomous 24/7 agent. Matching each task to the right Notion AI surface—or external MCP client—keeps your monthly Notion Credit burn predictable while maximizing reliability.
  3. Inside the Custom Agent Builder & MCP Permissions HUD — Every production Custom Agent is governed by seven core configuration panels. Master these seven controls so your agents stay accurate, scoped, and budget-safe from day one.
  4. Architecting Agent-Readable Notion Databases — Custom Agents are only as reliable as the schema beneath them. Messy free-text columns, duplicate trackers, and undocumented properties force agents to guess—driving up hallucinations and Notion Credit consumption.
  5. The 5-Part Custom Agent Instruction Formula — Vague instructions like “keep our project board updated” produce noisy edits and wasted credits. High-reliability Custom Agents follow a strict five-part specification that separates role, trigger, scope, deterministic actions, and stop rules.
  6. Connecting 160+ Tools: Outbound & Inbound Notion MCP — Notion operates as a bidirectional Model Context Protocol (MCP) hub. Outbound, Custom Agents act as MCP clients talking to 160+ SaaS apps. Inbound, Notion’s hosted MCP server lets external AI coding and chat tools read and update your workspace securely.
  7. Inbox, Notion Calendar & Autonomous Triage Workflows — Email and calendar scheduling are the biggest hidden tax on product and ops teams. By wiring Mail and Notion Calendar directly into Custom Agents, incoming requests flow straight into structured databases—with drafts waiting for one-click human approval.
  8. 5 Copy-Paste Team Agent Recipes for Notion 3.3+ — Deploy these five battle-tested Custom Agents in under 15 minutes each. Every recipe pairs a scoped Notion database with least-privilege MCP connectors and an explicit skip rule.
  9. Governance, Permissions & Anti-Wiki-Rot Guardrails — An autonomous agent running 24/7 across Slack, email, and databases is a force multiplier—unless poor permissions leak confidential HR docs or runaway triggers drain your monthly credits. Build governance into every agent before launch.
  10. Cross-Tool Synergy: From Raw Meeting to Shipped Digest — The highest-leverage Notion hubs chain capture tools, structured databases, and MCP connectors into a single closed loop—eliminating status meetings and manual copy-pasting across Product, Engineering, Design, and Leadership.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — When a Custom Agent misbehaves, the root cause is almost always schema ambiguity, an unguarded trigger loop, or a missing OAuth scope—not model intelligence. Diagnose and fix the top seven failure modes fast:

### Linear Agents & Issue-to-PR Loops

> Automate issue triage, Figma-to-spec drafting, and scoped issue-to-PR delegation using Linear Agents, Linear MCP, Triage Intelligence, and connected coding agents (Claude Code, Codex, Cursor, Devin).

- Web: https://twelve-pages.com/guides/product-and-design/linear-agents-and-issue-to-pr
- Markdown: https://twelve-pages.com/guides/product-and-design/linear-agents-and-issue-to-pr.md
- PDF: https://twelve-pages.com/guides/product-and-design/linear-agents-and-issue-to-pr/Linear_Agents_and_Issue_to_PR_Complete_How_To_Guide.pdf (799 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Linear Agent & Coding Sessions, Triage Intelligence, Linear Remote MCP, Agent-Ready Specs, Figma & Customer Requests, Guardrails & Diff Reviews
- Core Takeaways:
  - Zero-Friction Triage: Auto-deduplicate, label, and route incoming Slack, Zendesk, and Gong signals with Triage Intelligence and recurring Loops.
  - Delegated PR Execution: Assign scoped issues to Linear Coding Sessions, Claude Code, Codex, Cursor, or Devin while humans retain issue ownership.
  - Governed Review Loops: Enforce 5-part agent-ready specs, agent-safe blast-radius labels, CI verification gates, and Linear Diffs reviews.
- Chapters:
  1. The Tracker Is Now the Agent’s Runtime Context — In traditional software teams, issue trackers were passive filing cabinets for humans. With Linear Agent, Triage Intelligence, and third-party coding agents acting as first-class workspace app users, every Linear issue becomes an executable prompt—turning clean product specs directly into tested, review-ready pull requests.
  2. Choosing the Right Linear Automation Surface — Linear’s 2026 agent ecosystem spans five distinct capabilities. Mixing them up wastes AI credits and causes noisy webhooks. Use this matrix to match each engineering workflow to the exact right primitive.
  3. Anatomy of an Agent-Driven Linear Issue HUD — Modern Linear issues unify specification, live agent execution telemetry, and code review in one view. Below is the 7-control interface map for running an autonomous issue-to-PR loop without losing visibility.
  4. Automating Triage Routing & Semantic Deduplication — Unfiltered bug queues destroy engineering focus. Triage Intelligence evaluates every incoming ticket against your workspace’s entire issue history, proactively proposing teams, projects, assignees, labels, and semantic duplicates before your triage goalie opens the inbox.
  5. The 5-Part Anatomy of an Agent-Ready Linear Issue — A coding agent is only as reliable as the ticket you hand it. Vague one-liners produce sprawling, unreviewable diffs. Structure every delegatable issue with these five color-coded sections so Claude Code, Codex, Cursor, or Devin hits a clean PR on the first pass.
  6. Connecting Linear MCP & External Coding Agents — Linear’s official hosted MCP server at https://mcp.linear.app/mcp runs over Streamable HTTP (the legacy /sse transport is deprecated) with OAuth 2.1 Dynamic Client Registration. Connect it to pull rich issue context into local IDEs or delegate directly from Linear’s assignee menu.
  7. Turning Figma Frames & Support Threads into Specs — The fastest way to break an issue-to-PR loop is hand-copying requirements across Figma, Zendesk, Intercom, and Slack. Connect design and customer signals directly into Linear so agents synthesize complete, revenue-prioritized engineering tickets automatically.
  8. 5 Battle-Tested Recipes to Deploy This Week — Save each recipe below as a reusable Linear Skill, Loop, or MCP prompt so your entire engineering and product org gets repeatable, high-signal outputs.
  9. Blast-Radius Limits & Human-in-the-Loop Governance — Autonomous coding agents multiply throughput—and can multiply mistakes just as fast if left ungoverned. Use strict delegation tiers, label-based permissions, CI verification gates, and spend caps to keep every agent PR safe to merge.
  10. End-to-End Synergy: Support Signal to Shipped Release — Linear reaches peak leverage when it acts as the central nervous system connecting customer-facing channels, design tools, coding agents, and release communications into a single automated relay.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight — When an autonomous issue-to-PR loop stalls, drifts, or goes silent, diagnose it in under two minutes with this clinic—then run the 6-point pre-flight check before scaling delegation across your org.

### AI User Research & PRD Prototyping

> Turn raw customer interviews, support tickets, and session telemetry into evidence-backed PRDs, assumption maps, and clickable prototypes in hours—without hallucinated insights or AI slop.

- Web: https://twelve-pages.com/guides/product-and-design/ai-user-research-and-prd-prototyping
- Markdown: https://twelve-pages.com/guides/product-and-design/ai-user-research-and-prd-prototyping.md
- PDF: https://twelve-pages.com/guides/product-and-design/ai-user-research-and-prd-prototyping/AI_User_Research_and_PRD_Prototyping_Complete_How_To_Guide.pdf (635 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Quote-Anchored Synthesis, 5-Part Evidence PRDs, Figma Make & Claude Design, v0.app & Gemini Canvas, Synthetic Pre-Testing, PII-Safe Discovery Pipelines
- Core Takeaways:
  - Zero-Hallucination Synthesis: Anchor every theme to verbatim [SRC-ID] quotes, participant counts, and disconfirming counter-evidence before writing a single requirement.
  - Evidence-Backed 5-Part PRDs: Replace bloated 15-page AI-slop specs with crisp PRDs combining Problem Proof, Explicit Non-Goals, Edge-Case Flows, Metrics, and Prototype Scope.
  - 24-Hour Clickable Validation: Generate interactive prototypes in Figma Make, v0.app, Claude Design, or Gemini Canvas and validate risky assumptions with 5 real users in one day.
- Chapters:
  1. From Raw Customer Signal to Validated Prototype — Generative AI makes it effortless to produce a 10-page PRD and a glossy UI in five minutes—which is exactly why teams ship more AI slop than ever. High-performing product teams use AI to compress synthesis and prototyping cycle time from weeks to hours while keeping human judgment and verbatim customer proof in the driver’s seat.
  2. The Late-2026 AI Product Discovery Stack — Modern discovery is no longer a single monolithic platform. High-velocity teams pair four specialized layers—Capture, Repository, Synthesis & PRD, and Rapid Prototyping—so evidence flows cleanly from voice call to clickable UI without vendor lock-in.
  3. Inside an Evidence-Backed Discovery & PRD Studio — Whether you assemble this workspace in Dovetail + ChatPRD or NotebookLM + Claude Design, every trustworthy AI discovery environment exposes the same 7 control surfaces to prevent hallucination and keep prototypes anchored to real user proof.
  4. Quote-Anchored Synthesis: Eliminating Hallucinated Insights — LLMs are natural smoothers: when asked to “summarize 15 interviews,” they blend weak anecdotes into confident-sounding consensus. Enforce the 3-Pass Quote-Anchored Protocol so every insight survives executive scrutiny.
  5. The 5-Part PRD Formula (Zero AI Slop) — Engineers ignore 12-page wall-of-text PRDs, and prototyping tools choke on vague prose. Compress every feature spec into a 2-page, 5-part structure where every section maps directly to either customer proof, scope boundaries, or clickable UI states.
  6. PRD to Clickable Prototype in Under 60 Minutes — Static wireframes hide interaction friction. By feeding Sections 2, 3, and 5 of your PRD into a 2026 AI prototyping studio, you can put a stateful, clickable UI with realistic data in front of users within 24 hours—before writing production backend code.
  7. Synthetic Pre-Tests vs. Real User Validation — In 2026, AI-generated “synthetic users” can simulate a usability walkthrough in 90 seconds—yet industry benchmarks show over 90% of researchers refuse to trust synthetic participants alone for product decisions. Use synthetic pre-tests as a fast spellchecker, then validate every high-stakes bet with real humans.
  8. 5 Copy-Paste Discovery & PRD Prompt Blueprints — Drop these five battle-tested blueprints into NotebookLM, Claude Projects, ChatPRD, or v0.app / Figma Make. Each recipe enforces strict input grounding and structured output so you get usable artifacts on the first run.
  9. PII Scrubbing, Consent & Bias Governance — Customer interviews contain names, emails, revenue figures, and confidential workflows. Uploading raw transcripts into consumer AI tools violates enterprise trust, GDPR/CCPA obligations, and customer NDAs. Build a zero-leakage research hygiene protocol in 5 minutes.
  10. End-to-End Pipeline: Raw Call to Linear Engineering Spec — The highest leverage comes from connecting your tools into a repeatable under-12-hour discovery assembly line—so insights never rot in a transcript folder and engineers receive a validated spec paired with a clickable reference prototype.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight — When AI discovery outputs feel generic, bloated, or disconnected from real users, diagnose the failure mode below and apply the instant fix before committing engineering hours.

### GitHub Copilot Agent Mode & GitHub MCP

> Orchestrate autonomous coding inside VS Code, delegate GitHub Issues to Copilot Coding Agent, automate PR code reviews, and wire the official GitHub MCP Server with repo-wide custom instructions.

- Web: https://twelve-pages.com/guides/product-and-design/github-copilot-agent-mode-and-mcp
- Markdown: https://twelve-pages.com/guides/product-and-design/github-copilot-agent-mode-and-mcp.md
- PDF: https://twelve-pages.com/guides/product-and-design/github-copilot-agent-mode-and-mcp/GitHub_Copilot_Agent_Mode_and_MCP_Complete_How_To_Guide.pdf (946 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: VS Code Agent Mode, Cloud Coding Agent, GitHub MCP Server, Custom Instructions, Copilot Code Review, Enterprise Governance
- Core Takeaways:
  - Autonomous IDE Loops: Plan multi-file edits, run tests, inspect diagnostics, and self-heal failures synchronously inside VS Code Agent Mode.
  - Async Issue-to-PR: Assign scoped GitHub Issues to @copilot to spin up ephemeral Actions sandboxes, run CI, and open review-ready PRs.
  - Zero-PAT GitHub MCP: Connect api.githubcopilot.com/mcp/ over OAuth 2.1 + PKCE with scoped X-MCP-Toolsets and read-only guardrails.
- Chapters:
  1. Three Surfaces, One Agentic Graph: How Copilot Executes — Modern GitHub Copilot is no longer just inline autocomplete. It is a coordinated engineering fabric combining synchronous IDE execution (VS Code Agent Mode), asynchronous cloud delegation (Copilot Coding Agent on GitHub Actions), and standardized tool connectivity via the official GitHub MCP Server.
  2. Choosing the Right Copilot Plan & Execution Mode — Matching the task to the right execution mode preserves both developer focus and monthly GitHub AI Credits (which replaced legacy premium request counting across plans in June 2026). Avoid launching heavy cloud sandboxes for quick inline edits, and avoid manual Ask chat for multi-file refactors.
  3. Inside VS Code Copilot Chat: 7-Control Agent Mode Tour — VS Code Copilot Chat transforms into an autonomous workbench the moment you switch the mode selector to Agent. Mastering these seven HUD controls prevents runaway edits, keeps token overhead lean, and makes terminal execution safe.
  4. Persistent Repo Memory: Instructions, Globs & Prompt Files — Repeating coding conventions in every chat prompt wastes time and AI credits. Version-controlled instruction files turn your repository into a self-documenting contract automatically injected into VS Code Agent Mode, Cloud Coding Agent, Copilot CLI, and Code Review.
  5. Wiring github/github-mcp-server: Remote OAuth & Toolsets — The official Go-based GitHub MCP Server exposes GitHub Issues, Pull Requests, Actions logs, and Code Security alerts directly to Copilot Agent Mode. Its GA remote endpoint (https://api.githubcopilot.com/mcp/) authenticates via OAuth 2.1 + PKCE—eliminating static Personal Access Tokens on developer laptops.
  6. Delegate Issues to @copilot & Automate PR Code Reviews — When you assign a GitHub Issue to Copilot Coding Agent, GitHub spins up an ephemeral Actions runner, executes your custom setup workflow, writes and tests the implementation, runs built-in security & self-review checks, and opens a Draft PR ready for human and AI review.
  7. Routing Claude, GPT & Gemini Inside GitHub Copilot — One of Copilot's strongest enterprise advantages is its unified multi-model fabric: developers can route tasks across Anthropic Claude, OpenAI GPT, and Google Gemini under a single GitHub seat, zero-retention agreement, and centralized AI credit budget.
  8. 5 Copy-Paste Copilot Agent Mode & GitHub MCP Recipes — Drop these five battle-tested configurations directly into your repository to unlock read-only triage, monorepo guardrails, automated CI log healing, security-focused PR reviews, and high-success Coding Agent tickets.
  9. Hardening Autonomous Agents: Firewall, Exclusions & Audit — Autonomous agents execute shell commands, call external APIs through MCP, and open pull requests at machine speed. Enterprise security teams must pair developer autonomy with four non-negotiable guardrails across egress networking, file exclusions, secret protection, and audit telemetry.
  10. End-to-End Autonomous Delivery: Design to Merged PR — Maximum velocity happens when GitHub Copilot and MCP connect your entire product toolchain—turning Figma frames and Linear/Jira tickets into structured GitHub Issues, autonomous Coding Agent PRs, green Actions CI builds, and pre-screened human merges.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight Checklist — When an autonomous workflow stalls, the cause is almost always a misconfigured toolset header, a firewalled Actions install, or bloated context. Use this clinic to diagnose issues in under two minutes, then run the 6-point pre-flight check before team rollout.

## AI Backends, Databases & Agent Commerce (5 Handbooks)

Topic Hub: https://twelve-pages.com/topics/cloud-data-and-commerce

Publication-grade 12-page visual handbooks for production AI infrastructure—covering Supabase Postgres, pgvector & RLS guardrails, Cloudflare Agents SDK, Durable Objects & Container Sandboxes, Stripe Agent Toolkit & usage-based metering, OAuth 2.1/MCP agent identity, and DuckDB & MotherDuck SQL analytics agents.

### Supabase & Postgres for AI Agents

> Build secure, multi-tenant agent backends on Postgres using pgvector hybrid search, Row-Level Security (RLS) guardrails, Edge Functions, Supabase MCP, and official supabase/agent-skills.

- Web: https://twelve-pages.com/guides/cloud-data-and-commerce/supabase-and-postgres-for-ai-agents
- Markdown: https://twelve-pages.com/guides/cloud-data-and-commerce/supabase-and-postgres-for-ai-agents.md
- PDF: https://twelve-pages.com/guides/cloud-data-and-commerce/supabase-and-postgres-for-ai-agents/Supabase_and_Postgres_for_AI_Agents_Complete_How_To_Guide.pdf (760 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: pgvector + RRF Hybrid Search, Bulletproof RLS Guardrails, Supabase MCP Server, supabase/agent-skills, Edge Functions & pgmq, Branching & Supavisor
- Core Takeaways:
  - One Unified Postgres Core: Run relational state, HNSW vector embeddings, full-text tsvector search, and pgmq job queues inside one transactional database.
  - Zero-Trust Tenant Isolation: Propagate end-user JWTs through every agent tool call so Postgres RLS enforces tenant boundaries—never leak service_role keys.
  - Safe Agentic Migrations: Pair read-only or branch-scoped Supabase MCP with supabase/agent-skills and ephemeral Preview Branches before merging to production.
- Chapters:
  1. Why Postgres + Supabase Wins for Production AI Agents — Early AI prototypes glued together a vector database, a Redis queue, a document store, and custom auth middleware—creating sync drift and multi-tenant data leaks. Modern agent backends consolidate memory, retrieval, permissions, and async execution onto a single PostgreSQL engine powered by Supabase.
  2. Supabase Primitive Decision Matrix for AI Agent Workloads — Do not stuff long-running LLM loops into synchronous HTTP Edge Functions or rely on pure cosine similarity for SKU lookups. Pick the right Supabase primitive for each phase of your agent lifecycle.
  3. Command Center HUD: Supabase Studio, RLS Inspector & MCP — Before giving an AI agent access to your database, master these seven high-leverage controls spanning Supabase Studio’s SQL/RLS workspace, Security Advisors, and live Supabase MCP audit logs.
  4. Hybrid Vector + Full-Text Search with pgvector & RRF — Pure semantic embeddings excel at conceptual intent (“cancel my plan”) but miss exact error codes, SKUs, and proper nouns (“ERR_409_STRIPE”). Combining HNSW vector search with Postgres GIN full-text search via Reciprocal Rank Fusion (RRF) delivers enterprise-grade RAG recall inside one SQL call.
  5. Bulletproof Row-Level Security (RLS) Guardrails for AI Agents — Every table exposed to Supabase’s Data API or queried by an agent must enforce RLS. A single missing policy or accidental service_role client in an agent tool turns a prompt injection into a cross-tenant data breach.
  6. Supabase MCP Server & Official supabase/agent-skills — Stop copy-pasting table schemas and slow query plans into chat. Pair Supabase’s hosted Remote MCP Server (with OAuth and read-only guardrails) with the official supabase/agent-skills repository so coding agents write production-grade Postgres from the first prompt.
  7. Edge Functions, pgmq Queues & Realtime Agent Streams — Keep HTTP request paths fast and resilient. Offload document parsing, chunking, and embedding API calls to Supabase Queues (pgmq) triggered by pg_cron, and stream live agent progress back to the browser over Supabase Realtime.
  8. 5 Real-World SQL, RLS & Edge Function Recipes — Battle-tested building blocks you can drop directly into your migrations and Edge Functions to cover agent memory, multi-tenant isolation, semantic caching, and token-budget auditing.
  9. Supavisor Pooling, Vault Secrets & Production Ops — Autonomous agents generate bursty, high-concurrency database traffic. Without proper connection pooling, secret hygiene, and least-privilege roles, a viral agent launch will exhaust max_connections in seconds.
  10. Cross-Tool Synergy: From Coding Agent to Production Postgres — The fastest AI engineering teams combine supabase/agent-skills, Preview Branches, and the Vercel AI SDK into a deterministic loop where every schema change is tested, typed, and RLS-verified before it ever reaches production.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight Checklist — Bookmark this diagnostic table for the seven most common failure modes in Postgres-backed AI agents, then sign off on all six pre-flight checks before opening production traffic.

### Cloudflare Agents, Workers AI & Sandboxes

> Deploy stateful, globally distributed AI agents on the Cloudflare edge using the Cloudflare Agents SDK, Durable Objects SQLite state, Workflows, AI Gateway, Workers AI, and Container Sandboxes.

- Web: https://twelve-pages.com/guides/cloud-data-and-commerce/cloudflare-agents-and-edge-sandboxes
- Markdown: https://twelve-pages.com/guides/cloud-data-and-commerce/cloudflare-agents-and-edge-sandboxes.md
- PDF: https://twelve-pages.com/guides/cloud-data-and-commerce/cloudflare-agents-and-edge-sandboxes/Cloudflare_Agents_and_Edge_Sandboxes_Complete_How_To_Guide.pdf (936 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Agents SDK & Durable Objects, Embedded SQLite & WebSockets, Remote MCP & OAuth 2.1, Sandbox SDK 1.0 & Containers, AI Gateway & Workers AI, Cloudflare Workflows
- Core Takeaways:
  - Stateful Edge Agents: Every Agent runs as a globally addressable Durable Object with private SQLite storage, hibernatable WebSockets, and durable alarms.
  - Isolated Code Execution: Pair sub-millisecond Dynamic Workers with ctx.container & Sandbox SDK 1.0 to run untrusted Node, Python, and shell workloads safely.
  - Unified AI Control Plane: Route across Workers AI and 24+ LLM providers through AI Gateway with free caching, rate limits, fallbacks, DLP, and Llama Guardrails.
- Chapters:
  1. The Stateful Edge Shift: One Durable Object Per Agent — Traditional stateless serverless functions forget everything between HTTP calls, forcing teams to stitch together Redis, Postgres, queues, and WebSocket brokers. Cloudflare’s Agents SDK (agents) flips the model: each agent instance is a single-threaded Durable Object with its own embedded SQLite database, hibernatable WebSockets, and alarm scheduler running close to the user.
  2. Cloudflare AI Primitive Decision Matrix — Cloudflare’s AI stack is modular: each primitive solves one durability, inference, retrieval, or isolation boundary cleanly. Use this matrix to map every agent workload to its exact primitive without overpaying for idle compute.
  3. Annotated Workspace Tour: Wrangler Dev, DO SQLite & AI Gateway — Developing edge agents locally mirrors production: wrangler dev runs your Worker, Durable Object SQLite database, and hibernatable WebSockets in Miniflare while forwarding model calls through your live AI Gateway for real-time cost, cache, and guardrail telemetry.
  4. Embedded SQLite, Hibernatable WebSockets & Durable Scheduling — Subclassing Agent<Env, State> from the agents package turns a Cloudflare Durable Object into a persistent, real-time agent runtime with four built-in durability primitives—requiring zero external databases or message brokers.
  5. Remote MCP Servers with McpAgent & OAuth 2.1 — Cloudflare is a primary edge host for remote Model Context Protocol (MCP) servers over Streamable HTTP (/mcp). By pairing a Durable Object MCP server with @cloudflare/workers-oauth-provider v1.x (MCP 2026-07-28 spec), any client—Claude, Cursor, Windsurf, or another Agent—can authenticate with GitHub, Google, or Cloudflare Access and call your tools globally.
  6. Cloudflare Containers & Ephemeral Code Sandboxes — When an AI agent writes Python data scripts, runs npm test, or edits a Git repository, you must never execute that untrusted code inside your application’s memory space. Cloudflare’s rebuilt Containers and Sandbox SDK 1.0 (Sep 2026) let each Durable Object spawn, exec, snapshot, and sleep an isolated Linux workspace directly at the edge.
  7. AI Gateway, Workers AI & Multi-Provider Fallbacks — Hardcoding a single LLM vendor inside an edge agent invites 429 rate-limit outages and runaway token bills. Routing every model call through Cloudflare AI Gateway gives you free exact-match caching, dynamic fallbacks across 24+ providers plus Workers AI, DLP redaction, and Llama Guardrails without redeploying code.
  8. 5 Real-World Copy-Paste Cloudflare Agent Recipes — Every production edge agent combines two or three primitives. Pick a blueprint below, copy the verified snippet, run npx wrangler types, and ship with npx wrangler deploy.
  9. Security, Zero-Trust Access & Edge Cost Controls — Autonomous agents hold tool credentials, execute code, and call metered LLMs. Securing them at the Cloudflare edge means enforcing identity before a Durable Object ever wakes, isolating every tenant’s storage and sandbox, and bounding inference spend at the gateway.
  10. End-to-End Edge Agent Synergy Pipeline — Production AI applications rarely stop at a single chat box. Here is how a React/Next.js frontend, Cloudflare Agent Durable Object, AI Gateway, R2/Vectorize RAG layer, and Container Sandbox interlock into one globally distributed, low-latency pipeline.
  11. Troubleshooting Clinic & 6-Point Pre-Flight Checklist — Most Cloudflare Agents, MCP, and Sandbox deploy errors trace back to a handful of wrangler.jsonc, dependency-pinning, or hibernation gotchas. Diagnose them fast below, then run the 6-point checklist before shipping to production.

### Stripe Agent Toolkit & Agentic Commerce

> Wire safe payments, usage-based token metering, virtual issuing cards, and human-approved billing actions into AI agents using Stripe Agent Toolkit, Stripe MCP, and Agentic Commerce protocols.

- Web: https://twelve-pages.com/guides/cloud-data-and-commerce/stripe-agent-toolkit-and-agentic-commerce
- Markdown: https://twelve-pages.com/guides/cloud-data-and-commerce/stripe-agent-toolkit-and-agentic-commerce.md
- PDF: https://twelve-pages.com/guides/cloud-data-and-commerce/stripe-agent-toolkit-and-agentic-commerce/Stripe_Agent_Toolkit_and_Agentic_Commerce_Complete_How_To_Guide.pdf (877 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Stripe Agent Toolkit, Hosted MCP (mcp.stripe.com), LLM Token Metering, Credit Grants, Shared Payment Tokens, Issuing Virtual Cards
- Core Takeaways:
  - Least-Privilege Tooling: Connect agents via mcp.stripe.com OAuth or Agent API keys with explicit action allowlists—never full-access sk_live_ keys.
  - Precision Token Billing: Meter input/output LLM tokens via Stripe Billing Meters and prepaid Credit Grants with deterministic idempotency keys.
  - Zero-PAN Agent Checkout: Authorize autonomous purchases with Shared Payment Tokens (SPTs) and single-use Issuing cards locked by MCC and spend caps.
- Chapters:
  1. The Safe Agentic Commerce Loop: Scoped Intent to Settled Ledger — AI agents are probabilistic by nature, whereas financial ledgers demand determinism. Production agentic commerce solves this tension by placing a strictly scoped tool layer, a policy & human-approval gate, and idempotent Stripe APIs between every LLM decision and real money movement.
  2. Choosing the Right Stripe Primitive for Your AI Agent — Every agentic payment workflow falls into one of five Stripe primitives. Picking the wrong primitive causes margin leakage (flat plans on heavy inference users), card-minimum friction (charging $0.002 per API call on credit cards), or PCI compliance exposure.
  3. Inside the Stripe Agentic Operations Console (7 Key Controls) — Before deploying a live agent, master these seven mission-critical controls across Stripe Billing Meters, Agent Toolkit / MCP permissions, and the Webhook Event Log. Every pin below maps to a concrete failure mode you prevent in production.
  4. Wiring Stripe Agent Toolkit & Official Stripe MCP Safely — Stripe gives developers two complementary paths: the hosted remote MCP server at https://mcp.stripe.com for Claude Code, Cursor, and MCP-native agents, and the @stripe/agent-toolkit (TypeScript) / stripe-agent-toolkit (Python) libraries for Vercel AI SDK, LangChain, CrewAI, and OpenAI Agents SDK.
  5. Metering LLM Tokens & Agent Runs Without Dropping Revenue — Because every frontier model call carries variable COGS, flat $20/month subscriptions invert on power users. Modern AI products emit structured Billing Meter Events (or wrap calls with @stripe/ai-sdk / Metronome) to convert raw prompt & completion tokens into auditable invoice lines and real-time Credit Grant burn.
  6. Letting Agents Buy Safely: Shared Payment Tokens & Virtual Cards — When an AI agent shops across merchants or buys third-party API credits on a user's behalf, you need scoped, revocable credentials. Stripe provides two complementary rails: Shared Payment Tokens (SPTs) under ACP/UCP for participating merchants, and Stripe Issuing single-use virtual cards for universal card acceptance.
  7. Pausing High-Risk Billing Actions for Human Sign-Off — Support and RevOps agents save hours by drafting invoices, calculating prorated refunds, and diagnosing failed charges—but prompt injection or edge-case misreads can trigger costly payouts. Implement a two-phase draft-and-approve bridge backed by cryptographically verified, idempotent webhooks.
  8. 5 Copy-Paste Stripe Agent & Metering Recipes — Drop these battle-tested TypeScript and JSON patterns straight into your agent backend, MCP client config, or billing worker. Every recipe enforces idempotency, least privilege, and deterministic validation.
  9. Zero-PAN Boundaries, Key Scoping & Anti-Abuse Guardrails — Wiring money to an LLM creates a novel attack surface: indirect prompt injection inside web pages, emails, or support tickets can trick an agent into issuing refunds, leaking keys, or draining virtual cards. Enforce these four non-negotiable security boundaries in code—never in system prompts alone.
  10. End-to-End AI Billing Pipeline: Gateway → Meters → Credits → Slack — In production, Stripe Billing Meters work best as the financial settlement core of a four-stage telemetry pipeline: an AI App / Vercel AI Gateway enforces real-time rate limits, a Rollup Worker emits idempotent Stripe Meter Events, Credit Grants control access, and Webhooks drive automated invoices and Slack alerts.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight Checklist — Bookmark this page for launch day. Below are the seven most frequent production errors encountered when wiring Stripe Agent Toolkit, Billing Meters, Shared Payment Tokens, and Issuing cards—plus your 6-point go-live gate.

### Agent Auth, Identity & Scoped Permissions

> Secure multi-tenant AI agents and MCP servers in production using OAuth 2.1 + PKCE, short-lived token brokering, least-privilege RBAC/ABAC scopes, human approval gates, and tamper-evident audit logs.

- Web: https://twelve-pages.com/guides/cloud-data-and-commerce/agent-auth-identity-and-permissions
- Markdown: https://twelve-pages.com/guides/cloud-data-and-commerce/agent-auth-identity-and-permissions.md
- PDF: https://twelve-pages.com/guides/cloud-data-and-commerce/agent-auth-identity-and-permissions/Agent_Auth_Identity_and_Permissions_Complete_How_To_Guide.pdf (968 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: OAuth 2.1 & PKCE, RFC 9728 & CIMD, Token Vaults & OBO, Least-Privilege Scopes, Confused Deputy Defense, Step-Up & Audit Trails
- Core Takeaways:
  - Zero Raw Secrets in Context: Keep OAuth refresh tokens and API keys inside server-side Token Vaults. Agents receive only short-lived, audience-bound credentials per tool call.
  - Dual-Identity Delegation: Bind every action to both the human principal (sub) and the acting agent (act) via RFC 8693 Token Exchange and strict RFC 8707 audience checks.
  - Blast-Radius Containment: Combine RBAC/ABAC scope ceilings, out-of-band human step-up approvals, Postgres RLS, and instant kill switches for SOC 2 & EU AI Act readiness.
- Chapters:
  1. Why Agent Auth Breaks Traditional API Keys — Traditional SaaS apps call APIs with deterministic code paths. Autonomous AI agents choose which tools to invoke at runtime, traverse multi-tenant data, and process untrusted external text. Handing an agent a static service key turns a single prompt injection into a full-tenant breach.
  2. Choosing the Right Agent Auth Architecture — No single OAuth flow fits every agent workload. Interactive chat copilots, multi-hop enterprise orchestrators, third-party SaaS connectors, and headless cron agents each demand a distinct credential pattern.
  3. Inside an Agent Identity & Scope Consent Console — Production agent platforms expose a dedicated security control plane where admins and end-users inspect active agent identities, narrow OAuth scopes, approve step-up requests, and pull instant kill switches.
  4. How Remote MCP Servers Enforce OAuth 2.1 — The Model Context Protocol standardizes remote HTTP authentication on an OAuth 2.1 profile. The MCP server acts strictly as an OAuth Resource Server: it never handles passwords, never runs login UIs, and delegates token issuance to an external Authorization Server (AS).
  5. The 5-Part Agent Authorization Policy Anatomy — Coarse OAuth scopes like crm:admin or read_write give an agent keys to the kingdom. Production agent security pairs narrow OAuth scopes with a 5-part runtime policy evaluated on every tool invocation.
  6. Token Vaults: Keeping Raw Credentials Out of LLM Context — The fastest way to leak customer OAuth tokens is passing them into agent state, tool outputs, or prompt memory. A Token Vault decouples credential storage from agent reasoning—storing encrypted refresh tokens centrally and injecting ephemeral access tokens only at the HTTP execution boundary.
  7. Defeating Confused Deputy, Passthrough & Cross-Tenant Leaks — The MCP Authorization Security Considerations highlight four high-severity failure modes that break multi-tenant isolation in real deployments. Every production MCP server must close all four.
  8. Production Auth & MCP Middleware Snippets — Drop these five battle-tested patterns into your TypeScript/Node.js MCP servers and Next.js agent routes to meet late-2026 OAuth 2.1, audience binding, and human-in-the-loop standards.
  9. Tamper-Evident Audit Logs & Instant Kill Switches — When an enterprise CISO asks, “Which human authorized this agent to issue a refund at 2:14 AM, and how do we stop it in 2 seconds?”, your audit schema and revocation architecture must answer with cryptographic certainty.
  10. End-to-End Multi-Tenant Agent Security Pipeline — Real production reliability comes from wiring four specialized layers together so no single layer bears the full burden of security: Enterprise IdP → Token Vault → Remote MCP Gateway → Postgres RLS + SIEM.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight — Most MCP and agent auth outages stem from seven predictable misconfigurations. Bookmark this clinic to diagnose 401 loops, audience rejections, and consent failures in minutes.

### AI Data Analysis, DuckDB & SQL Agents

> Turn raw CSVs, Parquet data lakes, and SQL warehouses into verified, zero-hallucination analytics using DuckDB, MotherDuck, semantic metric layers, DuckDB MCP, and read-only SQL agent loops.

- Web: https://twelve-pages.com/guides/cloud-data-and-commerce/ai-data-analysis-duckdb-and-sql-agents
- Markdown: https://twelve-pages.com/guides/cloud-data-and-commerce/ai-data-analysis-duckdb-and-sql-agents.md
- PDF: https://twelve-pages.com/guides/cloud-data-and-commerce/ai-data-analysis-duckdb-and-sql-agents/AI_Data_Analysis_DuckDB_and_SQL_Agents_Complete_How_To_Guide.pdf (916 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: DuckDB 1.5 & DuckLake, MotherDuck MCP, Semantic Metric Layers, Zero-ETL Parquet & Iceberg, Read-Only SQL Loops, Verified Charting
- Core Takeaways:
  - Zero-ETL Speed: Query local CSVs, S3 Parquet lakes, Iceberg tables, and DuckLake catalogs directly in milliseconds with vectorized SQL.
  - Governed Metrics: Bind AI agents to dbt MetricFlow, Cube, or versioned metrics.yaml definitions to eliminate wrong JOINs and KPI drift.
  - Read-Only Safety: Enforce READ_ONLY connections, EXPLAIN checks, PII-masked views, row caps, and timeouts on every agent query.
- Chapters:
  1. Zero-Hallucination Analytics: The SQL Agent Mental Model — LLMs are exceptional translators from business language to structured SQL, but terrible calculators. Reliable AI data analysis separates intent reasoning (the model) from deterministic execution (DuckDB / MotherDuck) through a governed semantic contract and read-only guardrails.
  2. Analytics Engine Decision Matrix (Late 2026) — Choosing the wrong execution engine creates slow agent loops, surprise cloud bills, or out-of-memory crashes. Match your data volume, concurrency, and governance footprint to the right engine before wiring up MCP tools.
  3. Annotated Tour: DuckDB + MCP SQL Agent Workbench — A production-grade SQL agent interface is never a black-box chat window. It exposes seven live telemetry controls so you can inspect the active semantic context, verify the EXPLAIN plan, confirm row counts, and audit the exact SQL before trusting a single chart.
  4. Zero-ETL Local Analytics: Parquet, S3, Iceberg & DuckLake — Traditional analytics forces you to build brittle ETL pipelines before running a single query. DuckDB flips the model: point SQL directly at local CSVs, JSON logs, S3 Parquet buckets, Apache Iceberg tables, or DuckLake 1.1 catalogs—pushing filters and column projections straight to storage.
  5. Semantic Layers & The 5-Part metrics.yaml Formula — Raw schemas tell an AI agent what columns exist, not how your business defines truth. In 2026 benchmarks from dbt Labs, pairing frontier models with a governed semantic layer pushed covered KPI accuracy near 100%—eliminating double-counted joins and conflicting definitions.
  6. MotherDuck MCP & Safe Read-Only SQL Agent Loops — The Model Context Protocol (MCP) turns Claude, Cursor, ChatGPT, and Codex into live SQL analysts without copying CSVs into chat. MotherDuck offers both a managed remote MCP server and the open-source local mcp-server-motherduck for local files, S3, and cloud databases.
  7. Automated Verification, Charting & Narrative Exports — The most dangerous failure mode in AI analytics isn't a syntax error—it's a confident executive summary where the LLM mis-sums a 12-row table or plots unverified outliers. Enforce the SQL-First Math Rule and bind charts directly to SQL JSON output.
  8. 5 Copy-Paste DuckDB & SQL Agent Recipes — Drop these battle-tested SQL, MCP, and semantic YAML snippets directly into your local repo or agent harness to stand up verified analytics in under 15 minutes.
  9. Security, PII Masking & Cost Guardrails — Giving an LLM direct database access without defense-in-depth risks leaked customer PII, runaway cloud bills, or indirect prompt injection hidden inside user-submitted text fields (like support tickets or company names). Enforce all five layers below at the database and harness level—never rely on system prompts alone.
  10. Cross-Tool Synergy Pipeline: Raw Exports to Executive Insights — Standalone tools create data silos. Combining automated Parquet/DuckLake ingestion, a versioned semantic layer, read-only MotherDuck MCP, and interactive AI deliverables turns messy SaaS exports into a self-serve analytics engine that runs for pennies per day.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight Checklist — When an AI SQL agent returns surprising numbers, slow scans, or empty tables, diagnose the root cause in seconds using the seven fixes below—then run the 6-point checklist before deploying any agent to teammates.

## AI Code Editors & Agentic IDEs (4 Handbooks)

Topic Hub: https://twelve-pages.com/topics/ai-ides

Publication-grade 12-page visual handbooks for modern AI-first code editors and cross-IDE portability—covering Cursor Composer, Rules, Cloud Agents & Bugbot, Windsurf / Devin Desktop Cascade flows, Cline, Roo Code & Kilo Code open-source VS Code agents, and portable AGENTS.md, SKILL.md & shared MCP setups.

### Cursor Mastery: Composer, Rules & Background Agents

> Ship faster in Cursor with Agent/Composer workflows, scoped .cursor/rules/ & AGENTS.md, Cloud/Background Agents, Bugbot PR reviews, MCP servers, and multi-model cost control.

- Web: https://twelve-pages.com/guides/ai-ides/cursor-mastery-composer-rules-and-agents
- Markdown: https://twelve-pages.com/guides/ai-ides/cursor-mastery-composer-rules-and-agents.md
- PDF: https://twelve-pages.com/guides/ai-ides/cursor-mastery-composer-rules-and-agents/Cursor_Mastery_Composer_Rules_and_Agents_Complete_How_To_Guide.pdf (980 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Agent & Composer 2.5, .cursor/rules/*.mdc, Cloud Agents & Worktrees, Bugbot PR Review, .cursor/mcp.json, Privacy & Cost Control
- Core Takeaways:
  - Agent-First Execution: Move cleanly from Tab autocomplete to Plan Mode, Composer multi-file edits, parallel Git worktrees, and async Cloud Agents.
  - Deterministic Context: Scope .cursor/rules/*.mdc by glob, keep AGENTS.md portable across IDEs, and wire live Figma, Linear, and Supabase MCPs.
  - Enterprise Guardrails: Enforce Privacy Mode, .cursorignore, Bugbot PR gates, sandboxed CLI allowlists, and weekly pool vs. API spend budgets.
- Chapters:
  1. The Cursor Autonomy Ladder: From Keystrokes to Cloud Agents — Modern Cursor (v2.x–3.x) is no longer just an autocomplete editor—it is an agent-first development environment with a dedicated Agents Window, Composer 2.5 fast reasoning, local Git worktree parallelism, remote Cloud Agents, and automated Bugbot PR reviews. Mastery means matching each task to the lowest-friction autonomy rung.
  2. Choosing the Right Mode, Model & Late-2026 Plan — Sending every prompt to a heavy reasoning model burns budget and slows iteration. Match Cursor's seven execution surfaces to the right model tier and late-2026 billing pool.
  3. 7-Control HUD of the Cursor Agent Panel — Master these seven controls inside Cursor's Agents Window & Composer panel to keep context razor-sharp, run isolated worktrees safely, and roll back bad edits in one click.
  4. Scoped .cursor/rules/*.mdc, AGENTS.md & Context Hygiene — The biggest mistake teams make in Cursor is dumping 1,500 lines of guidelines into a single global rule. Scoped .mdc files inject only the rules relevant to the files being edited, keeping the context window crisp and adherence high.
  5. Anatomy of a High-Precision .mdc Rule & Agent Prompt — Vague rules like “write clean TypeScript” waste tokens and get ignored. High-precision rules and prompts follow a five-part contract: Scope, Role, Hard Invariants, Concrete Anchor, and Verification Gate.
  6. Scaling Out: Cloud Agents, Git Worktrees & Cursor CLI — Single-threaded prompting caps your throughput at one task at a time. Combine local Git worktrees, remote Cloud Agents (formerly Background Agents), and headless Cursor CLI to run 3–6 engineering streams in parallel.
  7. Bugbot Automated PR Reviews & .cursor/mcp.json Wiring — Shipping faster with agents increases PR volume. Pair Bugbot (automated PR bug & security auditing) with Model Context Protocol (MCP) servers so Cursor reads live specs, issues, schemas, and PR checks directly.
  8. 5 Production Copy-Paste Rules, MCPs & Prompt Recipes — Drop these five battle-tested configurations straight into your repository to standardize Agent output, wire MCP tools cleanly, and automate PR quality gates.
  9. Privacy Mode, Team Security Hardening & Spend Control — Enterprise adoption succeeds when security and finance teams have verifiable controls. Understand exactly what Cursor's Privacy Mode guarantees, where retention exceptions exist, and how to cap multi-model spend.
  10. End-to-End Shipping Pipeline: Spec to Production — Cursor delivers compounding leverage when wired into your full delivery loop—pulling design and issue truth via MCP, executing in parallel worktrees or Cloud Agents, auditing with Bugbot, and verifying in CI.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight Checklist — Diagnose the seven most common Cursor workflow failures in seconds, then run the 6-point pre-flight checklist before shipping any agent-authored PR.

### Windsurf & Devin Desktop: Cascade & Autonomous Tasks

> Master flow-state agentic coding in Windsurf and Devin Desktop—combining Cascade multi-file edits, Memories & Rules, live Previews, MCP integrations, and cloud-to-desktop Devin handoffs.

- Web: https://twelve-pages.com/guides/ai-ides/windsurf-and-devin-desktop-flows
- Markdown: https://twelve-pages.com/guides/ai-ides/windsurf-and-devin-desktop-flows.md
- PDF: https://twelve-pages.com/guides/ai-ides/windsurf-and-devin-desktop-flows/Windsurf_and_Devin_Desktop_Flows_Complete_How_To_Guide.pdf (729 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Cascade & Devin Local, Agent Command Center, Rules, Memories & AGENTS.md, Live Previews & Click-to-Edit, MCP Servers (100-Tool Cap), Local-to-Cloud Devin Handoffs
- Core Takeaways:
  - Stay in Agentic Flow: Unify real-time cursor, terminal, and file-graph awareness across Cascade and the Rust-powered Devin Local harness.
  - Codify Team Standards: Combine scoped .devin/rules/ & .windsurf/rules/, slash-invoked Workflows, AGENTS.md, and auto-saved Memories.
  - Scale Local to Cloud: Dispatch backlog tickets to parallel Devin Cloud sessions, then pull draft PRs into Devin Desktop for interactive Live Preview polish.
- Chapters:
  1. From Windsurf Editor to Devin Desktop: The Flow Mental Model — Following Cognition AI’s July 2025 acquisition of Windsurf and the June 2, 2026 rebrand to Devin Desktop, Windsurf’s signature real-time Flows architecture merged with Devin’s autonomous cloud engineering engine. Today, one workspace orchestrates local keystroke-speed edits and parallel cloud PR agents side by side.
  2. Choosing the Right Agent Mode & Plan Tier — Burning frontier reasoning quota on boilerplate completions slows you down, while relying on Tab autocomplete for a 14-file schema migration invites regressions. Use this matrix to pick the optimal execution surface every time.
  3. 7-Control Command HUD: Cascade, Live Preview & Spaces — Devin Desktop elevates the classic Windsurf editor into a unified Agent Command Center. Master these seven high-leverage controls to move seamlessly between multi-agent Spaces, local code diffs, DOM previews, and persistent Memories.
  4. Mastering Flow Awareness, Planning & Terminal Loops — The secret behind Windsurf’s Cascade—and its Rust-rewritten successor Devin Local—is bidirectional Flow state: the agent watches your manual edits, open buffers, and terminal output in real time, then closes the loop by running verification commands automatically.
  5. The 5-Part Customization Blueprint: Rules, Memories & AGENTS.md — Repeating your architecture standards every morning wastes quota and invites drift. Devin Desktop / Windsurf layers five distinct customization mechanisms—each with clear precedence, activation triggers, and hard character caps.
  6. Visual DOM Iteration & External Tooling via MCP — Stop describing CSS bugs in paragraphs or switching between six dashboards. Live Previews wire your running web app directly into Cascade / Devin Local, while Model Context Protocol (MCP) servers connect databases, issue trackers, and observability logs.
  7. Local Cascade vs. Autonomous Devin Cloud Sessions — The biggest productivity unlock in Devin Desktop is knowing where a task should run. Keep high-touch architectural and visual work local in Cascade / Devin Local, and dispatch bounded, verifiable work to parallel Devin Cloud sandboxes inside the same Command Center Space.
  8. 5 Production-Ready Recipes to Drop Into Your Repo Today — Copy these battle-tested configurations directly into .devin/ (or .windsurf/), AGENTS.md, and your Cascade / Devin Local prompt box to eliminate repetitive guidance and standardize every PR.
  9. Enterprise Hardening: ZDR, Command Allowlists & Secrets Hygiene — An agentic IDE reads untrusted files, executes shell commands, and invokes external MCP servers with your developer credentials. Pair Cognition’s built-in Zero Data Retention (ZDR) with defense-in-depth workspace guardrails.
  10. The Ticket-to-Merge Pipeline: Linear → Devin Cloud → Cascade → Ship — High-velocity engineering teams stop treating cloud agents and desktop IDEs as separate worlds. Wire Linear/Slack, Devin Cloud, Devin Desktop (Cascade / Devin Local), Live Preview, and GitHub CI into one continuous shipping conveyor belt.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight Checklist — When an agentic loop stalls, ignores a rule, or burns quota too fast, diagnose the exact root cause in seconds with this field-tested clinic—then run the 6-point pre-flight check on every new workspace.

### Cline, Roo Code & Open-Source VS Code Agents

> Run transparent, BYOK, and local-model coding agents inside standard VS Code using Cline, Roo Code custom modes & Boomerang orchestration, Kilo Code, checkpoints, and MCP tools—with zero vendor lock-in.

- Web: https://twelve-pages.com/guides/ai-ides/cline-roo-code-and-open-vscode-agents
- Markdown: https://twelve-pages.com/guides/ai-ides/cline-roo-code-and-open-vscode-agents.md
- PDF: https://twelve-pages.com/guides/ai-ides/cline-roo-code-and-open-vscode-agents/Cline_Roo_Code_and_Open_VS_Code_Agents_Complete_How_To_Guide.pdf (829 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: Plan / Act Dual-Model, Custom Modes & .roomodes, Boomerang Sub-Tasks, BYOK & Local Ollama, Shadow Git Checkpoints, MCP & Browser Use
- Core Takeaways:
  - Zero Vendor Lock-In: Keep standard VS Code and your extensions. Route every turn via OpenRouter, Bedrock, Vertex AI, or local Ollama with raw API pricing.
  - Isolated Orchestration: Split reasoning from execution using Cline Plan/Act or Roo/Kilo Orchestrator Boomerang sub-tasks with clean context windows.
  - Reversible Autonomy: Every file edit and shell command lands inside a Shadow Git checkpoint with one-click diffing, headless browser checks, and hard cost caps.
- Chapters:
  1. Transparent, BYOK Autonomy Inside Standard VS Code — Proprietary AI IDE forks bundle hidden prompts, opaque credit meters, and fixed model menus. Open-source VS Code agents—led by Cline, the Roo Code custom-mode architecture, and its OpenCode-powered successor Kilo Code—keep you inside stock VS Code while exposing every token, diff, tool call, and API dollar in real time.
  2. Open VS Code Agent Decision Matrix (Late 2026) — Cline, Roo Code, and Kilo Code share a common open-source lineage, while Continue anchors inline autocomplete. Understanding their late-2026 architecture and maintenance status prevents choosing a stalled workflow.
  3. The 7-Control Open Agent Sidebar HUD — Master these seven live controls in the Cline / Roo / Kilo VS Code sidebar to monitor token burn, enforce least-privilege approvals, inspect Shadow Git diffs, and steer multi-step runs without babysitting every click.
  4. Plan/Act, Custom Modes & Boomerang Sub-Tasks — Single-thread agents fail on large refactors because planning chatter, test logs, and failed diffs pollute one overflowing context window. Open VS Code agents solve this with two complementary patterns: Plan/Act and Boomerang Orchestration.
  5. 5-Part Anatomy of .roomodes & .clinerules/ — Commit mode definitions and rules straight into Git so every teammate's VS Code agent inherits identical architectural guardrails, file-edit boundaries, and style conventions automatically.
  6. BYOK Multi-Provider & Local Model Routing — Paying frontier reasoning rates for boilerplate edits burns budgets fast. Open VS Code agents let you assign a Frontier Planner to Plan/Architect mode and a Fast API or Local Ollama Coder to Act/Code mode—cutting daily spend by 60–85% while keeping architectural rigor intact.
  7. Shadow Checkpoints, Headless Browser & MCP Tools — Three open-agent superpowers turn VS Code into a self-verifying engineering loop: Shadow Git Checkpoints for fearless rollback, Headless Browser Use for visual/DOM QA, and Model Context Protocol (MCP) for live external tools.
  8. 5 Battle-Tested .roomodes, .clinerules & MCP Recipes — Drop these verified, minimal configurations straight into your repository root to unlock file-locked custom modes, strict coding standards, and read-only MCP database/docs tooling on day one.
  9. Auto-Approve Guardrails, Secrets & Hard Cost Caps — An autonomous VS Code agent runs with your local OS user permissions. Treat it like a fast junior contractor: grant read-only velocity by default, sandbox mutations, and cap every task's blast radius and dollar spend.
  10. Cross-Tool Synergy: Local + Cloud Agent Pipeline — Combine local Ollama speed, OpenRouter frontier reasoning, Roo/Kilo Orchestration (or Cline Plan/Act), MCP live docs, and Shadow Git Checkpoints into a repeatable four-stage feature delivery pipeline inside standard VS Code.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight — Diagnose the seven most common open-agent failure modes in seconds, then run the 6-point pre-flight checklist before handing any multi-file refactor to an autonomous VS Code agent.

### Cross-IDE Portability: AGENTS.md, SKILL.md & Shared MCP

> Write repo instructions, portable SKILL.md playbooks, and MCP server configs once so every developer on your team gets identical agent behavior across Cursor, Claude Code, Codex, Copilot, Windsurf, OpenCode, and Antigravity.

- Web: https://twelve-pages.com/guides/ai-ides/cross-ide-agents-md-skills-and-mcp
- Markdown: https://twelve-pages.com/guides/ai-ides/cross-ide-agents-md-skills-and-mcp.md
- PDF: https://twelve-pages.com/guides/ai-ides/cross-ide-agents-md-skills-and-mcp/Cross_IDE_AGENTS_md_SKILL_md_and_MCP_Complete_How_To_Guide.pdf (981 KB)
- Version: v1.0 | Updated: 2026-11 | Pages: 12
- Tags: AGENTS.md (AAIF Standard), SKILL.md Progressive Disclosure, Shared .mcp.json & HTTP MCP, 7-IDE Compatibility Matrix, Zero-Drift CI Linters, Skill Supply-Chain Security
- Core Takeaways:
  - One Canonical Repo Truth: Maintain a single root AGENTS.md and nested package overrides, backed by thin shims so zero rules are ever duplicated.
  - On-Demand SKILL.md Packs: Package repeatable workflows into AAIF-governed .agents/skills/ folders with YAML triggers, scripts, and references.
  - Secret-Free Shared MCP: Unify local stdio and remote Streamable HTTP MCP servers via env-var expansion, OAuth 2.1, and automated client sync.
- Chapters:
  1. Write Once, Run Identically Across Every AI Coding Harness — Modern engineering teams rarely standardize on a single AI IDE: backend engineers run Claude Code or Codex CLI in the terminal, frontend teams use Cursor or Windsurf/Devin, enterprise squads run GitHub Copilot, and open-source or Gemini-native builders use OpenCode and Antigravity. Under the Linux Foundation’s Agentic AI Foundation (AAIF), three open standards—AGENTS.md, SKILL.md, and MCP—now eliminate vendor lock-in.
  2. Exact File Paths, Precedence & Quirks Across 7 AI Harnesses — Every major coding agent now supports AGENTS.md and the open SKILL.md format, but each harness still has distinct precedence rules, scoped-rule syntax, and MCP config keys. Use this verified late-2026 reference matrix before designing your repo’s portability layer.
  3. Inside a Multi-Agent-Ready Monorepo (7-Control HUD) — A portable repository looks boring on purpose. Every harness finds its expected entry point immediately, while human maintainers only ever edit three canonical locations. Explore the 7-pin layout below to see how symlinks and thin wrappers bridge all seven IDEs.
  4. Hierarchical AGENTS.md & Thin-Shim Patterns — Think of README.md as onboarding for humans and AGENTS.md as an executable contract for machines. In a monorepo, stuffing every framework quirk into the root file degrades agent accuracy. Instead, pair a lean root contract with directory-scoped child AGENTS.md files.
  5. The SKILL.md Progressive-Disclosure Formula — Donated to the Linux Foundation’s AAIF in October 2026 and supported by 70+ platforms (Claude Code, Codex, Cursor, Copilot, Windsurf/Devin, OpenCode, Antigravity), Agent Skills solve context bloat via 3-tier progressive disclosure: agents see only a 2-line YAML summary at boot, loading full instructions and helper scripts only when a task matches.
  6. Shared MCP Configs, Streamable HTTP & Secret Hygiene — The Model Context Protocol (MCP) gives every IDE identical live access to GitHub, Postgres, Linear, Sentry, and internal docs. The #1 cross-IDE friction point in 2026 is not MCP itself—it is divergent client config schemas and hardcoded API tokens accidentally pushed to git.
  7. Stopping Instruction Drift & Context Bloat With CI Linters — Instruction files decay faster than code. Every time an engineer patches a bug by appending “NEVER do X” to CLAUDE.md without updating AGENTS.md, or dumps a 4,000-token style guide into the root prompt, agent compliance drops sharply. Treat agent instructions like production code: budget them, lint them, and prune them in CI.
  8. 5 Copy-Paste Portability Recipes Ready for Production — Drop these five battle-tested templates directly into any repository to achieve immediate cross-IDE parity across Cursor, Claude Code, Codex, Copilot, Windsurf/Devin, OpenCode, and Antigravity.
  9. Securing AGENTS.md, Third-Party Skills & MCP Tools — Because every AI coding agent treats AGENTS.md and SKILL.md as trusted system instructions—and executes bundled scripts/ with developer privileges—agent configs are now a Tier-1 supply-chain attack surface. A single poisoned community skill can exfiltrate ~/.ssh or .env secrets across all seven IDEs simultaneously.
  10. One Git Commit → CI Gate → Identical Behavior in 7 IDEs — When AGENTS.md, .agents/skills/, and .mcp.json flow through a single Git + CI pipeline, onboarding a new engineer or rolling out a new architectural rule takes one pull request—and instantly upgrades every local IDE and cloud coding agent simultaneously.
  11. Troubleshooting Clinic (Top 7 Fixes) & Pre-Flight Check — When an agent ignores a rule, misses a skill, or fails to boot an MCP server, the cause is almost always one of these seven deterministic configuration bugs.
