Tutorials MCP Tasks: Long-Running Tool Calls Without Timeouts
Build an async MCP tool that returns a durable task handle and poll it to completion in Python.
How-to content for builders, indie hackers, and AI engineers. Less theory, more shipped code.
Tutorials Build an async MCP tool that returns a durable task handle and poll it to completion in Python.
Tutorials Add or drop Claude Opus 5 tools between turns without invalidating your prompt cache.
Tutorials Use Kimi K3 tool_choice=required + strict JSON so agents fetch data before they answer.
Tutorials Route each task to the right Claude Opus 5 effort level and cut your token bill.
Tutorials Build a token-thrifty tool-calling agent on Gemini 3.6 Flash using the new thinking_level control.
Tutorials Tune Kimi K3's low/high/max reasoning effort and stream reasoning_content to control token cost.
Tutorials Load tools just-in-time in Kimi K3's agent loop to shrink prompts and sharpen tool choice.
Tutorials kimi-k3 is not a drop-in swap. Map the params right and dodge the trap that breaks tool loops.
Tutorials Point the OpenAI SDK at Meta's agent model, add tools, let it self-manage a 1M-token context.
Tutorials Use reasoning.context to reuse GPT-5.6's chain of thought across turns and cut redundant tokens.
Tutorials Reproduce GPT-Live's full-duplex voice and background delegation using the GA Realtime API.
Machine Learning Diagnose an agent's missing skills, then train targeted, routed LoRA adapters with GRPO.