Skip to main content
Back

Google Packs a Full Research Agent Workflow Into 16 Lines

Google's Gemini team open-sourced a 16-line research skill that turns coding agents into autonomous researchers, winning over 90% of blind evaluations.

Pro

Repo, Full Access
  • Google's Gemini team released a deep-research skill for coding agents in the DemoLab repo.
  • Just 16 lines long, it was preferred over 90% of the time in blind evaluations.
  • Uses parallel subagents with an 8-12 step cap, forced to cite primary filings and PDFs.
  • Installable via Antigravity, Claude Code, Cursor, OpenAI Codex, and Vercel or Context7 skills CLIs.
  • Reports include a 2-sentence summary, inline links, and flagged source conflicts.
  • Apache-2.0 licensed, joining a sister gemini-skills repo covering the Gemini API and SDKs.

Google’s Gemini team has added a deep-research skill to its DemoLab repository. The core instruction file contains 16 lines in the version Google highlighted, yet it gives compatible coding agents a structured process for scoping questions, delegating searches, selecting sources, limiting tool use, and producing cited reports.

A Skill is a reusable set of instructions that an agent loads when a task matches its description. This approach keeps specialized guidance out of unrelated prompts and lets teams review, version, and modify the workflow as plain text. DemoLab provides installation paths for Antigravity, Claude Code, Cursor, and Codex.

A 16-line control layer

The skill converts an open-ended research request into a bounded workflow. Broad questions are divided among several subagents, each responsible for one angle and limited to a fixed number of browser or search actions. The parent agent then combines their findings into one report.

Stage Instruction Purpose
Scope Answer direct questions in one pass; divide broad questions into three to five angles. Prevents unnecessary delegation while giving complex topics clear boundaries.
Delegation Run search or browser subagents in parallel, with an 8 to 12 step limit for each worker. Reduces sequential browsing time and limits runaway tool loops.
Evidence Prefer primary filings, papers, reports, and PDFs; never treat search-result snippets as sources. Keeps claims tied to material that readers can inspect.
Recovery Cancel stalled workers and allow at most one follow-up round. Stops unproductive searches from consuming the entire budget.
Output Open with a two-sentence summary, add inline links, and identify conflicting evidence. Produces a compact report with an auditable evidence trail.

These constraints address common research-agent failures: repeated searches that yield no new evidence, citations copied from incomplete snippets, unsupported synthesis, and reports that obscure the answer. Parallel workers also preserve focus because each subagent investigates a narrower question.

Install paths by host

Installation depends on the host agent and its plugin system. The current DemoLab instructions provide the following entry points:

Host Command or method
Antigravity npx skills add google-gemini/demolab --skill deep-research
Claude Code Register the marketplace with /plugin marketplace add google-gemini/demolab, then install the skill through the plugin manager.
Cursor /add-plugin google-gemini/demolab
Codex Use the Codex plugin procedure in the DemoLab README.

The repository uses the Apache-2.0 license, which permits modification and redistribution subject to its license and notice requirements. Teams can vendor the skill, record the installed commit, and adjust worker counts, step limits, source rules, or report structure for their own environment.

Review the skill before granting it browser, shell, or file-system access. Plugin commands can pull updated repository content, so recording a known version helps prevent an unreviewed change from entering an automated workflow.

The host sets the ceiling

Reliable execution requires a host that can load the skill, launch subagents, search or browse the web, retrieve documents, and return results to a parent agent. Network policy, authentication, tool permissions, context limits, and PDF parsing quality will affect the final report.

A host that cannot launch parallel workers may still apply the skill’s scoping, sourcing, and reporting rules, although the intended delegation pattern will be unavailable. The skill supplies procedural guidance within the host’s existing capabilities; it cannot grant access to private databases, login-gated pages, or unsupported tools.

Use it where sources can answer

The workflow suits research tasks with a defined question and evidence that agents can retrieve directly, including:

  • Vendor and library due diligence
  • Competitive product comparisons
  • Literature scans before an architecture or design document
  • Regulatory, financial, and corporate filing reviews
  • Technical investigations that require links to specifications or primary documentation

Results weaken when essential material sits behind authentication, sources are poorly indexed, the question requires original experimentation, or the subject changes faster than search indexes update. High-stakes legal, medical, security, and financial work also requires human verification of every material claim and citation.

Keep the 90% claim scoped

DemoLab also includes gemini-frontend-design, a skill for building landing pages and other interfaces. According to the project materials, judges preferred output produced with that design skill in more than 90% of hundreds of blind comparisons across four Gemini models. That result applies to the evaluated design workflow and should not be transferred to deep-research without a corresponding experiment.

Research evaluations need measures beyond general preference. Useful checks include citation accuracy, support between claims and sources, primary-source coverage, treatment of conflicting evidence, completion rate, latency, token use, and tool cost. Teams adopting the skill can compare those measures against their existing prompts on a representative set of internal tasks.

Small skills, reviewable workflows

DemoLab focuses on task-level behavior, while Google’s separate Gemini Skills repository covers API and SDK work across Python and TypeScript. Its guidance includes streaming, function calling, structured output, media generation, managed agents, and deep-research integrations.

These repositories package agent behavior as small, composable files that can be loaded only when relevant. The format lowers prompt overhead, keeps workflow logic visible in code review, and makes experimentation inexpensive. Actual gains will depend on the model, host tools, source access, and evaluation criteria, but the 16-line research skill provides a concise starting point for teams that currently maintain large research prompts or custom orchestration code.