Skip to main content
AI & Models6 min read

Gemini 3.5 Lands: Agentic Tool‑Use Meets Million‑Token Context for Migration-Scale Refactors

This week’s Gemini 3.5 launch pushes “agentic” from a demo buzzword toward something migration teams can actually operationalize: models designed to plan, call tools, and iterate. Even more consequential for modernization work, Gemini 3.5 Flash shows up with a 1M‑token context window—large enough to reason over multi-module subsystems, migration runbooks, and dependency graphs in a single pass.

May 13–20, 2026 — Vibgrate Model Roundup

This week’s releases are a signal that frontier models are being tuned for doing the work, not just talking about it. Gemini 3.5 doubles down on agentic tool use—planning, executing, and validating steps with external systems—while Gemini 3.5 Flash pairs that agentic posture with an ultra-large context window that finally matches real enterprise codebases.

If you’ve been waiting for models that can read more than a handful of files at once and reliably follow a migration playbook, this is one of the most practically relevant drops we’ve seen in 2026.


Models released this week

ModelProviderContextKey CapabilitiesMigration Relevance
Gemini 3.5GoogleN/Areasoning, tool-use, agentic-workflowsBetter end-to-end migration orchestration: plan → change → verify with tools
Gemini 3.5 FlashGoogle1,048,576 tokensreasoning, tool-use, agentic-workflowsWhole-subsystem refactors and repo-scale analysis with low latency

Gemini 3.5 (Google)

What makes it notable

Gemini 3.5 is positioned as a new frontier series explicitly optimized for agentic action—not just generating code, but coordinating multi-step workflows that involve tools (e.g., test runners, linters, build systems, code search, ticket systems). Announced at Google I/O 2026, it’s an indicator that the “model + tools” paradigm is now considered a first-class product surface rather than an application-layer hack.

In practice, this matters because modernization is rarely a single prompt. It’s a chain of decisions: inventory → prioritize → transform → validate → repeat, with lots of guardrails.

How it could help with migration/modernization work

A strong agentic model is most valuable where teams currently stitch together brittle pipelines:

  • Runbook-driven migrations: Translate human runbooks into executable plans (e.g., “update build config, regenerate clients, rerun contract tests, update deployment manifests”).
  • Automated “change + verify” loops: Make a change, run tests, interpret failures, patch, and rerun—while keeping a clear audit trail for human review.
  • Cross-repo modernization campaigns: Coordinate consistent updates (e.g., logging framework upgrade, JDK/CLR target bump, dependency security patches) across many services.

For Vibgrate-style maintenance workflows, Gemini 3.5’s practical advantage is likely in higher-level control: deciding what to do next based on tool output instead of guessing from static context.

Key technical specs

  • Release date: 2026-05-19
  • Provider: Google
  • Capabilities: reasoning, tool-use, agentic workflows
  • Context window: not specified in the release details available this week
  • Open weights: No

Engineering take: Treat Gemini 3.5 as a candidate “workflow brain” for migration pipelines—especially where success depends on tool feedback (CI results, compiler errors, static analysis findings) rather than pure code generation.


Gemini 3.5 Flash (Google)

What makes it notable

Gemini 3.5 Flash stands out for two reasons that matter directly to modernization teams:

  1. A massive 1,048,576-token context window (as listed), which is large enough to ingest substantial portions of a monorepo slice, an architecture decision record set, and migration guidelines at the same time.
  2. It’s presented as fast/efficient—a crucial property if you want to run dozens (or hundreds) of iterative “analyze → propose patch → validate” cycles without blowing your latency budget.

Large-context models are not automatically better, but they unlock a different class of work: reasoning over systems rather than files.

How it could help with migration/modernization work

Here are modernization tasks that become more realistic with a million-token window:

  • Subsystem-scoped refactors: Feed in multiple modules plus their interfaces and shared utilities to refactor holistically (e.g., extracting a service boundary, consolidating duplicate libraries, normalizing error handling).
  • Repo-scale constraint checking: Keep architectural rules, coding standards, and security requirements in-context while reviewing/rewriting many files.
  • Migration planning with evidence: Provide the model the actual dependency tree, build configs, and runtime manifests so it can propose a sequence that matches reality.
  • “Explain the system” onboarding: Generate accurate internal docs from code + configs + operational notes without the model missing critical pieces due to context truncation.

In Vibgrate terms, Flash is interesting as the high-throughput analysis and drafting engine behind modernization jobs: scanning, summarizing, proposing patches, and producing PR-ready change descriptions.

Key technical specs

  • Release date: 2026-05-19
  • Provider: Google (listed on OpenRouter)
  • Context window: 1,048,576 tokens
  • Capabilities: reasoning, tool-use, agentic workflows
  • Open weights: No

Engineering take: A million-token window can reduce the need for complex retrieval scaffolding in early prototypes. But you should still design for modular ingestion (and verify outputs), because “more context” can also mean “more opportunities to latch onto irrelevant details.”


What This Means for Migration Teams

1) Agentic workflows are becoming the default interface

Migration work is inherently procedural: you don’t just transform code—you also update configs, run tests, interpret failures, and reconcile edge cases. Models that are explicitly trained/packaged for tool use reduce the gap between “assistant” and “automation.”

Actionable implication: Start expressing your migration processes as tool-invoking playbooks:

  • Define tools the model can call (build, test, grep/code search, dependency scanner, formatter, AST-based codemod runner).
  • Define success criteria (tests green, no new lints, SLO budgets maintained).
  • Require structured outputs (plan steps, changed files list, rationale, risk notes).

2) Big-context changes the economics of modernization

Traditionally, repo-scale reasoning required heavy indexing + retrieval + chunking strategies. A million-token window doesn’t eliminate retrieval, but it can simplify pipelines and improve coherence across related files.

Actionable implication: Re-evaluate which tasks you can do in a single pass:

  • “Refactor these 25 files consistently” becomes plausible.
  • “Update the API client generation and propagate changes across consumers” becomes less brittle.

3) Verification stays non-negotiable

Agentic + tool-use is powerful precisely because it can close the loop with reality. The model’s job should be to propose and iterate; your pipeline’s job is to verify.

Guardrails to keep:

  • Always run compilers/tests/linters as the source of truth.
  • Prefer AST-aware codemods for large mechanical edits; use the model for edge cases and glue logic.
  • Require diff-based review artifacts: before/after, impacted modules, rollback notes.

4) Expect better orchestration, not magical correctness

These releases point toward models that can manage multi-step work more reliably. But modernization still fails on mundane details: flaky tests, undocumented coupling, environment drift.

Actionable implication: Use Gemini 3.5-class models to reduce toil in triage and iteration (interpreting failures, proposing next steps), not to skip engineering discipline.


Closing: The practical shift this week

Gemini 3.5 and Gemini 3.5 Flash make a clear bet: the next wave of model value for engineering teams is agentic execution plus enough context to understand real systems. For migration and modernization, that’s the right direction—because the hardest parts are orchestration, consistency, and validation across sprawling codebases.

Over the next few weeks, watch for evidence in the ecosystem—benchmarking, real-world migration case studies, and tool integrations—that separates “agentic demos” from dependable automation. If Gemini 3.5 Flash’s million-token context holds up under load, we’ll likely see teams simplify their retrieval stacks and push more modernization work into repeatable, tool-driven loops.

Vibgrate CLI

See a real scan run

A replay of the actual CLI running against our test repositories — live progress, real findings, a genuine DriftScore. Nothing executes in your browser.

Replay
demo@vibgrate — bash
npx @vibgrate/cli scan
 
╭──────────────────────────────────────────╮
Vibgrate Drift Report
╰──────────────────────────────────────────╯
 
── node-turborepo (node) .
Runtime: >=18.0.0 (6 majors behind)
Frameworks:
Turbo: 1.13.4 → 2.10.11 (1 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Dependencies:
1 current 1 1-behind 3 2+ behind 1 unknown
 
── @repo/admin (node) apps/admin
Frameworks:
TanStack Query: 5.101.4 → 5.101.4 (current)
React: 18.3.1 → 19.2.8 (1 behind)
React DOM: 18.3.1 → 19.2.8 (1 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Vite: 5.4.21 → 8.2.1 (3 behind)
Dependencies:
3 current 9 1-behind 3 2+ behind 4 unknown
 
── @repo/api (node) apps/api
Frameworks:
Express: 4.22.2 → 5.2.1 (1 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Vitest: 1.6.1 → 4.1.11 (3 behind)
Dependencies:
7 current 5 1-behind 3 2+ behind 4 unknown
 
── @repo/web (node) apps/web
Frameworks:
Next.js: 14.2.35 → 16.3.1 (2 behind)
React: 18.3.1 → 19.2.8 (1 behind)
React DOM: 18.3.1 → 19.2.8 (1 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Dependencies:
2 current 6 1-behind 3 2+ behind 5 unknown
 
── @repo/config (node) packages/config
Frameworks:
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Dependencies:
2 current 2 1-behind 5 2+ behind 0 unknown
 
── @repo/database (node) packages/database
Frameworks:
Prisma: 5.22.0 → 7.9.1 (2 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Dependencies:
1 current 0 1-behind 3 2+ behind 1 unknown
 
── @repo/types (node) packages/types
Frameworks:
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Dependencies:
0 current 0 1-behind 1 2+ behind 1 unknown
 
── @repo/ui (node) packages/ui
Frameworks:
React: 18.3.1 → 19.2.8 (1 behind)
TypeScript: 5.9.3 → 7.0.2 (2 behind)
React: 18.3.1 → 19.2.8 (1 behind)
Dependencies:
1 current 4 1-behind 1 2+ behind 1 unknown
 
── @repo/utils (node) packages/utils
Frameworks:
TypeScript: 5.9.3 → 7.0.2 (2 behind)
Vitest: 1.6.1 → 4.1.11 (3 behind)
Dependencies:
0 current 1 1-behind 2 2+ behind 1 unknown
 
Tech Stack
Frontend: React, React DOM
Meta-frameworks: Next.js
Bundlers: tsx, Turbo, Vite
CSS / UI: Autoprefixer, PostCSS, Tailwind CSS
Backend: Express
ORM / Database: Prisma, Prisma Client
Testing: Vitest
Lint & Format: ESLint, ESLint Prettier, ESLint React, Prettier, typescript-eslint
 
Services & Integrations
Auth: JWT 9.0.3
Databases: Prisma 5.22.0
 
TypeScript
v5.3.3 · strict ✔ · MIXED · target: ES2022
 
Build & Deploy
Package Managers: pnpm
Monorepo: npm-workspaces, pnpm-workspaces, turbo
 
Product Purpose Signals
Frameworks: react, nextjs
Evidence: 177
Top Signals:
- [heading] Dashboard (apps/admin/src/pages/Dashboard.tsx)
- [title] Revenue Overview (apps/admin/src/pages/Dashboard.tsx)
- [copy] workspace:* (packages/ui/package.json)
- [copy] ./dist (packages/ui/tsconfig.json)
- [copy] ./src/index.ts (packages/ui/package.json)
- [copy] @repo/config/tsconfig-base.json (packages/ui/tsconfig.json)
- [copy] @repo/ui (packages/ui/package.json)
- [copy] #3b82f6 (apps/admin/src/pages/Dashboard.tsx)
Unknowns:
- No pricing or billing evidence found.
- No integrations/connectors evidence found.
- No route structure evidence found.
 
Security Posture
Lockfile ✖ · .env ✔ · node_modules ✔
 
Platform
Native modules: turbo
 
Code Quality
Files: 36 · Functions: 183 · Avg complexity: 2.62 · Avg length: 21.13 lines
Max nesting: 2 · Circular deps: 0 · Dead code: 0%
God files: apps/admin/src/pages/Products (448 lines)
 
Database Schema
postgresql · 8 models · 1 enum
Models: Address, CartItem, Category, Order, OrderItem (+3 more)
 
Findings (16 errors, 11 warnings)
Node.js runtime ">=18.0.0" reached end-of-life on 2025-04-30 (latest: 24.0.0).
vibgrate/runtime-eol in .
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in .
60% of dependencies are 2+ major versions behind in node-turborepo.
vibgrate/dependency-rot in .
@types/node is 6 major versions behind (spec: ^20.11.0, latest: 26.2.0).
vibgrate/dependency-major-lag in .
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in apps/admin
Vite is 3 major versions behind (current: 5.4.21, latest: 8.2.1).
vibgrate/framework-major-lag in apps/admin
vite is 3 major versions behind (spec: ^5.0.12, latest: 8.2.1).
vibgrate/dependency-major-lag in apps/admin
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in apps/api
Vitest is 3 major versions behind (current: 1.6.1, latest: 4.1.11).
vibgrate/framework-major-lag in apps/api
@types/node is 6 major versions behind (spec: ^20.11.0, latest: 26.2.0).
vibgrate/dependency-major-lag in apps/api
vitest is 3 major versions behind (spec: ^1.2.1, latest: 4.1.11).
vibgrate/dependency-major-lag in apps/api
Next.js is 2 major versions behind (current: 14.2.35, latest: 16.3.1).
vibgrate/framework-major-lag in apps/web
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in apps/web
@types/node is 6 major versions behind (spec: ^20.11.0, latest: 26.2.0).
vibgrate/dependency-major-lag in apps/web
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in packages/config
56% of dependencies are 2+ major versions behind in @repo/config.
vibgrate/dependency-rot in packages/config
eslint-plugin-react-hooks is 3 major versions behind (spec: ^4.6.0, latest: 7.1.1).
vibgrate/dependency-major-lag in packages/config
Prisma is 2 major versions behind (current: 5.22.0, latest: 7.9.1).
vibgrate/framework-major-lag in packages/database
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in packages/database
75% of dependencies are 2+ major versions behind in @repo/database.
vibgrate/dependency-rot in packages/database
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in packages/types
100% of dependencies are 2+ major versions behind in @repo/types.
vibgrate/dependency-rot in packages/types
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in packages/ui
TypeScript is 2 major versions behind (current: 5.9.3, latest: 7.0.2).
vibgrate/framework-major-lag in packages/utils
Vitest is 3 major versions behind (current: 1.6.1, latest: 4.1.11).
vibgrate/framework-major-lag in packages/utils
67% of dependencies are 2+ major versions behind in @repo/utils.
vibgrate/dependency-rot in packages/utils
vitest is 3 major versions behind (spec: ^1.2.1, latest: 4.1.11).
vibgrate/dependency-major-lag in packages/utils
 
╭──────────────────────────────────────────╮
Top Priority Actions
╰──────────────────────────────────────────╯
 
1. Upgrade EOL runtime in node-turborepo
End-of-life runtimes no longer receive security patches and block ecosystem upgrades.
./.
>=18.0.0 → 24.0.0 (6 majors behind)
Impact: −10 drift points (runtime & EOL)
 
2. Fix security posture: no lockfile found
Without a lockfile, installs are non-deterministic. Run the install command to generate one and commit it.
./
Missing: package-lock.json, pnpm-lock.yaml, or yarn.lock
 
3. Upgrade Vite 5.4.21 → 8.2.1 in @repo/admin (+2 more)
3 major versions behind. Major framework drift increases breaking change risk and blocks access to security fixes and performance improvements.
./apps/admin
Vite: 5.4.21 → 8.2.1 (3 majors behind)
./apps/api
Vitest: 1.6.1 → 4.1.11 (3 majors behind)
./packages/utils
Vitest: 1.6.1 → 4.1.11 (3 majors behind)
Impact: −5–15 drift points
 
4. Reduce dependency rot in @repo/types (100% severely outdated)
1 of 1 dependencies are 2+ majors behind. Run `npm outdated` and prioritise packages with known CVEs or breaking API changes.
./packages/types
typescript: 5.9.3 → 7.0.2 (2 majors behind)
Impact: −5–10 drift points
 
5. Reduce dependency rot in @repo/database (75% severely outdated)
3 of 4 dependencies are 2+ majors behind. Run `npm outdated` and prioritise packages with known CVEs or breaking API changes.
./packages/database
@prisma/client: 5.22.0 → 7.9.1 (2 majors behind)
prisma: 5.22.0 → 7.9.1 (2 majors behind)
typescript: 5.9.3 → 7.0.2 (2 majors behind)
Impact: −5–10 drift points
 
╭──────────────────────────────────────────╮
Architecture Layers
╰──────────────────────────────────────────╯
 
Archetype: nextjs (80% confidence)
Files classified: 24 (11 unclassified)
Folders classified: 8
apps/admin/src presentation 100% 4 files
apps/admin/src/pages presentation 100% 2 files
apps/api/src/middleware middleware 100% 2 files
apps/api/src/routes routing 100% 2 files
apps/web/src/app presentation 100% 4 files
apps/web/src/app/products presentation 100% 2 files
apps/web/src/app/products/[id] presentation 100% 1 file
packages/ui/src presentation 100% 6 files
Unclassified source (sample): 11
 
presentation 15 files drift ████████████████████ 100 risk high
routing 4 files drift ████████████████████ 100 risk high
middleware 2 files drift ███████▍░░░░░░░░░░░░ 37 risk moderate
config 2 files drift ░░░░░░░░░░░░░░░░░░░░ 0 risk none
shared 1 file drift ████████████████████ 100 risk high
 
╭──────────────────────────────────────────╮
DriftScore Summary
╰──────────────────────────────────────────╯
 
DriftScore: 66/100
Risk Level: HIGH
Projects: 9
Classified: 8 nano · 1 micro · 0 small · 0 standard
Billable: 0.42 · 9 detected → 0.42 billable projects (micro-project pricing)
0.1 micro · 0.32 nano
These fractions add up across repositories, then round down to whole billable projects.
 
Score Breakdown
Runtime: ████████████████████ 100
Frameworks: █████████▏░░░░░░░░░░ 46
Dependencies: ██████▏░░░░░░░░░░░░░ 31
EOL Risk: ████████████████████ 100
 
Scanned at 2026-08-19T10:20:40.993Z · 5.9s · 286 files scanned · 56 workspace files · 27 dirs
Press Run to start.