Grilled Cheese

ExploreLog inSign up

Guillaume Laforge

@glaforge.dev

973 Following2.7k Followers

๐Ÿฅ‘ Developer Advocate for Google Cloud โ˜๏ธ ๐Ÿง  Focusing on Generative AI ๐Ÿค– โญ Co-founder of the ๐Ÿชถ Apache Groovy programming language โ˜• Java Champion ๐Ÿ† ๐Ÿ“ฃ Co-host of Les Cast Codeurs Podcast ๐Ÿ˜ @[email protected] on #Mastodon

PostsRepliesMedia
@opensource.googleDec 4, 2026, 7:30 PMReposted by @glaforge.dev

Faster code shifts the burden onto open source maintainers and registriesโ€”how can communities work smarter, not harder?

TWiOS #24 with @theverge.com, @github.com & @allthingsopen.bsky.social: vibe-coded synths, ACCESSIBILITY.md, PR redirects, Open-VSX & open CFPs: goo.gle/twios-24

Dark-themed 4:3 Google Open Source social graphic (Card 01 / 04). Header pill reads "THIS WEEK IN OPEN SOURCE"; footer shows "opensource.googleblog.com" and "TWiOS #24". Section kicker reads "TWiOS #24" above "This Week in Open Source". The top panel displays a light-theme OSPO banner featuring the Google Open Source logo lockup, four connected icon medallions (calendar, globe, laptop with code brackets, and community), and geometric circuit traces. Below, a blue-accented callout labeled "DECEMBER 4" asks: "Vibe-coded synths. 300-PR queues. Who protects the commons?" A green bar at the bottom reads: "Swipe for questions & CFPs ->".Dark-themed 4:3 Google Open Source carousel graphic (Card 02 / 04) titled "Three Open Questions" under kicker "INSIDE THIS ISSUE". Three side-by-side dark cards pose curiosity questions for open source practitioners: (01, blue accent, tag "HARDWARE") "Can SDKs replace closed binaries?"; (02, green accent, tag "PR GATES") "Do PR bots alienate newcomers?"; (03, yellow accent, tag "INCLUSION") "Will ACCESSIBILITY.md stick?". Footer reads "opensource.googleblog.com" and "TWiOS #24".Dark-themed 4:3 Google Open Source carousel graphic (Card 03 / 04) titled "Registry Trust" under kicker "DEEP DIVE". Left blue-accented panel (01, tag "TRUST") asks: "Who funds open-registry defense?" Right yellow-accented panel labeled "OPEN CFPS" lists four deadlines: "โ€ข ASWF: Dec 6", "โ€ข PyCon US: Dec 19", "โ€ข LF Member: Dec 21", and "โ€ข POSETTE: Jan 3". Footer reads "opensource.googleblog.com" and "TWiOS #24".Dark-themed 4:3 Google Open Source action card for Bluesky (Card 04 / 04) titled "Read TWiOS #24" under kicker "CONNECT". Left blue-bordered box labeled "FEATURED ORGS" lists four AT Protocol handles: "@theverge.com", "@github.com", "@allthingsopen.bsky.social", and "@openssf.org". Right green-bordered box labeled "DISCUSS" asks: "Where should ecosystems share registry defense?" A full-width blue CTA banner reads "Full Edition" with subtext "โ†‘ Link in post above: goo.gle/twios-24". Footer reads "@opensource.google โ€ข Bluesky" and "TWiOS #24".
@glaforge.devDec 4, 2026, 5:14 PM

C'est quoi les sujets d'actualitรฉ en ce moment sur #Bluesky ?
bsky-topics.cloud.run?lang=fr

Photo, no description
@glaforge.devDec 4, 2026, 4:44 PM

Try to visualize #Bluesky topic trends live on #CloudRun:

๐Ÿ‡ฌ๐Ÿ‡ง bsky-topics.cloud.run/?lang=en
๐Ÿ‡ซ๐Ÿ‡ท bsky-topics.cloud.run/?lang=fr

Full post & code:
๐Ÿ‘‰ glaforge.dev/posts/2026/...

glaforge.devReviving My ๐Ÿฆ‹ Bluesky Topic Trends App with Gemini Decision 1, Antigravity, and Cloud RunHow I turned a one-shot Bluesky firehose script into a real-time multi-language trend viewer on Cloud Run, using gemini-decision-1 for NSFW filtering and language reassignment, plus a 40x+ clustering speedup built with Antigravity's /swarm and /boost.
@glaforge.devDec 4, 2026, 4:44 PM

3๏ธโƒฃ Built with #Antigravity /๐˜€๐˜„๐—ฎ๐—ฟ๐—บ & /๐—ฏ๐—ผ๐—ผ๐˜€๐˜:

/๐˜€๐˜„๐—ฎ๐—ฟ๐—บ parallelized the backend, 6 D3 views, and Cloud Run setup.

/๐—ฏ๐—ผ๐—ผ๐˜€๐˜ + Gemini 4 Neon sped up clustering by 40x-60x via Cauchy-Schwarz pruning, SIMD dot products & mean-centering...

Photo, no description
@glaforge.devDec 4, 2026, 4:44 PM

2๏ธโƒฃ Six live #D3js views over SSE:

โ€ข Bubbles (volume, trend, diversity, tightness, mood)
โ€ข Cross-Lang Bridges (EN โ†” FR shared topics via multilingual embeddings, no translation)
โ€ข Semantic Galaxy (2D PCA)
โ€ข Streamgraph, Heartbeat Waves & Momentum Quadrant

Photo, no description
@glaforge.devDec 4, 2026, 4:44 PM

1๏ธโƒฃ Filtering the firehose with gemini-decision-1: 50 posts per batch, 0 output tokens, $0.10 / 1M input tokens. In one pass, it drops NSFW/spam and reassigns mislabeled language posts to the right language rolling window.

@glaforge.devDec 4, 2026, 4:44 PM

Two years ago I wrote a script to analyze #Bluesky topic trends via its firehose into a #D3js bubble chart.

This week I revived it with Google #Antigravity and #Gemini 4 Neon into a live, multi-language trend viewer on #CloudRun, with @micronautfw.bsky.social 5 + #Java 25 + @langchain4j.dev) ๐Ÿงต๐Ÿ‘‡

Photo, no description
@kpavlov.meDec 2, 2026, 2:46 PMReposted by @glaforge.dev

Simply brilliant idea! ๐Ÿ’ก

GGuillaume Laforge@glaforge.devNov 30, 2026, 3:17 PM

After replacing the #LLM in my LLM-as-a-Judge pattern with a decision model, I found another great fit: reranking #RAG results instead of using a dedicated cross-encoder model. In @LangChain4j.dev, gemini-decision-1 already plugs straight into the RAG pipeline! ๐Ÿงต๐Ÿ‘‡

Photo, no description
@glaforge.devNov 30, 2026, 3:17 PM

Read the full post with #Java code snippets, edge cases, and ideas for going further (custom yesWhen/noWhen criteria, ScaleQuestion rubrics, and multimodal reranking):

๐Ÿ‘‰ glaforge.dev/posts/2026/...

glaforge.devReranking RAG Results with Gemini Decision 1 and LangChain4jHow to use Google's gemini-decision-1 model with LangChain4j's DecisionScoringModel and ReRankingContentAggregator to rerank retrieved RAG chunks in a single forward pass.
@glaforge.devNov 30, 2026, 3:17 PM

3๏ธโƒฃ Practical details to watch for: โ€ข Shorten the 20-min default timeout on interactive RAG paths โ€ข Reuse the same model in DecisionModelQueryRouter to skip retrieval on "Hi!" โ€ข Wrap ReRankingContentAggregator if you want RRF fallback on errors or safety blocks

@glaforge.devNov 30, 2026, 3:17 PM

2๏ธโƒฃ Under the hood: Each chunk becomes a parallel yes/no (noul) question: "Does the document help answer the query?" ReRankingContentAggregator sorts the 20 calibrated probabilities (0.01..0.99), filters out chunks < minScore(0.5), and keeps only the top 5.

Photo, no description
@glaforge.devNov 30, 2026, 3:17 PM

1๏ธโƒฃ The three-stage RAG pipeline: Over-retrieve 20 candidates via vector or hybrid search, fuse them with Reciprocal Rank Fusion, then wrap GoogleGenAiDecisionModel in DecisionScoringModel + ReRankingContentAggregator. 1 batch call, 0 output tokens, $0.10 / 1M input.

Photo, no description
@glaforge.devNov 30, 2026, 3:17 PM

After replacing the #LLM in my LLM-as-a-Judge pattern with a decision model, I found another great fit: reranking #RAG results instead of using a dedicated cross-encoder model.

In @LangChain4j.dev, gemini-decision-1 already plugs straight into the RAG pipeline! ๐Ÿงต๐Ÿ‘‡

Photo, no description
@glaforge.devNov 26, 2026, 7:05 PM

Swarm is view-only I think. But Generative UI can be interactive.

@glaforge.devNov 25, 2026, 10:55 PM

๐Ÿ•› Not even midnight... Just... One... More... Prompt... Before going to bed ๐Ÿ›Œ๐ŸŒ™

@glaforge.devNov 25, 2026, 11:32 AM

And as you can see, the majority of the cost is image generation! I shaved 10 cents by using a decision model instead of the LLM as Judge, but it doesn't make a big difference overall

@glaforge.devNov 25, 2026, 10:17 AM

๐Ÿ‘Œ When agents run for minutes or hours, a tailored visual UI helps you understand progress and catch mistakes right away.

Full post with 14 screenshots and prompts:
๐Ÿ‘‰ glaforge.dev/posts/2026/...

glaforge.devSeeing What Your Coding Agents Are Doing: Antigravity Swarms and Generative UIHow Antigravity's Swarm UI and /generative_ui slash command let you track parallel agent teams, monitor long-running tests and cloud backfills, analyze multi-model LLM costs, and explore hardware and code architectures visually.
@glaforge.devNov 25, 2026, 10:17 AM

It also works well for throwaway mini-tools and mental-model checks: โ€ข A 256-font LED matrix specimen browser for my jixoo Pixoo 64 CLI โ€ข Interactive diagrams of Divoom flash storage and Antigravity's transcript.jsonl event flow

Photo, no descriptionPhoto, no description
@glaforge.devNov 25, 2026, 10:17 AM

For a 4.5-hour Firestore backfill of 710+ sci-fi stories, /generative_ui built a live monitor polling the Firestore REST API every 5 seconds. And for multi-model cost analysis, an interactive stacked area chart split judge, text, and image costs across four versions of the agent.

Photo, no descriptionPhoto, no description
@glaforge.devNov 25, 2026, 10:17 AM

2๏ธโƒฃ /generative_ui: instead of reading a long text report, ask Antigravity for a custom interactive HTML widget inline or in the side panel. I've used it to watch 211 Maven Failsafe integration tests live and batch-run 28 Apache Groovy 6 scripts against a Cloud Function.

Photo, no descriptionPhoto, no description
Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST