Philschmid: 5 habits I changed when working with Gemini 4 Neon coding agents
_philschmid · x · 2026-11-25
ML engineer Philipp Schmid shares lessons from weeks of daily coding-agent work and evals: persistent context (system instructions, tool definitions, skills, past turns) matters more than any single prompt, and guardrails written for older models often slow down or break newer ones. His 5 changes for Gemini 4 Neon, illustrated with lean-vs-legacy context stack diagrams: drop strict style/edit rules that clash with the model's own judgment; replace upfront few-shot tool examples with typed schemas and a one-line skill index loaded lazily at runtime; avoid lossy mid-task compaction by writing a handoff.md with goals, decisions and paths to start a fresh session, or forking the session to work on a second task in parallel. The core thesis: leave clean context room and let rules set judgment boundaries instead of prescribing everything.
More from coding & agent
- Don't Optimize for Tokens Consumed: How to Push Back on Token-Based AI Productivity Metrics — _jaydeepkarale · 2026-11-25
- MCP tool schemas are blowing up token costs — one dev's search for a routing fix — Extension_Lake4065 · 2026-11-25
- Building a booking agent for 500+ hotels: evaluation turned out to be the hardest part — Fabulous-Pea-5366 · 2026-11-25
- MCP inside a Windows desktop app: propose-then-confirm writes and per-app consent — MacroWin · 2026-11-25
- 12.5% of agent 'done' claims were false — one dev's cross-model review gate — IndiBestEngineer · 2026-11-25
- Paseo details its privacy design: zero telemetry, E2E-encrypted self-hostable relay — intellectronica · 2026-11-25