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+2,042 starsfrom 18,974 · score 7.62
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+1,447 starsfrom 37,815 · score 7.28
3.dottxt-ai / outlinesStructured Outputsgenerative-aillmsprompt-engineeringsymbolic-aicfgjson+2 morePythonAPACHE-2.016K total910 forks+536 starsfrom 15,465 · score 6.29
4.567-labs / instructorstructured outputs for llms openaipythonpydantic-v2openai-functionsvalidationopenai-function-calliPythonMIT14K total1.4K forks+451 starsfrom 13,643 · score 6.11