1.pydantic / pydantic-aiHow Python does AI. Agents, realtime voice, image generation, embeddings. Every model, every interface, typed end to end.agent-frameworkpydanticpythongenaillmharness+1 morePythonMIT21K total3.1K forks+4,277 starsfrom 16,739 · score 8.36
2.google / langextractA Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization.llmnlppythongemini-aiinformation-extrationlarge-language-models+5 morePythonAPACHE-2.039K total2.8K forks+3,246 starsfrom 36,016 · score 8.09
3.dottxt-ai / outlinesStructured Outputsgenerative-aillmsprompt-engineeringsymbolic-aicfgjson+2 morePythonAPACHE-2.016K total910 forks+2,258 starsfrom 13,743 · score 7.72
4.567-labs / instructorstructured outputs for llms openaipythonpydantic-v2openai-functionsvalidationopenai-function-calliPythonMIT14K total1.4K forks+1,249 starsfrom 12,845 · score 7.13