PYTHON
33 items
18 posts, 15 tools
Claude API version 2026-10-21 removes temperature, top_p and top_k, and new major SDKs (TypeScript 1.0, Python 2.0) send it by default. What breaks and how to migrate.
Anthropic Python SDK 1.0 swaps httpx for httpx2, requires Python 3.10+, and drops temperature and Text Completions. Verified steps to upgrade safely.
Ten agent frameworks, one decision guide: a capability matrix built from official docs and a flowchart that picks by language, durability and team.
LlamaIndex in late 2026: Python Workflows 2.26 with typed events, human-in-the-loop and DBOS durability, plus LiteParse. LlamaIndex.TS is deprecated.
Microsoft Agent Framework Python 1.26: file memory replacing MemoryContextProvider, a 30s Hyperlight budget, MCP discovery limits and timeouts, scoped workflow executors, Python 3.11, Harness agents and the AutoGen migration.
OpenAI Agents SDK as of Python 0.24 and JS 0.22: sandbox agents, three guardrail layers, compaction sessions, MCP v2 and new defaults, with type-checked code.
Pydantic AI V2 explained through v2.68.0: ModelFallback on refusals and max_tokens cutoffs, RequestInput approvals, typed output, Conversation storage, caching, graphs, evals, MCP Apps and Logfire, with checked code.
Bruce Eckel's Thinking in Python, started in 2008 and finished with Claude in 2026: a free 47-chapter book with build-verified examples and an AI disclosure.
Workers RPC now bridges Python and JavaScript, passing live objects, functions and streams between Workers with no schemas and no serialization code.
Ruff v0.16.0 turns on 413 default rules, adds Markdown code-block formatting and ruff: ignore comments. What changed and why zero-config linting matters.
Scarf moves from Haskell to Python after 7 years: why LLM-driven development made compile times a bottleneck, how the migration worked, and the HN debate.
Microsoft Agent Framework unifies AutoGen and Semantic Kernel in one SDK: architecture, installation, migration, pricing, and when to pick it over LangGraph.
Open-source AI gateway: call 100+ LLM providers in the OpenAI format via a Python SDK or proxy. Spend tracking, budgets, rate limiting, load balancing, and fallbacks built in.
Apache Burr vs LangGraph vs CrewAI compared: what each agent framework does, how they handle state, when each wins, and when to skip frameworks entirely.
Headroom compresses AI agent tool outputs, logs, and files before they reach the LLM, claiming 60-95% token savings with benchmarked accuracy. How it works.
CLI-Anything auto-generates a tested CLI harness from source code so AI agents can drive desktop software that has no agent-ready interface.
The most widely used data validation library for Python, and the de facto standard. Type-hint-driven models, fast Rust-based core (v2), and the foundation of FastAPI, LangChain, and most Python AI tooling.
Self-healing browser automation harness that lets LLMs complete any browser task. 5,000+ stars in under a week.
How to coordinate multiple AI agents: six patterns from fan-out to handoffs and consensus, with verified code for Claude, CrewAI, LangGraph, AG2 and ADK.

Get Smarter About AI Dev
New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.