Skip to main content
Google Gemini

I Connected NotebookLM to Gemini and Anti-Gravity

How I wired NotebookLM into Gemini and Antigravity via MCP: a queryable library, a 90-day roadmap from my docs, an interactive app from one prompt.

9 min
Read time
1,604
Words
Published
Last revised
Engr Mejba Ahmed

Written by

Engr Mejba Ahmed

Share Article

I Connected NotebookLM to Gemini and Anti-Gravity

I should say up front that Google's research tools are not my home stack. I live in Claude Code, and my knowledge system runs through markdown files and repositories. Which is exactly why this experiment earned a writeup: I connected NotebookLM to Gemini and to Antigravity, Google's agentic development platform, expecting a toy, and within an hour I had a queryable knowledge library answering from twenty-plus documents at once, a 90-day business roadmap generated from my own scattered files, and an interactive web app with sliders and calculators built from a single sentence. The stack earned my respect from a standing start, and the mental model behind it transfers to any agent ecosystem, including the one I use daily.

The starting condition was familiar misery: seventeen Google Docs, nine PDFs, a half-finished business plan, and a Notion database that made me feel organized while accomplishing nothing. Every multi-source question began with twenty minutes of finding the right files before any thinking happened.

I Connected NotebookLM to Gemini and Anti-Gravity - overview of the three layers, and why the stack beats the parts, workflow 1: the alexandria library

The three layers, and why the stack beats the parts

The architecture is what makes this worth understanding even if you never touch a Google product.

Component Role Analogy
NotebookLM Source-grounded knowledge storage A filing cabinet: organized, passive
Gemini Multi-notebook reasoning An analyst who reads across all your files
Antigravity Automation and creation layer The hands that turn reasoning into artifacts

NotebookLM alone is a librarian with one book: it answers only from the notebook you have open. Gemini's NotebookLM integration removes that ceiling by letting you chat across notebooks. I tested it with four real ones (competitive intelligence, marketing strategy, product roadmap, customer feedback) and asked a single question: based on our competitive landscape and customer feedback, what should we prioritize for Q3? It pulled from all four, weighted the insights, and returned a prioritized recommendation with reasoning. That is synthesis, not summarization, and the difference is the whole point.

Gemini's personal intelligence layer goes further, optionally reading your Gmail, Calendar, and Drive for context-aware answers. Honest report: at maybe 70 percent accuracy it still beat my manual synthesis, and it also once injected a dinner reservation into a product-strategy answer. I keep it off by default and toggle it on per conversation when I specifically want that grounding.

The third layer is the one almost nobody had heard of when I wrote this. Antigravity connects to NotebookLM through an MCP integration; you wire the NotebookLM skill into Antigravity's agent skills, authenticate once through a browser popup, and from then on the agent can programmatically read and create notebook content, roughly thirty distinct actions covering notebooks, sources, and generated artifacts like slide decks, reports, and audio overviews. The connection took me about three minutes on a Tuesday afternoon, and the token refreshes itself.

Read-only research becomes a build pipeline at that moment. Here are the five workflows I actually ran, in the order I discovered them.

Workflow 1: the Alexandria library

I loaded competitive intelligence for three companies, my internal process docs, and a stack of AI-automation research papers, organized by topic. Queries selectively pull only relevant sources rather than burning tokens reading everything, like a librarian who knows which shelf to check. "What pricing strategies are my top two competitors using, and how do they compare to our internal strategy doc?" came back in about twelve seconds, cross-referenced, with two gaps in our positioning I had missed.

The customization that made this ten times more useful: a global context file I named brain.md, about 200 words describing my role, current projects, quarterly goals, and preferred communication style, applied to every query automatically. After adding it, marketing questions came back framed for my actual market and technical questions accounted for my actual stack. This is the same lesson I keep re-learning in my Claude world, where I run the identical pattern as a second brain on top of Claude Code: a small standing context file compounds across every interaction.

One thing I would do differently: organize notebooks by domain (marketing, engineering, finance), not by project. Cross-domain queries reasoned noticeably better than cross-project ones.

Workflow 2: NotebookLM as a free RAG database

Retrieval-augmented generation is the technique behind most AI knowledge bases, and dedicated vector-database services charge real money for it. NotebookLM, driven through the MCP connection, does a serviceable version for free, with Drive import pulling relevant files into a notebook automatically.

I tested it the only way that counts: I loaded a side project's documentation and FAQ, then asked twenty questions a customer might ask. Sixteen answers were accurate and grounded, three partially correct, one wrong. Eighty percent on first attempt, ten minutes of setup, zero dollars. Then I cleaned up three poorly formatted source docs and accuracy moved to roughly 85 percent, which is the pro tip in one sentence: RAG quality is source quality. Garbage in applies here more than anywhere.

Workflow 3: brain and hands

This is where the stack stopped being a research tool. The pattern: query multiple notebooks for stored knowledge, add fresh personal context in the prompt, and let the automation layer produce an artifact.

My real test: strategy notebooks on e-commerce, marketing channels, and retention, plus the prompt context "I run an e-commerce business doing $20,000/month selling specialty coffee and bottles in Dubai; create a 90-day roadmap to $50,000/month." What came back referenced specific strategies from my notebooks, adapted them to the Dubai market and the niche, phased the 90 days with milestones, and suggested regional UAE marketing channels I had not thought to include. With calendar access enabled, it even front-loaded critical tasks before a two-week window where my schedule was packed.

The detail with long-term consequences: the roadmap was saved back into NotebookLM automatically, becoming context for every future query. Outputs become inputs. The system compounds, which is the same property that makes persistent memory setups around Claude Code worth the setup cost.

Workflow 4: interactive software from notebook content

The midnight-phone-call one. I took the 90-day roadmap and prompted: turn this into an interactive one-pager with progress sliders, note fields per phase, and a revenue projection calculator. What came back was a functional web app: sliders tracking phase completion, editable notes, a calculator projecting revenue from ad budget, conversion rate, and average order value, plus traffic and revenue visualizations. Follow-ups ("add customer acquisition cost from the budget inputs," "add a Gantt view") each landed in about thirty seconds.

Transparency about the ceiling: these apps are prototype-grade. Clean enough for internal tools, planning aids, and client demos; not something you deploy to thousands of users without real engineering. Styling is decent but generic, and state management beyond the basics needs a human. The correct frame is working-prototype speed measured in minutes instead of days, not skipping development.

Workflow 5: presentations on autopilot

The simplest and most immediately useful. One prompt converts notebook content into a slide deck, editable in Google Slides or Keynote, even in accounts where NotebookLM's native editable-deck export has not rolled out yet. My deck on AI automation trends took about forty-five seconds to generate: concise titles, properly condensed bullets, a logical narrative arc pulled from the notebook.

The style trick that elevated it: I screenshotted a design I liked from a gallery site, had Gemini's multimodal side extract the color scheme, typography, and visual mood into a written style description, and fed that back as a style directive. The result looked agency-made. My presentation math now: one minute of generation plus thirty to forty-five minutes of refinement, versus the two to three hours a deck used to cost me. The judgment calls (what to emphasize, what to cut, how the story lands for a specific audience) stay human.

The honest parts

The learning curve is front-loaded and steeper than the demos admit: three platforms means three auth flows and three mental models, and my first afternoon was more frustration than productivity. I nearly quit twice on day one; by day three it clicked; by week two it was automatic.

Costs are low but not zero. NotebookLM and baseline Gemini are free, and the automation layer's free tier covered most of what I described, but heavy multi-notebook reasoning on premium models spiked my token usage into a daily limit once. A month of moderate-to-heavy use cost me about two fancy coffees.

And the system amplifies its inputs, good and bad. I spent a full day reorganizing notebooks before results became consistently impressive. Vague prompts still produce generic outputs here, exactly as they do everywhere else.

The deepest caveat is strategic: this is a Google-shaped stack, and my production work remains Claude-shaped, where I get the same layered pattern with more control, the way I documented in pairing NotebookLM with Claude Code for dev workflows. If you are already deep in Antigravity as a development environment, my Antigravity IDE walkthrough covers that side properly.

The transferable lesson

Strip the product names and the architecture is: passive knowledge stores, a reasoning layer that reads across all of them, and an automation layer that turns reasoning into artifacts, with every output feeding back into storage. That model is worth building in whatever ecosystem you already live in, because all three layers are improving monthly and the compound effect is where the value lives. Pick whichever of the five workflows maps to a real problem you have this week, and build that one first; the setup is ten minutes and you will know within the hour whether the stack deserves a place in your routine.

The jump worth making next is from following recipes like this one to designing your own research-to-build pipelines. That design skill, this three-layer architecture included, is what my AI School courses are built to teach.

Advertisement
Coffee cup

Enjoyed this article?

Your support helps me create more in-depth technical content, open-source tools, and free resources for the developer community.

Related Topics

Engr Mejba Ahmed

Engr Mejba Ahmed

Engr. Mejba Ahmed builds AI-powered applications and secure cloud systems for businesses worldwide. With 8+ years shipping production software in Laravel, Python, and AWS, he's helped companies automate workflows, reduce infrastructure costs, and scale without security headaches. He writes about practical AI integration, cloud architecture, and developer productivity.

Related Articles

Browse All

Comments

Leave a Comment

Comments are moderated before appearing.

Learning Resources

Expand Your Knowledge

Accelerate your growth with structured courses, verified certificates, interactive flashcards, and production-ready AI agent skills.

Sample Certificate of Completion

Sample certificate — complete any course to earn yours

Engr Mejba Ahmed

Engr Mejba Ahmed

AI assistant · trained on my work

👋

Hey there!

Quick Actions

WhatsApp Direct line to me

Chat on WhatsApp

+880 1723 741224 · Replies within the hour on working days

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

mejba.13@gmail.com

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support