Agno: Agent framework 10,000x faster than LangChain

docs.agno.com

47 points by bediashpreet 5 months ago


tomnipotent - 5 months ago

This "10,000x" faster claim is specific to how long it takes to instantiate a client object, before actually interacting with it.

Turns out the LangGraph code uses the official OpenAPI library which eagerly instantiates an HTTPS transport and 65% of runtime was dominated by ssl.create_default_context (SSLContext.load_verify_locations) when I tested using pyinstrument. This overhead is further exasperated by the fact that it's happening twice - once for the sync client, and a second time for the async client. Rest of the overhead seems to be Pydantic and setting up the initial state/graph.

Agno wrote their own OpenAPI wrapper and defers setting up the HTTPS transport during agent creation, so that cost still exists it's just not accounted for in this "benchmark". Agno still seems to be slightly faster when you control for this, but amortized over a couple of requests it's not even a rounding error.

I hope the developers get rid of this "claim" and focus on other merits.

turnsout - 5 months ago

Is Python execution even a rounding error in the full execution time for a LangChain flow?

thecleaner - 5 months ago

Congratulations on the release. Although I hope the developers take the lesson that AI frameworks are unnecessary. You don't need frameworks to write HTTP calls. Just a good enough SDK would do.

yuzhun - 5 months ago

Tried agno. Its API has less mental burden than langchain. As for the speed advantage, it hasn't been noticed much.

vivzkestrel - 5 months ago

how did you arrive at this number 10000?

slake - 4 months ago

Does it work with o1 type reasoning models. I had trouble running phidata (the old named framework) with it.

eternityforest - 5 months ago

Can this handle smaller models like Qwen 1.5B, or does it need some real intelligence to get the tool calling to work?

esafak - 5 months ago

LangGraph, not LangChain.

barbazoo - 5 months ago

How does this compare to pydantic.ai?

moltar - 5 months ago

But only in Python.

dcreater - 5 months ago

Another day another unnecessary ai framework.