LATEST UPDATESEnglish
EEQIZI NewsA curated stream of attributed news links
Stay close to the storiesA clear view of source-attributed news headlines.
Business

Google Engineer Publicly Shares Gemini 4 Neon Tuning Method: Delete Old Rules First, Then Talk Tools and Context

Google Engineer Publicly Shares Gemini 4 Neon Tuning Method: Delete Old Rules First, Then Talk Tools and Context Philipp Schmid, an engineer at Google DeepMind, this week published a configuration guide for using Gemini 4 Neon on social platform X, with a core

Illustrative imageIllustrative image

Google Engineer Publicly Shares Gemini 4 Neon Tuning Method: Delete Old Rules First, Then Talk Tools and Context

Philipp Schmid, an engineer at Google DeepMind, this week published a configuration guide for using Gemini 4 Neon on social platform X, with a core argument that boils down to one sentence: delete all outdated, redundant, and mutually conflicting old rules first. The tutorial, which he calls an "internal way of opening things up," quickly circulated among developers and is seen as a signal that Agent workflows need a wholesale rewrite after a new generation of models goes live.

Schmid is currently a Staff Engineer at Google DeepMind, responsible for developer experience and relations—a role comparable to that of Google's well-known external developer relations lead Tibo—with the main job of helping developers use models such as Gemini and Gemma. Before joining Google in 2025, he served as technical lead at Hugging Face.

Old Rules Drag Down New Models

The first problem he raises in the post is rule conflict. In the past, developers got into the habit of "adding a rule every time a problem comes up": if the model likes to write useless comments, ban comments; if you fear it will touch code it shouldn't, restrict the scope of changes. Over time, three layers of rules—user-level instructions, project-level instructions, and the current task—begin to fight each other. He cites his own configuration as an example: the global rule bans adding comments, but one particular task required adding documentation for a public function—effectively giving the model two contradictory instructions at once.

In his tests, Gemini 4 Neon would spend extra thinking tokens deciding which rule to follow, but sometimes still executed according to the old rule, leaving the current task unfinished. The solution is to delete overly strict code-style restrictions and instead have the model reference the style, naming conventions, and comment density of existing code, judging according to the project's actual situation.

After the adjustment, his user-level GEMINI.md has been compressed to a single screen, retaining only requirements that hold true for all sessions: which operations need confirmation first, how to verify information, how to report progress on long tasks, and language and format preferences for replies. Workflows tied to specific tasks are moved into Skills and loaded when needed.

Tool Rules Written Only Once

The second adjustment targets tool invocation. With previous generations of models, developers often had to write rules twice—once in the tool definition and once in the system instructions—and sometimes had to add few-shot examples demonstrating how to fill in parameters. Schmid argues that examples are useful for common tasks but tend to box the model into a particular way of handling special cases; when the task changes, the model still follows the fields and parameter structure from the examples, and if extra fields are added or the format doesn't match, the call fails.

After switching to Gemini 4 Neon, he deleted the duplicated tool rules from the system instructions and removed the few-shot examples, instead consolidating the rules into the tool interface itself. When building an Agent with the Gemini API, you can define parameter types, allowed values, and required fields directly in the tool's JSON Schema. He uses a task-list tool as an example: each step must carry a title and a status, the status can only be one of four values—pending, in_progress, done, skipped—no extra fields are allowed, and the description states that only one step can be in progress at a time.

At the same time, he cut down the number of tools provided to the model and limited the volume of content tools return: overlapping search tools don't all need to be kept, and large volumes of logs produced by commands are first saved to files, with only the relevant parts read when needed, rather than stuffing all output into context.

Skills Loaded on Demand, Visual Tasks Handed to Screenshots

The third item is cleaning up project-level files. He deleted most AGENTS.md and GEMINI.md files, on the grounds that much of their content merely repeats descriptions of the directory structure, which the model can obtain by looking at the repository itself. Now project instructions retain only a brief introduction and special conventions the model cannot learn from reading code alone—for example, that tests must be run with a non-standard command, or that all shared types must live in a designated file. Specific workflows such as long-form editing, UI specifications, and API review are split into separate Skills, with a one-line description left in the index.

The fourth item targets visual tasks. Routine backend changes can be described in a few sentences, but when it comes to UI layout, architecture diagrams, or animations, plain text leaves too much room for misunderstanding. He now provides reference screenshots or a screen recording of a dozen or so seconds directly, and after the task is complete has the Agent actually render the page or chart, open the generated PNG or video clip to check it, and then report back. Whether text is truncated, labels wrap abnormally, or elements are misaligned can be spotted at a glance.

The fifth item is context handoff. Even with a 1-million-token context window, if a coding session drags on too long, information still becomes noisy and responses slow down, and eventually compaction is needed—but compaction loses information and may also break the prompt cache. His approach is to proactively break tasks into stages; at the end of each stage, have the Agent write a brief handoff document recording the current goal, decisions already made, and the exact paths of relevant files, then start a new session with that document. If another matter needs to be advanced in parallel midway, fork a new session from the current node. If you're building your own Agent, automatic compaction can be kept as a fallback, but it shouldn't trigger too early—his experience is that around 500,000 tokens is about right.

Complementary to the Distillation Service

This methodology aligns with the direction of Google Cloud's model adaptation business this year. Google Cloud CEO Thomas Kurian has already listed distillation, fine-tuning, and model adaptation as core levers for monetizing Google Cloud AI, and disclosed that Samsung used Vertex AI to customize Gemini and Imagen models to deliver on-device AI experiences on the Galaxy S24 series. Google Cloud's Gemini Distillation Service was added to the release log on May 8, 2026, and is currently in Early Access, supporting Gemini 3.1 Pro as the teacher model and Gemini 2.5 Flash as the student model; users only need to provide a prompt dataset, and the teacher model generates target answers and reasoning paths to train the student model.

For enterprise customers, this means a path to lower inference costs: high-concurrency, latency-sensitive businesses can migrate Pro-level tasks to Flash-level models. Schmid's configuration advice addresses waste at another level—the rules and repeated explanations in context that shouldn't be there in the first place are also consuming tokens. Both point to the same conclusion: as model capabilities improve, developers need to re-examine configuration habits accumulated over the years, rather than continuing to layer new patches on top of old rules.

It is worth noting that Google has not loosened its grip on unauthorized distillation. A report from its Threat Intelligence Group in September this year showed that some coordinated distillation activity involved more than 100 million prompts; Google has established cross-account detection mechanisms and deployed real-time proactive defenses to weaken the training gains of unauthorized student models. What is open is the paid adaptation capability enterprises use on the cloud platform; what is defended against is piecemeal output theft—the two tracks are not contradictory.

Once added, BigGo Finance appears first in Google Search Top Stories, so you get the broadest, most up-to-the-minute, and most comprehensive global financial news first.

Add preferred source