Recent Blog Posts
Insights on AI Agents, Modern Web, and the Future of Engineering.
Dart Extension Methods: Adding Methods to Existing Types You Don't Own
A tutorial on Dart extensions: declare extension on String, List, or any type, resolve API conflicts, and write generic extensions.
Dart mixin on Clause: Constraining Mixins with Superclass Requirements
Use the mixin on clause in Dart to require a superclass, guarantee members exist, and resolve super calls inside mixins.
Dart Mixins: Sharing Behavior Across Unrelated Classes with the with Keyword
A tutorial on Dart mixins: declare behavior once with mixin, apply it with with, and reuse it across unrelated class hierarchies.
Google ADK: Needle-in-a-Haystack Benchmarks for Agents with 1M+ Token Contexts
Build a depth-swept needle-in-a-haystack suite for ADK agents: corpus generation, eval datasets, pytest harness, and the ADK-specific ways retrieval silently fails.
Google ADK: Selective History Pruning with include_contents='none' vs 'default'
A hands-on tutorial for ADK's include_contents switch: when an agent should see full history, when it should see none, and how to split the two across sub-agents.
Google ADK: Sliding Window Turn Management for Long-Running Autonomous Agents
Configure ADK's EventsCompactionConfig sliding-window and token-based compaction so an agent that runs for hundreds of turns keeps latency and cost flat.
Google ADK: Calculating Cost Savings from Cached Tokens on Gemini 3.8
Worked arithmetic for Gemini 3.8 Flash cache hits: 90% input discount, 4,096-token floor, storage fees, and a hit-rate-to-savings table you can apply to your own agent.
Google ADK: Structuring Large Contexts — Optimal Placement of Instructions, Tools, and Data
Where each piece of a large ADK prompt belongs, based on Gemini's fixed serialization order — and what each placement choice costs in cache hits and quality.
Dart Abstract Classes and Interfaces: Designing Contracts with abstract, interface, and implements
How to design type contracts in Dart: implicit interfaces, abstract classes, abstract interface classes, and when to extend vs implement.
Dart Inheritance and Super Calls: Building Type Hierarchies with extends and super
A step-by-step guide to Dart single inheritance: extends, super method calls, super parameters, override rules, covariant, and noSuchMethod.
Google ADK: ContextCacheConfig in ADK — Reusing Prompts Across Repeated Runs
Turn on ADK's ContextCacheConfig so repeated agent runs reuse cached prompt prefixes. Step-by-step setup, parameter tuning, and how to verify cache hits.
Google ADK: Building an Omnichannel Memory System Across Web, Mobile, and Voice Agents
Design one memory layer serving web chat, mobile push, and live voice agents in ADK — sessions, state prefixes, MemoryService ingestion, and channel-specific trade-offs.