Machine Learning textGrain Watermark: Build and Break One in Python
Build a toy keyed text watermark like OpenAI's textGrain, then measure how edits break it.
How-to content for builders, indie hackers, and AI engineers. Less theory, more shipped code.
Machine Learning Build a toy keyed text watermark like OpenAI's textGrain, then measure how edits break it.
Tutorials Use /v1/decisions as a $0.10 guardrail, then sweep thresholds and escalate only the unsure band.
Tutorials Benchmark Haiku 5.5 effort levels on your own tickets, then route cheap-first.
Tutorials Mistral Large 4's preview can change without notice. Build a Python canary suite that catches it.
Tutorials Build an effort-routing tool-loop client for Beam's OpenAI-compatible API and size the self-host bill.
Tutorials A Python router that buys Ultrafast speed only where users wait, with fallback and cost tracking.
Tutorials Fireworks' Ember-1 claims 40% fewer tokens than Kimi K3. Build a harness to verify it.
Tutorials Opus 5.5 is 20% cheaper, but old thinking, tool_choice and computer-use code now fails. Fix it.
Tutorials Redirect a running Astra agent over WebSocket with response.steer, keeping finished work.
Machine Learning Port the Ox Alpha probe kit to Python: normalized token counts, error DNA, ranked verdict.
Tutorials Qwen keeps reasoning across every turn by default. Exploit it, or pay for it.
Tutorials Build a render-screenshot-critique loop with GLM-5.3-Flash native vision, for pennies a run.