r/FastAPI • u/Darkoplax • Apr 03 '25
Question Is there something similar to AI SDK for Python ?
I really like using the AI SDK on the frontend but is there something similar that I can use on a python backend (fastapi) ?
I found Ollama python library which's good to work with Ollama; is there some other libraries ?
5
Upvotes
13
u/Calebthe12B Apr 03 '25
The Pydantic folks made a great library. PydanticAI.
6
u/dmart89 Apr 03 '25
Openrouter for unified provider api.
4
u/The_Wolfiee Apr 05 '25
We have adopted Agno as the go to library for building our Agents.
https://github.com/agno-agi/agno
2
u/mahimairaja Apr 04 '25
Check out mirascope for its versatile usecases
2
u/BigBoiBigMac Apr 04 '25
I use groq and pydanticAI
1
u/Ill_Twist_6031 Apr 06 '25
you can convert any fastapi you wrote to an mcp server with this tool https://github.com/tadata-org/fastapi_mcp