PYTHON

Browse articles on Python.

The Python hub collects the agent frameworks whose first language is Python. Its question is narrower than the one under Agent Frameworks: which of the Python options fits a problem, and which similar names mean less than they seem.

Two articles are definitions. CrewAI models work as a crew of specialists with roles, goals and backstories working through tasks, with Flows for the parts that need precise control. AutoGen modelled work as a conversation between agents and is now in maintenance mode, with Microsoft Agent Framework as its successor. Three settle confusions: LangChain against LangGraph, parts against control flow; Pydantic AI against Pydantic, an agent framework against the validation library it is built on; and CrewAI against Microsoft Agent Framework. The OpenAI Agents SDK explainer covers its four concepts: agents, tools, handoffs and guardrails.

Read it if your stack is already Python. A typed thread runs through it: Pydantic AI types an agent’s outputs and tool arguments with Pydantic models, and the OpenAI SDK derives tool schemas from type hints. The series is on hold: the articles stay up, but we are not adding to them while our own agent work is built with Claude Code.